PDA

View Full Version : Httd config in nodeworx


pascal
03-26-2006, 07:34 AM
Hello,

I don't have the httpd module list in nodeworx.

Also I can^t set on the option : Auto-Restart Apache

Thanks

Pascal

IWorx-Socheat
03-26-2006, 09:23 AM
Check the permissions on your /etc/httpd/conf/httpd.conf file. It needs to be owned root.root and chmod'd 644. Also, try running httpd -t, as root, to see if there are any syntax errors in your Apache setup. Finally, see what happens when you try to start/restart Apache from the command line (do you see any additional error messages)?

Socheat

pascal
03-26-2006, 10:00 AM
Hi socheat

Thanks it is own by root.iworx but was chmod to 600.
I've done some tests and in fact the chmod is changed when you disabled a module from nodeworx.

But I still can't enable auto-restart httpd option to ON
*» Failed to enable Apache auto-restart"

Pascal

IWorx-Socheat
03-26-2006, 10:41 AM
I believe this has to do with your system language being set to French. When you run:

chkconfig --list httpd

I'm guessing you get something like this?

httpd 0:Arręt 1:Arręt 2:Arręt 3:Marche 4:Marche 5:Marche 6:Arręt

This is a known bug, and we have a fix but it needs a bit more testing.

Thanks,
Socheat

IWorx-Socheat
03-26-2006, 10:51 AM
Thanks it is own by root.iworx but was chmod to 600.
I've done some tests and in fact the chmod is changed when you disabled a module from nodeworx.

What module did you try disabling? I have been unable to reproduce this behavior on several of our test boxes.

pascal
03-26-2006, 11:08 AM
About
chkconfig --list httpd


I Have

[root@obiwan ~]# chkconfig --list httpd
httpd 0: off 1: off 2: off 3: on 4: on 5: on 6: off


So it is not French

About disabling module, I've done it for mod_security, but yet I have removed the loadmodule fron the httpd conf file to rather write it in a conf.d/xxx.conf file.
To do a test, I do not how box module I can safely disable on an interworx (see my other post)

Thanks for your help

Pascal

pascal
03-26-2006, 01:47 PM
Just to let you know that mysql auto-restart has the same result

» Failed to enable MySQL auto-restart

Pascal