Running an `omnidbcheck -extended` on a Windows Data Protector (DP) 9.0 Cell Manager (CM) gives the following, rather worrying, output
Error opening the Internal Database.
Check Level Mode Status
===========================================================
Database connection -connection Failed
Schema consistency -schema_consistency Failed
Datafiles consistency -verify_db_files Failed
Database consistency -database_consistency Failed
Media consistency -media_consistency Failed
SIBF(readability) -sibf Failed
DCBF(presence and size) -bf ERROR
DONE!
The debug trace files contain errors…
[ 5] 2016-01-13 15:22:05.505 ("postgres_environment.cpp":184)
[ 5] could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port ?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port ?
However most other aspects of the cell look healthy
- The GUI connects to the CM and works well.
- An IDB backup works OK.
Solution
This problem was because the account running the `omnidbcheck -extended` command did not have Administrator privileges.
When a command line prompt was started, right click, select “Command Prompt (Admin)”, and the `omnidbcheck -extended` run it completed without errors.
If omnidbcheck -extended still shows errors even when started from Admin Command Prompt, it is advised to submit a support case.