[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cyrus-sasl
Subject:    Couldn't update db 11.23 HP-UX  IPF
From:       "murugesan" <mukeshgct () hotpop ! com>
Date:       2004-07-23 7:34:07
Message-ID: 012701c47085$faa44f50$2b0110ac () munco
[Download RAW message or body]

Hello all,

    http://asg.web.cmu.edu/archive/message.php?mailbox=archive.cyrus-sasl&msg=4289

    I read this archive,
    saslpasswd2 always creates the error "Couldn't update db"
    but sasldblistusers2 just works fine
    How can I clear the error ?
    or What I need to clear the error ?
    or Where I am doing the mistake ?

    Here goes my build steps on 11.23 IPF HP-UX
___________________________________________________________________________________________________
 export PATH=/opt/ansic/bin/:$PATH
export LIBS="-lgss -lkrb5 -lk5crypto -lcom_err -lcrypto" 
export CFLAGS="+DD32 -g -L/usr/lib"
export CC="cc"
./configure --prefix=/home/murugesh/cyrussasl --enable-krb4=no  --with-openssl \
--with-bdb-incdir=/usr/local --enable-static --enable-shared=yes Edited the libtool \
file: Before
   221  hardcode_libdir_flag_spec="\${wl}+b \${wl}\$libdir"
After
   221  #hardcode_libdir_flag_spec="\${wl}+b \${wl}\$libdir"

Before
  1477          dlname=
After
  1477          dlname='libsasl2.sl.2.18'

Before
  2282              droppeddeps=yes
After
  2282              #droppeddeps=yes  
Before
archive_cmds="\$LD -b +h \$soname +b \$install_libdir -o \$lib \$libobjs \$deplibs \
\$linkopts" After
archive_cmds="\$LD -b +h \$soname -o \$lib \$libobjs \$deplibs \$linkopts"
___________________________________________________________________________________________________
 gmake
gmake install


Here goes the ldd output of saslpasswd2

# ldd /opt/iexpress/cyrussasl/sbin/saslpasswd2 | awk -F"=>" '{print $2}' | tr -d '[   \
]*' | xargs ll

-r-xr-xr-x   1 bin        bin        4566316 May  5 05:18 /usr/lib/hpux32/libc.so.1
-r-xr-xr-x   1 bin        bin        4566316 May  5 05:18 /usr/lib/hpux32/libc.so.1
-r-xr-xr-x   1 bin        bin        4566316 May  5 05:18 /usr/lib/hpux32/libc.so.1
-r-xr-xr-x   1 bin        bin        4566316 May  5 05:18 /usr/lib/hpux32/libc.so.1
-r-xr-xr-x   1 bin        bin          37080 May  5 05:26 \
                /usr/lib/hpux32/libcom_err.so
-r-xr-xr-x   1 bin        bin          37080 May  5 05:26 \
                /usr/lib/hpux32/libcom_err.so
-r-xr-xr-x   1 bin        bin          37080 May  5 05:26 \
/usr/lib/hpux32/libcom_err.so lrwxr-xr-x   1 root       sys             36 Jun 30 \
                04:41 /usr/lib/hpux32/libcrypto.so -> \
                /opt/openssl/lib/hpux32/libcrypto.so
-r-xr-xr-x   1 bin        bin          20948 Apr 10 03:52 /usr/lib/hpux32/libdl.so.1
-r-xr-xr-x   1 bin        bin          20948 Apr 10 03:52 /usr/lib/hpux32/libdl.so.1
-r-xr-xr-x   1 bin        bin          20948 Apr 10 03:52 /usr/lib/hpux32/libdl.so.1
-r-xr-xr-x   1 bin        bin          20948 Apr 10 03:52 /usr/lib/hpux32/libdl.so.1
-r-xr-xr-x   1 bin        bin         219032 May  5 05:26 /usr/lib/hpux32/libgss.so
lrwxr-xr-x   1 root       sys             37 Jul 23 11:02 \
                /usr/lib/hpux32/libgssapi_krb5.so -> \
                /usr/lib/hpux32/gss/libgssapi_krb5.so
-r-xr-xr-x   1 bin        bin         293456 May  5 05:26 \
                /usr/lib/hpux32/libk5crypto.so
-r-xr-xr-x   1 bin        bin         293456 May  5 05:26 \
                /usr/lib/hpux32/libk5crypto.so
-r-xr-xr-x   1 bin        bin         293456 May  5 05:26 \
                /usr/lib/hpux32/libk5crypto.so
-r-xr-xr-x   1 bin        bin        1523792 May  5 05:26 /usr/lib/hpux32/libkrb5.so
-r-xr-xr-x   1 bin        bin        1523792 May  5 05:26 /usr/lib/hpux32/libkrb5.so
-r-xr-xr-x   1 bin        bin           7416 May  5 05:19 \
/usr/lib/hpux32/libndbm.so.1 lrwxr-xr-x   1 root       sys             41 Jul 17 \
17:02 /usr/lib/hpux32/libsasl2.sl.2 -> /opt/iexpress/cyrussasl/lib/libsasl2.sl.2

/opt/openssl/lib/hpux32/libcrypto.so
/opt/iexpress/cyrussasl/lib/libsasl2.sl.2
/usr/lib/hpux32/gss/libgssapi_krb5.so

All the above files are present.

I tried creating /etc/sasldb2 with various permissions and with various ownerships. 
I do have the following files too

/usr/include/cxx_common.h
/usr/include/cxx_except.h
/usr/include/db.h
/usr/include/db_cxx.h

Nothing worked.

PS: /etc/sasldb2.pag file gets modified after executing saslpasswd2 command.

Expecting an answer....

Thanks in advance,
Murugesan


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial>&nbsp;&nbsp;&nbsp; </FONT><A 
href="http://asg.web.cmu.edu/archive/message.php?mailbox=archive.cyrus-sasl&amp;msg=4289"><FONT \
 face=Arial>http://asg.web.cmu.edu/archive/message.php?mailbox=archive.cyrus-sasl&amp;msg=4289</FONT></A></FONT></DIV>
 <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I read this 
archive,</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; saslpasswd2 always creates the 
error "Couldn't update db"</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; but sasldblistusers2 just works 
fine</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; How can I clear the error 
?</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; or What I need to clear the 
error ?</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; or Where I am doing the mistake 
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; Here goes my build steps on 
11.23 IPF HP-UX</FONT></DIV>
<DIV><FONT face=Arial 
size=2>___________________________________________________________________________________________________</FONT></DIV>
 <DIV><FONT face=Arial size=2>export PATH=/opt/ansic/bin/:$PATH<BR>export 
LIBS="-lgss -lkrb5 -lk5crypto -lcom_err -lcrypto" <BR>export CFLAGS="+DD32 -g 
-L/usr/lib"<BR>export CC="cc"<BR>./configure --prefix=/home/murugesh/cyrussasl 
--enable-krb4=no&nbsp; --with-openssl --with-bdb-incdir=/usr/local 
--enable-static --enable-shared=yes</FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>Edited the libtool 
file:</STRONG></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial><STRONG>Before<BR></STRONG>&nbsp;&nbsp; 
221&nbsp; hardcode_libdir_flag_spec="\${wl}+b 
\${wl}\$libdir"<BR></FONT></FONT><FONT size=2><FONT 
face=Arial><STRONG>After<BR></STRONG>&nbsp;&nbsp; 221&nbsp; 
#hardcode_libdir_flag_spec="\${wl}+b \${wl}\$libdir"<BR><BR></FONT></FONT><FONT 
size=2><FONT face=Arial><STRONG>Before<BR></STRONG>&nbsp; 
1477&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
dlname=<BR></FONT></FONT><FONT size=2><FONT 
face=Arial><STRONG>After<BR></STRONG>&nbsp; 
1477&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
dlname='libsasl2.sl.2.18'<BR><BR></FONT></FONT><FONT size=2><FONT 
face=Arial><STRONG>Before<BR></STRONG>&nbsp; 
2282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
droppeddeps=yes<BR></FONT></FONT><FONT size=2><FONT 
face=Arial><STRONG>After<BR></STRONG>&nbsp; 
2282&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
#droppeddeps=yes&nbsp; <BR></FONT></FONT><FONT size=2><FONT 
face=Arial><STRONG>Before<BR></STRONG>archive_cmds="\$LD -b +h \$soname 
<EM><U>+b \$install_libdir</U></EM> -o \$lib \$libobjs \$deplibs 
\$linkopts"<BR></FONT></FONT><FONT size=2><FONT 
face=Arial><STRONG>After<BR></STRONG>archive_cmds="\$LD -b +h \$soname -o \$lib 
\$libobjs \$deplibs 
\$linkopts"<BR>___________________________________________________________________________________________________<BR></FONT></FONT><FONT \
 face=Arial size=2>gmake<BR>gmake install<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Here goes the ldd output of 
saslpasswd2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ldd /opt/iexpress/cyrussasl/sbin/saslpasswd2 | 
awk -F"=&gt;" '{print $2}' | tr -d '[&nbsp;&nbsp;&nbsp;&nbsp; ]*' | xargs 
ll</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT 
face=Arial size=2></FONT><FONT face=Arial size=2></FONT><BR><FONT face=Arial 
size=2>-r-xr-xr-x&nbsp;&nbsp; 1 bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4566316 May&nbsp; 5 05:18 
/usr/lib/hpux32/libc.so.1<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4566316 May&nbsp; 5 05:18 
/usr/lib/hpux32/libc.so.1<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4566316 May&nbsp; 5 05:18 
/usr/lib/hpux32/libc.so.1<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4566316 May&nbsp; 5 05:18 
/usr/lib/hpux32/libc.so.1<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37080 May&nbsp; 5 
05:26 /usr/lib/hpux32/libcom_err.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37080 May&nbsp; 5 
05:26 /usr/lib/hpux32/libcom_err.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37080 May&nbsp; 5 
05:26 /usr/lib/hpux32/libcom_err.so<BR>lrwxr-xr-x&nbsp;&nbsp; 1 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 36 
Jun 30 04:41 /usr/lib/hpux32/libcrypto.so -&gt; 
/opt/openssl/lib/hpux32/libcrypto.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20948 Apr 10 03:52 
/usr/lib/hpux32/libdl.so.1<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20948 Apr 10 03:52 
/usr/lib/hpux32/libdl.so.1<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20948 Apr 10 03:52 
/usr/lib/hpux32/libdl.so.1<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20948 Apr 10 03:52 
/usr/lib/hpux32/libdl.so.1<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 219032 May&nbsp; 5 05:26 
/usr/lib/hpux32/libgss.so<BR>lrwxr-xr-x&nbsp;&nbsp; 1 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 37 
Jul 23 11:02 /usr/lib/hpux32/libgssapi_krb5.so -&gt; 
/usr/lib/hpux32/gss/libgssapi_krb5.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 293456 May&nbsp; 5 05:26 
/usr/lib/hpux32/libk5crypto.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 293456 May&nbsp; 5 05:26 
/usr/lib/hpux32/libk5crypto.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 293456 May&nbsp; 5 05:26 
/usr/lib/hpux32/libk5crypto.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1523792 May&nbsp; 5 05:26 
/usr/lib/hpux32/libkrb5.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1523792 May&nbsp; 5 05:26 
/usr/lib/hpux32/libkrb5.so<BR>-r-xr-xr-x&nbsp;&nbsp; 1 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7416 May&nbsp; 5 
05:19 /usr/lib/hpux32/libndbm.so.1<BR>lrwxr-xr-x&nbsp;&nbsp; 1 
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 41 
Jul 17 17:02 /usr/lib/hpux32/libsasl2.sl.2 -&gt; 
/opt/iexpress/cyrussasl/lib/libsasl2.sl.2<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>/opt/openssl/lib/hpux32/libcrypto.so</FONT></DIV>
<DIV><FONT face=Arial 
size=2>/opt/iexpress/cyrussasl/lib/libsasl2.sl.2</FONT></DIV>
<DIV><FONT face=Arial size=2>/usr/lib/hpux32/gss/libgssapi_krb5.so</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All the above files are present.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I tried creating <STRONG>/etc/sasldb2 </STRONG>with 
various permissions and with various ownerships. </FONT></DIV>
<DIV><FONT face=Arial size=2>I do have the following files too</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>/usr/include/cxx_common.h</FONT></DIV>
<DIV><FONT face=Arial size=2>/usr/include/cxx_except.h</FONT></DIV>
<DIV><FONT face=Arial size=2>/usr/include/db.h</FONT></DIV>
<DIV><FONT face=Arial size=2>/usr/include/db_cxx.h</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Nothing worked.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>PS: /etc/sasldb2.pag file gets modified after 
executing saslpasswd2 command.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Expecting an answer....</FONT></DIV>
<DIV><STRONG><FONT face=Arial size=2></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2>Murugesan</FONT></DIV></BODY></HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic