I have installed nginx from the repo. f i reboot my system I can connect to localhost and i get the nginx install page. However if I try to start/restart the service I get the following errors.
- Code: Select all
flexxall@localhost ~]$ sudo systemctl start nginx
[sudo] password for flexxall:
Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -n' for details.
[flexxall@localhost ~]$ systemctl status nginx.service
nginx.service - A high performance web server and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled)
Active: failed (Result: exit-code) since Mon, 2013-03-18 09:30:46 CDT; 13s ago
Process: 2742 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=127)
CGroup: name=systemd:/system/nginx.service
[flexxall@localhost ~]$
I have checked the path and it all seems ok the error code 127 is reported as
- Code: Select all
127 "command not found" illegal_command Possible problem with $PATH or a typo
I have tried to edit the nginx.service file and I cant get rid of the error code.
Any input on how to correct this issue ?