Hi all,

Ihave jsut been compiling dovecot 1.1.6-1.1.8 on a solaris 10 x86 machine with sun studio 12. It compiles correctly but when i want to run dovecot i am getting this error message Jan 10 17:16:16 Carolyn dovecot: [ID 762119 mail.info] Dovecot v1.1.8 starting up Jan 10 17:16:16 Carolyn dovecot: [ID 107833 mail.warning] auth(default): Growing pool 'mysql driver' with: 1024 Jan 10 17:16:16 Carolyn dovecot: [ID 107833 mail.warning] auth-worker(default): Growing pool 'mysql driver' with: 1024 Jan 10 17:16:16 Carolyn dovecot: [ID 107833 mail.info] auth-worker(default): mysql: Connected to localhost (mail) Jan 10 17:16:17 Carolyn dovecot: [ID 575603 mail.error] Temporary failure in creating login processes, slowing down for now Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] pop3-login: ld.so.1: pop3-login: fatal: libsocket.so.1: open failed: No such file or directory Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] pop3-login: ld.so.1: pop3-login: fatal: relocation error: file /opt/Dovecot/libexec/dovecot/pop3-login: symbol socket: referenced symbol not found Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] imap-login: ld.so.1: imap-login: fatal: libsocket.so.1: open failed: No such file or directory Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] imap-login: ld.so.1: imap-login: fatal: relocation error: file /opt/Dovecot/libexec/dovecot/imap-login: symbol socket: referenced symbol not found Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] imap-login: ld.so.1: imap-login: fatal: libsocket.so.1: open failed: No such file or directory Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] imap-login: ld.so.1: imap-login: fatal: relocation error: file /opt/Dovecot/libexec/dovecot/imap-login: symbol socket: referenced symbol not found Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] pop3-login: ld.so.1: pop3-login: fatal: libsocket.so.1: open failed: No such file or directory Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] pop3-login: ld.so.1: pop3-login: fatal: relocation error: file /opt/Dovecot/libexec/dovecot/pop3-login: symbol socket: referenced symbol not found Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] pop3-login: ld.so.1: pop3-login: fatal: libsocket.so.1: open failed: No such file or directory Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.error] pop3-login: ld.so.1: pop3-login: fatal: relocation error: file /opt/Dovecot/libexec/dovecot/pop3-login: symbol socket: referenced symbol not found Jan 10 17:16:17 Carolyn dovecot: [ID 107833 mail.crit] Panic: file istream.c: line 89: assertion failed: (stream->eof)
Jan 10 17:16:17 Carolyn dovecot: [ID 398108 mail.error] Raw backtrace:

and i have tried already so many things in orde to get this up and running could somebody help me out on this.
I need to get this running.
dovecot -n gives me
# 1.1.8: /opt/Dovecot/etc/dovecot.conf
# OS: SunOS 5.10 i86pc  zfs
base_dir: /var/run/dovecot
log_timestamp: ?%Y-%m-%d %H:%M:%S ?
protocols: imap pop3
listen(default): *:143
listen(imap): *:143
listen(pop3): *:110
ssl_disable: yes
login_dir: /var/run/dovecot/login
login_executable(default): /opt/Dovecot/libexec/dovecot/imap-login
login_executable(imap): /opt/Dovecot/libexec/dovecot/imap-login
login_executable(pop3): /opt/Dovecot/libexec/dovecot/pop3-login
login_user: vmail
login_process_size: 128
first_valid_uid: 150
last_valid_uid: 150
mail_access_groups: mail
mail_location: maildir:/var/vmail/%d/%u
mail_debug: yes
mail_executable(default): /opt/Dovecot/libexec/dovecot/imap
mail_executable(imap): /opt/Dovecot/libexec/dovecot/imap
mail_executable(pop3): /opt/Dovecot/libexec/dovecot/pop3
mail_plugin_dir(default): /opt/Dovecot/lib/dovecot/imap
mail_plugin_dir(imap): /opt/Dovecot/lib/dovecot/imap
mail_plugin_dir(pop3): /opt/Dovecot/lib/dovecot/pop3
auth default:
 mechanisms: plain login
 user: nobody
 verbose: yes
 debug: yes
 debug_passwords: yes
 passdb:
   driver: sql
   args: /opt/Dovecot/etc/dovecot-sql.conf
 userdb:
   driver: sql
   args: /opt/Dovecot/etc/dovecot-sql.conf
 socket:
   type: listen
   client:
     path: /var/spool/postfix/private/auth
     mode: 432
     user: postfix
   master:
     path: /var/run/dovecot/auth-master
     mode: 432
     user: vmail
     group: mail

../sbin/dovecot --build-options
Build options: ioloop=poll openssl
Mail storages: maildir mbox raw
SQL drivers: mysql
Passdb: checkpassword pam passwd passwd-file shadow sql
Userdb: passwd passwd-file prefetch sql static

and
driver = mysql
connect = host=localhost dbname=xxx user=xxx password=xxx
# The new name for MD5 is MD5-CRYPT so you might need to change this depending on version
default_pass_scheme = MD5
# Get the mailbox
user_query = SELECT '/var/vmail/%d/%n' as home, 'maildir:/var/vmail/%d/%n' as mail, 150 AS uid, 6 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = '%u' AND active = '1'
# Get the password
password_query = SELECT username as user, password, '/var/vmail/%d/%n' as userdb_home, 'maildir:/var/vmail/%d/%n' as userdb_mail, 150 as userdb_uid, 6 as use rdb_gid FROM mailbox WHERE username = '%u' AND active = '1' # If using client certificates for authentication, comment the above and uncomment the following
#password_query = SELECT null AS password, '%u' AS user



Thanks in advance
Filip

Reply via email to