Apache, "sh: host: command not found"
Hello,
may I ask what does this line in the Apache error_log means?
sh: host: command not found
those are quite many, and then comes this:
[mpm_worker:notice] [pid 28240:tid xxxxxxxxx] xxxxxxxx.. Doing graceful restart
I believe this started after I recompiled EA4 using 'MPM Worker CloudLinux + cPanel profile + every PHP option'.
q: is this normal? if not (something is missing perhaps), then what to look for and how to fix it?
Thank you.
-
Hello, Do you mean that apache service is getting graceful restarted automatically? if yes any time frame and number of apache process are? If possible paste more logs. 0 -
Hello, Do you mean that apache service is getting graceful restarted automatically? if yes any time frame and number of apache process are? If possible paste more logs.
Yes, Apache was restarting by itself every 2 hour or so, unusual.. i did a night test-run. I switched back to '_prefork' profile and everything is back to normal, no errors on logs. I guess something didn't work well with '_worker' on my Server, need to investigate further before trying it again. Thanks for answering!0 -
Hello, Graceful restarts are a normal occurrence with Apache, and are explained on the following post: Why is apache restarting every two hours? Thank you. 0 -
Ok, thanks for explaining! I see :), Graceful restarts occurs even with '_prefork' profile. So far I see no problem with that, we can always enable 'Piped Log Configuration' if needed. 0
Please sign in to leave a comment.
Comments
4 comments