Connect to 127.0.0.1[127.0.0.1]:10026: Connection refused

Discussion in 'General' started by Efex, Apr 17, 2018.

  1. Efex

    Efex Member

    After i setup ispconfig on my server i can't receive/send mails.
    All of my mailboxes doesnt work.

    I have found following log in mail que:
    -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
    84F6D7E307 1177 Tue Apr 17 15:04:23 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10026: Connection refused)
    [email protected]

    607C87E308 5839 Tue Apr 17 14:49:55 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]

    6D19C7FE3F 5816 Tue Apr 17 14:49:55 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    [email protected]

    79DEA7FE40 5839 Tue Apr 17 14:49:55 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]

    7507B7FD30 5816 Tue Apr 17 14:49:55 [email protected]
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]
    [email protected]

    7C7A67FE41 5839 Tue Apr 17 14:49:55 [email protected]
    (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    [email protected]

    -- 29 Kbytes in 6 Requests.



    I checked hostname and it's correct.
    Also i stopped clamav and amavis but still not working.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The error means that amavis is stopped. Mail system will not work when you stop amavis. Clamav should be started as well.
     
  3. Efex

    Efex Member

    I started them again but still not working also at begin
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Which Linux distribution and version?

    It might be that something in postfix master.cf is missing. You can try to do an ispconfig update with reconfigure services = yes to let the ISPConfig installer fix it.
     
  5. Efex

    Efex Member

    [email protected]:~# hostnamectl
    Static hostname: xx.xx.xx
    Icon name: computer-vm
    Chassis: vm
    Machine ID: xxx
    Boot ID: xxxx
    Virtualization: kvm
    Operating System: Ubuntu 16.04.4 LTS
    Kernel: Linux 4.4.0-119-generic
    Architecture: x86-64

    Can i lose data if i update ispconfig?
    And which command need i use?
     
  6. Efex

    Efex Member

    I have updated it with this way buts still not working;

    [email protected]:/tmp/ispconfig3_install/install# php -q update.php


    --------------------------------------------------------------------------------
    _____ ___________ _____ __ _ ____
    |_ _/ ___| ___ \ / __ \ / _(_) /__ \
    | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _ _/ /
    | | `--. \ __/ | | / _ \| '_ \| _| |/ _` | |_ |
    _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| | ___\ \
    \___/\____/\_| \____/\___/|_| |_|_| |_|\__, | \____/
    __/ |
    |___/
    --------------------------------------------------------------------------------


    >> Update

    Operating System: Ubuntu 16.04.4 LTS (Xenial Xerus)

    This application will update ISPConfig 3 on your server.

    Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes]: yes

    Creating backup of "/usr/local/ispconfig" directory...
    Creating backup of "/etc" directory...
    Checking ISPConfig database .. OK
    Starting incremental database update.
    Loading SQL patch file: /tmp/ispconfig3_install/install/sql/incremental/upd_dev_collection.sql
    Reconfigure Permissions in master database? (yes,no) [no]: yes

    Service 'xmpp_server' has not been detected (strongly recommended, currently enabled) do you want to disable it? (yes,no) [yes]: yes

    Reconfigure Services? (yes,no,selected) [yes]: yes

    Configuring Postfix
    Configuring Dovecot
    Configuring Spamassassin
    Configuring Getmail
    Configuring BIND
    [INFO] haveged not detected - DNSSEC can fail
    Configuring Pureftpd
    Configuring nginx
    Configuring Apps vhost
    Configuring Jailkit
    Configuring Ubuntu Firewall
    Configuring Database
    Updating ISPConfig


    Reconfigure Crontab? (yes,no) [yes]: yes

    Updating Crontab
    Restarting services ...
    Update finished.
     
  7. Efex

    Efex Member

    Also i can't find 10026 and 10025 ports when i run netstat - tap command.
    [email protected]:# netstat -tulpn | grep master
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 12332/master
    tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 12332/master
    tcp 0 0 127.0.0.1:10027 0.0.0.0:* LISTEN 12332/master
    tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 12332/master
    tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 12332/master
    tcp6 0 0 :::25 :::* LISTEN 12332/master
    tcp6 0 0 :::587 :::* LISTEN 12332/master
    tcp6 0 0 :::465 :::* LISTEN 12332/master

    Is it normal?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Code:
    [email protected]:~# netstat -tap | grep 100
    tcp        0      0 localhost:10023         0.0.0.0:*               LISTEN      452/postgrey --pidf
    tcp        0      0 localhost:10024         0.0.0.0:*               LISTEN      2927/amavisd-new (m
    tcp        0      0 localhost:10025         0.0.0.0:*               LISTEN      2896/master
    tcp        0      0 localhost:10026         0.0.0.0:*               LISTEN      2927/amavisd-new (m
    tcp        0      0 localhost:10027         0.0.0.0:*               LISTEN      2896/master
    tcp        0      0 192.168.0.100:domain    0.0.0.0:*               LISTEN      3094/named
    tcp       56      0 localhost:50032         localhost:10025         CLOSE_WAIT  2931/amavisd-new (c
    tcp       56      0 localhost:36912         localhost:10025         CLOSE_WAIT  2930/amavisd-new (c
    tcp6       0      0 localhost:10023         [::]:*                  LISTEN      452/postgrey --pidf
    tcp6       0      0 localhost:10024         [::]:*                  LISTEN      2927/amavisd-new (m
    tcp6       0      0 localhost:10026         [::]:*                  LISTEN      2927/amavisd-new (m
     
  9. Efex

    Efex Member

    what means it?
     
  10. SamTzu

    SamTzu Member

    If you can't send you should check your postfix.
    dpkg-reconfigure postfix
    Can you access it with "telnet www.example.com 25"?
    If you can't receive you should check Dovecot logs.
     

Share This Page