My spacewalk Master is now backup - I moved /etc/init.d/oracle-xe out, then 
rebooted the server  - this time the Master server came up ok running on 
Postgresql and osa-dispatcher also started without an error.

Thanks anyway.



-----Original Message-----
From: Murdoch, Steve 
Sent: 15 April 2016 11:07
To: [email protected]
Subject: osa-dispatcher - Database instance has no attibute

Hi  - can you please help.

My Spacewalk Master has recently migrated from Oracle to PostgreSQL (may not be 
relevant - or may be the cause, not sure).
The Master has been working well for the last 2 weeks, but today it has 
developed a fault, initially with waiting on tomcat6 to get ready, but I fixed 
this by # rm -rf /var/lib/jabberd/db/* - then restarting the satellite.

Now I have a problem with the osa-dispatcher it starts ok BUT with an error 
(result below):

# spacewalk-service start
Starting spacewalk services...
Initializing jabberd processes ...
Starting router:                                           [  OK  ]
Starting sm:                                               [  OK  ]
Starting c2s:                                              [  OK  ]
Starting s2s:                                              [  OK  ]
Starting tomcat6:                                          [  OK  ]
Waiting for tomcat to be ready ...
Starting httpd:                                            [  OK  ]
Starting osa-dispatcher: Spacewalk 25346 2016/04/15 10:48:41 +01:00: ('Error 
caught:',)
Spacewalk 25346 2016/04/15 10:48:41 +01:00: ('Traceback (most recent call 
last):\n  File "/usr/share/rhn/osad/jabber_lib.py", line 118, in main\n    
self.setup_config(config)\n  File "/usr/share/rhn/osad/osa_dispatcher.py", line 
112, in setup_config\n    rhnSQL.initDB()\n  File 
"/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 
153, in initDB\n    closeDB()\n  File 
"/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/__init__.py", line 
194, in closeDB\n    __DB.commit()\n  File 
"/usr/lib/python2.6/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py",
 line 233, in commit\n    self.dbh.commit()\nAttributeError: Database instance 
has no attribute \'dbh\'\n',)
                                                           [  OK  ] Starting 
rhn-search...
Starting cobbler daemon:                                   [  OK  ]
Starting RHN Taskomatic...
Done.
#


Any ideas how to fix this?
Any feedback welcome.
Many thanks
Steve..

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: 15 April 2016 08:03
To: [email protected]
Subject: Spacewalk-list Digest, Vol 95, Issue 41

Send Spacewalk-list mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://www.redhat.com/mailman/listinfo/spacewalk-list
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Spacewalk-list digest..."

----------------------------------------------------------------------
This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, notify the sender immediately by return email and delete the message 
and any attachments from your system.

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to