This tutorial is for solving Nginx 1.8.0 service at Debian 6 that can’t start/restart/reload
I still have some VPSĀ running on Debian 6, yes I know it’s an old operating system, but since some application were compiled/designed for that OS, I still need them to run with the old Debian 6.
My problem comes when I update and upgraded the OS, and found that my Nginx 1.8.0 can’t use the service command such start/restart/reload.
Every time I try to run the service from shell, it’s always giving me this error :
1 |
/usr/sbin/service: line 123: exec: reload: not found |
And the bugs were from this file :
1 |
/etc/init/nginx.conf |
By removing that file, now the service command for Nginx working again.