Httd config in nodeworx

Hello,

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

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

Thanks

Pascal

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

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

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

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

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

Just to let you know that mysql auto-restart has the same result

? Failed to enable MySQL auto-restart

Pascal