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

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 12-22-2011, 01:46 PM
Active Member
 
Posts: 43
Default Daily report not running..

Noticed the daily report not running

Checked mail.log

tail /var/log/mail.log
Dec 22 15:40:53 mail postfix/smtpd[9989]: disconnect from localhost[127.0.0.1]
Dec 22 15:40:53 mail postfix/smtpd[9988]: warning: Illegal address syntax from localhost[127.0.0.1] in RCPT command: <>
Dec 22 15:40:53 mail postfix/smtpd[9988]: warning: non-SMTP command from localhost[127.0.0.1]: Subject: Daily mail report for 2011-12-22
Dec 22 15:40:53 mail postfix/smtpd[9988]: disconnect from localhost[127.0.0.1]
Dec 22 15:41:45 mail zmmailboxdmgr[10077]: status requested
Dec 22 15:41:45 mail zmmailboxdmgr[10077]: status OK
Dec 22 15:41:45 mail zmmailboxdmgr[10085]: status requested
Dec 22 15:41:45 mail zmmailboxdmgr[10085]: status OK
Dec 22 15:42:05 mail zmmailboxdmgr[10501]: status requested
Dec 22 15:42:05 mail zmmailboxdmgr[10501]: status OK



/opt/zimbra/libexec/zmdailyreport -m
log4j:WARN No appenders could be found for logger (zimbra.misc).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for more in fo.
ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming. CommunicationException localhost:389)
Use of uninitialized value $val in string eq at /opt/zimbra/libexec/zmdailyrepor t line 167, <CONF> line 520.
log4j:WARN No appenders could be found for logger (zimbra.misc).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See Apache log4j 1.2 - Frequently Asked Technical Questions for more info.
ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming.CommunicationException localhost:389)
Reply With Quote
  #2 (permalink)  
Old 12-23-2011, 02:17 AM
Elite Member
 
Posts: 338
Default

Can you print the output of zmcontrol command?
ERROR: service.FAILURE (system failure: ZimbraLdapContext) (cause: javax.naming. CommunicationException localhost:389)
maybe that is your error, ldap is not running.
Reply With Quote
  #3 (permalink)  
Old 01-03-2012, 02:06 PM
Active Member
 
Posts: 43
Default

Odd, now when I run it i get no errors


zimbra@mail:~$ /opt/zimbra/libexec/zmdailyreport -m
zimbra@mail:~$ tail /var/log/mail.log
Jan 3 16:04:06 mail postfix/qmgr[29199]: 2364141BE0: removed
Jan 3 16:04:18 mail postfix/smtpd[5486]: warning: 173.221.114.140: hostname 173.221.114.140.nw.nuvox.net verification failed: Name or service not known
Jan 3 16:04:18 mail postfix/smtpd[5486]: connect from unknown[173.221.114.140]
Jan 3 16:04:19 mail zmmailboxdmgr[5662]: status requested
Jan 3 16:04:19 mail zmmailboxdmgr[5662]: status OK
Jan 3 16:04:19 mail zmmailboxdmgr[5670]: status requested
Jan 3 16:04:19 mail zmmailboxdmgr[5670]: status OK
Jan 3 16:04:21 mail postfix/smtpd[5486]: lost connection after EHLO from unknown[173.221.114.140]
Jan 3 16:04:21 mail postfix/smtpd[5486]: disconnect from unknown[173.221.114.140]
Jan 3 16:04:35 mail postfix/smtpd[5478]: connect from 173.221.114.140.nw.nuvox.net[173.221.114.140]

zimbra@mail:~$ zmcontrol status
Host mail.amsi2.com
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running
zmconfigd Running
Reply With Quote
  #4 (permalink)  
Old 01-03-2012, 02:15 PM
Elite Member
 
Posts: 334
Default

Quote:
Originally Posted by GiZiM View Post
Odd, now when I run it i get no errors
Does this means your problem was solved? If not yet, what is the relevant lines from /var/log/zimbra.log and /opt/zimbra/log/mailboz.log when you run the following command :

Code:
/opt/zimbra/libexec/zmdailyreport -m
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #5 (permalink)  
Old 01-03-2012, 02:56 PM
Active Member
 
Posts: 43
Default

Quote:
Originally Posted by vavai View Post
Does this means your problem was solved? If not yet, what is the relevant lines from /var/log/zimbra.log and /opt/zimbra/log/mailboz.log when you run the following command :

Code:
/opt/zimbra/libexec/zmdailyreport -m
Not solved,

This is in the zimbra.log

[Bash] Zimbra - Pastebin.com

All other mail is flowing fine
Reply With Quote
  #6 (permalink)  
Old 01-03-2012, 03:12 PM
Elite Member
 
Posts: 334
Default

From your log, it seems that Daily Mail Report was successfully generated but send to admin@mail.domain.com instead of admin@domain.com.

I supposed that your working domain is domain.com, is this true?

Did you change your domain name setting? Do you have multi domain on Zimbra?

Note : You may resolve your issue by create mail.domain.com as an alias of domain.com but the above question may help us to know what setting related to your problem.
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #7 (permalink)  
Old 01-03-2012, 03:29 PM
Active Member
 
Posts: 43
Default

Quote:
Originally Posted by vavai View Post
From your log, it seems that Daily Mail Report was successfully generated but send to admin@mail.domain.com instead of admin@domain.com.

I supposed that your working domain is domain.com, is this true?

Did you change your domain name setting? Do you have multi domain on Zimbra?

Note : You may resolve your issue by create mail.domain.com as an alias of domain.com but the above question may help us to know what setting related to your problem.
I have two local hosts
domain.com
and
mail.domain.com

I did do a alias from day one, when i check the admin account it is assigned to domain.com not the other which is mail.domain.com.

I originally had an issue that to email someone they had to use name@mail.domain.com so i reconfigured everything and used just domain.com. The webhost is mail.domain.com but the MX record is for domain.com

Fixed: I changed the admin account to use admin@mail.domain.com and not admin@domain.
Reply With Quote
  #8 (permalink)  
Old 01-03-2012, 03:49 PM
Elite Member
 
Posts: 334
Default

Quote:
Originally Posted by GiZiM View Post
Fixed: I changed the admin account to use admin@mail.domain.com and not admin@domain.
OK, glad to heard that you solved this. Your problem occurred because the original domain on initial setup was mail.domain.com. in many cases these problems are usually associated with the configuration of DNS Server.

You can rename domain with :

Code:
zmprov -l rd [olddomain.com] [newdomain.com]
But this does not need to do if your problem was solved successfully.
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
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.