How to restart a port on AIX server

Posted on 2011-02-21
Last Modified: 2013-11-17

On my system I got this below for port 2320, How I restart / refresh  this port , Please provide me details command line,

netstat -Aan|grep 2320
f1000200013afb98 tcp4       0      0  *.2320             *.*                LISTEN

Question by:sams20
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 68

Expert Comment

ID: 34945184

why would you want to restart this port?

 LISTEN  means that an application has opened this port and is actively "listening" on it for incoming connection requests.

This most normal behaviour and absolutely no reason to be worried!

If you want to have this port closed you must stop the application - there is definitely no other way!

To find out which application is listening you will need a tool like "lsof", which is on the AIX toolbox or, with AIX 6 or newer, on the expansion pack.



Author Comment

ID: 34945278

wmp, can you provide me some lsof command. I can run on my system and check the applications.

LVL 68

Expert Comment

ID: 34945312
Do you run Siebel?

If so, stop the Siebel gateway NS server and the port will close.
Make sure to have set up the correct environment (this should be the case when logged in with the siebel administrator userid).

Afaik the command should be something like

but I'm not really sure because we don't have any Siebel server running anymore here at my company. It's all SAP now.

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 68

Expert Comment

ID: 34945323
The command is:

lsof -i:2320

The first column will show the application, the second one will show the PID.


Author Comment

ID: 34945403

I think there is siebel running on the system,

 ps -ef | grep siebel
siebsupp 110958      1   0 11:51:21 pts/10  0:09 siebsvc -s gtwyns -a /f /siebel/gtwysrvr/sys/siebns.dat /t 2320 /c /siebel/gtwysrvr/bin/gateway.cfg
LVL 68

Accepted Solution

woolmilkporc earned 500 total points
ID: 34945431

And now? If the gateway is running it's perfectly normal that it's listening on the specified port (which is the default port, by the way).

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question