[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Saslauthd start-probleem



Op 20100202 om 13:36 schreef Paul van der Vlis:
> Geert Stappers schreef:
> > 
> > No run directory defined for saslauthd
> 
> Ik schreef:
> --------
> Uiteraard heb ik een run-directory ingesteld in /etc/default/saslauthd:
> OPTIONS="-c -m /var/run/saslauthd"
> --------
> 
> En je ziet ook in ps dat dat is doorgekomen:
> -----------
> mail:/etc/init.d# ps aux | grep saslauthd
> root      8203  0.0  0.1   8728  1424 ?        Ss   11:16   0:00
> /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
> root      8205  0.0  0.1   8584  1240 ?        S    11:16   0:00
> /usr/sbin/saslauthd -a pam -c -m /var/run/saslauthd -n 5
> (...)
> ----------


Ooh, er wordt vertelt dat er een Debian package kapot is.
Ik kan het mij niet voorstellen.
Laat ik eens zelfs met dat package spelen.

viggo:~
# 
viggo:~
# aptitude search saslauth
viggo:~
# aptitude install sasl2-bin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Reading task descriptions... Done  
The following packages are BROKEN:
  libssl-dev 
The following NEW packages will be installed:
  db4.8-util{a} libdb4.8{a} sasl2-bin 
The following packages will be upgraded:
  libsasl2-2 libsasl2-modules libssl0.9.8 
3 packages upgraded, 3 newly installed, 0 to remove and 1310 not upgraded.
Need to get 2272kB of archives. After unpacking 2535kB will be used.
The following packages have unmet dependencies:
  libssl-dev: Depends: libssl0.9.8 (= 0.9.8g-15) but 0.9.8k-8 is to be installed.
The following actions will resolve these dependencies:

Upgrade the following packages:
libssl-dev [0.9.8g-15 (now) -> 0.9.8k-8 (unstable)]

Score is 60

Accept this solution? [Y/n/q/?] 
The following NEW packages will be installed:
  db4.8-util{a} libdb4.8{a} sasl2-bin 
The following packages will be upgraded:
  libsasl2-2 libsasl2-modules libssl-dev libssl0.9.8 
4 packages upgraded, 3 newly installed, 0 to remove and 1309 not
upgraded.
Need to get 4547kB of archives. After unpacking 2642kB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Get:1 http://ftp.de.debian.org unstable/main libssl-dev 0.9.8k-8 [2275kB]
Get:2 http://ftp.de.debian.org unstable/main libssl0.9.8 0.9.8k-8 [996kB]                          
Get:3 http://ftp.de.debian.org unstable/main libdb4.8 4.8.26-1 [721kB]                             
Get:4 http://ftp.de.debian.org unstable/main libsasl2-modules 2.1.23.dfsg1-5 [158kB]               
Get:5 http://ftp.de.debian.org unstable/main libsasl2-2 2.1.23.dfsg1-5 [114kB]                     
Get:6 http://ftp.de.debian.org unstable/main db4.8-util 4.8.26-1 [129kB]                           
Get:7 http://ftp.de.debian.org unstable/main sasl2-bin 2.1.23.dfsg1-5 [154kB]                      
Fetched 4547kB in 27s (166kB/s)                                                                    
Preconfiguring packages ...
(Reading database ... 179570 files and directories currently installed.)
Preparing to replace libssl-dev 0.9.8g-15 (using .../libssl-dev_0.9.8k-8_powerpc.deb) ...
Unpacking replacement libssl-dev ...
Preparing to replace libssl0.9.8 0.9.8g-15 (using .../libssl0.9.8_0.9.8k-8_powerpc.deb) ...
Unpacking replacement libssl0.9.8 ...
Selecting previously deselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.26-1_powerpc.deb) ...
Preparing to replace libsasl2-modules 2.1.22.dfsg1-23 (using .../libsasl2-modules_2.1.23.dfsg1-5_powerpc.deb) ...
Unpacking replacement libsasl2-modules ...
Preparing to replace libsasl2-2 2.1.22.dfsg1-23 (using .../libsasl2-2_2.1.23.dfsg1-5_powerpc.deb) ...
Unpacking replacement libsasl2-2 ...
Selecting previously deselected package db4.8-util.
Unpacking db4.8-util (from .../db4.8-util_4.8.26-1_powerpc.deb) ...
Selecting previously deselected package sasl2-bin.
Unpacking sasl2-bin (from .../sasl2-bin_2.1.23.dfsg1-5_powerpc.deb) ...
Processing triggers for man-db ...
Setting up libssl0.9.8 (0.9.8k-8) ...
Setting up libssl-dev (0.9.8k-8) ...
Setting up libdb4.8 (4.8.26-1) ...
Setting up libsasl2-2 (2.1.23.dfsg1-5) ...
Setting up libsasl2-modules (2.1.23.dfsg1-5) ...
Setting up db4.8-util (4.8.26-1) ...
Setting up sasl2-bin (2.1.23.dfsg1-5) ...
To enable saslauthd, edit /etc/default/saslauthd and set START=yes (warning).
[master 6f18a21] committing changes in /etc after apt run
 11 files changed, 387 insertions(+), 0 deletions(-)
 create mode 100644 default/saslauthd
 create mode 100755 init.d/saslauthd
 create mode 120000 rc0.d/K20saslauthd
 create mode 120000 rc1.d/K20saslauthd
 create mode 120000 rc2.d/S20saslauthd
 create mode 120000 rc3.d/S20saslauthd
 create mode 120000 rc4.d/S20saslauthd
 create mode 120000 rc5.d/S20saslauthd
 create mode 120000 rc6.d/K20saslauthd
 create mode 100644 sasldb2
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done         

Current status: 1309 updates [-4].
viggo:~
# ps -ef | grep sasl
root      3698  3749  0 18:40 pts/4    00:00:00 grep sasl
viggo:~
# ps -ef | grep saslauth
root      3700  3749  0 18:41 pts/4    00:00:00 grep saslauth
viggo:~
# dpkg-reconfigure sasl2-bin
Stopping SASL Authentication Daemon: saslauthd.
To enable saslauthd, edit /etc/default/saslauthd and set START=yes (warning).
viggo:~
# 


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=no

# 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/run/saslauthd"


Een stuk manualpage

SASLAUTHD(8)              BSD System Manager's Manual             SASLAUTHD(8)

NAME
     saslauthd - sasl authentication server

SYNOPSIS
     saslauthd -a authmech [-Tvdchlr] [-O option] [-m mux_path] [-n threads]
               [-s size] [-t timeout]

DESCRIPTION
     saslauthd is a daemon process that handles plaintext authentication
     requests on behalf of the SASL library.

     The server fulfills two roles: it isolates all code requiring superuser
     privileges into a single process, and it can be used to provide proxy
     authentication services to clients that do not understand SASL based
     authentication.
<knip/>
     -m path
            Use path as the pathname to the named socket to listen on for
            connection requests. This must be an absolute pathname, and MUST
            NOT include the trailing "/mux".  Note that the default for this
            value is "/var/state/saslauthd" (or what was specified at compile
            time) and that this directory must exist for saslauthd to func-
            tion.


> 
> Op andere machines gaat het wel goed, met dezelfde configuratie.
> 


Reply to: