Fedora Linux Support Community & Resources Center
  #1  
Old 15th June 2009, 11:12 AM
un4tune8son Offline
Registered User
 
Join Date: Jun 2009
Posts: 1
Question After update from 10 to 11, ntpd and httpd services fail

Hello,

I just upgraded from Fedora 10 to 11 using yum preupgrade method. After what seems to be a successful upgrade, I get 2 boot errors warning icon at the log-in screen - one for ntpd and the other for httpd, both fail.


When trying to start http by command line the following error line appears:
Starting httpd: httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory
[FAILED]
In "Services" it shows httpd as being enabled, but not started. When I try to start it, it just gets stuck on refreshing.

I have been looking around to see how to fix this, but so far have not come across any answers. If anyone can point me in the right direction I would greatly appreciate it. This problem only appeared after upgrading to Fedora 11.

Cheers

Last edited by un4tune8son; 15th June 2009 at 11:23 AM.
Reply With Quote
  #2  
Old 15th June 2009, 12:48 PM
RBGE-Fedora Offline
Registered User
 
Join Date: Jun 2009
Posts: 10
I had exactly the same problem on two servers I upgraded from Fedora 10 to 11. While it may not be the best option, I found the easiest way to sort this problem was to use yum to remove and reinstall httpd.

Obviously you may want to take a backup of your httpd.conf file before doing this.
Reply With Quote
  #3  
Old 15th June 2009, 06:10 PM
den23513 Offline
Registered User
 
Join Date: Mar 2008
Age: 39
Posts: 69
The problem is IN httpd.conf, so you need to edit it (remark the line wich loads the mod_file_cache.so module), or remove and reinstall the httpd and build the config file from scratch if it possible.
Reply With Quote
  #4  
Old 23rd June 2009, 12:58 AM
snoze Offline
Registered User
 
Join Date: Jun 2005
Location: INDIA
Posts: 789
httpd solution

Simply comment those two lines in httpd.conf

#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule mem_cache_module modules/mod_mem_cache.so


and type apachectl restart

it will work again.
Reply With Quote
  #5  
Old 23rd June 2009, 04:52 PM
bbobbo Offline
Registered User
 
Join Date: Dec 2004
Location: Cambridge, MA
Posts: 89
the solution to your ntpd problem:

http://forums.fedoraforum.org/showthread.php?t=223823
Reply With Quote
  #6  
Old 11th September 2009, 07:27 PM
alex_cavalli Offline
Registered User
 
Join Date: Sep 2009
Location: Donets'k, Ukraine
Age: 30
Posts: 2
linuxopera
Cool

Hi!
I have this problem too(((
After upgrading to Fedora 11 htppd does no work.
Comment lines
--------------
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule mem_cache_module modules/mod_mem_cache.so
---------------
did not resolve the problem.

Replace stored httpd.conf did not resolve this problem too, httpd still not work.
Interesting, what's wrong?
Reply With Quote
  #7  
Old 12th September 2009, 09:22 AM
alex_cavalli Offline
Registered User
 
Join Date: Sep 2009
Location: Donets'k, Ukraine
Age: 30
Posts: 2
linuxopera
Smile solve the problem with HTTPD

Hi there.
Yesterdey I wrote then httpd did not work.
Here's what to do in order to HTTPD work properly:
1. If you had install php-gtk, comment the line in php.ini, which appending php-gtk to php;
2. Make sure that you have configured DocumentRoot;
3. Make sure that you have configured DirrectoryIndex like:
- DirectoryIndex index.html index.html.var index.php
4. Make sure that you have configured all sections like <Dirrectory ...>;
5. Make sure that you have next lines in httpd.conf:
- AddType application/x-httpd-php .php;
- AddType application/x-httpd-php-source .phps;
- LoadModule php5_module modules/libphp5.so

6. Restart HTTPD.
It will works!
Reply With Quote
  #8  
Old 5th October 2009, 03:17 AM
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 34
Posts: 1,183
linuxfedorafirefox
Quote:
Originally Posted by alex_cavalli
If you had install php-gtk, comment the line in php.ini, which appending php-gtk to php;
Hey Alex, I'm having trouble finding the line that you are referring to for that statement. I looked through the entire php.ini and do not understand what line you are implying. Care to expand upon that for me?

Thanx
Reply With Quote
  #9  
Old 5th October 2009, 03:23 AM
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 34
Posts: 1,183
linuxfedorafirefox
Never mind, i just commented out those lines, as perscribed here: https://bugzilla.redhat.com/show_bug.cgi?id=493424 and it works fine.
Reply With Quote
  #10  
Old 25th November 2009, 06:46 AM
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 34
Posts: 1,183
linuxfedorafirefox
Did it work? It is just telling apache not to use those modules any more (because the red-hat based system do not need or use the options any more)
Reply With Quote
Reply

Tags
fail, http, ntp, services, update

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
Winbind services fail on boot, Fedora 11 SpuriousQ Using Fedora 0 14th August 2009 02:36 AM
chkconfig messes priorities - half of the services fail to start duni Alpha - Beta (Fedora 9 Only) 1 18th May 2008 07:41 AM
Fedora 7 Nearly all services fail @ startup dac9 Using Fedora 15 22nd June 2007 06:44 AM
Console Mouse Services Fail ..!!!! nocolour Using Fedora 2 25th May 2004 10:30 PM


Current GMT-time: 21:07 (Sunday, 23-11-2014)

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
Ithari Instagram Photos - Lincoln Travel Photos on Instagram - Badin Travel Photos