LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-06-2004, 02:06 PM   #1
kntgtaid
LQ Newbie
 
Registered: Jul 2003
Distribution: Slackware 9.0
Posts: 17

Rep: Reputation: 0
xinetd uses service --> slackware uses ???


I am running through the howto for setting up a secure relaying e-mail server. They talk about setting services in xinetd. I know for slackware we have inetd. I tried setting up a couple fo scripts:

they talk about setting up a script /etc/xinetd.d/pop3s so I tried setting up a script called /etc/rc.d/rc.pop3s.

Here are the contents of the script:

===================================
service pop3s
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/stunnel
server_args = -v3 -l/usr/sbin/ipop3d
log_on_success += HOST DURATION
log_on_failure += HOST
}
===================================

The problem was when I tried to run pop3s it failed with the messages:

./rc.pop3s: line 1: service: command not found
disable: Unable to connect to server: Connection refused
./rc.pop3s: line 4: socket_type: command not found
./rc.pop3s: line 5: wait: `=': not a pid or valid job spec
./rc.pop3s: line 5: wait: `no': not a pid or valid job spec
./rc.pop3s: line 6: user: command not found
./rc.pop3s: line 7: server: command not found
./rc.pop3s: line 8: server_args: command not found
./rc.pop3s: line 9: log_on_success: command not found
./rc.pop3s: line 10: log_on_failure: command not found

The documentation does not say anything about "service" being distro specific, but I am betting that it is, so I am trying to figure out how to set up the "service" under slackware.

Make sense? Any Suggestion?

Bryan
 
Old 06-06-2004, 02:10 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The files in xinetd.d are configuration files and not bash scripts. You will need to create an entry in /etc/inetd.conf rather than a file.
 
  


Reply



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: unrecognized service ??? Why?? stewchcken Linux - Networking 8 07-14-2005 08:23 AM
Help:xinetd controlled service? sti2envy Linux - Networking 1 10-19-2004 09:16 AM
Difference between init.d, xinetd and running service as a dameon jstephens84 Linux - Newbie 1 09-13-2004 06:19 PM
Adding new xinetd service Aldric Linux - Networking 1 06-03-2004 11:40 AM
xinetd service not starting porous Linux - Networking 4 10-14-2003 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:49 PM.

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