Problem after ./build update_versions

rizwan65

Verified User
Joined
Dec 27, 2007
Messages
28
Hi
I am facing problem while starting apache after ./build update_versions

Apache is giving me the error
[root@server custombuild]# service httpd start
Starting httpd: httpd: Syntax error on line 159 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf/extra/directadmin-vhosts.conf: Could not open configuration file /usr/local/directadmin/data/users/bandwidth.tally/httpd.conf: Not a directory

Plz help

Rizwan
 
try this:

Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs

warning: you will lose any custom configuration you made previously to httpd.conf
 
Remove bandwidth.tally file from /usr/local/directadmin/data/users directory, it shouldn't be there:
Code:
rm -f /usr/local/directadmin/data/users/bandwidth.tally

Then run:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
 
Thanks a lot the problem is solved by rewrite configs. After that I have commented the line /usr/local/directadmin/data/users/bandwidth.tally
in /etc/httpd/conf/extra/directadmin-vhosts.conf

While accessing my sites I am also facing this error frequently:

Forbidden
You don't have permission to access / on this server.


I am not a pro of Linux system (Just Know How) and it is my first time to use custombuild
I am in trouble right now after Custombuild

My VPS stops responding most of the time and also get db errors in Vbulletin I think services hangs i.e SSH and MySQL. I need to restart the VPS most of times

My VPS is 512MB Ram and running a Forum and few other sites on it. Not much traffic on it i.e 30 to 40 users at a time on the forum

Could u plz suggest best settings for Apache2 and my.cnf and exim, so that some load could be cutdown on the VPS

Your help will be greatly appriciated

Regards
Rizwan
 
Last edited:
Back
Top