According to the JIRA, you should use -c not -E , did you test with that option as well? , BTW wso2servers.sh is working fine with nohup not sure about stratos.sh . you can update JIRA with your finding.
@Isura , For that you need to start the server as background process , if not server process terminate with user logging out. Thanks, Shameera. On Sat, Jul 19, 2014 at 11:33 AM, Isura Karunaratne <[email protected]> wrote: > Hi Nipuni, > > AFAIK sever process will not terminate once you terminate the ssh > process . You have to kill the server process manually. User "ps -ef|grep > carbon" to identity the process id and kill it using "kill -9 id" command. > > Thanks > Isura > > > On Sat, Jul 19, 2014 at 10:10 AM, Nipuni Perera <[email protected]> wrote: > >> Hi, >> >> I am working on jira issue[1]. I have tested this with a remote BAM >> server and couldn't reproduce the issue. If wso2server.sh has been executed >> over ssh as a nohup process, server does not stop after ssh process >> terminates. >> >> I have followed the steps below: >> >> 1. start ssh and connect to remote serrver : ssh -i <private-key> >> <server-name> -p <password> >> 2. start wso2server as a background process : sudo -E >> ./wso2server.sh start (this gives an error "ps: write error: Bad file >> descriptor" but server starts successfully >> 3. exit from the remote server and stop ssh >> 4. I can access server after ssh is stopped. >> >> I have tested it starting wso2server as a nohup process : nohup sudo -E >> ./wso2server.sh (This also works after ssh terminates) >> >> [1] https://wso2.org/jira/browse/CARBON-14813 >> Thanks, >> Nipuni >> -- >> Nipuni Perera >> Software Engineer; WSO2 Inc.; http://wso2.com >> Email: [email protected] >> Git hub profile: https://github.com/nipuni >> Mobile: +94 (71) 5626680 >> <http://wso2.com> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Isura Dilhara Karunaratne > Software Engineer > > Mob +94 772 254 810 > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Software Engineer - WSO2 Inc.* *email: shameera AT wso2.com <[email protected]> , shameera AT apache.org <[email protected]>* *phone: +9471 922 1454* *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561 *Twitter : *https://twitter.com/Shameera_R
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
