apache down, need help please ASAP

Status
Not open for further replies.

85max85

Verified User
Joined
Jul 22, 2007
Messages
18
hey guys, ive been up all night trying to get apache working but am out of options and a friend could not help.

im looking for someone asap to fix it for me and of course am willing to pay.

i have apache2 with php5 cgi and suphp. tried to recompile apache but no luck, there is something wrong with the ssl settings in the configs but cant figure out what. it is messing up the virtualhosts.
 
cd /usr/local/directadmin/custombuild
./build update
./build php d
./build httpd d
./build suphp d
./build rewrite_confs
 
one of the first things i tried (well after hours of looking through configs) but when i did that it somehow got the configs for apache1 and apache2 all messed up. i had 2 people look at it and both cannot find what is wrong with the configs.

neither was a directadmin export though
 
are you sure about

./build httpd d

it just gives me a list of options, there is build apache though. please advise
 
I guess its ./build apache d

Show me some errors it is spitting out.

Check /var/log/httpd/error_log
 
here is what i get after apache build, its all confused with the configs :s

make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.14'
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Restarting apache.
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 24 of /etc/httpd/conf/httpd.conf: Sy ntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: API module structure 'suphp_module' in file /usr/lib/apache/mod_suphp.so is garbled - expec ted signature 41503232 but saw 41503230 - perhaps this is not an Apache module D SO, or was compiled for a different Apache version?
 
and the latest info in the log


[Tue Dec 08 17:17:02 2009] [error] (17)File exists: Cannot create SSLMutex with file `/var/log/httpd/ssl_mutex.$
Configuration Failed
 
after rebuilding suphp and cleaning then i get no errors but this:

Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
Restarting apache.
Stopping httpd: [FAILED]
Starting httpd:
[root@server1 custombuild]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd:
[root@server1 custombuild]# service httpd stop
Stopping httpd: [FAILED]
[root@server1 custombuild]# service httpd start
Starting httpd:
[root@server1 custombuild]#



still does not start :(
 
i even tried getting rid of the user with the messed up ssl, but now i am getting this error:

Unable to configure RSA server private key

is anyone interested in fixing this? please let me know asap
 
I sent you a pm to give me server details to fix it.
 
The main problem was a mismatching ssl private and public key. It took a while to figure out. But after rebuilding everything with custombuild I finally got it working right again.

Hooray!
 
i have same problem and i try rebuilding everything with custombuild

but Apache still Stop

anyone can help me

please "scsi" can you Help me
 
the Problem Fixed After rebuilding everything you must delete "/var/log/httpd/ssl_mutex"
 
Status
Not open for further replies.
Back
Top