Why am I unable to login to RHUI Manager ?
Issue
- Customer environments.
Hypervisor:KVM
OS:RHEL6.2
- How can solve below error message,when login into rhui-manager.
# rhui-manager
Previous authentication credentials could not be found. Logging into
the RHUI.
If this is the first time using the RHUI, it is recommended to change
the user's password in the User Management section of RHUI Tools.
RHUI Username: admin
RHUI Password:
Traceback (most recent call last):
File "/usr/bin/rhui-manager", line 16, in <module>
rhui.tools.launcher.main()
File "/usr/lib/python2.6/site-packages/rhui/tools/launcher.py", line 330, in main
pulp_api = _pulp_api(config, prompt, values.username, values.password)
File "/usr/lib/python2.6/site-packages/rhui/tools/launcher.py", line 116, in _pulp_api
auth.login(pulp_api, prompt)
File "/usr/lib/python2.6/site-packages/rhui/tools/auth.py", line 69, in login
cert_pem = _login(pulp, prompt)
File "/usr/lib/python2.6/site-packages/rhui/tools/auth.py", line 122, in _login
raise e
pulp.client.api.server.ServerRequestError: (500, '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator,\n root@localhost and inform them of the time the error occurred,\nand anything you might have done that may have\ncaused the error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n<hr>\n<address>Apache/2.2.15 (Red Hat) Server at xxxxx Port 443</address>\n</body></html>\n', None)
- Snip from /var/log/pulp/pulp.log
2012-12-25 15:54:04,693 6539:139830007424768: pulp.server.db.connection:INFO: connection:46 Attempting Database connection with seeds = localhost
2012-12-25 15:54:04,719 6539:139830007424768: pulp.server.db.connection:CRITICAL: connection:53 Database initialization failed
- Snip from /var/log/httpd/error.log
[Tue Dec 25 15:54:04 2012] [error] 2012-12-25 15:54:04,719
pulp.server.db.connection:CRITICAL: Database initialization failed
Environment
- Red Hat Update Infrastructure 2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.