Results 1 to 2 of 2

Thread: Zimbra working But some small issues

  1. #1
    Join Date
    Jul 2008
    Posts
    7
    Rep Power
    7

    Smile Zimbra working But some small issues

    Hello All,

    I want to say Zimbra is a great product which I have got up and running without too much hassle.

    I have some small issues which I am hoping people can help me here resolve.

    First off let me describe my setup (config files):

    Apache 2.2 --> Mod_JK (AJP13) --> Zimbra

    Here are my config files (Im not a Linux noob so assumption in the theory of mail/web/j22 app servers can be assumed )

    Mod_JK.conf
    Code:
    LoadModule jk_module modules/mod_jk-1.2.23-apache-2.2.x-linux-i686.so
    
    JkWorkersFile   /etc/httpd/conf/workers.properties
    JkLogFile       logs/mod_jk.log
    JkLogLevel      error
    JkRequestLogFormat      "%w %V %U %s %T %B %H %m"
    JkShmFile           /var/tmp/jk.shm
    
    # Jkstatus
    JkMount /jkserver-status jkstatus
    JkMount /jkserver-status/* jkstatus
    
        deny from all
        allow from 192.168.1.0/24
    
    Workers.properties
    Code:
    # Worker list
    worker.list=zimbra,jkstatus
    
    # Worker definitions
    # main loadbalancer worker
    worker.zimbra.type=lb
    
    # balancing algorithm
    worker.zimbra.method=Request
    
    worker.zimbra.balance_workers=mailhost
    worker.zimbra.lock=Pessimistic
    
    # status page worker
    worker.jkstatus.type=status
    
    # Worker Reference - contains parameters for all individual workers (not loadbalancer)
    worker.reference.port=8009
    worker.reference.type=ajp13
    worker.reference.lbfactor=1
    
    
    # Zimbra Balance workers
    worker.mailhost.reference=worker.reference
    worker.mailhost.host=192.168.1.10
    Virtual.conf
    #### Zimbra ######
    HTML Code:
    <VirtualHost *:80>
    ServerName myhost.mydomain.com
    ServerAlias webmail.mydomain.com
    
    Redirect Permanent / https://webmail.mydomain.com/
    
    </VirtualHost>
    
    <VirtualHost *:443>
    ServerName myhost.mydomain.com
    ServerAlias webmail.mydomain.com
    
    SSLEngine On
    SSLCertificateFile /opt/zimbra/ssl/zimbra/server/server.crt
    SSLCertificateKeyFile /opt/zimbra/ssl/zimbra/server/server.key
    
    
    # Modify the following two paths, according to your distribution's filesystem layout
    JkLogLevel          error
    JkLogStampFormat    "[%a %b %d %H:%M:%S %Y] "
    JkRequestLogFormat  "%w %V %T"
    JkOptions           +ForwardKeySize +ForwardURICompat -ForwardDirectories
    
    RewriteEngine On
    RewriteRule     ^/$     /zimbra [R]
    
    JkMount             /*              zimbra
    JkMount             /zimbra         zimbra
    JkMount             /zimbra/        zimbra
    JkMount             /zimbra/*       zimbra
    JkMount             /service        zimbra
    JkMount             /service/       zimbra
    JkMount             /service/*      zimbra
    
    # Add the following lines to enable access to the Zimbra administrative web interface
    JkMount             /zimbraAdmin    zimbra
    JkMount             /zimbraAdmin/   zimbra
    JkMount             /zimbraAdmin/*  zimbra
    </VirtualHost>
    
    ####################################
    As you can see I have configured virtual host and redirected any http traffic to https. I have also wrtten a rewrite rule where anything going to / get /zimbra by default.


    jetty.xml.in
    HTML Code:
           <Call name="addConnector">
          <Arg>
            <New id="ajp" class="org.mortbay.jetty.ajp.Ajp13SocketConnector">
              <Set name="port">8009</Set>
            </New>
          </Arg>
        </Call>

    service.web.xml.in I did edit alot of this file so I have included it all.

    * could not drop in code box so I have attached the file

    I had to edit the following file to get ZimbraAdmin to work via https

    zimbraAdmin.web.xml.in
    Code:
     
                    admin.allowed.ports
                    7071, 443, 8009
            
    I couldnt get Zimbra admin to work over 8009? not sure what the problem is.

    Anyway, as I have mentioned this is now working. The problem is when I get some email I try to open it, I get 503 error. I changed an option in preferences to stop trying to open all emails as HTML this solved some of the emails (which were infact text) however other emails then failed to open. All with the same ServiceRequest Error 503.

    Any help would be appreciated. I apologies for creating such a long post (on my first post) but I thougt more information the better.

    Regards

    Kash
    Attached Files Attached Files

  2. #2
    Join Date
    Jul 2008
    Posts
    7
    Rep Power
    7

    Default

    Ok,

    Ive changed from using AJP to modproxy and it works fine I think, probably needs further testing.

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. slapd message error
    By smoke in forum Administrators
    Replies: 7
    Last Post: 04-27-2008, 04:23 PM
  3. zmperditionctl start asking for password
    By k7sle in forum Administrators
    Replies: 32
    Last Post: 02-20-2008, 11:13 AM
  4. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  5. 4.5 Upgrade failure
    By brained in forum Installation
    Replies: 9
    Last Post: 03-03-2007, 03:30 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
  •