LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 03-14-2004, 11:17 PM   #1
Mike_the_Man
Member
 
Registered: Jan 2001
Location: work
Distribution: Redhat, Mandrake
Posts: 33

Rep: Reputation: 15
Question Processes and Ports


This may be a dumb question.

I ran a port scan on my servers and found several ports that I am unable to associate with a process. I looked in /etc/services, ran a netstat -an, and ran the command rpcinfo. I don't see anything

Is there a utility included in solaris where I can figure out what processes are tied to my open ports?

Thanks in advance for all your help.

 
Old 03-16-2004, 02:00 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Check your /etc/services file which explains the most common ports and what services use them..
 
Old 03-17-2004, 08:55 AM   #3
Mike_the_Man
Member
 
Registered: Jan 2001
Location: work
Distribution: Redhat, Mandrake
Posts: 33

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by trickykid
Check your /etc/services file which explains the most common ports and what services use them..
Thanks for your feedback. I looked in /etc/services and found the port. I commented it out in /etc/services and /etc/inetd.conf and i ran a kill -HUP on the inetd process. It still seems to show up though.
 
Old 03-17-2004, 12:38 PM   #4
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Ubuntu
Posts: 282

Rep: Reputation: 45
Depends on what service it is. It might well be listining directly, and therefore by-passing the inetd. Can you shed any more light on what the port is and what you think the service is ?
 
Old 04-07-2004, 08:07 PM   #5
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
The way to find out what process listens on what port use lsof (man lsof for options), normally under linux netstat can do that but solaris version lacks that ability
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
what do these processes do? sdat1333 Fedora 2 11-26-2004 08:40 PM
What command can identify processes running on ports? hello321_1999 Linux - Newbie 2 11-23-2004 05:01 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM
Ports and processes fmhermo Linux - General 2 10-18-2003 08:06 AM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration