OPMN Port 6000 is not free - Upgrade EBS using rapidwiz with startCD51

Posted by karthikmca.bhc on
URL: http://erman-arslan-s-oracle-forum.114.s1.nabble.com/OPMN-Port-6000-is-not-free-Upgrade-EBS-using-rapidwiz-with-startCD51-tp8973.html

Hi Support,

My rapidwiz fails with the system check with below error on my RHEL 7.6 server:

Error
======
Check OPMN Port Availability

Default OPMN port 6000 is not free.

Check if X-server is occupying port 6000.

If yes, edit the startx script in /usr/bin/X11 and add the line serverargs="-nolisten tcp".
Restart the X-server and retry the install

I tried changing the parameter serverargs="-nolisten tcp" in /usr/bin/startx file and rebooted but no luck.

when i do netstat and lsof shows below:

[root@test ~]# netstat -an | grep 6000
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN
tcp6       0      0 :::6000                 :::*                    LISTEN


[root@test ~]# lsof -i :6000
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
X       4151 root    5u  IPv6  33880      0t0  TCP *:x11 (LISTEN)
X       4151 root    6u  IPv4  33881      0t0  TCP *:x11 (LISTEN)

[root@test]# ps -ef |grep 4151
root      4151  4122  0 18:52 tty1     00:00:01 /usr/bin/X :0 -background none -noreset -audit 4 -verbose -auth /run/gdm/auth-for-gdm-y4YETF/database -seat seat0 vt1
root      5533  5297  0 18:55 pts/0    00:00:00 grep --color=auto 4151


If i kill the process 4151 the GUI/xwindow gets close and unable to perform anything on the server.

Please provide fix for this issue.

Best Regards.