Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OEM troubleshoot "Connection with database failed"

Neil TaylorMay 5 2019 — edited May 8 2019

Oracle Database: 12c Enterprise Edition Release 12.2.0.1.0 - 64bit

Browser: Firefox Quantum 66.03 (64-bit)

OS: Windows 10.0.17134 Home

From firefox I enter the URL: https://hp1:5500/em/login and am presented with the login screen.On submitting the login form an error is displayed that says:

Error

 Connection with database failed. Database instance might be down. Try again once it is up.

OEMDbConnectionFail.JPG

The database is "up" and accessible: I can log on to the database as system via sqlplus and SQL developer.

I debug with Fiddler4 but not with https encryption enabled, so to see what is going on I browse to the URL http://hp1:8080/em/login. It fails with the same error message as the httpS connection.

Fiddler shows that a "404 not found" was thrown. The textView of the request response is:

 \<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

 \<HTML>\<HEAD>

 \<TITLE>404 Not found\</TITLE>

 \</HEAD>\<BODY>\<H1>Not found\</H1>

 The requested URL /orcl/em/orarep/doLogin was not found on this server\</BODY>\</HTML>

What do I need to do fix the URL?

This post has been answered by Neil Taylor on May 8 2019
Jump to Answer
Comments
Post Details
Added on May 5 2019
1 comment
318 views