How to increase Postgresql client connections for Satellite 5.x

Solution Verified - Updated -

Issue

  • Satellite generates many email tracebacks similar to the following:
Traceback (most recent call last):
 File "/usr/lib/python2.6/site-packages/spacewalk/server/apacheHandler.py",
line 80, in headerParserHandler
 rhnSQL.initDB()
 File "/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py",
line 143, in initDB
 raise e
SQLConnectError: (None, None, 'rhnschema', 'Attempting Re-Connect to the
database failed')
Local variables by frame
Frame initDB in
/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py at line
143
 username = <type 'str'> rhnuser
 e = <class
'spacewalk.server.rhnSQL.sql_base.SQLConnectError'> (None, None, 'rhnschema',
'Attempting Re-Connect to the database failed')
 database = <type 'str'> rhnschema
 host = <type 'NoneType'> None
 password = <type 'str'> <CENSORED!>
 port = <type 'NoneType'> None
 backend = <type 'str'> postgresq

Environment

  • Red Hat Satellite 5.6
  • Red Hat Satellite 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.