Hello
The past few times I've added a user to our server apache hasn't restarted. I traced the problem to ips.conf and httpd.conf being overwritten, so I replaced them from backups.
and then it works.
The only thing in the error log that is fishy is:
I uncommented the mod_ssl entry in httpd.conf, but that didn't help either.
The permissions seem to be correct -
Why is ips.conf being re-written and not including the first 20-30 lines? I can't figure it out I followed the steps to rebuild, which were
Anyone have a clue? I'm stumped.
Thanks in advance
The past few times I've added a user to our server apache hasn't restarted. I traced the problem to ips.conf and httpd.conf being overwritten, so I replaced them from backups.
Code:
[root@serv1 conf]# httpd start
Syntax error on line 1 of /etc/httpd/conf/ips.conf:
</VirtualHost> without matching <VirtualHost> section
[root@serv1 conf]# cp /home/blane/httpconfs/httpd.conf .
cp: overwrite `./httpd.conf'? y
[root@serv1 conf]# cp /home/blane/httpconfs/ips.conf .
cp: overwrite `./ips.conf'? y
[root@serv1 conf]# httpd start
and then it works.
The only thing in the error log that is fishy is:
Code:
[root@serv1 conf]# tail -20 /var/log/httpd/error_log
[Thu May 3 14:52:15 2007] [error] Cannot remove module mod_perl.c: not found in module list
[Thu May 3 14:52:15 2007] [error] Cannot remove module mod_ssl.c: not found in module list
I uncommented the mod_ssl entry in httpd.conf, but that didn't help either.
The permissions seem to be correct -
Code:
[root@serv1 conf]# ls -al ips.conf httpd.conf
-rw-r--r-- 1 root root 25947 May 3 14:57 httpd.conf
-rw-r--r-- 1 root root 12138 May 3 14:57 ips.conf
Why is ips.conf being re-written and not including the first 20-30 lines? I can't figure it out I followed the steps to rebuild, which were
Code:
cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update
./build all
Anyone have a clue? I'm stumped.
Thanks in advance