Results 1 to 7 of 7

Thread: zmtrainsa problems

  1. #1
    sturgis is offline Senior Member
    Join Date
    Jan 2007
    Location
    France
    Posts
    71
    Rep Power
    8

    Question zmtrainsa problems

    Hi,
    I just upgraded to the latest version because the zmtrainsa was not working.

    Now I try to run it manually to process the nearly 500 email in the spam training folder and still does not work.
    I have to say that I am in mod_jk (ports 7080 and 7443).
    This is what I get:

    [zimbra@myserver root]$ zmtrainsa
    Exception in thread "main" com.zimbra.soap.SoapFaultException: system failure: Request not allowed on port 7080
    at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:102)
    at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:215)
    at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:191)
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:237)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:199)
    Exception in thread "main" com.zimbra.soap.SoapFaultException: system failure: Request not allowed on port 7080
    at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:102)
    at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:215)
    at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:191)
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:237)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:199)
    Learned from 0 message(s) (0 message(s) examined).
    Learned from 0 message(s) (0 message(s) examined).
    bayes: synced databases from journal in 0 seconds: 46 unique entries (46 total entries)
    /bin/rm: cannot get current directory: Permission denied
    rm: remove.c:378: AD_pop_and_chdir: Assertion `AD_stack_height (ds)' failed.
    /opt/zimbra/bin/zmtrainsa: line 27: 22402 Aborted /bin/rm -rf ${spamdir} ${hamdir}
    [zimbra@myserver root]$ zmtrainsa
    Exception in thread "main" com.zimbra.soap.SoapFaultException: system failure: Request not allowed on port 7080
    at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:102)
    at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:215)
    at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:191)
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:237)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:199)
    Exception in thread "main" com.zimbra.soap.SoapFaultException: system failure: Request not allowed on port 7080
    at com.zimbra.soap.Soap12Protocol.soapFault(Soap12Pro tocol.java:102)
    at com.zimbra.soap.SoapTransport.extractBodyElement(S oapTransport.java:215)
    at com.zimbra.soap.SoapTransport.parseSoapResponse(So apTransport.java:191)
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT ransport.java:214)
    at com.zimbra.cs.util.SpamExtract.extract(SpamExtract .java:237)
    at com.zimbra.cs.util.SpamExtract.main(SpamExtract.ja va:199)
    Learned from 0 message(s) (0 message(s) examined).
    Learned from 0 message(s) (0 message(s) examined).
    bayes: synced databases from journal in 0 seconds: 151 unique entries (151 total entries)
    /bin/rm: cannot get current directory: Permission denied
    rm: remove.c:378: AD_pop_and_chdir: Assertion `AD_stack_height (ds)' failed.
    /opt/zimbra/bin/zmtrainsa: line 27: 23876 Aborted /bin/rm -rf ${spamdir} ${hamdir}


    Anybody could help?
    I cannot eliminate spam if zimbra does not learn...
    Thanks in advance

    Sturgis

  2. #2
    sturgis is offline Senior Member
    Join Date
    Jan 2007
    Location
    France
    Posts
    71
    Rep Power
    8

    Default anybody?

    There is nobody else out there with the same problem???????

    Please help!

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by sturgis View Post
    There is nobody else out there with the same problem???????
    I guess not or maybe they just haven't read your post yet.

    Quote Originally Posted by sturgis View Post
    Please help!
    What have you done to try and resolve the problem? Have you searched the forums or wiki for similar problems of using mod_jk or setting it up correctly? Have you searched bugzilla to see if there's any know problems with mod_jk?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    sturgis is offline Senior Member
    Join Date
    Jan 2007
    Location
    France
    Posts
    71
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    What have you done to try and resolve the problem? Have you searched the forums or wiki for similar problems of using mod_jk or setting it up correctly? Have you searched bugzilla to see if there's any know problems with mod_jk?
    I had this problem before. I did not notice anything until I realized that when training spam account was actually not trained and I was getting the same spam over and over.

    I searched in forums wiki and so, and looked like the solution was to upgrade from my 4.5 to the latest. There was a problem with permissions.
    Anyway, i decided to go ahead and upgrade. It is a pain because I have to customize everything every time in order to make it work on mod_jk every time I upgrade.... I do follow the wiki for that, but for my surprise the problem is still there. My spam account has over 500 emails and the zmtrainsa does not work...
    In post I pasted the results when I run zmtransa manualy.

    Let's hope that somebody has an answer...
    A a matter of fact it would be nice to have the option of mod_jk when installing... thinks like "documents" and calendar links working ...

    Thanks for your answer Bill. If you have an idea of where I should look for the answer I would appreciate it.

  5. #5
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    I'm afraid I don't know how to help you with mod_jk but if you search the forums for the words 'port' & '7080' you'll find some threads that might help you. I don't think it's a problem with zmtrainsa but this error seeme to give a clue:

    Code:
    Exception in thread "main" com.zimbra.soap.SoapFaultException: system failure: Request not allowed on port 7080
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    sturgis is offline Senior Member
    Join Date
    Jan 2007
    Location
    France
    Posts
    71
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    I'm afraid I don't know how to help you with mod_jk but if you search the forums for the words 'port' & '7080' you'll find some threads that might help you. I don't think it's a problem with zmtrainsa but this error seeme to give a clue:

    Code:
    Exception in thread "main" com.zimbra.soap.SoapFaultException: system failure: Request not allowed on port 7080
    Thanks Bill.
    It looks like I'm the only one posting to the forum regarding mod_jk issues... I guess everybody else is happy installing zimbra out of the box, but if you have only one internet connection and a web server, mod_jk is the way to go...

    I don't see why the request is not allowed on port 7080 when running it manually. The only files you change for mod_jk are in the tomcat conf:
    server.xml
    server.xml.in
    service.web.xml.in
    and:
    webapps/service/WEB-INF/web.xml
    webapps/service/WEB-INF/web.xml

    and for the admin:
    /webapps/zimbraAdmin/WEB-INF/web.xml
    /conf/zimbraAdmin.web.xml.in
    /webapps/service/WEB-INF/web.xml
    /conf/service.web.xml.in

    then:
    /conf/zimbraAdmin.web.xml.in
    /conf/service.web.xml.in
    /conf/zimbra.web.xml.in

    Basicaly by adding ports 80 and 443 everytime a port is required...

    If somebody might have an idea of what it the relation with zmtrainsa, I would really appreciate it. As you can imagine, if zimbra does not learn what its spam it becomes very annoying.
    Thanks

  7. #7
    sturgis is offline Senior Member
    Join Date
    Jan 2007
    Location
    France
    Posts
    71
    Rep Power
    8

    Default

    Bill,
    I have been looking and I don't see anything related in the forums...
    Why do you think that 7080 is not allowed?
    It is a zimbra port... Do you have any clue of where I have to search?
    It is really anoying to have the same spam over and over...

    Thanks

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. iSync Connector / Apple Address Book Problems
    By jrosen in forum CalDAV / CardDAV / iSync
    Replies: 11
    Last Post: 04-16-2007, 03:40 PM
  2. Replies: 3
    Last Post: 12-06-2006, 11:31 AM
  3. Problems with public Subversion repository
    By dwhite in forum Developers
    Replies: 0
    Last Post: 11-18-2006, 12:25 PM
  4. zmtrainsa exception
    By ldotc in forum Administrators
    Replies: 9
    Last Post: 05-21-2006, 06:32 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
  •