Apache doesn't start

mileZ

Verified User
Joined
Feb 9, 2012
Messages
25
Hi All,

I wanted to install suPHP based on this post

After running

./build all d

Apache doesn't start anymore.

By running
/etc/init.d/httpd start

I got this:

Starting httpd: Warning: DocumentRoot
[Sun Dec 02 20:17:53 2012] [warn] NameVirtualHost MYIP:443 has no VirtualHosts

When I try to start httpd after a few seconds it stops.

In my httpd error log I've got this:

[Sun Dec 02 21:33:13 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Dec 02 21:33:13 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Dec 02 21:33:14 2012] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.12. Rebuild it for your PHP version (5.2.17) or download precompiled binaries.\n in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0

How can I fix this?

Thank you in advance for your support.

Regards,
mileZ
 
Last edited:
Hi Suurbier,

thank you for your replay.

What is the recompile script fot eAccelerator.

Thank you,

mileZ
 
Hi Suubier,

the eAccelerator issue is solved. Apache is running but the sites are still down.

I restarted the server.

But when I run
Code:
./build rewrite_confs

I have this

Code:
unified_ftp_password_file is not set to 1.  You must convert before you can use pureftpd
Please read this guide: [url]http://www.directadmin.com/features.php?id=1134[/url]

Simulation:
     cd /usr/local/directadmin
     echo 'action=convert&value=unifiedftp&simulate=yes' >> data/task.queue
     ./dataskq d1

Conversion:
     cd /usr/local/directadmin
     echo 'unified_ftp_password_file=1' >> conf/directadmin.conf
     echo 'action=convert&value=unifiedftp' >> data/task.queue
     ./dataskq d1


Update

./build rewrite_confs works

but I have now this error
Code:
Using 127.0.0.1 for your server IP
Restarting apache.
Stopping httpd: 
Remaining processes: 3041
Stopping httpd: 
Starting httpd: httpd: Syntax error on line 37 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_ruid2.so into server: /usr/lib/apache/mod_ruid2.so: cannot open shared object file: No such file or directory

Thank you.

mileZ
 
Last edited:
I did it and after ./build rewrite_confs

I got

Starting httpd: httpd: Syntax error on line 37 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_mpm_prefork.so into server: /usr/lib/apache/mod_mpm_prefork.so: cannot open shared object file: No such file or directory

:-)
 
Check if mod_mpm_prefork.so is in /usr/lib/apache or /usr/local/lib/apache and change it in httpd-phpmodules.conf
 
I did a ./build all

and I got this now

AH00544: httpd: bad group name access

I'm becoming mad :-)
 
Back
Top