Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th January 2010, 19:37
sbin sbin is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default No run directory defined for saslauthd, not starting

I cannot start the saslauthd daemon. My server is running the latest Ubuntu Server (9.10) with Bind9 and the default LAMP stack, Postfix, and Courier-IMAP/Courier-POP3. As part of a disaster recovery process, I recently re-installed the aforementioned software, and imported data and configuration files related to an ecommerce website which crashed. The authoritative master nameserver and the PHP/MySQL/myphpadmin website are functioning perfectly. In an endeavor to save energy (electrical, not administrative), I decided to migrate my mail services to the aforementioned server by selectively following steps 15 and 16 in "The Perfect Server - Ubuntu Karmic Koala (Ubuntu 9.10) [ISPConfig 2] - Page 5." http://www.howtoforge.com/perfect-se...ispconfig-2-p5

Here is some information from the command line:

root@black:/# uname -a
Linux black 2.6.31-17-server #54-Ubuntu SMP Thu Dec 10 18:06:56 UTC 2009 x86_64 GNU/Linux
root@black:/# service saslauthd start
/etc/default/saslauthd: 55: -m: not found
* Starting SASL Authentication Daemon saslauthd * No run directory defined for saslauthd, not starting
root@black:/# cat /etc/default/saslauthd
#
# Settings for saslauthd daemon
# Please read /usr/share/doc/sasl2-bin/README.Debian for details.
#

# Should saslauthd run automatically on startup? (default: no)
START=yes

# Description of this saslauthd instance. Recommended.
# (suggestion: SASL Authentication Daemon)
DESC="SASL Authentication Daemon"

# Short name of this saslauthd instance. Strongly recommended.
# (suggestion: saslauthd)
NAME="saslauthd"

# Which authentication mechanisms should saslauthd use? (default: pam)
#
# Available options in this Debian package:
# getpwent -- use the getpwent() library function
# kerberos5 -- use Kerberos 5
# pam -- use PAM
# rimap -- use a remote IMAP server
# shadow -- use the local shadow password file
# sasldb -- use the local sasldb database file
# ldap -- use LDAP (configuration is in /etc/saslauthd.conf)
#
# Only one option may be used at a time. See the saslauthd man page
# for more information.
#
# Example: MECHANISMS="pam"
MECHANISMS="pam"

# Additional options for this mechanism. (default: none)
# See the saslauthd man page for information about mech-specific options.
MECH_OPTIONS=""

# How many saslauthd processes should we run? (default: 5)
# A value of 0 will fork a new process for each connection.
THREADS=5

# Other options (default: -c -m /var/run/saslauthd)
# Note: You MUST specify the -m option or saslauthd won't run!
#
# WARNING: DO NOT SPECIFY THE -d OPTION.
# The -d option will cause saslauthd to run in the foreground instead of as
# a daemon. This will PREVENT YOUR SYSTEM FROM BOOTING PROPERLY. If you wish
# to run saslauthd in debug mode, please run it by hand to be safe.
#
# See /usr/share/doc/sasl2-bin/README.Debian for Debian-specific information.
# See the saslauthd man page and the output of 'saslauthd -h' for general
# information about these options.
#
# Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd"
OPTIONS=-c -m /var/spool/postfix/var/run/saslauthd -r
root@black:/# ls -lia /var/spool/postfix/var/run/saslauthd/
total 0
134910272 drwxr-xr-x 2 root root 6 2010-01-29 08:53 .
525972 drwxr-xr-x 3 root root 22 2010-01-27 21:51 ..
root@black:/#
I don't fully fathom how Postfix chroot and the /var/run/saslauthd files function, which of these are missing, and how the owner-created /var/spool/postfix/var/run/saslauthd/"files" come to exist. I have already used "aptitude reinstall," for "libsasl2-2 sasl2-bin libsasl2-modules". I wouldn't mind starting from scratch with a clean install and perfect adherence to the complete tutorial, but I'm terrified of returning to the ecommerce disaster from which I have just recovered.

Any help will be truly appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 30th January 2010, 03:06
sbin sbin is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Smile Indispensible double quotation marks

The solution was to add the missing quotes for /etc/default/saslauthd, line #55: OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd -r"
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 11:31
ERROR: The PHP binary coming with ISPConfig does not work properly on your system W1SKCC Installation/Configuration 2 2nd February 2007 13:55
ISPConfig installation stops harzlmann Installation/Configuration 4 10th May 2006 08:19
Mysterious Install Problem tgansert Installation/Configuration 5 9th May 2006 15:35


All times are GMT +2. The time now is 17:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.