Solved

How to restart a port on AIX server

Posted on 2011-02-21
6
1,583 Views
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

Thanks
0
Comment
Question by:sams20
  • 4
  • 2
6 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34945184
Hi,

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.

wmp

0
 

Author Comment

by:sams20
ID: 34945278

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

Thanks
0
 
LVL 68

Expert Comment

by:woolmilkporc
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
/siebel/gtwysrvr/bin/stop_ns

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.

wmp
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 68

Expert Comment

by:woolmilkporc
ID: 34945323
The command is:

lsof -i:2320

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

0
 

Author Comment

by:sams20
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
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 34945431
Yep.

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).
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
lsuser for specific number of users listed in a file 11 110
unix example issues 18 90
aix unix tar error 3 67
Field name with special character (Ñ) in Oracle 11 51
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

803 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