LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2005, 10:46 PM   #1
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
Question about xinetd?


I just added a service to my xinet.d directory

Then I issue the command /etc/rc.d/init.d/xinetd restart

But how can I actually verify that a service starting through xinetd is running.

The services in xinet.d directory dont' seem to list seperately in a ps -aux

Ta
 
Old 07-12-2005, 10:49 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Nope, the point of xinetd is to have one process only running (handy if you havew a bunch of little used network servers) that farms off connections to the actual server when required. Can you just try connecting to your service? Also, if you look at the logs, they will tell you how many services xinetd started -- check that it matches the number you expect.
 
Old 07-12-2005, 11:16 PM   #3
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Original Poster
Rep: Reputation: 30
K, anywhere where I can log xinetd specifically?

Fedora system btw
 
Old 07-13-2005, 12:17 AM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Hmmm ... assuming you're using the default /etc/syslog.conf, I think that the xinetd log messages show up in /var/log/messages.
 
Old 07-13-2005, 12:27 AM   #5
stefaandk
Member
 
Registered: Jun 2005
Distribution: Centos
Posts: 215

Original Poster
Rep: Reputation: 30
Deviating a bit from my original question but that all seems to be OK, his service is starting on port 5666, if it's starting

I also put an entry in services, but I keep getting a connection refused on that port, there is no firewall running so I can only assume that xinitd didn't start my service.

Been working a bit with the netstat command to find whether I can see if there is any service sitting on port 5666 but maybe I'm not using the right syntax.

How can I see which services are running on a particular port?
 
Old 07-13-2005, 03:10 AM   #6
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
Run this command and it will tell you what services are listening.
#netstat -altpu
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
xinetd question Jake_B Linux - General 1 10-20-2004 03:13 PM
xinetd advanced setup question Goma_2 Linux - Networking 1 06-14-2004 03:57 PM
Question about xinetd.conf Typhonian Linux - General 1 09-22-2003 08:28 AM
ssh xinetd question 360 Linux - Security 4 10-05-2001 04:37 AM
/etc/xinetd.d/ssh Question 360 Linux - Security 3 09-21-2001 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration