Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1779
  • Last Modified:

How to restart a port on AIX server


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
sams20
Asked:
sams20
  • 4
  • 2
1 Solution
 
woolmilkporcCommented:
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
 
sams20Author Commented:

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

Thanks
0
 
woolmilkporcCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
woolmilkporcCommented:
The command is:

lsof -i:2320

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

0
 
sams20Author Commented:


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
 
woolmilkporcCommented:
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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now