Re: [exim] problem with exim_dbmbuild

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Sujit Choudhury
Data:  
Para: exim-users
CC: Sujit Choudhury
Asunto: Re: [exim] problem with exim_dbmbuild
Philip Hazel wrote:
> On Tue, 11 Jan 2005, Sujit Choudhury wrote:
>
>
>>I am running exim_dbmbuild and getting the following error:
>>exim_dbmbuild /etc/aliases /tmp/aliases.db
>>exim_dbmbuild: unable to create /tmp/aliases.db.dbmbuild_temp: Success
>
>
> Very odd. What are the permissions on /tmp?
>
>
>>The platform is SuSE 9.1
>
>
> Anything special about the file system, such as access control lists?
>
>
>>Also in the make file, I have:
>>USE_DB=yes
>>DBMLIB=-L/usr/lib -ldb-4.0
>>INCLUDE=-I/usr/include
>>
>>I am at a loss - this is my first attempt to do anything on a SuSE box.
>
>
> Is there more than one version of libdb installed? Could they be getting
> confused?
>

Phil,
I think you are right in saying there are more than one version of libdb
installed.
rpm -qa|grep db gives the following:
gdbm-1.8.3-228.1
gdbm-devel-1.8.3-228.1
db41-devel-4.1.25-73.1
db-utils-4.2.52-86.3
samba-pdb-3.0.4-1.32
db40-devel-4.0.14-148.3
db-4.2.52-86.3
gdb-6.1-1.7
db-devel-4.2.52-86.3
db40-4.0.14-148.3

./test_dbfn gives the following:
Exim's db functions tester: interface type is db (v3/4)
DBM library: Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (June
30, 2004)

Test the functions
>


It may mean, that it is trying to use 4.2.52 version whereas exim has
been compiled with 4.0 because 4.2 was compilation error.

ldd exim_dbmbuild gives as follows:
ldd /usr/exim/bin/exim_dbmbuild
         linux-gate.so.1 =>  (0xffffe000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x40022000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x40037000)
         libdb-4.0.so => /usr/lib/libdb-4.0.so (0x40068000)
         libc.so.6 => /lib/tls/libc.so.6 (0x4010c000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)



I can not delete 4.2 versions, as apache, perl etc. all depends on it.

Some ideas with multiple versions will really be helpful.

Many thanks

Sujit