FC4 After Install Issue (Cannot Login)

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

FC4 After Install Issue (Cannot Login)

Postby burhankhalid » Mon Dec 19, 2005 9:55 am

Having a strange problem with Community Edition.

Installed on FC4, using the bundled Tomcat. The administration page shows up, but when I try to login it gives the following error :

Could Not Login
Administration server is not responding
Possible lost connection or server problem

The user exists (I verified this by running omshowu -n sxadmin)

Installer log reports a successful installation.

In /opt/jakarta-tomcat-5.0.28/logs/caa.log I have the following :

Code: Select all

2005-12-19 16:15:41,036  INFO [SOAPDispatcherServlet.init:76] ====> CAA is starting up, standby <====
2005-12-19 16:15:41,521  WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2005-12-19 16:15:41,534 ERROR [CAAConfigLoader.parseComponentNode:244] Service scalix.res, Component disabled has no class defined!
2005-12-19 16:15:41,816  INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server cache is empty. Skipping cleanup
2005-12-19 16:15:41,903  INFO [NotificationEventListener.launch:243] Main Notification Event Listener thread launched...
2005-12-19 16:15:41,921  INFO [NotificationEventListener.launch:246] Notification Worker thread com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-0 launched...
2005-12-19 16:15:41,922  INFO [NotificationEventListener.launch:246] Notification Worker thread com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-1 launched...
2005-12-19 16:15:41,925  INFO [RESInitializer.initNotificationListener:201] RESMonitor-thread Thread launched...
2005-12-19 16:15:42,050  INFO [SOAPDispatcherServlet.init:118] ====> CAA started, you may fire when ready <====


catalina.out reports (general stuff omitted):

Code: Select all

Dec 19, 2005 4:15:34 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/jakarta-tomcat-5.0.28/conf/Catalina/localhost/balancer.xml
Dec 19, 2005 4:15:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/jakarta-tomcat-5.0.28/conf/Catalina/localhost/scalix-admin.xml
Dec 19, 2005 4:15:35 PM org.apache.catalina.startup.ContextConfig applicationConfig
INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/sac]
Dec 19, 2005 4:15:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/jakarta-tomcat-5.0.28/conf/Catalina/localhost/manager.xml
Dec 19, 2005 4:15:35 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/opt/jakarta-tomcat-5.0.28/conf/Catalina/localhost/scalix-caa.xml
Dec 19, 2005 4:15:39 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/opt/jakarta-tomcat-5.0.28/webapps/caa/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
CAA: caa-root-directory is /etc/opt/scalix/caa/
CAA: Loaded web.xml init params
CAA: caa-config-directory is /etc/opt/scalix/caa/config
CAA: log4j-init-file is /etc/opt/scalix/caa/config/log4j.properties
CAA: caa-framework-init-file is /etc/opt/scalix/caa/config/framework-config.xml
Dec 19, 2005 4:15:42 PM org.apache.catalina.core.StandardHostDeployer install


In scalix-caa_log.2005-12-19.txt I have this nice message:

Code: Select all

2005-12-19 16:43:21 StandardWrapperValve[dispatcher]: Servlet.service() for servlet dispatcher threw exception
javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
        at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
        at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.newTransformer(EfficientStreamingTransformer.java:273)
        at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:60)
        at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:34)
        at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:82)
        at com.scalix.caa.soap.SOAPHelper.getElementValue(SOAPHelper.java:106)
        at com.scalix.caa.soap.SOAPHelper.getServiceType(SOAPHelper.java:73)
        at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:161)
        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:595)


Finally, FYI:

Code: Select all

[root@avalon logs]# javac -version
javac 1.5.0_05
[root@avalon logs]# java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)


I have /etc/alternatives/java_sdk as the path to my SDK, which is pointing to /usr/lib/jvm/java-1.5.0-sun/

I am not sure if the java version is the problem, or something else. Any hints?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Dec 19, 2005 5:31 pm

Yes... Java is the problem. Scalix only supports 1.4.2_0x SDK.

Install this version and then reinstall Scalix... make sure you specify the 1.4.2 install directory and you should be fine.

Regards,

Matthew
Support
I

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Postby burhankhalid » Tue Dec 20, 2005 6:21 am

Is there a way to modify the java sdk that scalix uses? Without having to reinstall?

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Dec 20, 2005 8:15 am

burhankhalid wrote:Is there a way to modify the java sdk that scalix uses? Without having to reinstall?


You need to install Java 1.4 - remove the 1.5 install and reinstall 1.4 - it will work, then.

Cheers,

Sascha.

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

Postby natkins » Tue Dec 20, 2005 12:51 pm

Or you can leave your existing Java 1.5 on the machine and install 1.4.2 in a different place such as /opt/j2sdk1.4.2. Then just make sure your JAVA_HOME environment variable or <tomcat>/bin/setclasspath.sh points to the new directory. No need to remove any existing Java runtime dirs.

Nick.

kc4tkl

Postby kc4tkl » Wed Dec 21, 2005 10:07 pm

Be careful...

The current 1.4.2 is update 10. It also did NOT work on my FC4. 1.4.2_09 works great. Go to the download archives to get it.

Bill

theseacreature

Administration server is not responding

Postby theseacreature » Tue Feb 14, 2006 11:08 pm

I am also having the same problem when I try to login to SAC. My version of java is 1.4 as required by Scalix. Please assist to advise other measures I can take to reslove the issue. Thanks.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Feb 15, 2006 12:13 am

This topic has been covered exhaustively on this, the SAC, and the Server forums. Please search for possible solutions. If none of those help you please tell us what you have done to troubleshoot this problem including if tomcat is running, you have read the FC sticky for the JAVA_OPT setting, your caa.log etc.

Thanks,
Don

theseacreature

Get error after logging into SAC

Postby theseacreature » Thu Feb 16, 2006 9:46 am

I do not host my own DNS server so I had configured my /etc/host file in the below mentioned manner to allow mails to be sent out without the 553 5.1.8 Mail Transport Error

127.0.0.1 localhost
192.168.1.12 mail-server
192.168.1.12 my-domain.net


I am still able to login to SAC but can't get it to work as the console on the left column reflects an "incomplete list" error after logging into SAC. Any advise would be helpful. Thanks.

theseacreature

Get error after logging into SAC

Postby theseacreature » Thu Feb 16, 2006 9:50 am

I do not host my own DNS server so I had configured my /etc/host file in the below mentioned manner to allow mails to be sent out without the 553 5.1.8 Mail Transport Error

127.0.0.1 localhost
192.168.1.12 mail-server
192.168.1.12 my-domain.net


I am still able to login to SAC but can't get it to work as the console on the left column reflects an "incomplete list" error after logging into SAC. Any advise would be helpful. Thanks.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Feb 16, 2006 12:20 pm

Change

192.168.1.12 mail-server

to

192.168.1.12 mail-server.my-domain.net mail-server

Thanks,
Don

theseacreature

Postby theseacreature » Fri Feb 17, 2006 10:55 am

I had changed my /etc/host file to the advised as reflected below. Now I can login to SAC and use it. But certain mails are not getting thu without any return mail errors, when I use webmail and try to send an e-mail I get the follwing error prompted:
Unable to send mail to:
(user@example.net)


# /etc/hosts
127.0.0.1 localhost
192.168.1.12 mail-server.my-domain.net mail-server
192.168.1.12 my-domain.net

Any advise would be useful

Thanks,
Don Ong

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Sat Feb 25, 2006 6:40 am

Assume this is only true for emails that you send to external address from SWA?

what you probably need to do is to go to your /var/opt/scalix/sys/smtpd.conf file and add a line saying

RELAY accept my.fully.qualify.hostname

(where this is your actual hostname - the first field in /etc/hosts after the IP address)

Make sure the line precedes the RELAY reject ALL line that is also in the file.

After doing that, restart your SMTP relay (using omoff -d 0 -w smtpd; omon -w smtpd) and try again.

Hope this helps,
Florian.
Florian von Kurnatowski, Die Harder!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 5 guests