Install problems on FC4

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

robinbowes

Install problems on FC4

Postby robinbowes » Wed Oct 26, 2005 10:24 am

Hi,

I'm attempting an install of the Community Edition on a newly installed FC4 box.

I've worked my way through the install document and installed all the dependencies.

I'm using the following version of the various packages:

j2sdk-1.4.2_09-fcs
tomcat5-jasper-5.0.30-5jpp_6fc
tomcat5-admin-webapps-5.0.30-5jpp_6fc
tomcat5-servlet-2.4-api-5.0.30-5jpp_6fc
tomcat5-5.0.30-5jpp_6fc
tomcat5-webapps-5.0.30-5jpp_6fc

I've opened up the specified ports in the firewall.

I've added the following line to /etc/tomcat5/tomcat5.conf:

JAVA_OPTS="-Djava.net.preferIPv4Stack=true"

tomcat is running, as is scalix.

However, when I try and open webmail by browsing to http://compact.robinbowes.com:8080/webmail I get the following error:

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Filter execution threw an exception
org.apache.catalina.authenticator.AuthenticatorBase.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.coyote.tomcat5.CoyoteAdapter.service(org.apache.coyote.Request, org.apache.coyote.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.coyote.http11.Http11Processor.process(java.io.InputStream, java.io.OutputStream) (/usr/lib/libtomcat-http11-5.0.30.jar.so)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(org.apache.tomcat.util.net.TcpConnection, java.lang.Object[]) (/usr/lib/libtomcat-http11-5.0.30.jar.so)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(java.lang.Object[]) (/tmp/libtomcat-util-5.0.30.jar.sooyxl8m.so)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() (/tmp/libtomcat-util-5.0.30.jar.sooyxl8m.so)
java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)

root cause

java.lang.NoClassDefFoundError: com.oddpost.util.SillyString
java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
com.oddpost.server.filter.HttpConfFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) (Unknown Source)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.coyote.tomcat5.CoyoteAdapter.service(org.apache.coyote.Request, org.apache.coyote.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.coyote.http11.Http11Processor.process(java.io.InputStream, java.io.OutputStream) (/usr/lib/libtomcat-http11-5.0.30.jar.so)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(org.apache.tomcat.util.net.TcpConnection, java.lang.Object[]) (/usr/lib/libtomcat-http11-5.0.30.jar.so)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(java.lang.Object[]) (/tmp/libtomcat-util-5.0.30.jar.sooyxl8m.so)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() (/tmp/libtomcat-util-5.0.30.jar.sooyxl8m.so)
java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)

Looking in /usr/share/tomcat5/logs/scalix-swa_log.2005-10-26.txt I see further errors:

2005-10-26 15:22:25 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.lang.NoClassDefFoundError: com.oddpost.util.SillyString
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
at com.oddpost.server.filter.HttpConfFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) (Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/libcatalina-5.0.30.jar.s
o)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardWrapperValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libc
atalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardValveContext.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardContextValve.invokeInternal(org.apache.catalina.Wrapper, org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/l
ibcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardContextValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libc
atalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardValveContext.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/li
b/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardValveContext.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardHostValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libcata
lina-5.0.30.jar.so)
at org.apache.catalina.core.StandardValveContext.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libcat
alina-5.0.30.jar.so)
at org.apache.catalina.core.StandardValveContext.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardEngineValve.invoke(org.apache.catalina.Request, org.apache.catalina.Response, org.apache.catalina.ValveContext) (/usr/lib/libca
talina-5.0.30.jar.so)
at org.apache.catalina.core.StandardValveContext.invokeNext(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.StandardPipeline.invoke(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.catalina.core.ContainerBase.invoke(org.apache.catalina.Request, org.apache.catalina.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(org.apache.coyote.Request, org.apache.coyote.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
at org.apache.coyote.http11.Http11Processor.process(java.io.InputStream, java.io.OutputStream) (/usr/lib/libtomcat-http11-5.0.30.jar.so)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(org.apache.tomcat.util.net.TcpConnection, java.lang.Object[]) (/usr/lib/libtom
cat-http11-5.0.30.jar.so)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(java.lang.Object[]) (/tmp/libtomcat-util-5.0.30.jar.sooyxl8m.so)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run() (/tmp/libtomcat-util-5.0.30.jar.sooyxl8m.so)
at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)

Any idea what's wrong?

R.

jeffrhysjones
Posts: 13
Joined: Wed Oct 26, 2005 11:15 am

Postby jeffrhysjones » Wed Oct 26, 2005 11:21 am

Yes - I'm getting this exact same problem. I am trying to test the enterprise version, I've been struggling for the last few days and am starting to run out of ideas. It's a shame the installation is so problematic as it's kind of spoilt the initial perception of the product.

Anyway - I still really want to get this working, as I think it could be perfect for us!

I get the same 'Silly.String' error as you - but I also can not log in to the admin side. If I go to /sac I get the admin screen up - but after I type in the userID and password - it just sits there. It's really frustrating that it doesn't actually give you some sort of error!!! You just sit there and think - is it actually doing anything?!

Anyway - I really hope I can get these issues sorted out but the amount of time I can spend on this is fast running out...

Cheers,

Jeff

jeffrhysjones
Posts: 13
Joined: Wed Oct 26, 2005 11:15 am

Postby jeffrhysjones » Wed Oct 26, 2005 5:31 pm

Just thought I would post a new update.

I have performed a complete fresh re-install - following the installation guide to the letter. The installation appeared to go without a hitch - not a single error popping up in the linstaller window.

But when it completes - I get the same problem. Hangs on the admin screen, and the silly.string error on /webmail.

Anyone got any ideas?

Frustrating...

Jeff

natkins
Scalix
Scalix
Posts: 37
Joined: Thu Jul 10, 2003 2:21 am
Location: San Mateo, CA
Contact:

Postby natkins » Thu Oct 27, 2005 5:26 am

Guys,

The version of Tomcat (the rpm version from the Java Packaging Project) you are using is not actually supported by Scalix. You need to use the one that is on the CD or in the tarball. It's jakarta-tomcat-5.0.28.tar.gz. Please extract the tar.gz file into a directory of your own choice (e.g. /opt) and try reinstalling specifying the new "Tomcat Home".

In a future version of the product the installer will disable any existing Tomcats and install our supported one automatically.

Thanks, Nick.

jeffrhysjones
Posts: 13
Joined: Wed Oct 26, 2005 11:15 am

Postby jeffrhysjones » Thu Oct 27, 2005 6:32 am

Update!

I have re-installed and this time WITHOUT Java and Tomcat from the FC4 installer, installed
the Java RPM from the URL in the installation guide, and also Tomcat from the Scalix 3rd Party directory.

This time - I get a login screen for /Webmail - but alas can not login as I get a server unavalaible message - and a new error message 'Admin Server not avaliable" for /sac.

So I'm a bit further along - I really thought I was there!!!!

Jeff

natkins
Scalix
Scalix
Posts: 37
Joined: Thu Jul 10, 2003 2:21 am
Location: San Mateo, CA
Contact:

Postby natkins » Thu Oct 27, 2005 7:06 am

Please check the swa log and the caa log from the Tomcat log directory. If there are errors in there please post them here.

Thanks,

Nick.

robinbowes

Postby robinbowes » Thu Oct 27, 2005 8:23 am

natkins wrote:Please check the swa log and the caa log from the Tomcat log directory. If there are errors in there please post them here.

Nick,

My original post included the contents of the swa log in /usr/share/tomcat5/logs/scalix-swa_log.2005-10-26.txt .

I see no caa log.

R.

jeffrhysjones
Posts: 13
Joined: Wed Oct 26, 2005 11:15 am

Postby jeffrhysjones » Thu Oct 27, 2005 11:03 am

OK - went in to work thinking that perhaps it was a problem with my crappy test system. I have now installed Scalix for the 4th time on a 'Real' Server. I now get to the exact same place as the last time though. Server not responding errors with /webmail and /sac.

I had a look in the Tomcat caa.log and I do believe I have found the problem - any ideas for this one?

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

2005-10-27 14:35:27,225 INFO [SOAPDispatcherServlet.init:118] ====> CAA started, you may fire when ready <====
2005-10-27 14:36:01,782 ERROR [RbacAuthorizationHelper.authenticateUser:80] Exception:
javax.naming.CommunicationException: mx1.gratisse.com:389 [Root exception is java.net.SocketException: Invalid argument or cannot assign requested address]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:204)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:119)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2599)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.authenticateUser(RbacAuthorizationHelper.java:51)
at com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:101)
at com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:155)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:82)
at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:267)
at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.SocketException: Invalid argument or cannot assign requested address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:181)
... 46 more

robinbowes

Postby robinbowes » Thu Oct 27, 2005 12:09 pm

Ok, I've got this working.

I did three things:

1. Use the jakarta tomcat installation that comes with Scalix

2. Set JAVA_HOME "correctly" (JAVA_HOME=/usr/java/j2sdk1.4.2_09 in setclasspath.sh)
It was set to something like /usr/lib/jvm/java which is a symlink to /etc/alternatives/java_sdk which in turn is a symlink to /usr/lib/jvm/java-1.4.2-gcj which in turn is a symlink to java-1.4.2-gcj-1.4.2.0.
this is all JPackage stuff installed by java-1.4.2-gcj-compat so I removed the following:
java-1.4.2-gcj-compat
jessie
ldapjdk
java-1.4.2-gcj-compat-devel
ant-1.6.2

3. Added -Djava.net.preferIPv4Stack=true to JAVA_OPTS in setclasspath.sh

I have successfully launched the administrator and webmail interfaces.

R.[/list][/list]

jeffrhysjones
Posts: 13
Joined: Wed Oct 26, 2005 11:15 am

Postby jeffrhysjones » Thu Oct 27, 2005 12:54 pm

OK I did some searching around, and figured out there is some sort of bug to do with IPV6 in Java / Tomcat. The recommendation is to put the line

JAVA_OPTS=-server -Xmx1024M -XX:+UseAdaptiveSizePolicy -Djava.net.preferIPv4Stack=true

In catalina.sh. I did this - and I noticed right away that the 'Invalid Argument' error I got when stopping / starting tomcat, went away.

I tried to log in to /webmail - and it worked!! Hurrah!

Alas - my /sac still has a problem. I took another look at the tomcat caa.log - and noticed that there appears to now be a new error:

So nearly... nearly there... any ideas?

Jeff

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

2005-10-27 16:18:14,073 ERROR [RbacAuthorizationHelper.authenticateUser:80] Exception:
javax.naming.CommunicationException: mx1.gratisse.com:389 [Root exception is java.net.ConnectException: Connection refused]
at com.sun.jndi.ldap.Connection.<init>(Connection.java:204)
at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:119)
at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2599)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.authenticateUser(RbacAuthorizationHelper.java:51)
at com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:101)
at com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:155)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:82)
at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:267)
at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:124)
at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)
at com.sun.jndi.ldap.Connection.<init>(Connection.java:181)
... 46 more

natkins
Scalix
Scalix
Posts: 37
Joined: Thu Jul 10, 2003 2:21 am
Location: San Mateo, CA
Contact:

Postby natkins » Thu Oct 27, 2005 2:23 pm

The "connection refused" error looks like the LDAP server is not running. This should not happen under normal circumstances. Please do an omstat -a to check if the LDAP daemon is running. I presume your server host name is called "mx1.gratisse.com". Another check you can do is try "telnet mx1.gratisse.com 389" and see if it answers.

Thanks,

Nick.

jeffrhysjones
Posts: 13
Joined: Wed Oct 26, 2005 11:15 am

Postby jeffrhysjones » Thu Oct 27, 2005 5:20 pm

Hi - yes you're right - omstat -a reports the LDAP to have 'aborted'.

Will try to restart the server and then do another omstat...

Cheers,

Jeff

jeffrhysjones
Posts: 13
Joined: Wed Oct 26, 2005 11:15 am

Postby jeffrhysjones » Thu Oct 27, 2005 7:14 pm

Restart did the trick - I'm in both /Sac and /Webmail now - so the evaluation can begin!

I think you guys need to put a 'sticky' up for FC4 users - it's clear to me that the installer as it is will not work without adding JAVA OPTIONS etc. I believe the installer should:

1) Check for existing Tomcat, JAVA - remove them if they are the wrong version
2) Check that /sbin & /usr/sbin are in PATH
3) Insert the JAVA OPTIONS setting into the Tomcat config

If you can get these in the installer - I think it would pretty much run good every time.

All the answers actually are on the forums - it's just they're all in different places!

Jeff


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 1 guest