PDA

View Full Version : Problem after ./build update_versions



rizwan65
11-14-2008, 12:11 AM
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

limpangel
11-14-2008, 05:00 AM
try this:



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


warning: you will lose any custom configuration you made previously to httpd.conf

smtalk
11-14-2008, 07:20 AM
Remove bandwidth.tally file from /usr/local/directadmin/data/users directory, it shouldn't be there:


rm -f /usr/local/directadmin/data/users/bandwidth.tally


Then run:


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

rizwan65
11-15-2008, 01:00 AM
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