Skip to main content

Apache, "sh: host: command not found"

Comments

4 comments

  • HostingH
    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
  • alexis75
    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
  • cPanelMichael
    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
  • alexis75
    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.