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 10-04-2007, 05:16 PM
Starter Member
 
Posts: 1
Default RC1 Install Failed on SLES10 64-bit

Hi all,

After a clean install of RC1 on a clean install of SLES10 64-bit, I get the following error(s):
Code:
        antispam                Running
        antivirus               Running
        ldap                    Running
        logger                  Running
        mailbox                 Stopped
                zmmailboxdctl is not running
        mta                     Running
        snmp                    Running
        spell                   Running
        stats                   Running
I checked /var/log/zimbra.log and its empty. Here is the output from /opt/zimbra/log/zmmailboxd.out:

Code:
log4j:WARN No appenders could be found for logger (org.mortbay.log).
log4j:WARN Please initialize the log4j system properly.
Zimbra server reserving server socket port=110 bindaddr=null ssl=false
Zimbra server reserving server socket port=995 bindaddr=null ssl=true
Fatal error: exception while binding to ports
java.net.SocketException: Unbound server sockets not implemented
        at javax.net.ServerSocketFactory.createServerSocket(ServerSocketFactory.java:80)
        at com.zimbra.common.util.NetUtil.newBoundServerSocket(NetUtil.java:89)
        at com.zimbra.common.util.NetUtil.bindServerSocket(NetUtil.java:120)
        at com.zimbra.common.util.NetUtil.bindSslTcpServerSocket(NetUtil.java:49)
        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)
Any ideas where I can start troubleshooting?

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 10-05-2007, 07:07 PM
Former Zimbran
 
Posts: 5,606
Default

Can you file a bug on that?

Thanks
john
Reply With Quote
  #3 (permalink)  
Old 10-11-2007, 02:45 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

hi

this looks like a dns error during setup - your ip address hasn't been detected properly so %%zimbraImapBindAddress%% hasn't been set. check /opt/zimbra/jetty/etc/jetty.properties.in and /opt/zimbra/jetty/etc/jetty.properties to verify this. the bindaddr=null is the giveaway - the 'Unbound server sockets not implemented' is not a very clear error, it is a generic exception that is thrown for any error binding the port. in this case the socket lib must have a bindaddr specified, maybe zimbra can trap it and write a prettier error to screen/log.

Last edited by dijichi2; 10-11-2007 at 04:02 AM..
Reply With Quote
  #4 (permalink)  
Old 10-12-2007, 03:06 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

actually scratch that, - if zimbraImapBindAddress isn't set, newBoundServerSocket() falls back to getting ip address from the hostname. the problem you're having, which is the same i'm currently battling with, is creating unbound SSL sockets. If the port is ssl, newBoundServerSocket calls createServerSocket() from ServerSocketFactory which throws an unconditional exception if the bind port is null.

as a workaround, if you turn off all pop/imap ssl it should then startup.
Reply With Quote
  #5 (permalink)  
Old 11-02-2007, 04:49 PM
Starter Member
 
Posts: 2
Default

Quote:
Originally Posted by dijichi2 View Post
actually scratch that, - if zimbraImapBindAddress isn't set, newBoundServerSocket() falls back to getting ip address from the hostname. the problem you're having, which is the same i'm currently battling with, is creating unbound SSL sockets. If the port is ssl, newBoundServerSocket calls createServerSocket() from ServerSocketFactory which throws an unconditional exception if the bind port is null.

as a workaround, if you turn off all pop/imap ssl it should then startup.
Hello,

I had same problem, I turned off pop/imap ssl with commands:
# zmprov -l modifyServer backup.dnet.inf zimbraImapSSLServerEnabled FALSE
# zmprov -l modifyServer backup.dnet.inf zimbraPop3SSLServerEnabled FALSE

And now zmcontrol status shows:
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running

but https//myserver:7071/zimbraAdmin/ is not responding.
Reply With Quote
  #6 (permalink)  
Old 11-02-2007, 11:26 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

i'm about to look into this further, but check very carefully your setup log in /tmp for any cert generation errors. I suspect this problem is related to ssl certs.
Reply With Quote
  #7 (permalink)  
Old 11-03-2007, 07:51 AM
Starter Member
 
Posts: 2
Default

Quote:
Originally Posted by dijichi2 View Post
i'm about to look into this further, but check very carefully your setup log in /tmp for any cert generation errors. I suspect this problem is related to ssl certs.
Do you mean this error?

** Generating a server csr for download
** Backup /opt/zimbra/ssl/zimbra to /opt/zimbra/ssl/zimbra.20071102111745
** Creating server cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
** Signing cert request /opt/zimbra/ssl/zimbra/server/server.csr...done.
** Creating keystore file /opt/zimbra/mailboxd/etc/keystore...failed.

Exception in thread "main" java.lang.NoClassDefFoundError: com/zimbra/cert/MyPKCS12Import
Reply With Quote
  #8 (permalink)  
Old 11-27-2007, 12:10 PM
Junior Member
 
Posts: 8
Default RC1 Install Failed on SLES10 64-bit

hello I'm having the same issue on my system. I did the following as well:

turned off pop/imap ssl with commands:
# zmprov -l modifyServer xxx.xxx.xxx zimbraImapSSLServerEnabled FALSE
# zmprov -l modifyServer xxx.xxx.xxx zimbraPop3SSLServerEnabled FALSE

And now zmcontrol status shows:
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running

but https//xxx.xxx.xxx:7071/zimbraAdmin/ is not responding. I'm not seeing any errors regarding to ssl in the install logs at this time.
Reply With Quote
  #9 (permalink)  
Old 11-27-2007, 12:25 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
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
  #10 (permalink)  
Old 11-27-2007, 12:44 PM
Junior Member
 
Posts: 8
Default RC1 Install Failed on SLES10 64-bit

hi, this is with ImapSSL and Pop3SSL disabled, if I don't disable those then mailbox does not start.

zimbra@xxx:~> zmcontrol status
Host xxx.xxx.xxx
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Running
zimbra@xxx:~> zmproxyctl status
nginx is running
memcached is running

the https://xxx.xxx.xxx:7071/zimbraAdmin url just spin's and spin's.
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.