- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: listeners for /etc/services entry
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 08:35 AM
03-28-2002 08:35 AM
listeners for /etc/services entry
when I check for listener threads for some /etc/services entry using netstat -a|grep comand i can't find it.
Eg: Sevices file entry is like
uniqcs 2006/tcp # UniQPrint Print Server
I can't find any listener thread for this using netstat.
How can start it again.
Thanks in advance
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 08:41 AM
03-28-2002 08:41 AM
Re: listeners for /etc/services entry
I'm not sure what your asking, but if its trying to find the port for your listener:
# netstat -an |grep
Usually it's something like 1521 or 1526.
Also try
# ps -ef|grep tnslsnr
Is this what you want?
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 08:42 AM
03-28-2002 08:42 AM
Re: listeners for /etc/services entry
If I understood correctly, then this should work:
# inetd -c
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 08:43 AM
03-28-2002 08:43 AM
Re: listeners for /etc/services entry
Unless you start a service to listen at this port, you won't find it in netstat. Simply having an entry in /etc/service is not enough
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 08:48 AM
03-28-2002 08:48 AM
Re: listeners for /etc/services entry
I know how to check wether the thread is running. If it is not running how can we start it again.
Like the example I have given above uniqcs should be the listener at 2006, which is not running.
How can I start it again.
Regards
Joe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 08:51 AM
03-28-2002 08:51 AM
Re: listeners for /etc/services entry
inetd -c didn't helped.
Hi Sri
How can u start the listener again?
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 08:55 AM
03-28-2002 08:55 AM
Re: listeners for /etc/services entry
Sorry for not hitting the mark. A couple of questions.
This uniqcs is a process which should be running? We are not talking about oracle here?
The entry in services only points to the port the process uses, the program(listener) needs to be started though a command line or interface command.
Sorry again if I still appear to be confused.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 09:33 AM
03-28-2002 09:33 AM
Re: listeners for /etc/services entry
Many services have there own daemon process. Other rely on inetd to listen for connections and either provide the service or call the appropriate program. Check /etc/inetd.conf to see what is running and what has been disabled.
netstat -a will show all the listening services by name, while netstat -an will show all the listening services by number.
Don't start listeners just because /etc/services has a listing for it. Usually, you can and should shut down most of the services provided by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 12:31 PM
03-28-2002 12:31 PM
Re: listeners for /etc/services entry
There should be a program/daemon which associates to that port number (2006), you need to start that daemon for it to listen at that port.
For example:
grep -i mq /etc/services
# MQ Series
MQSeries 1234/tcp # MQSeries
hostA>mqm 510 1 0 Jan 02 ? 0:05 amqzxma0
mqm 511 510 0 Jan 02 ? 1:16 amqhasmx
mqm 541 510 0 Jan 02 ? 0:00 /opt/mqm/bin/runmqchi
mqm 514 510 0 Jan 02 ? 0:02 amqzllp0
mqm 540 510 0 Jan 02 ? 0:00 /opt/mqm/bin/amqrrmfa
mqm 543 510 0 Jan 02 ? 6:30 amqzlaa0
hostA>netstat -an | grep 1234
*.1234 *.* 0 0 0 0 LISTEN
Hope this helps
-Shabu