starting xinetd

wnowak1

Registered
I'm having problems with starting xinetd. Performing the command kill -HUP `cat /var/run/xinetd.pid` is fine if xinetd is already running. But, how do I start it if its not running? I can't find the answer.

In linux, services are usually started under the /etc/rc.d/ directory. i.e in linux, to start the service, I'd perform this command.

/etc/rc.d/xinetd start

Is there an equivelance to this on OS X?

Thank you
 
Really newbie solution. Anyway it works !!

Go to your "System Preferences", and then to "Sharing" then on the "Services" tab, start up FTP service, then shut it down. Xinetd, should now be up and running :)
 
Why not try:
Code:
sudo -s
/usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive
exit

Also it's possible that you're starting xinetd and don't have an /etc/xinetd.conf file, or that the file is empty. If no services are specified xinetd quits (which is why you might try the -stayalive flag).
 
Back
Top