Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-29 Thread Abimaran Kugathasan
Hi Dushantha, There is a chance that apache 2 respawn new instance when you kill earlier one in Linux. You can change the port to 81, if don't succeed in killing apache2 process. On Wed, Nov 29, 2017 at 1:38 PM, Dushantha Batuwita wrote: > Hi Senduran/ Isuru > > Many thanks

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-29 Thread Dushantha Batuwita
Hi Senduran/ Isuru Many thanks for the advice, and I got the point now. I installed a fresh nginx because I was thinking that the files might have been corrupted as I have tried many things from the internet applying some configurations to files in sites-available,sites-enabled as well. It

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Isuru Udana
Hi Dushantha, Installing a fresh nginx doesn't make any difference or any sense as port is occupied by something else :) On Wed, Nov 29, 2017 at 12:49 PM, Dushantha Batuwita wrote: > Hi Senduran: > > I have tried your command and it is the apache2 process. > > sudo

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Senduran Balasubramaniyam
Hi Dushantha, As you have mentioned apache2 is already bounded to port 80. that is why when you try to start the nginx you are getting " Address already in use". If you try stop the apache2 and start the nginx, you will be able to start the nginx without the above error Regards Senduran On Wed,

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Dushantha Batuwita
Hi Senduran: I have tried your command and it is the apache2 process. sudo netstat -nlp | grep :80 tcp6 0 0 :::80 :::*LISTEN 1076/apache2 further, *when I try installing the nginx freshly* the following error can be seen too (with details

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Senduran Balasubramaniyam
As the error says "Address already in use" you have to find which process is bound to port 80 already. the following command will help you identify the process running on port 80 sudo netstat -nlp | grep :80 find the process and stop that process first before trying to start the nginx Regards

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Dushantha Batuwita
Hi I completely uninstall NGINX from my machine and reinstalled it again and but the NGINX server gives me the same error. *Things I have done* - I have run the command sudo netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Senuwan Withana
Hi Dushantha, Its seems your port is already used. Please check on it again Thanks, *Senuwan Withana* Software Engineer - Support Team | WSO2 Email : senu...@wso2.com Mobile: 94773212853 Web: http://www.wso2.com On Tue, Nov 28, 2017 at 5:09 PM, Dushantha Batuwita wrote:

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Sandun Perera
It seems your port is currently in use. Use *fuser -k 80/tcp* On Tue, Nov 28, 2017 at 5:09 PM, Dushantha Batuwita wrote: > Hi Dev > > I have installed the nginx and when I try starting the nginx, I > receive following error. > > sudo service nginx start > > Job for

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Thivya Mahenthirarasa
Hi Dushantha, It seems the port 80 is already in use on your local machine. It is an Apache port. You need to kill the processes running and restart the Nginx server again. On Tue, Nov 28, 2017 at 5:09 PM, Dushantha Batuwita wrote: > Hi Dev > > I have installed the nginx

Re: [Dev] nginx master_process on; (code=exited, status=1/FAILURE)

2017-11-28 Thread Senduran Balasubramaniyam
It seems something else is already running on your port 80 On Tue, Nov 28, 2017 at 5:09 PM, Dushantha Batuwita wrote: > Hi Dev > > I have installed the nginx and when I try starting the nginx, I > receive following error. > > sudo service nginx start > > Job for