Gorgone configuration file : Error when connecting to the Gorgone server
Hello everyone I had deployed a machine as a poller and connected it to centreon, then later i exported it to a different network and wanted to attach it to a different centreon server, however the command “/usr/share/centreon/bin/registerServerTopology.sh -u admin -t poller -h 192.168.0.1 -n poller-1’ was run succesfully and I could see the poller in the list when I went to add it, however when It came to the gorgoned file I click to copy the contents and I see the error above, I’m unsure what I’m supposed to do, I deleted the old gorgoned file and restarted the service on both the central and the poller, and redeployed the poller and added it again, still same issue, I’m unsure what I should do, I also deleted the log files and the key files:
@Thibault @Laurent Would you have any idea?thanks :c
Hi @xorya you said:
I click to copy the contents and I see the error above
which error?
@Laurent this “Gorgone configuration file : Error when connecting to the Gorgone server” i really cant seem to connect to the gorgone and see the config file at all, i removed the old config of the previous poller made it as if the machine is new and i still see the same error, cant generate the config file at all
@Laurent I see this in the log file for gorgoned “
@Laurent I added the subnet too and restarted the service but i dont see any difference in the status result
@Laurent this centreon was configured in a different ip address aka installed it with a different ip, maybe its cus i changed the ip something didnt go right in the database or idk?
Can you enable debug in /var/sysconfig/gorgoned by changing ERROR to DEBUG and restart gorgoned process then check logs
@Laurent this is what im seeing in the logs now
Maybe i need to change the ip somewhere from the localhost one to the actual ip of centreon? idk
@Laurent COULD it also be related to thi? i dont know
@Laurent It says mariadb is not found, maybe that’s the issue, although i did install it, somethings wrong with my server
@Laurent I redid everything and still get same issue, i see nothing running on port 5556 I think that’s the problem cus even when I try to nc or telnet connect to the poller with ip and port 5556 i get connection timeout, any idea what to do?
is the conf file for centreon supposed to look like this “