Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26th January 2012, 08:10 PM
Ashley Offline
Registered User
 
Join Date: Jul 2005
Age: 43
Posts: 35
linuxfirefox
Fedora 16 HTTPD (Apache Server) Not Working

I am useing 64 bit installation of Fedora 16 and have been attemting gto get a LAMP server working. All of the packages for the server are installed and configured. SeLinix is dissabled in /etc/sysconfig/selinux and with GRUB with the command selinux=0. MySQL works and is running however there seems to be a problem with HTTPD. When I check the status with systemctl I get:

systemctl status httpd.service
httpd.service - The Apache HTTP Server (prefork MPM)
Loaded: loaded (/lib/systemd/system/httpd.service; enabled)
Active: inactive (dead) since Thu, 26 Jan 2012 11:03:06 -0700; 2h 1min ago
Process: 3607 ExecStop=/usr/sbin/httpd $OPTIONS -k stop (code=exited, status=0/SUCCESS)
Process: 3600 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/httpd.service

It gives an Active Statusof "inactive (dead)" which it shouls not be giving. This aloso happens on my 32bit system running Fedroa 16. However When I run Fedora 15 I get and Active status of "active (running)."
I am unable to get this server working at all. Any ideas as to what may be wrong?
Reply With Quote
  #2  
Old 31st January 2012, 04:11 PM
Ashley Offline
Registered User
 
Join Date: Jul 2005
Age: 43
Posts: 35
linuxfirefox
Re: Fedora 16 HTTPD (Apache Server) Not Working

169 view and not a single reply. Wow.
Reply With Quote
  #3  
Old 14th February 2012, 01:53 PM
bottlehall Offline
Registered User
 
Join Date: Oct 2008
Posts: 19
linuxfedorafirefox
Re: Fedora 16 HTTPD (Apache Server) Not Working

Hi

I've got the same problem as you. Re-starting the httpd server results in it staying running. I can access it via localhost but not from remote machines.

Did you manage to fix it?

Thanks

Nik
Reply With Quote
  #4  
Old 14th February 2012, 02:00 PM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 858
linuxopera
Re: Fedora 16 HTTPD (Apache Server) Not Working

uninstall your LAMP server, and use Fedoras Apache server package (httpd) instead. A guide is here. Hm after reading your post again, I have no idea if this can help you.

Last edited by Fenrin; 14th February 2012 at 02:02 PM. Reason: added last sentence
Reply With Quote
  #5  
Old 14th February 2012, 03:01 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,150
linuxfedorafirefox
Re: Fedora 16 HTTPD (Apache Server) Not Working

You may be having a problem with it starting too soon. It need to be delayed until after MySQL is started, and that may require additional specifications on its "After=" line in the systemd configuration.
Reply With Quote
  #6  
Old 14th February 2012, 04:27 PM
bottlehall Offline
Registered User
 
Join Date: Oct 2008
Posts: 19
linuxfedorafirefox
Re: Fedora 16 HTTPD (Apache Server) Not Working

Hi

Thanks for the posts.

It turned out that the firewall/iptables got switched back on by the upgrade.

Weirdly, it switched everything else off!

Nik
Reply With Quote
Reply

Tags
apache, fedora, httpd, server, working

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
PHP files are not working in a Fedora Machine using separate Apache httpd. ??? harshadura Programming & Packaging 1 2nd June 2011 11:45 AM
how to config the httpd apache server to upload files umesh kumar Servers & Networking 3 7th January 2011 10:36 AM
Apache Httpd not working FC6 fuzzy Servers & Networking 5 17th August 2007 05:27 AM
fedora 4 apache server file sharing not working okspitz Using Fedora 8 15th February 2006 09:58 PM


Current GMT-time: 05:51 (Thursday, 20-06-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