You are not logged in.

#1 2011-10-27 19:01:11

JazzplayerL9
Member
Registered: 2006-03-31
Posts: 109

[SOLVED] Apache not starting - httpd

I'm trying to set up a LAMP on my computer and for some reason Apache just isn't starting.  I issue the command:

sudo /etc/rc.d/httpd start

and it appears to say DONE like it's supposed to.  But, when I check to see if the server is running by going to http://localhost/ , I get the "Unable to connect" message in my web browser(s).  I have the exact same configuration file for httpd on another computer and it runs just fine.  The /var/log/httpd/error_log file contains repeating lines of this:

[Thu Oct 27 13:54:14 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 27 13:54:14 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

In my other computer's /var/log/http/error_log file I get messages that say:

[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done
[notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0e DAV/2 configured -- resuming normal operations

and I can access the server on http://localhost/. 

Does anyone have a clue what I'm doing wrong?  The daemons I have running on each computer are nearly identical...I have ufw running on the non-connecting one but I have port 80 allowed in and out.  I've even tried disabling ufw and still no luck...so I don't think that's the problem.  Thanks in advance...let me know what you might need from me for a better idea of what to do.

Last edited by JazzplayerL9 (2011-10-27 19:34:38)

Offline

#2 2011-10-27 19:34:26

JazzplayerL9
Member
Registered: 2006-03-31
Posts: 109

Re: [SOLVED] Apache not starting - httpd

I ended up doing a pacman -Sf apache and now it starts just fine.  Still interested to see what changed when doing that...but at least it's working now.  Marking Solved!

Offline

Board footer

Powered by FluxBB