dovecot error after new directadmin installation

digitak

Verified User
Joined
Dec 7, 2009
Messages
5
hi
after new directadmin installation , service dovecot not working, and it doesn't install.
when i want to install by yum , get this error :
Code:
-bash-3.2# yum install dovecot
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.hosteurope.de
 * extras: ftp.hosteurope.de
 * updates: ftp.hosteurope.de
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dovecot.x86_64 0:1.0.7-9.el5_11.4 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: dovecot
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: dovecot
--> Processing Dependency: libpq.so.4()(64bit) for package: dovecot
--> Running transaction check
---> Package dovecot.x86_64 0:1.0.7-9.el5_11.4 set to be updated
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) for package: dovecot
--> Processing Dependency: libmysqlclient.so.15()(64bit) for package: dovecot
---> Package postgresql-libs.x86_64 0:8.1.23-10.el5_10 set to be updated
--> Finished Dependency Resolution
dovecot-1.0.7-9.el5_11.4.x86_64 from updates has depsolving problems
  --> Missing Dependency: libmysqlclient.so.15()(64bit) is needed by package dovecot-1.0.7-9.el5_11.4.x86_64 (updates)
dovecot-1.0.7-9.el5_11.4.x86_64 from updates has depsolving problems
  --> Missing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by package dovecot-1.0.7-9.el5_11.4.x86_64 (updates)
Error: Missing Dependency: libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by package dovecot-1.0.7-9.el5_11.4.x86_64 (updates)
Error: Missing Dependency: libmysqlclient.so.15()(64bit) is needed by package dovecot-1.0.7-9.el5_11.4.x86_64 (updates)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

this error is still available after installing libmysqlclient.so.15 whit this help :
Code:
https://help.directadmin.com/item.php?id=236


i use directadmin custombuild 2.0. so , when trying to install by custom build , get this error :
Code:
./build dovecot
Code:
.
.
.
.

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT failures.lo -MD -MP -MF .deps/failures.Tpo -c failures.c  -fPIC -DPIC -o .libs/failures.o
mv -f .deps/execv-const.Tpo .deps/execv-const.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT fd-close-on-exec.lo -MD -MP -MF .deps/fd-close-on-exec.Tpo -c -o fd-close-on-exec.lo fd-close-on-exec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT fd-close-on-exec.lo -MD -MP -MF .deps/fd-close-on-exec.Tpo -c fd-close-on-exec.c  -fPIC -DPIC -o .libs/fd-close-on-exec.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT fd-close-on-exec.lo -MD -MP -MF .deps/fd-close-on-exec.Tpo -c fd-close-on-exec.c -o fd-close-on-exec.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT failures.lo -MD -MP -MF .deps/failures.Tpo -c failures.c -o failures.o >/dev/null 2>&1
mv -f .deps/fd-close-on-exec.Tpo .deps/fd-close-on-exec.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT fd-set-nonblock.lo -MD -MP -MF .deps/fd-set-nonblock.Tpo -c -o fd-set-nonblock.lo fd-set-nonblock.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT fd-set-nonblock.lo -MD -MP -MF .deps/fd-set-nonblock.Tpo -c fd-set-nonblock.c  -fPIC -DPIC -o .libs/fd-set-nonblock.o
mv -f .deps/failures.Tpo .deps/failures.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT fdatasync-path.lo -MD -MP -MF .deps/fdatasync-path.Tpo -c -o fdatasync-path.lo fdatasync-path.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT fd-set-nonblock.lo -MD -MP -MF .deps/fd-set-nonblock.Tpo -c fd-set-nonblock.c -o fd-set-nonblock.o >/dev/null 2>&1
mv -f .deps/fd-set-nonblock.Tpo .deps/fd-set-nonblock.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT fdpass.lo -MD -MP -MF .deps/fdpass.Tpo -c -o fdpass.lo fdpass.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT fdatasync-path.lo -MD -MP -MF .deps/fdatasync-path.Tpo -c fdatasync-path.c  -fPIC -DPIC -o .libs/fdatasync-path.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT fdatasync-path.lo -MD -MP -MF .deps/fdatasync-path.Tpo -c fdatasync-path.c -o fdatasync-path.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT fdpass.lo -MD -MP -MF .deps/fdpass.Tpo -c fdpass.c  -fPIC -DPIC -o .libs/fdpass.o
mv -f .deps/fdatasync-path.Tpo .deps/fdatasync-path.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT fdpass.lo -MD -MP -MF .deps/fdpass.Tpo -c fdpass.c -o fdpass.o >/dev/null 2>&1
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT file-cache.lo -MD -MP -MF .deps/file-cache.Tpo -c -o file-cache.lo file-cache.c
mv -f .deps/fdpass.Tpo .deps/fdpass.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT file-create-locked.lo -MD -MP -MF .deps/file-create-locked.Tpo -c -o file-create-locked.lo file-create-locked.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-cache.lo -MD -MP -MF .deps/file-cache.Tpo -c file-cache.c  -fPIC -DPIC -o .libs/file-cache.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-create-locked.lo -MD -MP -MF .deps/file-create-locked.Tpo -c file-create-locked.c  -fPIC -DPIC -o .libs/file-create-locked.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-cache.lo -MD -MP -MF .deps/file-cache.Tpo -c file-cache.c -o file-cache.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-create-locked.lo -MD -MP -MF .deps/file-create-locked.Tpo -c file-create-locked.c -o file-create-locked.o >/dev/null 2>&1
mv -f .deps/file-cache.Tpo .deps/file-cache.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT file-copy.lo -MD -MP -MF .deps/file-copy.Tpo -c -o file-copy.lo file-copy.c
mv -f .deps/file-create-locked.Tpo .deps/file-create-locked.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT file-dotlock.lo -MD -MP -MF .deps/file-dotlock.Tpo -c -o file-dotlock.lo file-dotlock.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-copy.lo -MD -MP -MF .deps/file-copy.Tpo -c file-copy.c  -fPIC -DPIC -o .libs/file-copy.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-dotlock.lo -MD -MP -MF .deps/file-dotlock.Tpo -c file-dotlock.c  -fPIC -DPIC -o .libs/file-dotlock.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-copy.lo -MD -MP -MF .deps/file-copy.Tpo -c file-copy.c -o file-copy.o >/dev/null 2>&1
mv -f .deps/file-copy.Tpo .deps/file-copy.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT file-lock.lo -MD -MP -MF .deps/file-lock.Tpo -c -o file-lock.lo file-lock.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-lock.lo -MD -MP -MF .deps/file-lock.Tpo -c file-lock.c  -fPIC -DPIC -o .libs/file-lock.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-dotlock.lo -MD -MP -MF .deps/file-dotlock.Tpo -c file-dotlock.c -o file-dotlock.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-lock.lo -MD -MP -MF .deps/file-lock.Tpo -c file-lock.c -o file-lock.o >/dev/null 2>&1
mv -f .deps/file-lock.Tpo .deps/file-lock.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT file-set-size.lo -MD -MP -MF .deps/file-set-size.Tpo -c -o file-set-size.lo file-set-size.c
mv -f .deps/file-dotlock.Tpo .deps/file-dotlock.Plo
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/kerberos/include  -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include    -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c -o guid.lo guid.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-set-size.lo -MD -MP -MF .deps/file-set-size.Tpo -c file-set-size.c  -fPIC -DPIC -o .libs/file-set-size.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT file-set-size.lo -MD -MP -MF .deps/file-set-size.Tpo -c file-set-size.c -o file-set-size.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/kerberos/include -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -I/usr/kerberos/include -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c guid.c  -fPIC -DPIC -o .libs/guid.o
In file included from guid.c:6:
sha1.h:80: error: static or type qualifiers in abstract declarator
make[4]: *** [guid.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/file-set-size.Tpo .deps/file-set-size.Plo
make[4]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.2.25/src/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.2.25/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.2.25/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/dovecot-2.2.25'
make: *** [all] Error 2

*** The make has failed, would you like to try to make again? (y,n):

now , service dovcot not working and not installed. how to fix it?

tanks
 
Hi,

don't install application managed by DA (Custombuild) with yum, never. ;)

For your dovecot issue, you need to update your OpenSSL version. If is not available an update for your OS, you can use update.script (you can find it on this forum).

Regards
 
tanks dude.

i update openssl using this topic :
Code:
http://forum.directadmin.com/showthread.php?t=48721&p=250050#post250050

after update openssl , problem is still availale. then fix the problem using this article :
Code:
https://help.poralix.com/articles/dovecot-2225-update-fails-with-error-sha1-static-directadmin

and everything works now.

tanks for everything.
 
Back
Top