Problem installing courier

Discussion in 'Installation/Configuration' started by jonny999, Mar 22, 2016.

  1. jonny999

    jonny999 New Member

    Hello,
    at first: im not verry familiar with linux so this might be a noob problem :)
    i am trying to install a mail server on my debian server with Postfix, Courier, Mysql and SquirreMail! (im using this usefull tutorial)
    before i had postfix and dovecot installed but it didnt work properly so i uninstalled dovecot first. Then i ran this command to install courier:
    Code:
    apt-get install courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl
    Some things installed but then i got this in the last line:
    Setting up courier-authdaemon (0.66.4-5) ...
    insserv: warning: script 'K01munin' missing LSB tags and overrides
    and nothing happend for a few minutes i could not even cancel (that K01munin thing comes all the time but never made any problem)
    So i killed it (kill -9 2359).
    When i try again i get the same (nothing happens):
    rootrs207142/# apt-get install courier-authdaemon courier-authlib-mysql courier-pop courier-pop-ssl courier-imap courier-imap-ssl
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    courier-imap is already the newest version.
    courier-imap-ssl is already the newest version.
    courier-pop is already the newest version.
    courier-pop-ssl is already the newest version.
    courier-authdaemon is already the newest version.
    courier-authlib-mysql is already the newest version.
    The following packages were automatically installed and are no longer required:
    libasprintf0c2 libcaca0 libdirectfb-1.2-9 libexttextcat-2.0-0 libexttextcat-data libicu48 libjasper1 libjson0 libkadm5clnt-mit8 libkdb5-6 libsdl1.2debian libstemmer0d
    libsystemd-login0
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 546 not upgraded.
    6 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Setting up courier-authdaemon (0.66.4-5) ...
    insserv: warning: script 'K01urbanterror' missing LSB tags and overrides

    When i try to start courier-authdaemon (/etc/init.d/courier-authdaemon start) nothing happens (at least not in 20 minutes) and i cant cancel! So that might be the actual problem?

    I tried to reinstall the package
    rootrs207142~# apt-get remove courier-authdaemon
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libasprintf0c2 libcaca0 libdirectfb-1.2-9 libexttextcat-2.0-0 libexttextcat-data libicu48 libjasper1 libjson0 libkadm5clnt-mit8
    libkdb5-6 libsdl1.2debian libstemmer0d libsystemd-login0
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
    courier-authdaemon courier-base courier-imap courier-imap-ssl courier-pop courier-pop-ssl
    0 upgraded, 0 newly installed, 6 to remove and 546 not upgraded.
    6 not fully installed or removed.
    After this operation, 1651 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 90965 files and directories currently installed.)
    Removing courier-pop-ssl (0.75.0-16) ...
    Removing courier-pop (0.75.0-16) ...
    Removing courier-imap-ssl (4.16.2+0.75.0-16) ...
    Removing courier-imap (4.16.2+0.75.0-16) ...
    Removing courier-base (0.75.0-16) ...
    Removing courier-authdaemon (0.66.4-5) ...
    [ ok ] Stopping Courier authentication services: authdaemond.
    Processing triggers for man-db (2.7.5-1) ...

    rootrs207142~# apt-get install courier-authdaemon
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
    libasprintf0c2 libcaca0 libdirectfb-1.2-9 libexttextcat-2.0-0 libexttextcat-data libicu48 libjasper1 libjson0 libkadm5clnt-mit8
    libkdb5-6 libsdl1.2debian libstemmer0d libsystemd-login0
    Use 'apt-get autoremove' to remove them.
    The following NEW packages will be installed:
    courier-authdaemon
    0 upgraded, 1 newly installed, 0 to remove and 546 not upgraded.
    Need to get 16.8 kB of archives.
    After this operation, 48.1 kB of additional disk space will be used.
    Get:1------ftp.debian-----/debian/ sid/main courier-authdaemon amd64 0.66.4-5 [16.8 kB]
    Fetched 16.8 kB in 0s (138 kB/s)
    Selecting previously unselected package courier-authdaemon.
    (Reading database ... 90847 files and directories currently installed.)
    Preparing to unpack .../courier-authdaemon_0.66.4-5_amd64.deb ...
    Unpacking courier-authdaemon (0.66.4-5) ...
    Processing triggers for systemd (228-2) ...
    Setting up courier-authdaemon (0.66.4-5) ...
    insserv: warning: script 'K01munin' missing LSB tags and overrides

    ====> then nothing happens anymore and i have to kill apt-get again!
    Then i have to run dpkg --configure -a wich leads to the same "Setting up courier-authdaemon (0.66.4-5) ..." and nothing happens...

    How do i install this properly?
    Any ideas? What could be the problem? What could i try?
    Thanks!
     
    Last edited: Mar 23, 2016
  2. jonny999

    jonny999 New Member

    Nevermind! I installed dovecot again and got it to work properly :)
    So i dont need to install courier anymore :p
     
  3. jonny999

    jonny999 New Member

    Btw: i can recommend this tutorial: "thomas-leister.de/internet/mailserver-ubuntu-server-dovecot-postfix-mysql/" (german only) for setting up the whole mailserver with multiple virtual domains and virtual users using postfix, dovecot and mysql!
     

Share This Page