[Spacewalk-list] Eror in osa-dispatcher log

Jan Pazdziora jpazdziora at redhat.com
Tue Sep 20 09:16:14 UTC 2011


On Mon, Sep 19, 2011 at 12:16:09PM +0200, Pierre Casenove wrote:
> Hello,
> I have an error message in osa-dispatcher.log on my spacewalk 1/5 on
> postgresql install
> 2011/09/19 08:52:46 -00:00 6294 0.0.0.0: osad/jabber_lib.main('ERROR',
> 'Traceback (most recent call last):\n  File
> "/usr/share/rhn/osad/jabber_lib.py", line 115, in main\n
>  self.setup_config(config)\n  File "/usr/share/rhn/osad/osa_dispatcher.py",
> line 82, in setup_config\n    rhnSQL.initDB()\n  File
> "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/__init__.py", line
> 124, in initDB\n    __init__DB(backend, host, port, username, password,
> database)\n  File
> "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/__init__.py", line
> 55, in __init__DB\n    __DB.connect()\n  File
> "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py",
> line 163, in connect\n    return self.connect(reconnect=0)\n  File
> "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py",
> line 167, in connect\n    [self.database, e.pgcode, e.pgerror, "Attempting
> Re-Connect to the database failed",])\nSQLConnectError: (None, None,
> \'spaceschema\', \'Attempting Re-Connect to the database failed\')\n')
> 2011/09/19 08:52:56 -00:00 6294 0.0.0.0:
> rhnSQL/driver_postgresql.check_connection('ERROR', "DATABASE CONNECTION TO
> 'spaceschema' LOST", "Exception information: Database instance has no
> attribute 'dbh'")
> 
> What could be the origin of this message?

Database server was restarted while osa-dispatcher was running?

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list