Werner Flamme
2013-02-19 14:14:34 UTC
Hi everyone,
to manage our herd of virtual SLES 11, we bought a SUSE manager. A test
installation with a local PostgreSQL database went fine, but the
software does not install with the remote Oracle DB.
The setup process tells me it is populating the database, and after some
time I get
traceback (most recent call last):
File "/usr/sbin/mgr-ncc-sync", line 107, in <module>
main()
File "/usr/sbin/mgr-ncc-sync", line 64, in main
fromdir=options.fromdir)
File
"/usr/lib64/python2.6/site-packages/spacewalk/susemanager/mgr_ncc_sync_lib.py",
line 97, in __init__
raise Exception("Could not read mirror credentials. Please make "
Exception: Could not read mirror credentials. Please make sure that
server.susemanager.mirrcred_user and server.susemanager.mirrcred_pass
are set correctly in the configuration file.
The latest sentence seems to make sense: the setup routine does not copy
the mentioned info into the file /etc/rhn/rhn.conf.
I did "zypper ref", "zypper patch" and so on after the initial
installation before rebooting and starting "yast2 susemanager_install".
I think that the installation routine for remote Oracle DBs is buggy
(since everything went fine with the local PostgreSQL DB).
Yes, I added the info manually - I opened a second console for doing so.
But:
- after asking "information is gathered, begin install Yes/No"
/etc/rhn/rhn.conf is rewritten from scratch
- before I could re-enter the last command again (cat'ting the info to
the file), the installation was over :-(
I opened a call, but it seems to take ages for mails from novell.com to
me. I see an answer (from today) in the web view of the call, but still
no mail in my inbox.
And retrying the install results in empty logfiles an the setup routine
hangs at "Populating the database".
Anyone here who knows how to work around this problem?
Regards,
Werner
--
to manage our herd of virtual SLES 11, we bought a SUSE manager. A test
installation with a local PostgreSQL database went fine, but the
software does not install with the remote Oracle DB.
The setup process tells me it is populating the database, and after some
time I get
traceback (most recent call last):
File "/usr/sbin/mgr-ncc-sync", line 107, in <module>
main()
File "/usr/sbin/mgr-ncc-sync", line 64, in main
fromdir=options.fromdir)
File
"/usr/lib64/python2.6/site-packages/spacewalk/susemanager/mgr_ncc_sync_lib.py",
line 97, in __init__
raise Exception("Could not read mirror credentials. Please make "
Exception: Could not read mirror credentials. Please make sure that
server.susemanager.mirrcred_user and server.susemanager.mirrcred_pass
are set correctly in the configuration file.
The latest sentence seems to make sense: the setup routine does not copy
the mentioned info into the file /etc/rhn/rhn.conf.
I did "zypper ref", "zypper patch" and so on after the initial
installation before rebooting and starting "yast2 susemanager_install".
I think that the installation routine for remote Oracle DBs is buggy
(since everything went fine with the local PostgreSQL DB).
Yes, I added the info manually - I opened a second console for doing so.
But:
- after asking "information is gathered, begin install Yes/No"
/etc/rhn/rhn.conf is rewritten from scratch
- before I could re-enter the last command again (cat'ting the info to
the file), the installation was over :-(
I opened a call, but it seems to take ages for mails from novell.com to
me. I see an answer (from today) in the web view of the call, but still
no mail in my inbox.
And retrying the install results in empty logfiles an the setup routine
hangs at "Populating the database".
Anyone here who knows how to work around this problem?
Regards,
Werner
--