Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Problem moving ZCS 4.5.9 OSE from FC4 server to FC5 server

  1. #1
    kas
    kas is offline Junior Member
    Join Date
    Nov 2007
    Posts
    6
    Rep Power
    7

    Default Problem moving ZCS 4.5.9 OSE from FC4 server to FC5 server

    Hi,

    I am having trouble moving ZCS 4.5.9 OSE from a server running Fedora Core 4 to a new server running Fedora Core 5 (HW not supported under FC4).

    I have followed the instructions as described in
    http://www.zimbra.com/blog/archives/...er_server.html.

    The problem seems to be related to Java and Tomcat. No service is listening on port 7071. From zmsetup.log.X:

    Code:
    COS attribute retrieved for COS default: zimbraFeatureNotebookEnabled=FALSE
    *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    [] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    [] INFO: Retrying request
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    [...] Log-file contiunes with similar messages
    If I do a clean install on the new server it works. But if I uninstall, do an install.sh -s, merge /opt/zimbra from the old server (tar-ed with tar -cpf), zmfixperms and then install.sh, the problem appears.

    Has anybody experienced the same problem, or have any idea what is causing it?

    Regards,

    Knut

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    Default

    Welcome to the forums.

    I assume your new server has the same IP, hostname and DNS A & MX records pointing to it?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    kas
    kas is offline Junior Member
    Join Date
    Nov 2007
    Posts
    6
    Rep Power
    7

    Default Problem moving ZCS 4.5.9 OSE from FC4 server to FC5 server

    Hi,

    Yes, the new and the old server has swapped identity. (IP address and hostname.)

    Regards,

    Knut

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    Default

    I assume you've also disabled all the usual suspects - ipv6, SELinux & firewall? Just for confirmation, can you run the following on the new server:

    Code:
    host `hostname`  <-- type as-is with backticks not single quotes
    dig yourdomain.com mx
    dig yourdomain.com and
    and post the output.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    kas
    kas is offline Junior Member
    Join Date
    Nov 2007
    Posts
    6
    Rep Power
    7

    Default Problem moving ZCS 4.5.9 OSE from FC4 server to FC5 server

    Hi,

    I have removed IPv6 from /etc/hosts, leaving only the following line:

    Code:
    127.0.0.1               localhost.localdomain localhost
    IPv6 is disbled in /etc/sysconfig/network:

    Code:
    # grep IPV6 /etc/sysconfig/network
    NETWORKING_IPV6=no
    But it is still on the interface (after reboot):

    Code:
    # ifconfig eth0 | grep inet6
              inet6 addr: fe80::21a:a0ff:fe1b:d70a/64 Scope:Link
    Is this causing the problem?


    SELinux is not enabled:

    Code:
    # selinuxenabled; echo $?
    1
    (From man selinuxenabled: ... status 0 if SELinux is enabled and 1 if it is not enabled.)

    Right now the new server is back in the lab, but this is how it looks like on the old (functioning) server (with the correct IP address and hostname):

    Code:
    $ host `hostname`
    mail.hjemme.no has address 62.97.193.11
    $ dig hjemme.no mx
    
    ; <<>> DiG 9.3.1 <<>> hjemme.no mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38945
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 4
    
    ;; QUESTION SECTION:
    ;hjemme.no.                     IN      MX
    
    ;; ANSWER SECTION:
    hjemme.no.              3600    IN      MX      3 jesper.bkkb.no.
    hjemme.no.              3600    IN      MX      1 barracuda.hjemme.no.
    
    ;; AUTHORITY SECTION:
    hjemme.no.              3600    IN      NS      ns1.bkkb.no.
    hjemme.no.              3600    IN      NS      ns2.bkkb.no.
    
    ;; ADDITIONAL SECTION:
    barracuda.hjemme.no.    3600    IN      A       62.97.193.12
    jesper.bkkb.no.         86400   IN      A       62.97.193.4
    ns1.bkkb.no.            86400   IN      A       62.97.193.3
    ns2.bkkb.no.            86400   IN      A       62.97.193.53
    
    ;; Query time: 0 msec
    ;; SERVER: 62.97.193.3#53(62.97.193.3)
    ;; WHEN: Tue Nov 20 15:44:54 2007
    ;; MSG SIZE  rcvd: 181
    
    kas@mail:~$ dig hjemme.no
    
    ; <<>> DiG 9.3.1 <<>> hjemme.no
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37933
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
    
    ;; QUESTION SECTION:
    ;hjemme.no.                     IN      A
    
    ;; ANSWER SECTION:
    hjemme.no.              3600    IN      A       62.97.243.54
    
    ;; AUTHORITY SECTION:
    hjemme.no.              3600    IN      NS      ns2.bkkb.no.
    hjemme.no.              3600    IN      NS      ns1.bkkb.no.
    
    ;; ADDITIONAL SECTION:
    ns1.bkkb.no.            86400   IN      A       62.97.193.3
    ns2.bkkb.no.            86400   IN      A       62.97.193.53
    
    ;; Query time: 0 msec
    ;; SERVER: 62.97.193.3#53(62.97.193.3)
    ;; WHEN: Tue Nov 20 15:44:56 2007
    ;; MSG SIZE  rcvd: 116
    
    $
    Swapping the two servers should not change any of this.

    As you can see, email is relayed through some anti-spam/anti-virus servers before it hits the Zimbra server.

    The servers are running with iptables enabled, and full access for loopback:

    Code:
    -A RH-Firewall-1-INPUT -i lo -j ACCEPT
    Regards,

    Knut

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    Default

    Quote Originally Posted by kas View Post
    Hi,

    I have removed IPv6 from /etc/hosts, leaving only the following line:

    Code:
    127.0.0.1               localhost.localdomain localhost
    That's not quite what you want. You should also have a line for your server e.g.:

    Code:
    62.97.193.11 mail.hjemme.no mail
    For the ipv6 you'll need an extra step. Check these details , you'll also need to reboot (although a network restart may do it).

    We don't recommend running a firewall on the Zimbra server itself but If you're going to do it you'll need additional rules in there, check this article.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    kas
    kas is offline Junior Member
    Join Date
    Nov 2007
    Posts
    6
    Rep Power
    7

    Default Problem moving ZCS 4.5.9 OSE from FC4 server to FC5 server

    Hi,

    I have now completely disabled IPv6 (and rebooted) and added the requested line to /etc/hosts.

    But I do not think that the problem is related to the basic network configuration, because the old server is in production with the ZCS-FC4 install and the new server works with a clean ZCS-FC5 install. The problem appears when the new server is installed (-s), /opt/zimbra is copied from the old server (which is functioning with IPv6 on the interface and only localhost in /etc/hosts) to the new and install rerun.

    For some reason Tomcat does not start, and that is why you see the "Connection refused" messages in the log.

    I have also added a local nameserver, to make the lab-environment reflect the production-environment:

    Code:
    # host `hostname`
    mail.hjemme.no has address 62.97.193.17
    # host -t mx hjemme.no
    hjemme.no mail is handled by 10 mail.hjemme.no.
    #
    Regards,

    Knut

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    Default

    OK, well now you've done the basic network configuration we can have a look at the log. What error is there in catalina.out?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    kas
    kas is offline Junior Member
    Join Date
    Nov 2007
    Posts
    6
    Rep Power
    7

    Default Problem moving ZCS 4.5.9 OSE from FC4 server to FC5 server

    Hi,

    Now I think we are on to something. This is /opt/zimbra/apache-tomcat-5.5.15/logs/catalina.out:

    Code:
    Error occurred during initialization of VM
    The size of the object heap + VM data exceeds the maximum representable size
    Error occurred during initialization of VM
    The size of the object heap + VM data exceeds the maximum representable size
    Error occurred during initialization of VM
    The size of the object heap + VM data exceeds the maximum representable size
    Error occurred during initialization of VM
    The size of the object heap + VM data exceeds the maximum representable size
    (Did not know where to look until now.)

    Regards,

    Knut

  10. #10
    kas
    kas is offline Junior Member
    Join Date
    Nov 2007
    Posts
    6
    Rep Power
    7

    Default Problem moving ZCS 4.5.9 OSE from FC4 server to FC5 server

    Hi,

    Found the solution! The new server has too much memory (16GB)... Had to reduce the Java Heap. Reduced tomcat_java_heap_memory_percent from 25 to 10 (for testing), and now it works. ;-)

    Is localconfig.xml the right place to do this?

    Thank you for pointing me in the right direction!

    Regards,

    Knut

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 10:27 AM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. Installation Problem - Possibly LDAP
    By geroshea in forum Installation
    Replies: 5
    Last Post: 03-16-2007, 04:47 AM
  4. Replies: 2
    Last Post: 08-28-2006, 10:20 AM
  5. ZCS 3.2 Beta Available
    By KevinH in forum Announcements
    Replies: 31
    Last Post: 07-07-2006, 03:46 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
  •