Results 1 to 10 of 10

Thread: zmtrainsa exception

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Posts
    6
    Rep Power
    9

    Default zmtrainsa exception

    Hello:

    I have open source edition release 3.1.1_GA394 installed on Fedora Core 3 and am running into a problem with the zmtrainsa and auto-learning of spam/ham. This installation has been upgraded since the 3.0 M1 release and although I haven't had any significant problems I never had the spam/ham training accounts created. (At the very least I don't remember having removed them.)

    I followed the instructions here to create the two training accounts and create the configuration parameters. To try things out I am running zmtrainsa from the command line as the Zimbra user. What I get back is an exception when it tries to run zmspamextract:

    [zimbra@mail1 ~]$ /opt/zimbra/bin/zmtrainsa
    Exception in thread "main" com.zimbra.cs.service.ServiceException: system failure: admin auth failed url=https://mail1.ldotc.com:7071/service/admin/soap/
    at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)
    at com.zimbra.cs.util.SpamExtract.getAdminAuthToken(S pamExtract.java:446)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:198)
    Caused by: com.zimbra.soap.SoapFaultException: authentication failed for zimbra
    at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:97)
    at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:140)
    at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:127)
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
    at com.zimbra.soap.SoapTransport.invokeWithoutSession (SoapTransport.java:186)
    at com.zimbra.cs.util.SpamExtract.getAdminAuthToken(S pamExtract.java:441)
    ... 1 more
    Exception in thread "main" com.zimbra.cs.service.ServiceException: system failure: admin auth failed url=https://mail1.ldotc.com:7071/service/admin/soap/
    at com.zimbra.cs.service.ServiceException.FAILURE(Ser viceException.java:131)
    at com.zimbra.cs.util.SpamExtract.getAdminAuthToken(S pamExtract.java:446)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:198)
    Caused by: com.zimbra.soap.SoapFaultException: authentication failed for zimbra
    at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:97)
    at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:140)
    at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:127)
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
    at com.zimbra.soap.SoapTransport.invokeWithoutSession (SoapTransport.java:186)
    at com.zimbra.cs.util.SpamExtract.getAdminAuthToken(S pamExtract.java:441)
    ... 1 more
    bayes: perform_upgrade: bayes: unable to find bayes_toks and bayes_seen, stopping

    archive-iterator: readdir found no mail in '/tmp/spam.3290' directory
    Learned from 0 message(s) (0 message(s) examined).
    archive-iterator: readdir found no mail in '/tmp/ham.3290' directory
    Learned from 0 message(s) (0 message(s) examined).
    bayes: synced databases from journal in 0 seconds: 302 unique entries (304 total entries)
    dspam_clean starting
    PROCESSING USER: zimbra
    Processing sigs; age: 14
    Processing probabilities; age: 0
    Processing unused; any: 90 quota: 30 nospam: 15 onehit: 15


    Is there an additional step in creating the spam training users? I just set them up from within the admin console under the default COS. I tried both with, and without passwords and had the same results either way.

    Thanks Much,

    Terry

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Hi ldotc and welcome!

    Code:
    Exception in thread "main" com.zimbra.cs.service.ServiceException: system failure: admin auth failed url=https://mail1.ldotc.com:7071/service/admin/soap/
    The problem is an access denied message, and not a crash (I assume you probably knew that

    So, let's look and see what your authentications return by running(AS Zimbra):
    zmprov gs [FQDN here] | grep zimbraMtaAuth
    zmprov gs [FQDN here] | grep zimbraMailMode
    zmprov gs [FQDN here] | grep zimbraMailPort
    zmprov gs [FQDN here] | grep zimbraMailSSLPort

    Please post the results here so we can look through them. You are welcome to edit out the domain name so that no one tries to hack into your domain.



    Good luck

  3. #3
    Join Date
    Feb 2006
    Posts
    6
    Rep Power
    9

    Default

    O.K. Here's what I came up with:

    > zmprov gs mail1.ldotc.com | grep zimbraMtaAuth
    zimbraMtaAuthEnabled: TRUE
    zimbraMtaAuthHost: mail1.ldotc.com
    zimbraMtaAuthURL: http://mail1.ldotc.com:80/service/soap/

    > zmprov gs mail1.ldotc.com | grep zimbraMailMode
    zimbraMailMode: http

    > zmprov gs mail1.ldotc.com | grep zimbraMailPort
    zimbraMailPort: 80

    > zmprov gs mail1.ldotc.com | grep zimbraMailSSLPort
    zimbraMailSSLPort: 443

    Terry

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    I was thinking it was the auth url. . .but Kevin is online. I'll ask him.


  5. #5
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Maybe try to reset your admin password.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  6. #6
    Join Date
    Feb 2006
    Posts
    6
    Rep Power
    9

    Default

    I just gave it a try but it did not make any difference. zmspamextract failed with the same exception text logged.

    Terry

Similar Threads

  1. Zimbra Mobile fails with Java Exception
    By JasonChase in forum Zimbra Mobile
    Replies: 7
    Last Post: 01-21-2008, 07:25 PM
  2. Can not reach https://example.com:7017/zimbraAdmin
    By Max Ma in forum Installation
    Replies: 14
    Last Post: 03-31-2007, 10:14 AM
  3. Replies: 3
    Last Post: 12-18-2006, 11:50 PM
  4. spamassassin not learn, zmtrainsa ignores junked mail
    By lukefilewalker in forum Administrators
    Replies: 0
    Last Post: 11-20-2006, 09:36 AM
  5. Rewrote zmtrainsa for DSPAM
    By unilogic in forum Developers
    Replies: 18
    Last Post: 01-12-2006, 06: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
  •