Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-23-2007, 05:32 AM
Intermediate Member
 
Posts: 24
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.
Reply With Quote
  #2 (permalink)  
Old 11-23-2007, 05:34 AM
Moderator
 
Posts: 2,207
Default

I thought 5.0 didn't use tomcat anymore but jetty...
Reply With Quote
  #3 (permalink)  
Old 11-23-2007, 07:44 AM
Intermediate Member
 
Posts: 24
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
Reply With Quote
  #4 (permalink)  
Old 11-23-2007, 09:06 AM
Intermediate Member
 
Posts: 24
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)
Reply With Quote
  #5 (permalink)  
Old 11-23-2007, 09:32 AM
Former Zimbran
 
Posts: 5,606
Default

Looks like you've already got an imap server installed. Disable it, then try again.
Reply With Quote
  #6 (permalink)  
Old 11-23-2007, 09:34 AM
Zimbra Consultant & Moderator
 
Posts: 19,633
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
Reply With Quote
  #7 (permalink)  
Old 11-23-2007, 10:33 AM
Intermediate Member
 
Posts: 24
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.
Reply With Quote
  #8 (permalink)  
Old 11-23-2007, 11:01 AM
Zimbra Consultant & Moderator
 
Posts: 19,633
Default

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


Bill
Reply With Quote
  #9 (permalink)  
Old 11-23-2007, 11:55 AM
Intermediate Member
 
Posts: 24
Default

It shows this services running:

$ zmproxyctl status
nginx is running
memcached is running
Reply With Quote
  #10 (permalink)  
Old 11-23-2007, 12:11 PM
Zimbra Consultant & Moderator
 
Posts: 19,633
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.