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 09-30-2009, 08:45 AM
Special Member
 
Posts: 174
Default [SOLVED] dspam error during zmtrainsa

I get this error when running zmtrainsa. It happens one system I am running that is version 5.0.18 when running zmtrainsa on 6.0.1 it runs fine. Where do I look for the problem?
Bill B

20090930111433 Starting spamassassin training.
netset: cannot include 127.0.0.0/8 as it has already been included
Learned tokens from 0 message(s) (81 message(s) examined)
netset: cannot include 127.0.0.0/8 as it has already been included
Learned tokens from 0 message(s) (0 message(s) examined)
netset: cannot include 127.0.0.0/8 as it has already been included
20090930111442 Finished spamassassin training.
20090930111442 Starting dspam training
Taking Snapshot...
zimbra TP: 0 TN: 0 FP: 0 FN: 0 SC: 0 NC: 0
Training /tmp/ham.NrK5361 / /tmp/spam.cIp5360 corpora...
[test: spam ] 1240b8443f9-26 result: sh: /opt/zimbra/dspam-3.8.0/bin/dspam: Permission denied

===== WOAH THERE =====
I was unable to parse the result. Test Broken.
======================
dspam_clean starting
PROCESSING USER: zimbra
Processing sigs; age: 14
Processing probabilities; age: 0
Processing unused; any: 90 quota: 30 nospam: 15 onehit: 15
20090930111442 Finished dspam training
zimbra@ms1:~/clamav/scamp-5.2$
Reply With Quote
  #2 (permalink)  
Old 09-30-2009, 11:04 AM
Zimbra Employee
 
Posts: 604
Default

Make sure /opt/zimbra/dspam-3.8.0/bin/dspam exists and is executable.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 09-30-2009, 07:46 PM
Special Member
 
Posts: 174
Default

yes, everything is there in bin. When I execute from the folder I get 'dspam not installed' but I had it working earlier in the week. sometimes it works and then reads the spam and sometimes I get the message I posted here. I thought it might have to do with permissions so I ran zmfixperms from root but it didnt change anything. Is there a directory tree I could look at to see what folders in zimbra are supposed to be owned by zimbra and which ones are root?
Bill
Reply With Quote
  #4 (permalink)  
Old 09-30-2009, 08:12 PM
Special Member
 
Posts: 174
Default

after comparing both of my systems I found that the 6.0.1 had dspam folder owned by root but the dsapm-3.8.0 was owned by zimbra.
my 5.0.18 had them both owned by root. When I changed it to match it ran without a problem.
will mark this one solved.
Bill
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.