Dovecot configure on 64bit system

Discussion in 'Installation/Configuration' started by tristanlee85, Mar 15, 2010.

  1. tristanlee85

    tristanlee85 New Member

    I've noticed that during the install when ISPConfig configures and restarts services, Dovecot seems to not get configured correctly (at least not for me).

    Code:
    ...
    Stopping Dovecot Imap:                                     [FAILED]
    Error: mail_plugin_dir: Can't access directory: /usr/lib/dovecot/imap/: No such file or directory
    Fatal: Invalid configuration in /etc/dovecot.conf
    Starting Dovecot Imap:                                     [FAILED]
    Stopping httpd:                                            [  OK  ]
    httpd: Could not reliably determine the server's fully qualified domain name, using server1.cfcoding.com for ServerName
    [Sun Mar 14 19:11:41 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
    Starting httpd:                                            [  OK  ]
    Stopping pure-ftpd:                                        [  OK  ]
    Starting pure-ftpd:                                        [  OK  ]
    Installation completed.
    [[email protected] install]# 
    
    The plugin directory is /usr/lib64/dovecot/[imap|pop3|...] I currently have Dovecot set to not start with the system as it should be using Courier instead so I don't think this is an issue for me. However, when trying to view mail for "root" at http://192.168.1.151/webmail/, after logging in I get ERROR: Connection dropped by IMAP server. I'm not sure if this error is related to Dovecot or Courier...?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    If your system uses courier, please uninstall the dovecot package with yum. You should not have dovecot packages installed as this might cause problems on the next ispconfig update as the updater might reconfigure your system for dovecot then and break smtp authentication.

    If you upgradet already to ispconfoif 3.0.2 with this configuration, please do the update again after you removed the dovecot package.
     
  3. cobro

    cobro New Member

    I have the same issue but i did it on a fresh install am on i386 ?? any luck there ? if you can help i have downloaded i386 packages but it still dose not work ?
     
    Last edited: Jul 2, 2010
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the exact error message?
     
  5. cobro

    cobro New Member

    Stopping Dovecot Imap: [ OK ]
    Error: mail_plugin_dir: Can't access directory: /usr/lib/dovecot/imap/: No such file or directory
    Fatal: Invalid configuration in /etc/dovecot.conf
    Starting Dovecot Imap: [FAILED]
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Which Linux distribution?
    2) Please post the output of:

    ls /usr/lib

    and:

    ls /usr/lib64
     
  7. cobro

    cobro New Member

    hi everything is working now as it should :)

    i fix it only by doing this

    Code:
    skipped this part
    rm -fr /usr/lib/dovecot/
    ln -s /usr/lib64/dovecot/ /usr/lib/dovecot
    
    to only this       ln -s /usr/lib/dovecot/
    
    Output for ls /usr/lib

    Code:
    libFS.so.6.0.0                          libsvn_diff-1.so.0
    libg.a                                  libsvn_diff-1.so.0.0.0
    libgailutil.so.18                       libsvn_fs-1.so.0
    libgailutil.so.18.0.1                   libsvn_fs-1.so.0.0.0
    libgamin-1.so.0                         libsvn_fs_base-1.so.0
    libgamin-1.so.0.1.7                     libsvn_fs_base-1.so.0.0.0
    libgconf-2.so                           libsvn_fs_fs-1.so.0
    libgconf-2.so.4                         libsvn_fs_fs-1.so.0.0.0
    libgconf-2.so.4.1.0                     libsvn_ra-1.so.0
    libgcrypt.a                             libsvn_ra-1.so.0.0.0
    libgcrypt.so                            libsvn_ra_dav-1.so.0
    libgcrypt.so.11                         libsvn_ra_dav-1.so.0.0.0
    libgcrypt.so.11.5.2                     libsvn_ra_local-1.so.0
    libgdbm.a                               libsvn_ra_local-1.so.0.0.0
    libgdbm.so                              libsvn_ra_svn-1.so.0
    libgdbm.so.2                            libsvn_ra_svn-1.so.0.0.0
    libgdbm.so.2.0.0                        libsvn_repos-1.so.0
    libgdk_pixbuf-2.0.so                    libsvn_repos-1.so.0.0.0
    libgdk_pixbuf-2.0.so.0                  libsvn_subr-1.so.0
    libgdk_pixbuf-2.0.so.0.1000.4           libsvn_subr-1.so.0.0.0
    libgdk_pixbuf_xlib-2.0.so               libsvn_swig_py-1.so.0
    libgdk_pixbuf_xlib-2.0.so.0             libsvn_swig_py-1.so.0.0.0
    libgdk_pixbuf_xlib-2.0.so.0.1000.4      libsvn_wc-1.so.0
    libgdk-x11-2.0.so                       libsvn_wc-1.so.0.0.0
    libgdk-x11-2.0.so.0                     libsybdb.so.5
    libgdk-x11-2.0.so.0.1000.4              libsybdb.so.5.0.0
    libgd.so.2                              libsysfs.so.2
    libgd.so.2.0.0                          libsysfs.so.2.0.0
    libgettextlib-0.14.6.so                 libtcl8.4.so
    libgettextsrc-0.14.6.so                 libtdsodbc.so.0
    libgfortran.so.1                        libtdsodbc.so.0.0.0
    libgfortran.so.1.0.0                    libtds.so.5
    libglade                                libtds.so.5.0.0
    libglade-2.0.a                          libtdssrv.so.2
    libglade-2.0.so                         libtdssrv.so.2.0.0
    libglade-2.0.so.0                       libtdsS.so.1
    libglade-2.0.so.0.0.7                   libtdsS.so.1.0.0
    libGL.so                                libtemplate.so.1
    libGL.so.1                              libtemplate.so.1.0.0
    libGL.so.1.2                            libtermcap.a
    libgmp.a                                libtermcap.so
    libgmp.so                               libthread_db.so
    libgmp.so.3                             libtidy-0.99.so.0
    libgmp.so.3.3.3                         libtidy-0.99.so.0.0.0
    libgmpxx.a                              libtiff.so.3
    libgmpxx.so                             libtiff.so.3.8.2
    libgmpxx.so.3                           libtiffxx.so.3
    libgmpxx.so.3.0.5                       libtiffxx.so.3.8.2
    libgnome-2.so                           libtspi.so.1
    libgnome-2.so.0                         libtspi.so.1.1.1
    libgnome-2.so.0.1600.0                  libusb-0.1.so.4
    libgnomecanvas-2.so                     libusb-0.1.so.4.4.4
    libgnomecanvas-2.so.0                   libusb.a
    libgnomecanvas-2.so.0.1400.0            libusbpp-0.1.so.4
    libgnome-keyring.so                     libusbpp-0.1.so.4.4.4
    libgnome-keyring.so.0                   libusbpp.a
    libgnome-keyring.so.0.0.1               libusbpp.so
    libgnomeui-2.so                         libusb.so
    libgnomeui-2.so.0                       libuser
    libgnomeui-2.so.0.1600.0                libuser.so
    libgnomevfs-2.a                         libuser.so.1
    libgnomevfs-2.so                        libuser.so.1.1.6
    libgnomevfs-2.so.0                      libutempter.so.0
    libgnomevfs-2.so.0.1600.2               libutempter.so.1.1.4
    libgnuefi.a                             libutil.a
    libgnutls-extra.so.13                   libutil.so
    libgnutls-extra.so.13.0.6               libuuid.a
    libgnutls-openssl.so.13                 libuuid.so
    libgnutls-openssl.so.13.0.6             libvorbis.a
    libgnutls.so.13                         libvorbisenc.a
    libgnutls.so.13.0.6                     libvorbisenc.so
    libgomp.so.1                            libvorbisenc.so.2
    libgomp.so.1.0.0                        libvorbisenc.so.2.0.2
    libgpg-error.a                          libvorbisfile.a
    libgpg-error.so                         libvorbisfile.so
    libgpg-error.so.0                       libvorbisfile.so.3
    libgpg-error.so.0.3.0                   libvorbisfile.so.3.1.1
    libgpm.a                                libvorbis.so
    libgpm.so                               libvorbis.so.0
    libgpm.so.1                             libvorbis.so.0.3.1
    libgpm.so.1.19.0                        libWand.so.10
    libgsf-1.so.114                         libWand.so.10.0.3
    libgsf-1.so.114.0.1                     libwmf-0.2.so.7
    libgsf-gnome-1.so.114                   libwmf-0.2.so.7.1.0
    libgsf-gnome-1.so.114.0.1               libwmflite-0.2.so.7
    libgssapi_krb5.a                        libwmflite-0.2.so.7.0.1
    libgssapi_krb5.so                       libwnck-1.so.18
    libgssapi_krb5.so.2                     libwnck-1.so.18.2.3
    libgssapi_krb5.so.2.2                   libwrap.a
    libgssapi.la                            libwrap.so
    libgssapi.so.2                          libX11.so
    libgssapi.so.2.0.0                      libX11.so.6
    libgs.so                                libX11.so.6.2.0
    libgs.so.8                              libXau.so
    libgs.so.8.15                           libXau.so.6
    libgssrpc.a                             libXau.so.6.0.0
    libgssrpc.so                            libXaw6.so.6
    libgssrpc.so.4                          libXaw6.so.6.0.1
    libgssrpc.so.4.0                        libXaw7.so.7
    libgtk-x11-2.0.so                       libXaw7.so.7.0.0
    libgtk-x11-2.0.so.0                     libXaw.so.6
    libgtk-x11-2.0.so.0.1000.4              libXaw.so.7
    libgtrtst.so.1                          libXcursor.so
    libgtrtst.so.1.0.0                      libXcursor.so.1
    libhal.so                               libXcursor.so.1.0.2
    libhal.so.1                             libxdelta.so.2
    libhal.so.1.0.0                         libxdelta.so.2.0.0
    libhal-storage.so                       libXdmcp.so
    libhal-storage.so.1                     libXdmcp.so.6
    libhal-storage.so.1.0.0                 libXdmcp.so.6.0.0
    libhesiod.a                             libXevie.so.1
    libhesiod.so                            libXevie.so.1.0.0
    libhesiod.so.0                          libXext.so
    libhesiod.so.0.0.0                      libXext.so.6
    libhistory.a                            libXext.so.6.4.0
    libhistory.so                           libXfixes.so
    libhistory.so.5                         libXfixes.so.3
    libhistory.so.5.1                       libXfixes.so.3.1.0
    libhugetlbfs.so                         libXfontcache.so.1
    libICE.so                               libXfontcache.so.1.0.0
    libICE.so.6                             libXfont.so.1
    libICE.so.6.3.0                         libXfont.so.1.4.1
    libicudata.so.36                        libXft.so
    libicudata.so.36.0                      libXft.so.2
    libicui18n.so.36                        libXft.so.2.1.2
    libicui18n.so.36.0                      libXinerama.so
    libicuio.so.36                          libXinerama.so.1
    libicuio.so.36.0                        libXinerama.so.1.0.0
    libicule.so.36                          libXi.so
    libicule.so.36.0                        libXi.so.6
    libiculx.so.36                          libXi.so.6.0.0
    libiculx.so.36.0                        libxml2.a
    libicutu.so.36                          libxml2.so
    libicutu.so.36.0                        libxml2.so.2
    libicuuc.so.36                          libxml2.so.2.6.26
    libicuuc.so.36.0                        libxmlsec1.a
    libIDL-2.so                             libxmlsec1.so
    libIDL-2.so.0                           libxmlsec1.so.1
    libIDL-2.so.0.0.0                       libxmlsec1.so.1.2.9
    libidn.a                                libXmu.so.6
    libidn.so                               libXmu.so.6.2.0
    libidn.so.11                            libXmuu.so.1
    libidn.so.11.5.19                       libXmuu.so.1.0.0
    libieee.a                               libXpm.so.4
    libijs-0.35.so                          libXpm.so.4.11.0
    libijs.so                               libXrandr.so
    libIPMIlanserv.so.0                     libXrandr.so.2
    libIPMIlanserv.so.0.0.1                 libXrandr.so.2.0.0
    libisccc.so.0                           libXrender.so
    libisccc.so.0.2.3                       libXrender.so.1
    libisccfg.so.1                          libXrender.so.1.3.0
    libisccfg.so.1.0.10                     libXRes.so.1
    libisc.so.15                            libXRes.so.1.0.0
    libisc.so.15.0.2                        libxslt.a
    libjpeg.so                              libxslt-plugins
    libjpeg.so.62                           libxslt.so
    libjpeg.so.62.0.0                       libxslt.so.1
    libk5crypto.a                           libxslt.so.1.1.17
    libk5crypto.so                          libXTrap.so.6
    libk5crypto.so.3                        libXTrap.so.6.4.0
    libk5crypto.so.3.1                      libXt.so
    libkadm5clnt.a                          libXt.so.6
    libkadm5clnt.so                         libXt.so.6.0.0
    libkadm5clnt.so.5                       libXtst.so.6
    libkadm5clnt.so.5.1                     libXtst.so.6.1.0
    libkadm5srv.a                           libXxf86misc.so.1
    libkadm5srv.so                          libXxf86misc.so.1.1.0
    libkadm5srv.so.5                        libXxf86vm.so.1
    libkadm5srv.so.5.1                      libXxf86vm.so.1.0.0
    libkdb5.a                               libz.a
    libkdb5.so                              libz.so
    libkdb5.so.4                            libz.so.1
    libkdb5.so.4.0                          libz.so.1.2.3
    libkeyutils.so                          locale
    libkrb4.a                               lsb
    libkrb4.so                              mail.help
    libkrb4.so.2                            mail.tildehelp
    libkrb4.so.2.0                          Mcrt1.o
    libkrb5.a                               mysql
    libkrb5.so                              NetworkManager
    libkrb5.so.3                            notification-daemon-1.0
    libkrb5.so.3.3                          nss
    libkrb5support.a                        oddjob
    libkrb5support.so                       openssl
    libkrb5support.so.0                     orbit-2.0
    libkrb5support.so.0.1                   pam_pkcs11
    libkudzu.a                              pango
    libkudzu_loader.a                       pcsc
    libl.a                                  perl5
    liblber-2.3.so.0                        pgsql
    liblber-2.3.so.0.2.31                   php
    liblber.a                               pkcs11
    liblber.so                              pkgconfig
    liblcms.so.1                            pm-utils
    liblcms.so.1.0.18                       pppd
    libldap-2.3.so.0                        preloadable_libintl.so
    libldap-2.3.so.0.2.31                   pygtk
    libldap.a                               python2.4
    libldap_r-2.3.so.0                      rpm
    libldap_r-2.3.so.0.2.31                 samba
    libldap_r.a                             sasl
    libldap_r.so                            sasl2
    libldap.so                              Scrt1.o
    liblftp-jobs.so                         sendmail
    liblftp-jobs.so.0                       sendmail.postfix
    liblftp-jobs.so.0.0.0                   sendmail.sendmail
    liblftp-tasks.so                        squid
    liblftp-tasks.so.0                      sse2
    liblftp-tasks.so.0.0.0                  syslinux
    liblockdev.a                            systemtap
    liblockdev.so                           tc
    liblockdev.so.1                         tcl8.4
    liblockdev.so.1.0.1                     tls
    libloginhelper.so.0                     valgrind
    libloginhelper.so.0.0.0                 X11
    libltdl.so.3                            xml2Conf.sh
    libltdl.so.3.1.4                        xmlsec1Conf.sh
    liblvm2cmd.a                            xsltConf.sh
    liblvm2cmd.a.2.02                       xulrunner-1.9.2
    liblvm2cmd.so                           xulrunner-sdk-1.9.2
    liblvm2cmd.so.2.02                      yum-plugins
    liblwres.so.9                           zsh
    liblwres.so.9.2.0
    
    Output for ls /usr/lib64

    Code:
    rkhunter
     
    Last edited: Jul 2, 2010
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. But then you dont run a i386 system, it is a 64bit system aka x86_64 ;)
     
  9. cobro

    cobro New Member

    Thank you very much for the help till ;)
     

Share This Page