Results 1 to 10 of 10

Thread: update from v5 Beta to RC2

  1. #1
    consultorpc is offline Active Member
    Join Date
    Apr 2007
    Posts
    25
    Rep Power
    8

    Default update from v5 Beta to RC2

    Hi,

    I have updated a server from v5 beta with RC2 on a CentOS 4 platform apparently without problems. But its seems that tomcat has not been installed at all.

    I cant' find tomcat binaries neither on:

    /opt/zimbra/tomcat

    Or other locations.

    Any ideas ?

    TIA.

  2. #2
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    Default

    I thought 5.0 didn't use tomcat anymore but jetty...

  3. #3
    consultorpc is offline Active Member
    Join Date
    Apr 2007
    Posts
    25
    Rep Power
    8

    Default

    Ok, you are correct.

    But I'm trying to start jetty this way without success:

    Code:
    $ java -jar start.jar etc/jetty.xml
    0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
    545  WARN  [main] log - Config error at 
    545  WARN  [main] log - Config error at 
    548  WARN  [main] log - EXCEPTION 
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:534)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:244)
            at org.mortbay.xml.XmlConfiguration.refObj(XmlConfiguration.java:638)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:206)
            at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:968)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.start.Main.invokeMain(Main.java:183)
            at org.mortbay.start.Main.start(Main.java:497)
            at org.mortbay.start.Main.main(Main.java:115)
    Caused by: java.net.SocketException: Permission denied
            at sun.nio.ch.Net.bind(Native Method)
            at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
            at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
            at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:211)
            ... 17 more
    551  WARN  [main] log - Nested in java.lang.reflect.InvocationTargetException:
    java.net.SocketException: Permission denied
            at sun.nio.ch.Net.bind(Native Method)
            at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
            at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
            at org.mortbay.jetty.nio.SelectChannelConnector.open(SelectChannelConnector.java:211)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:534)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:244)
            at org.mortbay.xml.XmlConfiguration.refObj(XmlConfiguration.java:638)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:252)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:206)
            at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:968)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.start.Main.invokeMain(Main.java:183)
            at org.mortbay.start.Main.start(Main.java:497)
            at org.mortbay.start.Main.main(Main.java:115)
    557  INFO  [Shutdown] log - Shutdown hook executing
    557  INFO  [Shutdown] log - Shutdown hook complete

  4. #4
    consultorpc is offline Active Member
    Join Date
    Apr 2007
    Posts
    25
    Rep Power
    8

    Default

    Starting it with:

    $ zmmailboxdctl start
    mailboxd started.

    I get this in zmmailboxd.out :

    Code:
    0    INFO  [main] log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
    Zimbra server reserving server socket port=995 bindaddr=null ssl=true
    Fatal error: exception while binding to ports
    java.net.BindException: Address already in use
            at java.net.PlainSocketImpl.socketBind(Native Method)
            at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
            at java.net.ServerSocket.bind(ServerSocket.java:319)
            at com.zimbra.common.util.NetUtil.newBoundServerSocket(NetUtil.java:99)
            at com.zimbra.common.util.NetUtil.bindServerSocket(NetUtil.java:122)
            at com.zimbra.common.util.NetUtil.bindSslTcpServerSocket(NetUtil.java:51)
            at com.zimbra.common.handlers.PrivilegedHandler.openPorts(PrivilegedHandler.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.xml.XmlConfiguration.call(XmlConfiguration.java:534)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:244)
            at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:206)
            at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:968)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.mortbay.start.Main.invokeMain(Main.java:183)
            at org.mortbay.start.Main.start(Main.java:497)
            at org.mortbay.start.Main.main(Main.java:115)

  5. #5
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Looks like you've already got an imap server installed. Disable it, then try again.

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

    Default

    The answer is in your post:
    Code:
    Zimbra server reserving server socket port=995 bindaddr=null ssl=true
    Fatal error: exception while binding to ports
    java.net.BindException: Address already in use
    Something is using port 995. What does a 'zmcontrol status' show? SHutdown zimbra with 'zmcontrol stop' and see what's left running that might belong to Zimbra, kill it and restart zimbra - what happens?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    consultorpc is offline Active Member
    Join Date
    Apr 2007
    Posts
    25
    Rep Power
    8

    Default

    I have not any other IMAP server, this is a stand alone dedicated server only for Zimbra and it used to work very well with 4.5 and then 5.0 beta.

    I have disabled zimbra's own IMAP SSL, POP3SSL and IMAP with:

    zmprov -l modifyServer SERVER zimbraPop3SSLServerEnabled FALSE
    zmprov -l modifyServer SERVER zimbraImapSSLServerEnabled FALSE
    zmprov -l modifyServer SERVER zimbraImapServerEnabled FALSE

    Then:

    zmcontrol stop
    zmcontrol start

    And finally it works.

    Thank you for your replies.

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

    Default

    You shouldn't have to disable those services. What does it show if you run 'zmproxyctl status' as the zimbra user?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    consultorpc is offline Active Member
    Join Date
    Apr 2007
    Posts
    25
    Rep Power
    8

    Default

    It shows this services running:

    $ zmproxyctl status
    nginx is running
    memcached is running

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

    Default

    Disable the proxy and then re-enable the IMAP & POP services you stopped earlier. You must have answered 'Y' to the install question about the proxy.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Outlook 2007 Beta Overview
    By GregA in forum Zimbra Connector for Outlook
    Replies: 19
    Last Post: 03-03-2008, 04:24 PM
  2. ZCS 5.0 Beta 2 is Out!
    By jholder in forum Announcements
    Replies: 0
    Last Post: 07-25-2007, 11:54 AM
  3. Zimbra Apple iSync Beta
    By KevinH in forum CalDAV / CardDAV / iSync
    Replies: 47
    Last Post: 03-23-2006, 08:04 AM
  4. ZCS 3.0 Beta 3 Update 2 Released
    By KevinH in forum Announcements
    Replies: 2
    Last Post: 01-25-2006, 01:36 PM
  5. ZCS 3.0 Beta 3 Update Released
    By KevinH in forum Announcements
    Replies: 27
    Last Post: 01-22-2006, 03: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
  •