This is an issue with the database table mentioned in the
$VOYENCE_HOME/db/controldb/logs/server.postmaster log.
In this example:
cm_config_item Run the following based on the table above:
The following actions below must be performed with all the services on the Application Server, Device Server and Report Server are stopped and the controldb is the only thing runningLog into the Database by doing the following at the command prompt:
su - pgdba
psql voyencedb voyence(It will ask for the Database password)
Enter DB password.
Once you are logged in to DB, execute below commands:
1.
SET zero_damaged_pages = on;2.
VACUUM FULL damaged_table;3.
REINDEX TABLE damaged_table; For example: In my case I am having an issue with table cm_config_item so I will execute the following commands to fix this issue:
1)
database=# SET zero_damaged_pages = on;
SET
database=# VACUUM FULL cm_config_item;
WARNING: invalid page header in block xxx of relation base/yyy/zzz; zeroing out page
[..]
REINDEX TABLE cm_config_item;
This will remove the affected items and add 0 to the affected cells.
2) Verify that the table can be read now by executing a simple sql command to open the contents in that table:
select * FROM damaged_table;
Example:
select * FROM cm_config_item;
This should populate the cell information inside cm_config_item table.
3) Restart vcmaster after performing these steps. This should restart JBOSS properly without any error messages regarding invalid page header.
Launch NCM and test by logging in and performing a job.