Problem starting apache (Custombuild)

rizwan65

Verified User
Joined
Dec 27, 2007
Messages
28
Hi
I have a VPS with Custombuild which was running alright for the last few months

Today I got a message that port 80 is down

I am trying to start my apache but getting the error

[root@da admin]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 30 of /etc/httpd/conf/httpd.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

I have checked the httpd error_log and found in tail -f

[Mon Jan 26 13:18:47 2009] [error] [client 58.181.107.178] Invalid method in request 1
[Mon Jan 26 13:18:47 2009] [error] [client 58.181.107.178] File does not exist: /var/www/html/501.shtml
[Mon Jan 26 14:23:36 2009] [warn] (101)Network is unreachable: connect to listener on [::]:443
[Mon Jan 26 14:23:37 2009] [warn] (101)Network is unreachable: connect to listener on [::]:443
[Mon Jan 26 14:23:37 2009] [notice] caught SIGTERM, shutting down

I have also tried rebooting the VPS but same problem

I didn't altered anything in any conf file

Any suggestions

Regards
Rizwan
 
Have you tried looking at line 30 of /etc/httpd/conf/httpd.conf?
 
Line:29 <Limit GET POST OPTIONS PROPFIND>
Line:30 Order allow,deny
Line:31 Allow from all
Line:32 </Limit>
 
same issue

I am having the same exact issue on the same exact line of code. Mine is a new install. Did you resolve this?
 
resolved

FYI the support guys think that this is some kind of yum update that is breaking Apache. I have not gotten a clear answer from them on it. However this is what fixed my server.

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

Also, to ensure that you've got all of the correct software, I'd recommend a full recompile of the apache, php, dovecot services:

./build update
./build all d
 
FYI the support guys think that this is some kind of yum update that is breaking Apache. I have not gotten a clear answer from them on it. However this is what fixed my server.

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

Also, to ensure that you've got all of the correct software, I'd recommend a full recompile of the apache, php, dovecot services:

./build update
./build all d
To recompile correctly (for this case)

./build apache
./build php n

dovecot has nothing to do with Apache, dovecot is for email.
 
After running:

./build rewrite_confs
./build update
./build all d​

I got the following:

Restarting apache.
Stopping httpd: [ OK ]
Remaining processes: 1
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[Sat May 22 22:48:04 2010] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
[Sat May 22 22:48:04 2010] [warn] (2)No such file or directory: Failed to enable the 'dataready' Accept Filter​

So, I did:

./build apache
./build php n​

Things appear to be working, but I have not done a complete test.

Ideas?
 
Thanks smtalk.

Question. My /boot/loader.conf has not been modified, why would this problem exist as new?

Code:
#cat loader.conf
kern.hz="200"

Could there be another file that would have included

Code:
accf_http_load="YES"
accf_data_load="YES"

Or since I've not need to retart apache in the past, is it more likely that it had always been a confuration problem?

Thanks
 
CustomBuild uses improved Apache configuration and it requires httpready and dataready accept filters. I guess you had CustomApache installed in the past.
 
Back
Top