LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-10-2011, 09:39 AM   #1
Jack128
Member
 
Registered: Feb 2009
Location: Germany
Distribution: Slackware64 Current
Posts: 90

Rep: Reputation: 22
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

Last edited by Jack128; 07-10-2011 at 09:54 AM.
 
Old 07-11-2011, 06:07 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Happens to the best of us. Thanks for updating with the solution, that's the important thing.
 
  


Reply

Tags
autostart, httpd, slackare


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] A solution for nouveau problems with fresh install of slackware64-current colorpurple21859 Slackware 8 02-27-2011 11:24 AM
[SOLVED] Fresh Slackware64-current RAID-1 + LVM + LUKS: pvcreate not working gargamel Slackware 6 03-23-2010 02:24 PM
[SOLVED] X Fails To Start After Upgrade to Slackware64-current hkothari Slackware 7 03-06-2010 09:40 PM
KDE4 fails to start in fresh -current install chexmix Slackware 18 04-06-2009 10:12 AM
httpd wont start brunog Linux - Software 11 10-09-2006 03:52 PM


All times are GMT -5. The time now is 09:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration