1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

conflict... in re-installation...

Discussion in 'Plesk for Linux - 8.x and Older' started by kadoudal, Feb 3, 2008.

  1. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    I am trying to perform a Plesk 8.3 re-install after re-installing exim4 on my Debian 4 etch.. (I know not the best thing to do..)

    and I get stuck with this error :


    Unpacking psa-courier-imap (from .../psa-courier-imap_3.0.8-debian4.0.build83071218.18_i386.deb) ...
    dpkg: error processing /var/cache/apt/archives/psa-courier-imap_3.0.8-debian4.0.build83071218.18_i386.deb (--unpack):
    trying to overwrite `/usr/sbin/userdbpw', which is also in package courier-authlib-userdb
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/psa-courier-imap_3.0.8-debian4.0.build83071218.18_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    I am lost.. don't want to reinstall the all server
     
  2. mizar

    mizar Regular Pleskian Staff Member

    29
    70%
    Joined:
    Sep 27, 2007
    Messages:
    113
    Likes Received:
    18
    You should remove native courier-authlib packages first
     
  3. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    OK that's what I did... the imap connection is ok (I can see in the qmail maillog)
    but the smtp service is NOT running and doesn't start even if required in the Plesk server console... if any error I should see it in a log... but which one ?
     
  4. mizar

    mizar Regular Pleskian Staff Member

    29
    70%
    Joined:
    Sep 27, 2007
    Messages:
    113
    Likes Received:
    18
    As I know, smtp works via superserver(inetd/xinetd). Check 25 port with telnet/lsof or try to restart it.
     
  5. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    telnet 88.191.202.40 25
    Trying 88.191.202.40...
    telnet: Unable to connect to remote host: Connection refused

    that's the problem...
     
  6. mizar

    mizar Regular Pleskian Staff Member

    29
    70%
    Joined:
    Sep 27, 2007
    Messages:
    113
    Likes Received:
    18
    Ensure that plesk entries are located in /etc/inetd.conf - it looks like:

    smtp stream tcp nowait.1000 root /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
    smtps stream tcp nowait.1000 root /var/qmail/bin/tcp-env tcp-env /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
    submission stream tcp nowait.1000 qmaild /var/qmail/bin/tcp-env tcp-env /usr/bin/env

    if it contains other smtp/smtps records remove it and reinstall qmail via apt-get install --reinstall psa-qmail. Also if you have xinetd superserver check that runs
    with -inetd_compat options - in /etc/defaults/xinetd. Also check /var/log/daemon.log for log messages from superserver.
     
  7. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    thanks for your help

    1- in /etc/inetd.conf I had
    submission stream tcp nowait.1000 qmaild /var/qmail/bin/tcp-env tcp-env /usr/bin/env SUBMISSION=1 SMTPAUTH=1 /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

    change the content of teh file as stated..

    2- I reinstalled psa-qmail OK

    3- don't have xinetd superserver conf !!
    /var/log/daemon.log
    Feb 5 12:38:40 sd-3397 xinetd[2699]: open( /etc/xinetd.conf ) failed: No such file or directory (errno = 2)
    Feb 5 12:38:40 sd-3397 xinetd[2699]: 2699 {init_services} couldn't get configuration. Exiting...
     
  8. mizar

    mizar Regular Pleskian Staff Member

    29
    70%
    Joined:
    Sep 27, 2007
    Messages:
    113
    Likes Received:
    18
    Looks like you somehow lost your /etc/xinetd.conf, it must looks like:

    defaults
    {

    }

    includedir /etc/xinetd.d


    after creation restart xinetd
     
  9. kadoudal

    kadoudal Regular Pleskian

    27
    23%
    Joined:
    Nov 20, 2007
    Messages:
    244
    Likes Received:
    0
    thanks a lot !!! SMTP server (qmail) is now running...
    I don't understand why the conf file disappeared ...
    and of course I was lost between inetd and xinetd
    as a developper (on Mac.. where the OS is hidden..) I am very aware of the internals of OS... just learning... but progressing
     
Loading...