Results 1 to 2 of 2

Thread: I met a refused problem (installing source code):

  1. #1
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    Unhappy I met a refused problem (installing source code):

    Hi guys,

    I have built a tarball and installed a source code on server, and DNS has configured. But when I send mail to others, it displayes:

    "delivery temporarily suspended:connect to 127.0.0.1[127.0.0.1]: Connection refused
    "
    My /etc/hosts:

    127.0.0.1 localhost.localdomain localhost
    64.xx.xx.xx hd-t3948cl.privatedns.com hd-t3948cl

    and
    #dig localhost


    Code:
    ; <<>> ; <<>> DiG 9.3.1 <<>> localhost
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53958
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;localhost.                     IN      A
    
    ;; ANSWER SECTION:
    localhost.              86400   IN      A       127.0.0.1
    
    ;; AUTHORITY SECTION:
    localhost.              86400   IN      NS      localhost.
    
    ;; ADDITIONAL SECTION:
    localhost.              86400   IN      AAAA    ::1
    
    ;; Query time: 0 msec
    ;; SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Tue Sep  5 16:04:21 2006
    ;; MSG SIZE  rcvd: 85
     <<>> localhost
    My log display:
    Code:
    Sep  5 16:44:04 hd-t3948cl zimbramon[10538]: 10538:info: 2006-09-05 16:44:01, STATUS: hd-t3948cl.privatedns.com: antispam: Stopped
    Sep  5 16:44:04 hd-t3948cl zimbramon[10538]: 10538:info: 2006-09-05 16:44:01, STATUS: hd-t3948cl.privatedns.com: antivirus: Stopped
    Sep  5 16:44:04 hd-t3948cl zimbramon[10538]: 10538:info: 2006-09-05 16:44:01, STATUS: hd-t3948cl.privatedns.com: ldap: Running
    Sep  5 16:44:04 hd-t3948cl zimbramon[10538]: 10538:info: 2006-09-05 16:44:01, STATUS: hd-t3948cl.privatedns.com: logger: Running
    Sep  5 16:44:04 hd-t3948cl zimbramon[10538]: 10538:info: 2006-09-05 16:44:01, STATUS: hd-t3948cl.privatedns.com: mailbox: Running
    Sep  5 16:44:04 hd-t3948cl zimbramon[10538]: 10538:info: 2006-09-05 16:44:01, STATUS: hd-t3948cl.privatedns.com: mta: Running
    Sep  5 16:44:04 hd-t3948cl zimbramon[10538]: 10538:info: 2006-09-05 16:44:01, STATUS: hd-t3948cl.privatedns.com: snmp: Running
    Sep  5 16:44:04 hd-t3948cl zimbramon[10538]: 10538:info: 2006-09-05 16:44:01, STATUS: hd-t3948cl.privatedns.com: spell: Running
    Sep  5 16:44:25 hd-t3948cl postfix/smtpd[10741]: connect from hd-t3948cl.privatedns.com[64.xx.xx.xx]
    Sep  5 16:44:25 hd-t3948cl postfix/trivial-rewrite[10743]: warning: do not list domain hd-t3948cl.privatedns.com in BOTH mydestination and virtual_mailbox_domains
    Sep  5 16:44:25 hd-t3948cl postfix/trivial-rewrite[10743]: warning: do not list domain hd-t3948cl.privatedns.com in BOTH mydestination and virtual_mailbox_domains
    Sep  5 16:44:25 hd-t3948cl postfix/smtpd[10741]: 05AB01203D7A: client=hd-t3948cl.privatedns.com[64.xx.xx.xx]
    Sep  5 16:44:25 hd-t3948cl postfix/cleanup[10744]: 05AB01203D7A: message-id=<26517368.31157489064897.JavaMail.root@hd-t3948cl.privatedns.com>
    Sep  5 16:44:25 hd-t3948cl postfix/qmgr[7397]: 05AB01203D7A: from=<test2@hd-t3948cl.privatedns.com>, size=554, nrcpt=1 (queue active)
    Sep  5 16:44:25 hd-t3948cl postfix/smtpd[10741]: disconnect from hd-t3948cl.privatedns.com[64.xx.xx.xx]
    Sep  5 16:44:25 hd-t3948cl postfix/smtp[10745]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Sep  5 16:44:25 hd-t3948cl postfix/smtp[10745]: 05AB01203D7A: to=<test1@hd-t3948cl.privatedns.com>, relay=none, delay=0, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    BTW, for some reasons, my antivirus and antispam is not running, but I think it should not affect to test zimbra.

    Please help me.
    Last edited by wildhuman; 09-05-2006 at 01:45 PM.

  2. #2
    wildhuman is offline Senior Member
    Join Date
    Aug 2006
    Posts
    64
    Rep Power
    8

    Unhappy

    I knew the resaon, but how can I deal with it?
    I found the reason is that amavisd is not running. Because I built tarball from source code, I can not run the amavisd, it always displayes:
    [zimbra@hd-t3948cl bin]$ zmcontrol status
    Host hd-t3948cl.privatedns.com
    antispam Stopped
    zmamavisdctl is not running
    antivirus Stopped
    zmamavisdctl is not running
    ldap Running
    logger Running
    mailbox Running
    mta Running
    snmp Running
    spell Running
    if I run ./zmamavisdctl start @ /opt/zimbra/bin,
    it then shows:

    [zimbra@hd-t3948cl bin]$ Config file "/opt/zimbra/conf/amavisd.conf" is owned by EUID 502, should be owned by root, at /opt/zimbra/amavisd/sbin/amavisd line 1201.

    although I changed the owner to root, it still showed above information.

    So, how can I run amavisd (I used amavisd-new-2.4.1)?

    zimbra starting log
    Code:
    Sep  5 18:39:41 hd-t3948cl zimbramon[19211]: 19211:info: Starting services
    Sep  5 18:39:41 hd-t3948cl slapd[19272]: @(#) $OpenLDAP: slapd 2.3.21 (Sep  1 2006 12:22:29) $  root@hd-t3948cl.privatedns.com:/home/smartdoctor/zimbra/ThirdParty/openldap/openldap-2.3.21/servers/slapd
    Sep  5 18:39:51 hd-t3948cl zimbramon[19211]: 19211:info: Starting logger
    Sep  5 18:39:51 hd-t3948cl zimbramon[19211]: 19211:info: Starting mailbox
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[19994]: status requested
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[19994]: file /opt/zimbra/log/zmtomcatmgr.pid does not exist
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[19994]: assuming no other instance is running
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[19994]: no manager process is running
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[20001]: start requested
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[20001]: checking if another instance of manager is already running
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[20001]: file /opt/zimbra/log/zmtomcatmgr.pid does not exist
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[20001]: assuming no other instance is running
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[20002]: wrote manager pid 20002 to /opt/zimbra/log/zmtomcatmgr.pid
    Sep  5 18:39:59 hd-t3948cl zimbramon[19211]: 19211:info: Starting antispam
    Sep  5 18:39:59 hd-t3948cl zmtomcatmgr[20002]: manager started tomcat/JVM with pid 20003
    Sep  5 18:39:59 hd-t3948cl zimbramon[19211]: 19211:info: Starting antivirus
    Sep  5 18:40:00 hd-t3948cl clamd[20178]: Daemon started.
    Sep  5 18:40:00 hd-t3948cl clamd[20178]: clamd daemon 0.88.4 (OS: linux-gnu, ARCH: i386, CPU: i686)
    Sep  5 18:40:00 hd-t3948cl clamd[20178]: Log file size limited to 20971520 bytes.
    Sep  5 18:40:00 hd-t3948cl clamd[20178]: Reading databases from /opt/zimbra/clamav/db
    Sep  5 18:40:00 hd-t3948cl zimbramon[19211]: 19211:info: Starting snmp
    Sep  5 22:40:01 hd-t3948cl postfix/postqueue[20199]: fatal: Queue report unavailable - mail system is down
    Sep  5 18:40:01 hd-t3948cl zimbramon[19211]: 19211:info: Starting spell
    Sep  5 18:40:02 hd-t3948cl zimbramon[19211]: 19211:info: Starting mta
    Sep  5 18:40:02 hd-t3948cl zimbramon[20184]: 20184:info: 2006-09-05 18:40:01, QUEUE: 0 0
    Sep  5 18:40:03 hd-t3948cl zimbramon[20188]: 20188:info: 2006-09-05 18:40:01, DISK: hd-t3948cl.privatedns.com: dev: /dev/hda5, mp: /, tot: 71837, avail: 59340
    Sep  5 18:40:03 hd-t3948cl zimbramon[20188]: 20188:info: 2006-09-05 18:40:01, DISK: hd-t3948cl.privatedns.com: dev: /dev/hda1, mp: /boot, tot: 99, avail: 76
    Sep  5 18:40:03 hd-t3948cl zimbramon[20188]: 20188:info: 2006-09-05 18:40:01, DISK: hd-t3948cl.privatedns.com: dev: /dev/hda3, mp: /tmp, tot: 992, avail: 902
    Sep  5 22:40:07 hd-t3948cl postfix/postqueue[20364]: fatal: Queue report unavailable - mail system is down
    Sep  5 18:40:12 hd-t3948cl clamd[20178]: Protecting against 67730 viruses.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Bound to port 3310
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Setting connection queue length to 15
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Archive: Archived file size limit set to 104857600 bytes.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Archive: Recursion level limit set to 8.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Archive: Files limit set to 1000.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Archive: Compression ratio limit set to 250.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Archive support enabled.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Archive: RAR support disabled.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Portable Executable support enabled.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Mail files support enabled.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: OLE2 support enabled.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: HTML support enabled.
    Sep  5 18:40:12 hd-t3948cl clamd[20579]: Self checking every 1800 seconds.
    Sep  5 18:40:13 hd-t3948cl postfix/postfix-script: warning: not owned by root: /opt/zimbra/postfix-2.2.9/conf/main.cf
    Sep  5 18:40:13 hd-t3948cl postfix/postfix-script: starting the Postfix mail system
    Sep  5 18:40:13 hd-t3948cl postfix/master[20610]: daemon started -- version 2.2.9, configuration /opt/zimbra/postfix-2.2.9/conf
    Sep  5 18:40:14 hd-t3948cl zmtomcatmgr[20756]: status requested
    Sep  5 18:40:14 hd-t3948cl zmtomcatmgr[20756]: status OK
    Sep  5 18:40:14 hd-t3948cl zimbramon[20190]: 20190:info: 2006-09-05 18:40:01, STATUS: hd-t3948cl.privatedns.com: antispam: Stopped
    Sep  5 18:40:14 hd-t3948cl zimbramon[20190]: 20190:info: 2006-09-05 18:40:01, STATUS: hd-t3948cl.privatedns.com: antivirus: Stopped
    Sep  5 18:40:14 hd-t3948cl zimbramon[20190]: 20190:info: 2006-09-05 18:40:01, STATUS: hd-t3948cl.privatedns.com: ldap: Running
    Sep  5 18:40:14 hd-t3948cl zimbramon[20190]: 20190:info: 2006-09-05 18:40:01, STATUS: hd-t3948cl.privatedns.com: logger: Running
    Sep  5 18:40:14 hd-t3948cl zimbramon[20190]: 20190:info: 2006-09-05 18:40:01, STATUS: hd-t3948cl.privatedns.com: mailbox: Running
    Sep  5 18:40:14 hd-t3948cl zimbramon[20190]: 20190:info: 2006-09-05 18:40:01, STATUS: hd-t3948cl.privatedns.com: mta: Running
    Sep  5 18:40:14 hd-t3948cl zimbramon[20190]: 20190:info: 2006-09-05 18:40:01, STATUS: hd-t3948cl.privatedns.com: snmp: Running
    Sep  5 18:40:14 hd-t3948cl zimbramon[20190]: 20190:info: 2006-09-05 18:40:01, STATUS: hd-t3948cl.privatedns.com: spell: Running
    Sep  5 18:42:03 hd-t3948cl zmtomcatmgr[21079]: status requested
    Sep  5 18:42:03 hd-t3948cl zmtomcatmgr[21079]: status OK
    Last edited by wildhuman; 09-05-2006 at 03:40 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Installation Problem
    By Ju-Pao in forum Installation Help
    Replies: 39
    Last Post: 05-15-2007, 02:54 PM
  2. Installs but won't start on Linux FC6
    By iain in forum General Questions
    Replies: 6
    Last Post: 03-29-2007, 10:19 AM
  3. 3.0 to 4.5.3 Upgrade failed (mysql error)
    By dealt in forum Installation
    Replies: 35
    Last Post: 03-19-2007, 10:30 PM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •