Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-05-2006, 01:12 PM
Senior Member
 
Posts: 64
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..
Reply With Quote
  #2 (permalink)  
Old 09-05-2006, 03:35 PM
Senior Member
 
Posts: 64
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..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.