Skip to main content

Hello,

 

I'm trying to update by following this procedure: https://docs.centreon.com/fr/docs/upgrade/upgrade-from-21-04/Everything is fine except for this command:systemctl reload httpd24-httpdJob for httpd24-httpd.service invalid.When the update is finished I get the error:
internal server error when i try to login.

Hello @akhethan ,

 

Thank you for reaching out, we can try a few things:

You can check if your apache config with:

apachectl configtest

and see If there are any issues.

Also, share your httpd status:

systemctl status httpd24-httpd

Finally, you can check for some extra info in your log

/var/log/httpd24/error_log

 

Hope this helps.


apachectl configtest


AH00558: httpd: Could not reliably determine the server's fully qualified domain                                                                                                                                                              name, using fe80::e758:9b3d:ca1d:f236. Set the 'ServerName' directive globally                                                                                                                                                              to suppress this message
Syntax OK

 

systemctl status httpd24-httpd


● httpd24-httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd24-httpd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

mars 31 11:00:55 bvs-vm202 systemds1]: Unit httpd24-httpd.service cannot be reloaded because it is inactive.

 

I don’t have logs here : /var/log/httpd24/error_log

yet the interface works


It looks like it is not active

systemctl start httpd24-httpd

and you should be able to continue but if you have processes running, have you tried to stop all the possible instances

systemctl stop httpd24-httpd

and then look if anything is left behind and stop/kill them as needed and then start again

ps -aux | grep httpd

If anyone else has some ideas join the 🥳✌️

 

 


According to your status’ output your httpd24-httpd service is disabled. So in addition to starting it, you should also enable it, so that it starts again at the next reboot:

systemctl enable httpd24-httpd

Reply