-
v7.0NG.777 Moving Database to seperate server keeps restarting
I installed on Unbuntu 22 also tried Rocky using the script in the extras on github.
everything worked fine then I set up a new database server stopped the server and console
Dumped the DB changed the /etc/pandora/pandora_server.conf tp point to the new DB server and the console.
Start the server and it keeps restarting point it back to the localhost one no problems at all
I even tried the setup script and used an external DB same problem. I think its somthing in the pandora_ha that’s doing this but not sure .
In the log i see this with verbose
eg I keep seeing
2024-07-10 10:04:49 pandora_server: monitoring [V10] Pandora FMS Server ‘monitoring’ Caught SIGTERM by thread(0)
2024-07-10 10:04:49 pandora_server: monitoring [V1] Pandora FMS Server ‘monitoring’ Shutdown by signal
2024-07-10 10:04:35 monitoring [V1] Config options: Logfile at /var/log/pandora/pandora_server.log, Basepath is /etc/pandora/pandora_server.conf, Checksum is 0, Master is 1, SNMP Console is 0, Server Threshold at 5 sec, verbosity at 10, Alert Threshold at 60, ServerName is ‘monitoring’
2024-07-10 10:04:35 monitoring [V1] [*] Pandora FMS Enterprise module not available.
2024-07-10 10:04:35 pandora_server: monitoring [V10] Creating audit entry ‘Pandora FMS Server Daemon starting’ name ‘SYSTEM’ action ‘System’.
2024-07-10 10:04:35 pandora_server: monitoring [V3] Smart queue enabled for the Pandora FMS DataServer.
2024-07-10 10:04:35 pandora_server: monitoring [V1] [E] pandorawmic not found. Pandora FMS WMI Server needs a DCOM/WMI client.
2024-07-10 10:04:35 pandora_server: monitoring [V1] [*] NetFlow daemon disabled.
2024-07-10 10:04:35 pandora_server: monitoring [V1] [*] sFlow daemon disabled.
024-07-10 10:04:49 pandora_ha: monitoring [V5] HA (LOG) Looking for databases
2024-07-10 10:04:49 pandora_ha: monitoring [V5] HA (LOG) Enterprise capabilities loaded
2024-07-10 10:04:49 pandora_ha: monitoring [V5] HA (LOG) Connected to database 192.168.109.111
2024-07-10 10:04:49 pandora_ha: monitoring [V5] HA (LOG) Pandora service running but not all components.
2024-07-10 10:04:49 pandora_server: monitoring [V10] Pandora FMS Server ‘monitoring’ Caught SIGTERM by thread(0)
2024-07-10 10:04:49 pandora_server: monitoring [V1] Pandora FMS Server ‘monitoring’ Shutdown by signal
When its running on Localhost it looks about the same but no
2024-07-10 10:04:49 pandora_server: monitoring [V1] Pandora FMS Server ‘monitoring’ Shutdown by signal
I am at a loss as top what is doing this thanks