Many errors

rmxs

Verified User
Joined
Jan 14, 2007
Messages
133
Hello i upgrade with

* cd /usr/local/directadmin/customapache
* ./build clean
* ./build update
* ./build update_data_ap2
* ./build convert
* ./build apache_2
* ./build apache_mod_ssl


My apache
anf then i do this

* cd /usr/local/directadmin
* wget http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
* tar xvzf custombuild.tar.gz
* cd custombuild
* ./build update_data



and now the apache dont start!!

Comes with many error message like

"Invalid Command 'Order'"

Invalid Command 'addmodule'

etc..
all this errors in httd.conf


Can someone help??

URGENT!
 
Do: "cd /usr/local/directadmin/custombuild; ./build all d".
 
when i do this i get Wrong apache_ver value set in /usr/local/directadmin/custombuild/options.conf.
 
Edit /usr/local/directadmin/custombuild/options.conf and set apache_ver to 2.2.
 
its already #Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2
 
Make sure it doesn't have a space after 2.2. You can just remove options.conf and run "./build", it will generate a new options.conf file.
 
i delete it i run ".build'; and now

Backing up certificate and key, and turning off httpd for DirectAdmins's check.
*** Cannot find /usr/local/directadmin/custombuild/apache_1.3.39.tar.gz. Aborting ***
 
i do ./build update_data and then start ./build all d

byt y the apache is still 1.3??
 
still build....

when completed how can i upgrade just the apache because seems the php and the others upgraded normaly!
 
Y when i use


KeepAlive: On
MaxKeepAliveRequests: 100
KeepAliveTimeout: 1
MinSpareServers: 10
MaxSpareServers: 15
StartServers: 10
MaxClients: 300
MaxRequestsPerChild:1000

i get errors like this...?

Starting httpd: Syntax error on line 9 of /etc/httpd/conf/httpd.conf:
Invalid command 'KeepAlive:', perhaps mis-spelled or defined by a module not included in the server configuration


WHEN I PUT OUT HIS EVERYTHING ITS OK!!

byt how its possible???
 
You can't have ":" after every variable. Remove ":" and try again. P.S. you can edit these variables in /etc/httpd/conf/extra/httpd-default.conf (and you won't have to use the main httpd.conf file then).
 
ok everything works now byt when i try to restart the hhtpd i get

[error] VirtualHost ********:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results


CAN SOMEONE HELP??

FIXED i add port :80 and port :443 to each ips on my httpd-vhosts.conf
 
Last edited:
Back
Top