Capsule server showing 500 Internal Server Error and Capsule services are failing with postgresql error in Red Hat Satellite 6.
Issue
-
Navigating to
Satelite WebUI -> Infrastructure -> Capsule
page display below error:500, message='Internal Server Error'
-
Database logs show what looks like a DB corruption:
$ tail var/lib/pgsql/data/log/postgresql-Tue.log 2023-04-18 04:30:15 EDT LOG: aborting startup due to startup process failure 2023-04-18 04:30:15 EDT LOG: database system is shut down 2023-04-18 12:40:17 EDT LOG: database system was shut down at 2023-03-29 10:58:33 EDT 2023-04-18 12:40:17 EDT LOG: invalid primary checkpoint record 2023-04-18 12:40:17 EDT PANIC: could not locate a valid checkpoint record 2023-04-18 12:40:18 EDT FATAL: the database system is starting up 2023-04-18 12:40:18 EDT FATAL: the database system is starting up 2023-04-18 12:40:18 EDT LOG: startup process (PID 3040950) was terminated by signal 6: Aborted 2023-04-18 12:40:18 EDT LOG: aborting startup due to startup process failure 2023-04-18 12:40:18 EDT LOG: database system is shut down
Environment
- Red Hat Satellite Capsule 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.