Jack128 |
07-10-2011 09:39 AM |
httpd wont start on boot fresh Slackware64-Current
Hello,
I've got a problem with the autostart of the apache webserver.
The service file /etc/rc.d/rc.httpd is executable, but the process
does not exist. I have to manually run the start command:
Code:
. /etc/rc.d/rc.httpd start
Here are the results of: ls /etc/rc.d/ -lisa | grep "*"
Code:
262647 0 lrwxrwxrwx 1 root root 4 Jul 6 09:33 rc.0 -> rc.6*
262646 4 -rwxr-xr-x 1 root root 1282 Mär 27 2007 rc.4*
262641 8 -rwxr-xr-x 1 root root 7677 Apr 16 23:14 rc.6*
262640 4 -rwxr-xr-x 1 root root 2893 Apr 16 23:14 rc.K*
262639 12 -rwxr-xr-x 1 root root 11475 Mär 22 07:15 rc.M*
262645 16 -rwxr-xr-x 1 root root 14581 Apr 23 21:37 rc.S*
262192 4 -rwxr-xr-x 1 root root 552 Apr 16 06:08 rc.acpid*
262825 4 -rwxr-xr-x 1 root root 2771 Feb 9 06:53 rc.alsa*
301184 4 -rwxr-xr-x 1 root root 786 Jul 10 16:23 rc.anytermd*
293738 4 -rwxr-xr-x 1 root root 3416 Jul 7 14:49 rc.bind*
286916 4 -rwxr-xr-x 1 root root 572 Dez 19 2010 rc.consolekit*
294377 4 -rwxr-xr-x 1 root root 1011 Jul 7 13:25 rc.dhcpd*
287714 4 -rwxr-xr-x 1 root root 1893 Jan 30 23:28 rc.fuse*
300829 4 -rwxr-xr-x 1 root root 1156 Jul 6 10:08 rc.gpm*
290876 4 -rwxr-xr-x 1 root root 906 Nov 16 2010 rc.hald*
294154 4 -rwxr-xr-x 1 root root 703 Mai 25 20:27 rc.httpd*
294368 12 -rwxr-xr-x 1 root root 9600 Aug 26 2009 rc.inet1*
294370 8 -rwxr-xr-x 1 root root 5038 Jul 10 16:24 rc.inet2*
294162 4 -rwxr-xr-x 1 root root 497 Sep 12 2003 rc.inetd*
300760 4 -rwxr-xr-x 1 root root 147 Jul 6 10:07 rc.keymap*
262644 4 -rwxr-xr-x 1 root root 458 Jul 7 16:09 rc.local*
262643 4 -rwxr-xr-x 1 root root 168 Apr 23 21:40 rc.loop*
262580 4 -rwxr-xr-x 1 root root 1935 Sep 28 2010 rc.mcelog*
262212 4 -rwxr-xr-x 1 root root 1740 Dez 24 2010 rc.messagebus*
262512 0 lrwxrwxrwx 1 root root 19 Jul 6 09:32 rc.modules -> rc.modules-2.6.38.7*
262511 36 -rwxr-xr-x 1 root root 35406 Mai 22 23:11 rc.modules-2.6.38.7*
262974 4 -rwxr-xr-x 1 root root 2585 Apr 6 00:01 rc.mysqld*
294389 4 -rwxr-xr-x 1 root root 2449 Mär 22 00:42 rc.nfsd*
294452 4 -rwxr-xr-x 1 root root 899 Jul 7 13:40 rc.ntpd*
294536 4 -rwxr-xr-x 1 root root 1402 Okt 14 2008 rc.rpc*
294800 4 -rwxr-xr-x 1 root root 791 Mär 8 20:02 rc.samba*
294470 4 -rwxr-xr-x 1 root root 1600 Feb 4 17:33 rc.sshd*
262619 4 -rwxr-xr-x 1 root root 981 Okt 21 2010 rc.syslog*
262642 4 -rwxr-xr-x 1 root root 1740 Sep 11 1999 rc.sysvinit*
262658 8 -rwxr-xr-x 1 root root 5058 Dez 13 2010 rc.udev*
300851 4 -rwxr-xr-x 1 root root 1507 Mär 17 2007 rc.vncservers*
294829 16 -rwxr-xr-x 1 root root 12835 Jan 3 2010 rc.wireless*
294838 4 -rwxr-xr-x 1 root root 2323 Mär 8 19:34 rc.yp*
Thanks for help in advantage.
Regards, Jack.
Cheers
Edit:
--------------------
I found the problem. Apache's V-Hosts should connect to a ip alias.
This alias must be set before apache starts, so he couldn't bind to this alias and exits. Doh this is embarrassing. Sorry for the posting.
Regards, Jack.
Cheers
|