You are not logged in.

#1 2009-11-13 17:29:33

murfMan
Member
Registered: 2009-10-27
Posts: 161

apache stopped working :(

so i just got subversion set up on my home server.  everything is working fine... and then i tried to log on to my web page and find out that apache isnt working.... so i try to start apache and i get this

[murf@arch ~]$ sudo /etc/rc.d/httpd restart
:: Restarting Apache Web Server                                                                                                                       [FAIL]

does anyone have any idea how to debug this issue...i have no idea where to start sad

Last edited by murfMan (2009-11-13 17:30:38)

Offline

#2 2009-11-13 17:38:07

fastfret79
Member
Registered: 2009-09-05
Posts: 87

Re: apache stopped working :(

sudo apachectl start

Offline

#3 2009-11-13 17:43:14

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: apache stopped working :(

with all of the arch services, /etc/rc.d/SERVICE is just a shell script that starts whatever SERVICE is using it's standard command(s).  in almost all cases output is redirected to /dev/null.

viewing the contents of the script, finding what the command actually is, and running it w/o the redirect to /dev/null is often enough to find the issue.

if that doesn't work, simply man the command it's using and look for any --verbose or --debug flags you can add.

if i had to guess, you're probably getting a 'port 80 already bound' error of some sort which will require further investigation.

Offline

#4 2009-11-13 17:44:22

murfMan
Member
Registered: 2009-10-27
Posts: 161

Re: apache stopped working :(

output from sudo apachectl start

Syntax error on line 99 of /etc/httpd/conf/extra/httpd-ssl.conf:
SSLCertificateFile: file '/etc/httpd/conf/server.crt' does not exist or is empty

i don't understand i never touched these files.



edit:
ok i did add this to /etc/httpd/conf/httpd.conf when setting up svn

LoadModule dav_svn_module       modules/mod_dav_svn.so
LoadModule authz_svn_module     modules/mod_authz_svn.so
Include /etc/httpd/conf/extra/httpd-ssl.conf

anyone know whats up?

Last edited by murfMan (2009-11-13 17:57:33)

Offline

#5 2009-11-13 18:03:23

murfMan
Member
Registered: 2009-10-27
Posts: 161

Re: apache stopped working :(

i commented out the Include /etc/httpd/conf/extra/httpd-ssl.conf line and now everything seems to work
i was trying to set up SSL for subversion

... is this ok not to use it or should i be using it?

Offline

#6 2009-11-13 19:45:41

ybotspawn
Member
From: Oz
Registered: 2008-04-06
Posts: 140

Re: apache stopped working :(

You should be you need to configure the ssl conf file properly and place the public cert you plan to use in the directory you specifiy in the conf file


"As long as people are going to call you a lunatic anyway,
why not get the benefit of it? It liberates you from convention. "

Offline

Board footer

Powered by FluxBB