我无法弄清楚我的Fedora 8服务器上如何启动MySQL和httpd(Apache)。
机器启动到运行级别4就好了。 一路上,MySQL和Apache正在启动。 但是他们不是通过/etc/init.d启动 – 检查chkconfig –list显示全部“off”。
而他们在rc.local中没有提到。
httpd的ps ax输出显示“/ usr / sbin / httpd -f /home/webuser/helloworld/conf/httpd.conf” – 因此它正在被一个特定的configuration目录明确地启动,等等。
任何想法或更多的地方来检查启动将非常感激!
谢谢,
拉里PS。 该服务器是基于Fedora 8的亚马逊预制服务器镜像。
我会开始钓鱼
find /etc -type f|xargs grep -i helloworld
这将做一个recursion的search所有在/ etc中的常规文件“helloworld”(不区分大小写)
经过大量的思考之后,我发现:在事件时间“@reboot”的根目录的crontab中有条目 –
# start mysqld on reboot @reboot /etc/init.d/mysqld start
更新:crontab -e#(以root身份)
尝试去{/etc/rc4.d/,/etc/init.d}和grep for http和/或apachectl。 我有一个应用程序分发自己的Apache和MySQL实例,它将自己的启动脚本安装为/etc/init.d/APPNAME-{WEB,DB}。