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

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 Display Modes
  #1 (permalink)  
Old 02-19-2007, 10:55 AM
Active Member
 
Posts: 47
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.
Reply With Quote
  #2 (permalink)  
Old 02-19-2007, 11:40 AM
Zimbra Consultant & Moderator
 
Posts: 11,320
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
Reply With Quote
  #3 (permalink)  
Old 02-19-2007, 11:53 AM
Active Member
 
Posts: 47
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.
Reply With Quote
  #4 (permalink)  
Old 02-19-2007, 11:57 AM
Zimbra Consultant & Moderator
 
Posts: 11,320
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
Reply With Quote
  #5 (permalink)  
Old 02-19-2007, 11:59 AM
Active Member
 
Posts: 47
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#
Reply With Quote
  #6 (permalink)  
Old 02-19-2007, 12:17 PM
Zimbra Consultant & Moderator
 
Posts: 11,320
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
Reply With Quote
  #7 (permalink)  
Old 02-19-2007, 12:33 PM
Active Member
 
Posts: 47
Default

Bug 14784 Submitted

I did a "crontab -u zimbra -e" and commented the dspam stuff out.
That should stop the cron error messages anyway.

Last edited by michaeln : 02-19-2007 at 12:46 PM.
Reply With Quote
  #8 (permalink)  
Old 02-19-2007, 12:45 PM
Zimbra Consultant & Moderator
 
Posts: 11,320
Default

Thanks very much.
__________________
Regards


Bill
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0