Results 1 to 5 of 5

Thread: Problem with mod_proxy_ajp re buffer size

  1. #1
    Kallisti is offline Loyal Member
    Join Date
    Jan 2008
    Posts
    79
    Rep Power
    7

    Default Problem with mod_proxy_ajp re buffer size

    Hi!

    I have been trying to get Zimbra working together with another webserver, using these wiki-instructions as a basis. I have created a virtual host (see below) in apache for all my Zimbra activities routing everything going to that host to the ajp-interface. Both the webmail and WebDAV seems to work perfectly fine. My problems come when trying to access ZimbraAdmin and ZimbraDesktop through the virtual host and ajp.

    It seems to be that ajp doesn't like big responses, my logs are full of
    Code:
    [Fri Apr 11 16:20:01 2008] [error] ajp_read_header: ajp_ilink_receive failed
    [Fri Apr 11 16:20:01 2008] [error] (120007)APR does not understand this error code: proxy: send body failed to 127.0.0.1:8009 (localhost)
    The result for /zimbraAdmin is that the POST to /service/admin/soap/GetInfoRequest receives an error from apache apparently from port 80 (everything is supposed to be https). I see the error message using FireBug.

    When trying to access zimbra using ZimbraDesktop it's also unable to finish the process and the logs are the same. Anyone got a clue? Is there a way to increase the buffer size for ajp or is that just a symptom of something else?

    /Kallisti

    HTML Code:
    my /etc/httpd/conf.d/zimbra.conf
    
    
        
            ServerName z.xx.xxx
    
            ProxyPass / ajp://localhost:8009/
            ProxyPassReverse / ajp://localhost:8009/
    
            ErrorLog /var/log/zimbra.domain-error.log
            CustomLog /var/log/zimbra.domain-access.log combined
            CustomLog /var/log/all-access.log combined
        
    

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    http://www.zimbra.com/forums/announc...r-profile.html please so we can see whether you are using Tomcat or Jetty

  3. #3
    Kallisti is offline Loyal Member
    Join Date
    Jan 2008
    Posts
    79
    Rep Power
    7

    Default

    Done!
    ZCS Version: 5.0.4_GA_2101.RHEL5_20080321150546 CentOS5 FOSS

  4. #4
    lancer is offline Member
    Join Date
    Apr 2008
    Posts
    13
    Rep Power
    7

    Default

    Got the exact same problem

    Apache access log
    --------------------
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 503 265
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 503 265
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 503 265
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 503 265
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 503 265
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 503 265

    Apache error log
    ------------------
    [Tue Apr 15 17:12:31 2008] [error] ajp_read_header: ajp_ilink_receive failed
    [Tue Apr 15 17:12:31 2008] [error] (120007)APR does not understand this error code: proxy: send body failed to 172.16.2.6:8009 (172.16.2.6)
    [Tue Apr 15 17:12:31 2008] [error] ajp_read_header: ajp_ilink_receive failed
    [Tue Apr 15 17:12:31 2008] [error] (120007)APR does not understand this error code: proxy: send body failed to (null) (172.16.2.6)
    [Tue Apr 15 17:12:31 2008] [error] ajp_read_header: ajp_ilink_receive failed
    [Tue Apr 15 17:12:31 2008] [error] (120007)APR does not understand this error code: proxy: send body failed to 172.16.2.6:8009 (172.16.2.6)
    [Tue Apr 15 17:12:31 2008] [error] ajp_read_header: ajp_ilink_receive failed
    [Tue Apr 15 17:12:31 2008] [error] (120007)APR does not understand this error code: proxy: send body failed to 172.16.2.6:8009 (172.16.2.6)
    [Tue Apr 15 17:12:31 2008] [error] ajp_read_header: ajp_ilink_receive failed
    [Tue Apr 15 17:12:31 2008] [error] (120007)APR does not understand this error code: proxy: send body failed to 172.16.2.6:8009 (172.16.2.6)
    [Tue Apr 15 17:12:31 2008] [error] ajp_read_header: ajp_ilink_receive failed
    [Tue Apr 15 17:12:31 2008] [error] (120007)APR does not understand this error code: proxy: send body failed to 172.16.2.6:8009 (172.16.2.6)

    Jetty log
    ---------
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 200 21364 "https://www.gloudemans.info/zimbra/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13) Gecko/20080325 Fedora/2.0.0.13-1.fc8 Firefox/2.0.0.13"
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 200 21364 "https://www.gloudemans.info/zimbra/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13) Gecko/20080325 Fedora/2.0.0.13-1.fc8 Firefox/2.0.0.13"
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 200 21364 "https://www.gloudemans.info/zimbra/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13) Gecko/20080325 Fedora/2.0.0.13-1.fc8 Firefox/2.0.0.13"
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 200 21364 "https://www.gloudemans.info/zimbra/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13) Gecko/20080325 Fedora/2.0.0.13-1.fc8 Firefox/2.0.0.13"
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 200 21364 "https://www.gloudemans.info/zimbra/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13) Gecko/20080325 Fedora/2.0.0.13-1.fc8 Firefox/2.0.0.13"
    - - [15/Apr/2008:17:12:31 +0200] "POST /service/soap/GetItemRequest HTTP/1.1" 200 21364 "https://www.gloudemans.info/zimbra/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13) Gecko/20080325 Fedora/2.0.0.13-1.fc8 Firefox/2.0.0.13"



    Zimbra was configured for https and ajp only. The proxy was on another host (also RHEL5.1). User access to that proxy was also https.

    [edit] Is it normal that jetty reports the requests as http/1.1?[/edit]
    Last edited by lancer; 04-16-2008 at 12:51 AM.

  5. #5
    rocket15 is offline New Member
    Join Date
    Jun 2008
    Posts
    3
    Rep Power
    7

    Default

    Same problem here. When i use the Jetty HTTP connector it al works fine. But now I added a AJP connector like
    Zimbra with Apache using mod jk - mod proxy - mod proxy ajp - Zimbra :: Wiki

    But now i get a 503 exception

    1. While opening some specifik HTML email messages i receive the following message:

    code: CSFE_SVC_ERROR
    method: GetMsgRequest
    detail: HTTP response status 503

    2. When i press the send/receive email button i also get:
    code: CSFE_SVC_ERROR
    method: SearchRequest
    detail: HTTP response status 503

    I added some connector parameters to the AJP connection like:
    PHP Code:
        <Call name="addConnector">
          <
    Arg>
            <New 
    id="ajp" class="org.mortbay.jetty.ajp.Ajp13SocketConnector">
              <
    Set name="port">8009</Set>
              <
    Set name="maxIdleTime">30000</Set>
              <
    Set name="lowResourceMaxIdleTime">1000</Set>
              <
    Set name="Acceptors">2</Set>
            </New>
          </
    Arg>
        </
    Call
    But i still get the errors... For more connector arguments like buffers etc. take a look in de JavaDoc of de Ajp13SocketConnector
    Ajp13SocketConnector (Jetty Server Project 6.1-SNAPSHOT API)


    For now i work with mod_proxy over http. Some help from the Zimbra admins on this issue would be very nice.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem after upgrade to 5.0
    By bmannella in forum Installation
    Replies: 6
    Last Post: 01-26-2008, 01:35 AM
  2. Zimbra, WM5.0, AS + problem with regional fonts
    By wojo2000 in forum Zimbra Mobile
    Replies: 7
    Last Post: 06-25-2007, 01:04 AM
  3. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 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
  •