Results 1 to 8 of 8

Thread: dspam logrotate errors

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    47
    Rep Power
    8

    Default dspam logrotate errors

    I am getting error messages from cron every night that say:

    Cannot open input file: /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.log.in
    No such file or directory at /opt/zimbra/dspam/bin/dspam_logrotate line 41.

    Subject: Cron <zimbra@mailhost> /opt/zimbra/dspam/bin/dspam_logrotate -a 60 /opt/zimbra/dspam/var/dspam/data/z/i/zimbra/zimbra.log

    I checked, and there is nothing on my 4.51 OS installation past /opt/zimbra/dspam/var/dspam ... and that directory is empty.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    DSPAM is disabled in the 4.5 versions of Zimbra, does the 'missing' log actually exist? Was this a new install or an upgrade?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Feb 2007
    Posts
    47
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    DSPAM is disabled in the 4.5 versions of Zimbra, does the 'missing' log actually exist? Was this a new install or an upgrade?
    No, the log doesn't exist. As noted in my original post, the directory it's supposed to be in doesn't even exist!

    It was initially a new install of zcs-NETWORK-4.5.1_GA_660.RHEL4.tgz, then downgraded to zcs-4.5.1_GA_660.RHEL4.tgz.

    One of those two must have installed the offending logrotate stuff. Should I just delete it?

    I did search the forums for the error without success. Wiki too.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Could you check in bugzilla to see if there's a bug report for the logrotate getting installed for a new install and no dspam? If there isn't an entry for it could you file a bug, thanks.

    Yes, I'd remove or disable the offending item.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Feb 2007
    Posts
    47
    Rep Power
    8

    Default

    It's actually not just the logrotate that got installed:

    mailhost:/opt/zimbra/dspam/bin# rpm -qf /opt/zimbra/dspam/bin/dspam_logrotate
    zimbra-mta-4.5.1_GA_660.RHEL4-20070201185254
    mailhost:/opt/zimbra/dspam/bin# ls -alR /opt/zimbra/dspam
    lrwxrwxrwx 1 root root 23 Feb 9 12:49 /opt/zimbra/dspam -> /opt/zimbra/dspam-3.6.2/
    mailhost:/opt/zimbra/dspam/bin# ls -alR /opt/zimbra/dspam-3.6.2/
    /opt/zimbra/dspam-3.6.2/:
    total 28
    drwxr-xr-x 7 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 40 root root 4096 Feb 9 12:52 ../
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 19 09:42 bin/
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 include/
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 lib/
    drwxr-xr-x 4 zimbra zimbra 4096 Feb 9 12:49 man/
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 var/

    /opt/zimbra/dspam-3.6.2/bin:
    total 1160
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 19 09:42 ./
    drwxr-xr-x 7 zimbra zimbra 4096 Feb 9 12:49 ../
    -rwxr-xr-x 1 zimbra zimbra 38288 Feb 1 18:56 cssclean*
    -rwxr-xr-x 1 zimbra zimbra 38483 Feb 1 18:56 csscompress*
    -rwxr-xr-x 1 zimbra zimbra 38258 Feb 1 18:56 cssconvert*
    -rwxr-xr-x 1 zimbra zimbra 38415 Feb 1 18:56 cssstat*
    -r-x--x--- 1 zimbra zimbra 350627 Oct 19 13:27 dspam*
    -rwxr-xr-x 1 zimbra zimbra 78721 Feb 1 18:56 dspam_2sql*
    -rwxr-xr-x 1 zimbra zimbra 78960 Feb 1 18:56 dspam_admin*
    -rwxr-xr-x 1 zimbra zimbra 41673 Feb 1 18:56 dspamc*
    -rwxr-xr-x 1 zimbra zimbra 82910 Feb 1 18:56 dspam_clean*
    -rwxr-xr-x 1 zimbra zimbra 3522 Oct 19 13:27 dspam_corpus*
    -rwxr-xr-x 1 zimbra zimbra 69453 Feb 1 18:56 dspam_crc*
    -rwxr-xr-x 1 zimbra zimbra 78663 Feb 1 18:56 dspam_dump*
    -rwxr-xr-x 1 zimbra zimbra 6483 Oct 19 13:27 dspam_genaliases*
    -rwxr-xr-x 1 zimbra zimbra 3569 Oct 19 13:27 dspam_logrotate*
    -rwxr-xr-x 1 zimbra zimbra 78657 Feb 1 18:56 dspam_merge*
    -rwxr-xr-x 1 zimbra zimbra 82952 Feb 1 18:56 dspam_stats*

    /opt/zimbra/dspam-3.6.2/include:
    total 12
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 7 zimbra zimbra 4096 Feb 9 12:49 ../
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 9 12:49 dspam/

    /opt/zimbra/dspam-3.6.2/include/dspam:
    total 76
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 ../
    -rw-r--r-- 1 zimbra zimbra 1072 Oct 19 13:27 buffer.h
    -rw-r--r-- 1 zimbra zimbra 2264 Oct 19 13:27 config.h
    -rw-r--r-- 1 zimbra zimbra 1438 Oct 19 13:27 config_shared.h
    -rw-r--r-- 1 zimbra zimbra 4920 Oct 19 13:27 decode.h
    -rw-r--r-- 1 zimbra zimbra 2215 Oct 19 13:27 diction.h
    -rw-r--r-- 1 zimbra zimbra 1419 Oct 19 13:27 error.h
    -rw-r--r-- 1 zimbra zimbra 1537 Oct 19 13:27 heap.h
    -rw-r--r-- 1 zimbra zimbra 3307 Oct 19 13:27 libdspam.h
    -rw-r--r-- 1 zimbra zimbra 13472 Oct 19 13:27 libdspam_objects.h
    -rw-r--r-- 1 zimbra zimbra 2501 Oct 19 13:27 nodetree.h
    -rw-r--r-- 1 zimbra zimbra 6647 Oct 19 13:27 storage_driver.h
    -rw-r--r-- 1 zimbra zimbra 2132 Oct 19 13:27 tokenizer.h

    /opt/zimbra/dspam-3.6.2/lib:
    total 480
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 7 zimbra zimbra 4096 Feb 9 12:49 ../
    -rw-r--r-- 1 zimbra zimbra 87932 Feb 1 18:57 libdspam.a
    -rwxr-xr-x 1 zimbra zimbra 820 Oct 19 13:27 libdspam.la*
    lrwxrwxrwx 1 zimbra zimbra 17 Feb 9 12:49 libdspam.so -> libdspam.so.7.0.0*
    lrwxrwxrwx 1 zimbra zimbra 17 Feb 9 12:49 libdspam.so.7 -> libdspam.so.7.0.0*
    -rwxr-xr-x 1 zimbra zimbra 193602 Oct 19 13:27 libdspam.so.7.0.0*
    -rw-r--r-- 1 zimbra zimbra 14842 Feb 1 18:57 libhash_drv.a
    -rwxr-xr-x 1 zimbra zimbra 841 Oct 19 13:27 libhash_drv.la*
    lrwxrwxrwx 1 zimbra zimbra 20 Feb 9 12:49 libhash_drv.so -> libhash_drv.so.7.0.0*
    lrwxrwxrwx 1 zimbra zimbra 20 Feb 9 12:49 libhash_drv.so.7 -> libhash_drv.so.7.0.0*
    -rwxr-xr-x 1 zimbra zimbra 43249 Oct 19 13:27 libhash_drv.so.7.0.0*
    -rw-r--r-- 1 zimbra zimbra 30432 Feb 1 18:57 libmysql_drv.a
    -rwxr-xr-x 1 zimbra zimbra 890 Oct 19 13:27 libmysql_drv.la*
    lrwxrwxrwx 1 zimbra zimbra 21 Feb 9 12:49 libmysql_drv.so -> libmysql_drv.so.7.0.0*
    lrwxrwxrwx 1 zimbra zimbra 21 Feb 9 12:49 libmysql_drv.so.7 -> libmysql_drv.so.7.0.0*
    -rwxr-xr-x 1 zimbra zimbra 73519 Oct 19 13:27 libmysql_drv.so.7.0.0*
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 9 12:49 pkgconfig/

    /opt/zimbra/dspam-3.6.2/lib/pkgconfig:
    total 12
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 ../
    -rw-r--r-- 1 zimbra zimbra 229 Oct 19 13:27 dspam.pc

    /opt/zimbra/dspam-3.6.2/man:
    total 16
    drwxr-xr-x 4 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 7 zimbra zimbra 4096 Feb 9 12:49 ../
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 9 12:49 man1/
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 9 12:49 man3/

    /opt/zimbra/dspam-3.6.2/man/man1:
    total 44
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 4 zimbra zimbra 4096 Feb 9 12:49 ../
    -rw-r--r-- 1 zimbra zimbra 12437 Oct 19 13:27 dspam.1
    -rw-r--r-- 1 zimbra zimbra 2320 Oct 19 13:27 dspam_clean.1
    -rw-r--r-- 1 zimbra zimbra 1429 Oct 19 13:27 dspam_corpus.1
    -rw-r--r-- 1 zimbra zimbra 1518 Oct 19 13:27 dspam_dump.1
    -rw-r--r-- 1 zimbra zimbra 1832 Oct 19 13:27 dspam_merge.1
    -rw-r--r-- 1 zimbra zimbra 1615 Oct 19 13:27 dspam_stats.1

    /opt/zimbra/dspam-3.6.2/man/man3:
    total 16
    drwxr-xr-x 2 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 4 zimbra zimbra 4096 Feb 9 12:49 ../
    lrwxrwxrwx 1 zimbra zimbra 43 Feb 9 12:49 dspam_addattribute.3 -> /opt/zimbra/dspam-3.6.2/man/man3/libdspa .3
    lrwxrwxrwx 1 zimbra zimbra 43 Feb 9 12:49 dspam_attach.3 -> /opt/zimbra/dspam-3.6.2/man/man3/libdspam.3
    lrwxrwxrwx 1 zimbra zimbra 43 Feb 9 12:49 dspam_create.3 -> /opt/zimbra/dspam-3.6.2/man/man3/libdspam.3
    lrwxrwxrwx 1 zimbra zimbra 43 Feb 9 12:49 dspam_destroy.3 -> /opt/zimbra/dspam-3.6.2/man/man3/libdspam.3
    lrwxrwxrwx 1 zimbra zimbra 43 Feb 9 12:49 dspam_detach.3 -> /opt/zimbra/dspam-3.6.2/man/man3/libdspam.3
    lrwxrwxrwx 1 zimbra zimbra 43 Feb 9 12:49 dspam_getsource.3 -> /opt/zimbra/dspam-3.6.2/man/man3/libdspam.3
    lrwxrwxrwx 1 zimbra zimbra 43 Feb 9 12:49 dspam_init.3 -> /opt/zimbra/dspam-3.6.2/man/man3/libdspam.3
    lrwxrwxrwx 1 zimbra zimbra 43 Feb 9 12:49 dspam_process.3 -> /opt/zimbra/dspam-3.6.2/man/man3/libdspam.3
    -rw-r--r-- 1 zimbra zimbra 6671 Oct 19 13:27 libdspam.3

    /opt/zimbra/dspam-3.6.2/var:
    total 12
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 ./
    drwxr-xr-x 7 zimbra zimbra 4096 Feb 9 12:49 ../
    drwxr-x--- 2 zimbra zimbra 4096 Oct 19 13:27 dspam/

    /opt/zimbra/dspam-3.6.2/var/dspam:
    total 8
    drwxr-x--- 2 zimbra zimbra 4096 Oct 19 13:27 ./
    drwxr-xr-x 3 zimbra zimbra 4096 Feb 9 12:49 ../
    mailhost:/opt/zimbra/dspam/bin#

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Oh yes, DSPAM gets installed but it's just not activated - it's not been removed completely from the package. The logrotate is a problem for new installs, I'd still like you to file it in bugzilla if you wouldn't mind.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Similar Threads

  1. Enabling DSPAM
    By plan9 in forum Administrators
    Replies: 6
    Last Post: 07-18-2007, 10:55 AM
  2. Spam Training: How to properly train DSPAM?
    By Tenshi in forum Installation
    Replies: 14
    Last Post: 05-23-2007, 04:08 AM
  3. Configuring and using DSPAM
    By JoshuaPrismon in forum Administrators
    Replies: 55
    Last Post: 03-02-2007, 08:08 AM
  4. Upgrading to 3.1.3 errors sumary
    By kowell in forum Administrators
    Replies: 8
    Last Post: 06-25-2006, 12:11 AM
  5. Rewrote zmtrainsa for DSPAM
    By unilogic in forum Developers
    Replies: 18
    Last Post: 01-12-2006, 05:03 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
  •