Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd June 2012, 09:32 AM
Doug Hutcheson Offline
Registered User
 
Join Date: Jun 2009
Location: Queensland
Posts: 131
linuxfirefox
httpd not starting after upgrade to FC16

I have just upgraded my FC15 to FC16. Apache was running OK under the old version, but will not start now.

Code:
[root@cardraeh ~]# systemctl start httpd.service
Job failed. See system logs and 'systemctl status' for details.
"grep httpd messages" returns:
Code:
Jun 23 18:16:09 cardraeh systemd[1]: PID file /var/run/httpd/httpd.pid not readable (yet?) after start.
Jun 23 18:16:48 cardraeh systemd[1]: httpd.service operation timed out. Terminating.
Jun 23 18:16:48 cardraeh systemd[1]: Unit httpd.service entered failed state.
/var/run/httpd/ has these permissions:
Code:
[root@cardraeh log]# ls -ld /var/run/httpd
drwx--x---. 2 root apache 40 Jun 23 18:15 /var/run/httpd
I'm not sure where to start with this problem. Does /var/run/httpd have to be owned by apache, instead of root, maybe? Is there another log that would contain more info?

Any ideas would be welcome.
Reply With Quote
  #2  
Old 23rd June 2012, 09:48 AM
132811 Offline
Registered User
 
Join Date: Jul 2010
Location: Beijing,China
Posts: 21
linuxchrome
Re: httpd not starting after upgrade to FC16

What it this command return?
Quote:
#service httpd restart
Have you updated httpd??

---------- Post added at 12:48 AM ---------- Previous post was at 12:48 AM ----------

What it this command return?
Quote:
#service httpd restart
Have you updated httpd??
Reply With Quote
  #3  
Old 24th June 2012, 12:47 AM
Doug Hutcheson Offline
Registered User
 
Join Date: Jun 2009
Location: Queensland
Posts: 131
linuxfirefox
Re: httpd not starting after upgrade to FC16

Quote:
Originally Posted by 132811 View Post
What it this command return?
This:
Code:
[root@cardraeh ~]# service httpd restart
Restarting httpd (via systemctl):  Job failed. See system logs and 'systemctl status' for details.
                                                           [FAILED]
Quote:
Originally Posted by 132811 View Post
Have you updated httpd??
This is after a full upgrade from FC15 to FC16, which naturally included httpd.

The information in /var/log/messages is rather sparse. Is there another log I could be looking in, to give more detail?

systemctl reports this:
Code:
[root@cardraeh log]# systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
	  Loaded: loaded (/lib/systemd/system/httpd.service; enabled)
	  Active: failed since Sun, 24 Jun 2012 09:37:10 +1000; 8min ago
	 Process: 5525 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/httpd.service
Reply With Quote
  #4  
Old 24th June 2012, 02:56 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,105
linuxfirefox
Re: httpd not starting after upgrade to FC16

You can try the /var/log/htpd/*_log files.

Sometimes errors that happen after startup that may cause an exit will get recorded in error_log. Systemd seems to be loosing the ones that should show up in /var/log/messages.
Reply With Quote
  #5  
Old 24th June 2012, 05:04 AM
Doug Hutcheson Offline
Registered User
 
Join Date: Jun 2009
Location: Queensland
Posts: 131
linuxfirefox
Re: httpd not starting after upgrade to FC16

It turns out I needed to run an update script, to bring my database up to te current version. All solved for now.
Reply With Quote
  #6  
Old 16th May 2013, 09:16 PM
modal1's Avatar
modal1 Offline
Registered User
 
Join Date: Nov 2010
Location: Canada
Posts: 14
windows_xp_2003firefox
Re: httpd not starting after upgrade to FC16

How did you solve the issue? Any more details?
Reply With Quote
  #7  
Old 17th May 2013, 12:34 AM
Doug Hutcheson Offline
Registered User
 
Join Date: Jun 2009
Location: Queensland
Posts: 131
linuxfirefox
Re: httpd not starting after upgrade to FC16

modal1, I have not kept any notes of what I did to fix the problem, other than the cryptic remark here that I had to 'update my database'. Perhaps it was the PostGRES database that needed updating, although I can't see how that would have crashed httpd. Sorry I can't be of more assistance.
Reply With Quote
  #8  
Old 17th May 2013, 01:50 AM
modal1's Avatar
modal1 Offline
Registered User
 
Join Date: Nov 2010
Location: Canada
Posts: 14
windows_xp_2003firefox
Re: httpd not starting after upgrade to FC16

np, just thought I would ask. Thanks!
Reply With Quote
Reply

Tags
fc16, httpd, starting, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
on-fatal POSTTRANS scriptlet failure in rpm package httpd-2.2.22-1.fc16.i686 agillis Using Fedora 0 24th February 2012 02:23 AM
httpd and mysqld not running on FC16 ultra031 Using Fedora 31 21st January 2012 06:47 PM
Starting HTTPD help... arashi256 Using Fedora 5 2nd February 2008 03:20 PM
httpd not starting....... avp0 Servers & Networking 10 4th December 2007 01:52 AM
starting httpd rowell Installation and Live Media 4 22nd May 2006 08:37 AM


Current GMT-time: 18:50 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat