Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ports occupied by the various services

Status
Not open for further replies.

ifxtechie

Technical User
Dec 22, 2000
127
0
0
US
I have two questions regarding my RH-9 Linux system:
1. My system has several services running on it. Is there
any way of knowing which services are running and on which
ports. Mainly I want to know which service is running at
port 80.
2. My DB2 [on the same system] does not start because the
system cannot allocate any shared memory segments. When I
saw using ipcs -ma, it showed several but I tried to kill
[using ipcrm] as the owner and also as root. But I could
not. To clear off these, I even rebooted the system.
Even that did not solve the problem. Any ideas?

Thanks very much for your help.
 
#1: type "more /etc/services" to get a list of defined services on the box, and "lsof -Pni" to see what services are using which ports.

#2: no idea, sorry.

Hosting Solutions for Home or Business.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top