Skip to main content
Solved

error 404 nothing works anymore

  • May 2, 2024
  • 1 reply
  • 112 views

zach
Forum|alt.badge.img+6
  • Steward **
  • 26 replies

So, two days ago, i was there, i just ended migrating the databases, and this mornig, i just come to my office, load the page, and i get an error 404, the requested url was not found on this server. on the same page.
My apache server is working
gorgoned,mariadb, cbd, all work well. however there’s no httpd neither httpd24-httpd services.

I rolld back to the previous snapshot, same error.

I uninstalled then reinstalled centreon-web, don’t work either.

Best answer by zach

problem solved.

It was between the /etc/apache2/sites-available and /etc/apache2/sites-enabled.

the centreon.conf was indeed in the first directory, but there was nothing in the second. The problem was that there was no symblolic link between the /etc/apache2/sites-available/centreon.conf and the /etc/apache2/sites-enabled, thus making the site impossible to reach because it wasn’t enabled.

1 reply

zach
Forum|alt.badge.img+6
  • Author
  • Steward **
  • 26 replies
  • Answer
  • May 2, 2024

problem solved.

It was between the /etc/apache2/sites-available and /etc/apache2/sites-enabled.

the centreon.conf was indeed in the first directory, but there was nothing in the second. The problem was that there was no symblolic link between the /etc/apache2/sites-available/centreon.conf and the /etc/apache2/sites-enabled, thus making the site impossible to reach because it wasn’t enabled.