cancel
Showing results for 
Search instead for 
Did you mean: 
thomasbbb
Mission Specialist
Mission Specialist
  • 232 Views

Apache service randomly fails to start

Jump to solution

Hello,

Most of time the deployment goes smoothly and everything starts as experted, but sometimes the apache service never manage to start. Same commands, same everything.

Any idea what the issue could be? Maybe it only takes to add timeouts at the cluster or resource level?

2 Solutions

Accepted Solutions
Chaitanya83
Flight Engineer
Flight Engineer
  • 180 Views
You need to enable the service at run time and strat it manually for first
time. Later it will start on it’s own as its enabled on run level

*Regards,*
*Krishna Chaitanya*
*+91 9885885879.*

View solution in original post

Chetan_Tiwary_
Community Manager
Community Manager
  • 52 Views

@thomasbbb installing the app does not make it run or automatically enabled it at runtime. 

for the first time , after installing httpd, you can do "systemctl enable --now httpd "

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_different_types_o... 

Yes the issue could  be caused by timeouts (TimeoutStartSec ) that are too aggressive for the service, race conditions with resource dependencies, port or prpcess conflicts etc. 

View solution in original post

4 Replies
thomasbbb
Mission Specialist
Mission Specialist
  • 202 Views

Does httpd need to be enabled and started? Or just installed and not even running?

Chaitanya83
Flight Engineer
Flight Engineer
  • 181 Views
You need to enable the service at run time and strat it manually for first
time. Later it will start on it’s own as its enabled on run level

*Regards,*
*Krishna Chaitanya*
*+91 9885885879.*
TudorRaduta
Community Manager
Community Manager
  • 68 Views

@Chaitanya83 - thanks for offering your help! 

Chetan_Tiwary_
Community Manager
Community Manager
  • 53 Views

@thomasbbb installing the app does not make it run or automatically enabled it at runtime. 

for the first time , after installing httpd, you can do "systemctl enable --now httpd "

https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/deploying_different_types_o... 

Yes the issue could  be caused by timeouts (TimeoutStartSec ) that are too aggressive for the service, race conditions with resource dependencies, port or prpcess conflicts etc. 

Join the discussion
You must log in to join this conversation.