404 when starting RHEVManager via Webbrowser
Hello,
I installed RHEL and RHEVManager.
I can open Webside https://virtm.intern:8443/ and see
Welcome to Red Hat Enterprise Virtualization Manager.
Version 3.0.0_0001-51.el6 Portals (...)
When I go to https://virtm.intern:8443/RHEVManager I got an 404 Error:
HTTP Status 404 - /RHEVManager
type Status
report message /RHEVManager description The requested resource (/RHEVManager) is not available.
JBoss Web/2.1.12.GA-patch-01
Same without hhtps and for all other links on the portal. Seems that there is no host configured but I don't know where to find something like httpd.conf at RHEL. Or any other idea what I have to check/correct?
Thanks, Thomas Wild
Responses
Hi Thomas,
As you probably know, 404 means "resource not available". It may not be there for several reasons, like a failed installation (did the setup go through with no hiccups?), service not started (service jbossas restart), networking issues (firewalls, proxies etc) just to name a few.
If you run the rhevm-log-collector utility, it will gather all the relevant logs in one file.
/var/log/rhevm/ contains the set of the more commonly viewed and relevant log files if you want to watch them in realtime
Hope this helps,
Dan
It really looks like your RHEV-M keeps failing to install properly. Do you see anything in the installation logs, under /var/log/rhevm/ ?
Try running...
> rhevm-log-collector --no-hypervisor collect
This will force the log collector to skip any communication with the non-existent RHEV-M REST API and, by extension, skip collection of logs from hypervisors. The log collector will; however, continue to collect all of the other requisite log files (e.g. rhevm.log,postgresql-*.log, etc ) that a support person would be interested in.
Cheers,
Keith
hi,guys:
i got the same problem. is there any solution?
btw, i made a log-collect, which file should i dig into?
hi, Dan:
during the installation,there is a warning:
and in rhevm.log, i got some warning
well,i think i finally found the answer.
it must use a dns resolve.
I actually made it work without DNS just yesterday, DNS is there for host to RHEV-M and host to host resolution (and that can be worked around using resolv.conf) and for working with directory servers like AD and IPA (those really will require DNS, no working around that).
It appears this issue is only seen on new setups, setups that worked and got upgraded do not experience this 404 error.
So the easiest thing to do would be to just reinstall - run rhevm-cleanup and then rhevm-setup again. A restart in between these two would also help
Since you have the logs collected, and so we can find out what goes wrong during the setup itself, could you somehow share the logs, so I can take them to engineering?
Thanks,
Dan
hi, Dan:
it confuse me. i had made several reinstall with rhevm-cleanup and rhevm-setup. all result in 404 error.
it works fine only after i configed the dns.
i can make log collect now, but is it still usefull? i mean it's work fine now.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
