Apache not working after clean install - module php5_module not loaded + syntax error

Guillermo

Verified User
Joined
May 20, 2006
Messages
95
Location
The Netherlands
I get to see these errors after a clean directadmin installation:

Shutting down proftpd: [FAILED]
Starting proftpd: - no such group 'nogroup'
- Fatal: Group: Unknown group 'nogroup' on line 27 of '/etc/proftpd.conf'
[FAILED]
cp: cannot stat `/var/www/html/roundcube/logs/*': No such file or directory
cp: cannot stat `/var/www/html/roundcube/temp/*': No such file or directory


AND

# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 142 of /etc/httpd/conf/httpd.conf: Syntax error on line 21 of /etc/httpd/conf/extra/httpd-vhosts.conf: Could not open configuration file /etc/httpd/conf/ips.conf: No such file or directory


I've tried to rebuild it all:
cd /usr/local/directadmin/custombuild
./build update
./build all d

But that didn't fix the problem.
Any help is appreciated.
 
Code:
perl -pi -e 's/nogroup/ftp/' /etc/proftpd.conf

And:
Code:
echo "action=rewrite&value=ips" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d

Good luck!
 
Hey smtalk, thanks for your help, but those commands don't give any output.
I've rebuilt customapache after running your commands, but i still get the same errors.

Directadmin is also messed up.

# service directadmin status
directadmin dead but subsys locked

# service directadmin start
Starting DirectAdmin: /bin/bash: /usr/local/directadmin/directadmin: cannot execute binary file
 
Last edited:
Please contact me on instant messenger and I'll help you for free.
 
Same problem here ...

I had the same issue and the problem was comming from a bad licence informations update.

My server is CentOS 5.2 64 bits and the licence was updated by DirectAdmin to the 32 version .... Before searching to long or doing many little trick to make it running, recheck your licence is for the right version.
 
I just runned an update as well and now my directadmin is stopped too.

How do I check that license through ssh? I can't check it in the webpanel because that has stopped.

I got an email that the server was updated, and the same moment one with:

The service 'directadmin' on server server.xxxx.net is currently down

:(
 
Back
Top