We have two servers that are identical in terms of application, version, specification of the server, OS. They're on different vlans but in the same metro datacentre. They use the same credentials to poll data. Yet the live server is being monitored and the DR server is coming up with the most odd error.
Testing on node 'xxx.xxx.xxx.xxx' failed with 'Unknown' status ('Unknown' might be different if script exits with a different exit code).
Output: =====================================================
perl /home/mon.svc/./APM_1130717140.pl 1
grep: /u1/cris/jboss/server/default/deploy/35-test-interfaces.sar: Permission denied
/usr/local/bin/interface_config.sh: line 28: /usr/local/etc/jms.conf: Permission denied
/usr/local/bin/interface_config.sh: line 29: /usr/local/etc/inttodo.conf: Permission denied
DBI connect('dbname=xxxxx
;host=database
;port=1949
',xxxxx',...) failed: FATAL: no pg_hba.conf entry for host "xxx.xxx.xxx.xxx", user "xxxxx", database "xxxxx", SSL on
FATAL: no pg_hba.conf entry for host "xxx.xxx.xxx.xxx", user "crisjboss", database "xxxxx", SSL off at /home/mon.svc/./APM_1130717140.pl line 82
I raised this with solarwinds, but they have said that it is due to the scripts that run to poll interface data. But the thing is why would it work on one server and not the other?
It worked fine in the old environment, but when I moved over to a new environment it just does not like it.
I have logged onto the server with the service account credential and can successfully log on.
I have checked the change diary, but no changed have been made either. No patches or updates have been applied.
I can't work out if it's the server or solarwinds.
I have also removed the server and added it as well as the SAM template and added it again. But if that's the case, I still can't figure out why it works on the live server and not the DR.