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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

karthikmca.bhc
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.
Reply | Threaded
Open this post in threaded view
|

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

ErmanArslansOracleBlog
Administrator
Use a different X11 display value. I mean restart the X11 server with some other port, instead of the default value (such as 'display:0'). This will ensure that a different port will be used if the X11 process , not port 6000.
Reply | Threaded
Open this post in threaded view
|

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

ErmanArslansOracleBlog
Administrator
This post was updated on .
Or disable the TCP listen for X, and use "VNCserver" to run your rapidwiz. Use a different port pot vnc , such as :1 or :2

How to Boot Up X Server Without Listening on Port 6000 (Doc ID 2650126.1)