LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Freeing Ports (https://www.linuxquestions.org/questions/linux-networking-3/freeing-ports-173212/)

dvong3 04-22-2004 03:23 AM

Freeing Ports
 
I have redhat AS 3.0 and I am using an oracle application that use port 1754 or 1748. How do I reconfigure that application to use other TCP ports? How do I freed these ports on my linux box? Here is the solution i found in google.

dvong

Solution B:
When the error: (nsi-err1#=12564) appears in the oms.log.0 file, another process other than the Agent maybe listening on port 1748 or 1754.

1. At the target server, use 'netstat -a' to see who is listening on these ports, and reconfigure that application to use other TCP ports.
2. After these ports have been freed, start the Intelligent Agent, and redo the discovery. If you need help freeing the ports, contact your local network administrator to resolve this issue.

AutOPSY 04-22-2004 03:57 AM

What did netstat -a tell you ?
What is listening other than your application on those ports?

dvong3 04-22-2004 05:41 AM

Here is the netstat -a output. I added these port 1748 & 1758 to the /etc/services, just now. Any more clues?



[root@MLKK root]# netstat -a |grep 1748
[root@MLKK root]# netstat -a |grep 1758

Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 2448 /tmp/orbit-root/linc-42c-0-7aba011db964f
unix 2 [ ACC ] STREAM LISTENING 2150 /tmp/.fam_socket
unix 2 [ ACC ] STREAM LISTENING 1716 /tmp/.font-unix/fs7100
unix 2 [ ACC ] STREAM LISTENING 2580 /var/tmp/.oracle/s#1133.1
unix 2 [ ACC ] STREAM LISTENING 1974 /tmp/ssh-OXAuq951/agent.951
unix 2 [ ACC ] STREAM LISTENING 1874 /tmp/.gdm_socket
unix 2 [ ACC ] STREAM LISTENING 1984 /tmp/orbit-root/linc-401-0-136972d8c6bea
unix 2 [ ACC ] STREAM LISTENING 1992 /tmp/orbit-root/linc-3b7-0-39a26b02e1df4
unix 2 [ ACC ] STREAM LISTENING 2113 /tmp/orbit-root/linc-404-0-14760fbfb913e
unix 2 [ ACC ] STREAM LISTENING 2134 /tmp/orbit-root/linc-406-0-265f662fe1294
unix 2 [ ACC ] STREAM LISTENING 2102 /tmp/.ICE-unix/951
unix 2 [ ACC ] STREAM LISTENING 2221 /tmp/orbit-root/linc-412-0-186647c77fa8f
unix 2 [ ACC ] STREAM LISTENING 2264 /tmp/orbit-root/linc-41a-0-71a8897322a61
unix 2 [ ACC ] STREAM LISTENING 2270 /tmp/orbit-root/linc-416-0-71a88973244f6
unix 2 [ ACC ] STREAM LISTENING 2294 /tmp/orbit-root/linc-418-0-71a889738bfc0
unix 2 [ ACC ] STREAM LISTENING 2313 /tmp/orbit-root/linc-41d-0-71a88973b4118
unix 2 [ ACC ] STREAM LISTENING 2423 /tmp/orbit-root/linc-421-0-7aba011d172ae
unix 2 [ ACC ] STREAM LISTENING 2487 /tmp/orbit-root/linc-42e-0-1fe4c2a3eeae1
unix 2 [ ACC ] STREAM LISTENING 1884 /tmp/.X11-unix/X0


All times are GMT -5. The time now is 05:20 PM.