On 05/21/18 17:15 -0700, Om Kale wrote:
Hi Dilyan,
These are the contents of my /usr/lib/sasl2.
okale:/usr/local/lib/sasl2$ ls -lrth
total 904K
-rw-r--r-- 1 root root    4 May  9 18:11 berkeley_db.active
-rwxr-xr-x 1 root root  93K May 18 15:12 libcrammd5.so.3.0.0
lrwxrwxrwx 1 root root   19 May 18 15:12 libcrammd5.so.3 ->
libcrammd5.so.3.0.0
lrwxrwxrwx 1 root root   19 May 18 15:12 libcrammd5.so ->
libcrammd5.so.3.0.0
-rwxr-xr-x 1 root root  672 May 18 15:12 libcrammd5.la
-rwxr-xr-x 1 root root 232K May 18 15:12 libdigestmd5.so.3.0.0
lrwxrwxrwx 1 root root   21 May 18 15:12 libdigestmd5.so.3 ->
libdigestmd5.so.3.0.0
lrwxrwxrwx 1 root root   21 May 18 15:12 libdigestmd5.so ->
libdigestmd5.so.3.0.0
-rwxr-xr-x 1 root root  693 May 18 15:12 libdigestmd5.la
-rwxr-xr-x 1 root root 160K May 18 15:12 libscram.so.3.0.0
lrwxrwxrwx 1 root root   17 May 18 15:12 libscram.so.3 -> libscram.so.3.0.0
lrwxrwxrwx 1 root root   17 May 18 15:12 libscram.so -> libscram.so.3.0.0
-rwxr-xr-x 1 root root  669 May 18 15:12 libscram.la
-rwxr-xr-x 1 root root 214K May 18 15:12 libotp.so.3.0.0
lrwxrwxrwx 1 root root   15 May 18 15:12 libotp.so.3 -> libotp.so.3.0.0
lrwxrwxrwx 1 root root   15 May 18 15:12 libotp.so -> libotp.so.3.0.0
-rwxr-xr-x 1 root root  657 May 18 15:12 libotp.la
-rwxr-xr-x 1 root root  81K May 18 15:12 libplain.so.3.0.0
lrwxrwxrwx 1 root root   17 May 18 15:12 libplain.so.3 -> libplain.so.3.0.0
lrwxrwxrwx 1 root root   17 May 18 15:12 libplain.so -> libplain.so.3.0.0
-rwxr-xr-x 1 root root  668 May 18 15:12 libplain.la
-rwxr-xr-x 1 root root  79K May 18 15:12 libanonymous.so.3.0.0
lrwxrwxrwx 1 root root   21 May 18 15:12 libanonymous.so.3 ->
libanonymous.so.3.0.0
lrwxrwxrwx 1 root root   21 May 18 15:12 libanonymous.so ->
libanonymous.so.3.0.0
-rwxr-xr-x 1 root root  684 May 18 15:12 libanonymous.la
-rwxr-xr-x 1 root root   37 May 18 15:59 memcached-sasl-pwdb
-rw-r--r-- 1 root root  105 May 18 16:02 memcached.conf
okale:/usr/local/lib/sasl2$

libsasldb is missing.
I had changed the symbolic links as mentioned in the cyrus wiki like this:

ln -s /usr/local/lib/sasl2 /usr/lib/sasl2


In spite of this, I see the following error in my memcached server log:

SASL (severity 5): could not find auxprop plugin, was searching for 'sasldb'

My memcached.conf looks as below:
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: plain
log_level: 5

Setting log_level to 7 may give you more verbose output (auth facility
syslog).

sasldb_path: /usr/lib/sasl2

On Sat, May 19, 2018 at 5:47 AM, Dilyan Palauzov <dilyan.palau...@aegee.org>
On Fri, 2018-05-18 at 14:46 -0700, Om Kale wrote:
> /sasldb$ ls -lrt
> total 176
> -rw-rw-r-- 1 cisco cisco  4750 Jan 27  2012 sasldb.h
> -rw-rw-r-- 1 cisco cisco  2527 Jan 27  2012 NTMakefile
> -rw-rw-r-- 1 cisco cisco  2606 Jan 27  2012 Makefile.am
> -rw-rw-r-- 1 cisco cisco  3882 Jan 27  2012 db_none.c
> -rw-rw-r-- 1 cisco cisco  9451 Jan 27  2012 db_ndbm.c
> -rw-rw-r-- 1 cisco cisco  9366 Jan 27  2012 db_gdbm.c
> -rw-rw-r-- 1 cisco cisco  7235 Jan 27  2012 allockey.c
> -rw-rw-r-- 1 cisco cisco 12505 Oct 12  2012 db_berkeley.c
> -rw-rw-r-- 1 cisco cisco 19194 Nov  6  2012 Makefile.in
> -rw-rw-r-- 1 cisco cisco 14104 May  9 16:17 db_none.o
> -rw-rw-r-- 1 cisco cisco 18533 May 18 14:12 Makefile
> -rw-r--r-- 1 root  root  31336 May 18 14:12 allockey.lo
> -rw-r--r-- 1 root  root  14136 May 18 14:12 db_none.lo
> -rw-r--r-- 1 root  root    600 May 18 14:12 libsasldb.la

db_berkeley.lo is missing. I would guess that db_none.o indicates that
the berkeley library (or your chosen --with-dblib) cannot be found. Review
the output of ./configure or config.log for berkeley related errors.

There's probably no point in testing your memcached code until your
pluginviewer output is correct.

Reply via email to