Upgrade Postfix / Dovecot -> Connect failed to database.

Discussion in 'Server Operation' started by defacto, Aug 3, 2013.

  1. defacto

    defacto New Member


    I just did an upgrade of Ubuntu 11.04 to 11.10 and now I have problems with the mail server I would to like fix before upgrading to Ubuntu 12.04.

    The version of MySQL, Postfix and of Dovecot has been upgraded. Now I have this error:
    Aug  3 06:53:56 ve postfix/proxymap[3894]: warning: connect to mysql server Can't connect to MySQL server on '' (110)
    Aug  3 06:53:56 ve postfix/trivial-rewrite[5578]: fatal: proxy:mysql:/etc/postfix/mysql-virtual_domains.cf(0,lock|fold_fix): table lookup problem

    I can connect to the database:
    [email protected]:/etc/dovecot# mysql -u email_admin -p
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 559
    Server version: 5.1.69-0ubuntu0.11.10.1 (Ubuntu)
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    Really complex for me. Does anyone have an idea?

    Thank you.
  2. defacto

    defacto New Member

    Resolved. The lo interface was down !

    ifconfig lo up
    fixed it.
    Last edited: Aug 4, 2013

Share This Page