OEM 13CC WEBPAGE SAYS “This site can’t be reached took too long to respond”

Cause:

When trying to access the OEM GUI webpage, i face the error and not able to access the page

Workaround:

Check the firewall status from the host using systemctl

[root@oem oracle]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2021-11-25 11:42:59 IST; 6h ago
     Docs: man:firewalld(1)
 Main PID: 798 (firewalld)
    Tasks: 2
   CGroup: /system.slice/firewalld.service
           └─798 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid

Nov 25 11:42:53 oem systemd[1]: Starting firewalld - dynamic firewall daemon...
Nov 25 11:42:59 oem systemd[1]: Started firewalld - dynamic firewall daemon.

If running, then stop the firewall daemon

[root@oem oracle]# systemctl stop firewalld

Check the status of firewall

[root@oem oracle]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Thu 2021-11-25 17:50:05 IST; 1h 10min ago
     Docs: man:firewalld(1)
  Process: 798 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
 Main PID: 798 (code=exited, status=0/SUCCESS)

Nov 25 11:42:53 oem systemd[1]: Starting firewalld - dynamic firewall daemon...
Nov 25 11:42:59 oem systemd[1]: Started firewalld - dynamic firewall daemon.
Nov 25 17:50:04 oem systemd[1]: Stopping firewalld - dynamic firewall daemon...
Nov 25 17:50:05 oem systemd[1]: Stopped firewalld - dynamic firewall daemon.

If SELINUX is enforced, then stop it

[root@oem oracle]# setenforce 0
[root@oem oracle]# getenforce
Permissive
[root@oem oracle]# getenforce
Permissive

Use WGET to send a HTTP request to check the status. If you receive response, then you will get a message like “HTTP request sent, awaiting response… 200 OK”

[root@oem oracle]# wget --no-check-certificate https://oem:7803/em
--2021-11-25 17:43:58--  https://oem:7803/em
Resolving oem (oem)... 192.168.56.222
Connecting to oem (oem)|192.168.56.222|:7803... connected.
WARNING: cannot verify oem's certificate, issued by ‘/O=EnterpriseManager on oem/OU=EnterpriseManager on oem/L=EnterpriseManager on oem/ST=CA/C=US/CN=oem’:
  Self-signed certificate encountered.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://oem:7803/em/login.jsp [following]
--2021-11-25 17:43:58--  https://oem:7803/em/login.jsp
Reusing existing connection to oem:7803.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://oem:7803/em/faces/logon/core-uifwk-console-login [following]
--2021-11-25 17:43:58--  https://oem:7803/em/faces/logon/core-uifwk-console-login
Reusing existing connection to oem:7803.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘em’

    [ <=>                                                                         ] 25,573      --.-K/s   in 0s

2021-11-25 17:43:59 (115 MB/s) - ‘em’ saved [25573]

Check is firewall port is opened using telnet

[root@oem oracle]# telnet 192.168.56.222 7803
Trying 192.168.56.183...
Connected to 192.168.56.183.
Escape character is '^]'.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s