Welcome! Log In Create A New Profile

Advanced

nginx: invalid option: "-s start"

May 31, 2018 03:37PM
Hi,

I am trying nginx for the first time. I installed and tried "sudo nginx -s start". However, I got error. Here is the detail:

a) I am using Ubuntu on x64 (LinuxMint Sonya).
b) Configuration file is located at /etc/nginx
c) There is no nginx.pid initially, but it appears at /var/run when I run "sudo nginx"
d) After step (c), I ran "sudo nginx -s start" but got this error "nginx: invalid option: "-s start".
e) However, after the failed attempt (d), I could do "sudo nginx -s stop" without any error.

Any way to solve the error problem?

Thanks.
Subject Author Posted

nginx: invalid option: "-s start"

helloData May 31, 2018 03:37PM

Re: nginx: invalid option: "-s start"

Patrick Chkoreff May 31, 2018 03:56PM

Re: nginx: invalid option: "-s start"

helloData May 31, 2018 04:10PM

Re: nginx: invalid option: "-s start"

Patrick Chkoreff May 31, 2018 04:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 178
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready