LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-17-2005, 01:49 AM   #1
sulee
LQ Newbie
 
Registered: Jul 2005
Location: Bangkok
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
on reboot problems with authdaemond saslauthd and pop2,imap


Hi,

I'm runnung a webserver with Slackware 10.1 hosting virtual domains.
I use Postfix and Courier-Imap to handle the mail. Both running smoth.
I have cyrus-sasl and TLS support compiled in, and use mysql as backend.

In daily operation, everything works out well.

I have the according rc.* files in /etc/rc.d/ and chmoded 755.
they are rc.authdaemond, rc.saslauthd, rc.imapd and rc.pop3d.

However, if the machine reboots, imapd and pop3d don't run.

if I -after reboot- manually do

/etc/rc.d/rc.authdaemond start
Starting Courier authdaemond: /usr/sbin/authdaemond start
/etc/rc.d/rc.imapd start
/etc/rc.d/rc.pop3d start

everything's working out fine. (...until the next reboot)

It looks to me like the scripts load in the wrong order (?)

Any suggestins or hints to solve this would be most appreciated.
Thanks in advance! and... enjoy your day!
 
Old 11-17-2005, 02:22 AM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
is your network card compiled into the kernel or does it use a module loaded at boot?
 
Old 11-17-2005, 02:34 AM   #3
sulee
LQ Newbie
 
Registered: Jul 2005
Location: Bangkok
Distribution: Slackware
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Finlay
is your network card compiled into the kernel or does it use a module loaded at boot?
Can't really tell - to be honest. I use a standard slackware package for most parts

OH! in /etc/rc.d/rc.local exists this:
/sbin/ifconfig eth0:0 62.141.57.37 netmask 255.255.255.192 broadcast 62.141.56.63 mtu 1500 up

is that answering your question?

Last edited by sulee; 11-17-2005 at 02:46 AM.
 
Old 11-17-2005, 02:35 AM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
You do realize that any rc scripts that you add to /etc/rc,d/ are not started automatically at boot time? Slackware only knows about the scripts it installed by itself.

You'd have to add lines like these to rc.local:
Code:
if [ -x /etc/rc.d/rc.authdaemond ]; then
  /etc/rc.d/rc.authdaemond start
fi

if [ -x /etc/rc.d/rc.imapd ]; then
  /etc/rc.d/rc.imapd start
fi

if [ -x /etc/rc.d/rc.pop3d ]; then
  /etc/rc.d/rc.pop3d start
fi
Eric
 
Old 11-17-2005, 03:13 AM   #5
sulee
LQ Newbie
 
Registered: Jul 2005
Location: Bangkok
Distribution: Slackware
Posts: 20

Original Poster
Rep: Reputation: 0
Alien Bob,

thanks. terrific. Great. Have a pleasant day!
 
Old 11-17-2005, 04:10 AM   #6
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
(off-topic)

what method of authentication are you using? Are you using Pam? I have searched a lot and found that PAM dont work in slackware (if you dont install a lot of depencies) what did you do?
 
Old 11-17-2005, 04:16 AM   #7
sulee
LQ Newbie
 
Registered: Jul 2005
Location: Bangkok
Distribution: Slackware
Posts: 20

Original Poster
Rep: Reputation: 0
The comment of ALIEN BOB solved the problem.
No, I don't use pam.

ENJOY!
 
Old 11-17-2005, 04:24 AM   #8
maginotjr
Member
 
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661

Rep: Reputation: 34
what method are you using?
 
Old 11-17-2005, 05:07 AM   #9
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,563

Rep: Reputation: 124Reputation: 124
I thought imapd and popd were started by inetd not with rc.* scripts
 
Old 11-17-2005, 10:52 AM   #10
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
he is using Postfix and Courier-Imap instead of sendmail
 
  


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
sendmail cannot access saslauthd server msound Linux - Software 0 09-13-2005 02:12 AM
cyrus-imapd authenticating via saslauthd gauge73 Linux - Networking 13 08-02-2005 03:58 AM
courier authdaemond.mysql error sinnerman Linux - Software 0 07-29-2005 09:25 PM
saslauthd dead but subsys locked! shyee Linux - Software 0 01-07-2005 03:05 AM
Postfix SMTP AUTH, Problem using saslauthd + pam k1e0x Debian 0 10-19-2004 05:21 PM


All times are GMT -5. The time now is 01:34 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