Run - ps -ef | grep postgres
From output you should see where postgres is running
1 person found this helpful
Thanks for the help. The control file was "/opt/vmware/vpostgres/9.1/bin/postgres". It appears to be working, despite still giving me an error about it being unconfigured as some metric data is now starting to appear. For people in the future with this problem, I found the path much easier to see with "ps aux | grep postgres", but I'm aware that may not always contain the path to the executable. For some reason, the postgres command didn't always turn up either.
I had found it before, but it's a 64-bit ELF executable instead of a text file. I assumed it definitely wasn't it, when it gave a huge error about my settings being invalid. It turns out that Hyperic had come up with a very strange postgresql.host name that included things like log_rotation_age.