WDCP重啟無(wú)效,重啟apache無(wú)效,顯示。
httpd: unrecognized service
試著將httpd注冊(cè)為系統(tǒng)服務(wù),代碼:#cd /usr/local/apache/bin/
-bash: cd: /usr/local/apache/bin/: No such file or directory
[root@VM_0_6_centos ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/www/wdlinux/mysql/bin:/root/bin
[root@VM_0_6_centos ~]# cp /usr/local/apache2/bin/apachectl /etc/init.d/httpd
cp: cannot stat `/usr/local/apache2/bin/apachectl': No such file or directory