After "killall httpd" command, if I issue "service httpd start" or "/etc/rc.d/init.d/httpd start" Apache doesn't run and the script gives the "dead but subsys locked" status. However, if just "httpd" command is issued o the command line, the server comes alive as usual.

Removing the lockfile (/var/lock/subsys/httpd) should allow the service command to work normally. If you use the service command rather than "killall' to stop the server, the lock file will be removed in the process. Try "service httpd stop" to shutdown httpd.

Sorry, my original post should have been more clear.

Normally I use the "service" command or "/etc/rc.d/init.d/...." scripts to start and stop services. But in my case they just don't work for httpd service even if I delete the httpd lock file. No problem using this script with the other services.

What I would like to point out that the only way to start httpd (in my current case, of course) is to issue "killall httpd" then just "httpd". So, It seems that something is broken in httpd init script.

I further drilled down into the problem. I think it is related with my /etc/sysconfig/i18n settings. If I use LANG=en_US.UTF-8, everything, including, httpd works just fine. But when I change default character encoding to ISO-8859-9 the problem repeats.

Mufit


-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to