Dovecot Error

Discussion in 'Installation/Configuration' started by MacBros, Jan 21, 2011.

  1. MacBros

    MacBros New Member

    So I followed the Perfect CentOS Server 5.5 x86_64 guide, and I'm running i386, so I changed everything I could so its 32-bit, and I think I messed up installing dovecot, I think this is where I made my error:

    Code:
    rm -fr /usr/lib/dovecot/
    ln -s /usr/lib64/dovecot/ /usr/lib/dovecot
    I changed the commands to simply:

    Code:
    rm -fr /usr/lib/dovecot/
    ln -s /usr/lib/dovecot/ /usr/lib/dovecot
    So it would work with 32-bit, but now I get this error when trying to start dovecot:

    Code:
    [[email protected] ~]# /etc/init.d/dovecot start
    Starting Dovecot Imap: Error: mail_plugin_dir: Can't access directory: /usr/lib/dovecot/imap/: Too many levels of symbolic links
    Fatal: Invalid configuration in /etc/dovecot.conf
                                                               [FAILED]
    [[email protected] ~]# 
    
    Any help is appreciated.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Don't delete the /usr/lib/dovecot/ directory if you are on 32bit! :eek: This is where the dovecot libs are. On 64bit systems, they are in /usr/lib64/dovecot, and /usr/lib/dovecot is empty (that's why I delete it and create a symlink), but on 32bit systems /usr/lib/dovecot is not empty.

    I think all you can do now is set up the system again.
     

Share This Page