Results 1 to 10 of 10

Thread: Problems with Zimbra Cron Jobs

  1. #1
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default Problems with Zimbra Cron Jobs

    I'm having problems with a couple of the Zimbra cron jobs. The first issue is with the "zmpurgemessages" perl script. When it is run through cron it just does not work. I've changed the line in the crontab file to dump output to a file, and the message I get is "Received SOAP fault: authentication failed for zimbra (empty password)". But if I run the command from the system prompt, logged in as the zimbra user, it runs fine. I posted about this problem a few months back, and never got a solution. I've been living with it, since I can run it manually, but figured now that I've got another "cron" problem I'd try again for a solution to this one.

    The second problem is with the "zmtrainsa" script, specifically when it calls the dspam_clean program. This process has been running fine up until late last week. However, starting late last week I would come in to work to find that email delivery had stopped. In researching this issue I found that the dspam_clean process was still running and taking up 80+% of the CPU and a good chunk of memory also. The only thing I could do was kill this process and then stop and start zimbra. I have since commented out the call to dspam_clean and things seem to be back to normal, but I'm sure this process should be running. I'm still testing and evaluating Zimbra, so at this pont the server isn't necessarily "mission-critical". However one of the accounts I do have on this server is a "spam" account, where spam messages from our email gateway are dumped. I don't if we have simply overloaded the server with spam, and this is causing problems.

    If anyone has any suggestions on how to fix either problem they would be very much appreciated.

    TIA,
    John

  2. #2
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    What version are you on? These are both fixed in 3.2 and I think the first is also fixed in 3.1.4
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    I'm currently running 3.1.0_GA_328 (OSE). I'll try upgrading to 3.1.4. Version 3.2 isn't officially released yet, is it?

  4. #4
    bobby is offline Zimbra Employee
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    10

    Default

    the first problem is Bug 8716 - "zmmaintables and zmpurgemessages in cron fail auth". i don't think it's fixed for 3.1.4, but the fix is pretty easy; just edit those scripts and add the path for the zmlocalconfig command (/opt/zimbra/bin/zmlocalconfig)

  5. #5
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    Thanks... upgrading to 3.1.4 didn't fix either problem. I'll try the script modifications for the first problem, and I guess I'll wait until 3.2 is officially released to see if it fixes the second problem.

  6. #6
    ipguru99 is offline Active Member
    Join Date
    Jun 2006
    Posts
    32
    Rep Power
    9

    Default edit the zmpurgemessages script?

    I am having the same problem. i haven't upgraded to 3.1.4 yet, I have to look that up as well ;-)

    But I was intrigued by your comment, 'edit the script'.. and the zmlocalconfig thing.

    Can you explain in more detail? I looked at the script and can't find any mention of a path or zmlocalconfig? I will go look up bug 8716 and see if it is in there.. but I figured just asking might be quicker.

    Thanks!

  7. #7
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    Editing the scripts seemed to fix the problem with zmpurgemessages.

    For the previous poster, the scripts are in /opt/zimbra/libexec. The lines you would edit are 96 for the zmpurgemessages script and 84 for zmmaintaintables.

  8. #8
    ipguru99 is offline Active Member
    Join Date
    Jun 2006
    Posts
    32
    Rep Power
    9

    Default

    Thanks, I have added the path... I will take the root cron out (which I added at your suggestion, and it does work ;-).

    I didn't get to upgrade, very weird problem with my /etc/hosts file doesn't allow me to upgrade to 3.1.4.. but it seems ok enough to be running 3.1.3?? I posted it if you want to take a look
    Please fix your /etc/hosts file...

    Anyway, thanks for the clarification!

  9. #9
    scottp is offline Active Member
    Join Date
    Mar 2006
    Posts
    41
    Rep Power
    9

    Default dspam_clean

    I have analysed the problem with dspam_clean, but not the solution.

    Currently dspam_clean will take up 80% of CPU+ and continue running forever. On logging system calls I discovered it is sitting in a loop calling "time" continually. So it just takes up CPU and does nothing else - no disk or other system calls - just 'time'

    This means that it never succeeds and the spam folder in dspam/var has got to 3.5GB.

    I am running 3.1.0 - and intend to update to 3.1.4 ASAP but I suspect from these threads that it will not solve the problem.

    Scott

  10. #10
    Alfspace is offline Active Member
    Join Date
    Oct 2005
    Posts
    38
    Rep Power
    9

    Question Same problem here

    this week my mta server is doing the same thing, dspam_clean takes a lot of cpu and the queue today was of 3800 messages.

    We upgraded to 3.1.4 since 3 weeks ago.

    What can we do before moving to a new fixed version ?

    Any scripts we could modify ?

    help greatly appreciated.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. upgrade woes -made into new thread
    By JustinHarlow in forum Installation
    Replies: 18
    Last Post: 06-08-2007, 12:11 PM
  2. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  3. svn version still won't start
    By kinaole in forum Developers
    Replies: 0
    Last Post: 10-04-2006, 06:47 AM
  4. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM
  5. Zimbra Processor Output
    By UltraFlux in forum Installation
    Replies: 3
    Last Post: 02-01-2006, 08:23 AM

Posting Permissions

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