I check /var/log/boot.msg, and find that the output from /etc/init.d/apache comes BEFORE the following text,
Setting up network interfaces:
lo
lo IP address: 127.0.0.1/8
Hence, I do the following
su -
/sbin/chkconfig --del apache2
cd /etc/init.d/rc5.d
ln -s …/apache2 S20apache2
To check the change, I do
/sbin/chkconfig --list apache2
apache2 0:off 1:off 2:off 3:off 4:off 5:on 6:off
ll /etc/init.d/rc5.d/apache
/etc/init.d/rc5.d/S20apache2 → …/apache2*
Everything looks fine. Then reboot the system,
ps aux | grep apache2
root 3657 0.0 0.5 357848 12348 ? Ss 18:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 3689 0.0 0.3 357848 6524 ? S 18:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 3690 0.0 0.3 357848 6524 ? S 18:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 3691 0.0 0.3 357848 6520 ? S 18:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 3696 0.0 0.3 357848 6520 ? S 18:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
wwwrun 3697 0.0 0.3 357848 6520 ? S 18:49 0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
Yes, apaches is there.
Is this a bug of openSUSE 10.3?
I am not an expert on computers. Just wondering about a question. When I do
/sbin/chkconfig --add appache2
the system generates the links
/etc/init.d/rc3.d/K04apache2 → …/apache2
/etc/init.d/rc3.d/S18apache2 → …/apache2
/etc/init.d/rc5.d/K04apache2 → …/apache2
/etc/init.d/rc5.d/S18apache2 → …/apache2
I believe the line
Default-Start: 3 5
in /etc/init.d/apache2 determines the directories rc3.d and rc5.d. But, how the system decides the prefix to be K04 and S18?
Thank you very much for your help on this problem.