LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-04-2013, 08:12 AM   #1
Ziaullah
LQ Newbie
 
Registered: May 2012
Posts: 3

Rep: Reputation: Disabled
Apache not starting automatically at boot time


I have Linux Slackware 13.0.0.0.0 Version 2.6.29.6, at this server Apache was working fine and starting automatically at startup time.
Due to some abnormal shutdown it stopped starting at startup time.
I did everything, checked every bit of the setting, but it is not starting at startup time.
 
Old 09-04-2013, 09:36 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
does it start manually? There should be an rc file in /etc/rc.d/rc.httpd
what do the logs say in /var/log/httpd?
 
Old 09-04-2013, 11:00 AM   #3
Ziaullah
LQ Newbie
 
Registered: May 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Yes it does start manually as /usr/sbin/apachectl start

and here is the log file entry
[Wed Sep 04 18:51:46 2013] [notice] Apache/2.2.13 (Unix) DAV/2 SVN/1.6.4 PHP/5.2.17 configured -- resuming normal operations

Actually I did some changes to install and configure SSL on the server since then it is not starting at boot up time.
 
Old 09-04-2013, 10:35 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,900
Blog Entries: 27

Rep: Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675Reputation: 4675
What I is below is my original thoughts on the matter, but, first, what is the output of

Code:
 ls -l /etc/rc.d/rc.httpd
Original thoughts below:

You have two choices.

As root, make it executable on boot

Code:
cd /etc/rc.d
chmod +x rc.httpd
or add it to /etc/rc.d/rc.local.

Last edited by frankbell; 09-04-2013 at 10:37 PM.
 
  


Reply

Tags
apache, httpd, www


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
How to stop services from automatically starting at boot time systemlordanubis Linux - Server 3 01-05-2012 06:36 AM
Automatically starting sshd at boot The Traveler Linux - Newbie 8 06-08-2008 02:40 AM
starting Apache automatically nodger Linux - Software 2 11-04-2005 04:54 PM
starting apache automatically upon booting zoso *BSD 4 02-14-2005 10:01 PM
Starting Apache web server automatically gslater Linux - Newbie 4 05-09-2004 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration