Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-17-2005, 02:49 AM
|
#1
|
LQ Newbie
Registered: Jul 2005
Location: Bangkok
Distribution: Slackware
Posts: 20
Rep:
|
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!
|
|
|
11-17-2005, 03:22 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
is your network card compiled into the kernel or does it use a module loaded at boot?
|
|
|
11-17-2005, 03:34 AM
|
#3
|
LQ Newbie
Registered: Jul 2005
Location: Bangkok
Distribution: Slackware
Posts: 20
Original Poster
Rep:
|
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 03:46 AM.
|
|
|
11-17-2005, 03:35 AM
|
#4
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
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
|
|
|
11-17-2005, 04:13 AM
|
#5
|
LQ Newbie
Registered: Jul 2005
Location: Bangkok
Distribution: Slackware
Posts: 20
Original Poster
Rep:
|
Alien Bob,
thanks. terrific. Great. Have a pleasant day!
|
|
|
11-17-2005, 05:10 AM
|
#6
|
Member
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661
Rep:
|
(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?
|
|
|
11-17-2005, 05:16 AM
|
#7
|
LQ Newbie
Registered: Jul 2005
Location: Bangkok
Distribution: Slackware
Posts: 20
Original Poster
Rep:
|
The comment of ALIEN BOB solved the problem.
No, I don't use pam.
ENJOY!
|
|
|
11-17-2005, 05:24 AM
|
#8
|
Member
Registered: Aug 2004
Location: BR - Floripa
Distribution: Ubuntu 9.10 - 2.6.x.x
Posts: 661
Rep:
|
what method are you using?
|
|
|
11-17-2005, 06:07 AM
|
#9
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,608
|
I thought imapd and popd were started by inetd not with rc.* scripts
|
|
|
11-17-2005, 11:52 AM
|
#10
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
he is using Postfix and Courier-Imap instead of sendmail
|
|
|
All times are GMT -5. The time now is 06:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|