Question

Changing Central IP - http conf location

  • 24 January 2023
  • 4 replies
  • 24 views

Userlevel 1
Badge +6

Hi, 

I’m trying to change the Central server IP, I have changed the IP of the server and the /etc/hosts. 

All Centreon processes are running but i’m trying to enter to the web interface and doesnt work. It is still taking the old IP, I’m trying to change that but I dont locate the correct file…

I have try to grep the lines that have the http://old_ip.. but I still cant find the file.
Does anyone know where is the file?

 

Thanks!!!

 

(I have look at this post Help! I have to change the IP Address of a Centreon server - Part I | Community with no result...)


4 replies

Userlevel 5
Badge +14

Hi @aalz0 can you put here your Apache configuration (/etc/httpd/conf.d/10-centreon.conf)

Userlevel 1
Badge +6

But on Debian 11? In /etc/apache2 I dont have that file…

I have /etc/apache2/apache2.conf but the IP is not defined

Userlevel 5
Badge +14

Yes it was /etc/apche2/centreon.conf

 

Using netstat can you check on which IP Apache is listening?

netstat -ano | grep 80

 

Userlevel 1
Badge +6

/etc/apche2/centreon.conf doesnt exist neither.

After doing netstat -ano | grep 80 I get:

 

 

Reply