PDA

View Full Version : Many errors



rmxs
01-02-2008, 01:13 PM
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!

smtalk
01-02-2008, 01:23 PM
Do: "cd /usr/local/directadmin/custombuild; ./build all d".

rmxs
01-02-2008, 01:35 PM
when i do this i get Wrong apache_ver value set in /usr/local/directadmin/custombuild/options.conf.

smtalk
01-02-2008, 01:38 PM
Edit /usr/local/directadmin/custombuild/options.conf and set apache_ver to 2.2.

rmxs
01-02-2008, 01:43 PM
its already #Possible values - 1.3, 2.0 or 2.2
apache_ver=2.2

smtalk
01-02-2008, 01:49 PM
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.

rmxs
01-02-2008, 01:51 PM
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 ***

rmxs
01-02-2008, 01:56 PM
i do ./build update_data and then start ./build all d

byt y the apache is still 1.3??

smtalk
01-02-2008, 02:21 PM
Because 1.3 is set in options.conf.

rmxs
01-02-2008, 02:24 PM
still build....

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

rmxs
01-02-2008, 04:21 PM
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???

smtalk
01-03-2008, 02:07 AM
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).

rmxs
01-03-2008, 12:59 PM
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