status nginx.service
● nginx.service - SYSV: Nginx is an HTTP(S) server, HTTP(S) reverse proxy and IMAP/POP3 proxy server
Loaded: loaded (/etc/rc.d/init.d/nginx; bad; vendor preset: disabled)
Active: failed (Result: timeout) since Fri 2019-12-20 10:50:58 CST; 7s ago
Docs: man:systemd-sysv-generator(8)
Process: 31197 ExecStop=/etc/rc.d/init.d/nginx stop (code=exited, status=0/SUCCESS)
Process: 31249 ExecStart=/etc/rc.d/init.d/nginx start (code=exited, status=0/SUCCESS)
Main PID: 29780 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/nginx.service
├─31262 nginx: master process /opt/bigdata/tengine-2.2.2/sbin/nginx -c /opt/bigdata/tengine-2.2.2/conf/nginx.conf
└─31263 nginx: worker process
tengine nginx状态修改命令
./sbin/nginx -s start
./sbin/nginx -s stop
经多次进程查看 发现用service nginx start 命令启动nginx会多出uer/local 和init.d等目录下的nginx进程
怀疑是对应目录下有nginx文件导致一起启动了
所以关闭全部进程后 才用上面命令去启动nginx 保证使用nginx 正确