Page 1 of 1

Don't get Scalix 11 working von Debian Sarge

Posted: Tue Feb 27, 2007 1:56 pm
by Dakapo
Hello!

I started installing Scalix about 3 weeks ago on a fresh and clean Debian Sarge NetInstall-Installation.

I used the following tutorials from the Scalix-Wiki:
http://www.scalix.com/wiki/index.php?ti ... stallation
http://www.scalix.com/wiki/index.php?ti ... ebian_Etch

After the "Manual Installation" I had some problems with ldap-configuration and fixes them by reading the Debian-Etch Installation.

Now the Scalix-Server starts correctly:

Code: Select all

knut:/var/opt/scalix/lt/tomcat/logs# /etc/init.d/scalix start
Starting Scalix services (localhost):
knut:/var/opt/scalix/lt/tomcat/logs#


I think that there must be a problem with tomcat and/or apache configuration.
But I nearly know nothing about tomcat :(

Only http://my-ip/Scalix/rw and http://my-ip/Scalix/paw are reachable. But these two don't seem to need Tomcat.

The rest is unreachable (Scalix Webaccess and Administration)

Here is my "catalina.out" logfile after starting "/etc/init.d/scalix-tomcat start":

Code: Select all

Feb 27, 2007 6:55:56 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/lib/jre1
.5.0_10/lib/i386/server:/usr/local/lib/jre1.5.0_10/lib/i386:/usr/local/lib/jre1.5.0_10/../lib/i386
Feb 27, 2007 6:55:56 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2970 ms
Feb 27, 2007 6:55:57 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Feb 27, 2007 6:55:57 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
Feb 27, 2007 6:55:57 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Feb 27, 2007 6:55:59 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/var/opt/scalix/lt/tomcat/webapps/scalix-caa/WEB-INF/lib/j2ee.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending clas
s: javax/servlet/Servlet.class
CAA: scalix.instance is /var/opt/scalix/lt
CAA: caa-root-directory is /var/opt/scalix/lt/caa/
CAA: Loaded web.xml init params
CAA: caa-config-directory is /var/opt/scalix/lt/caa/config
CAA: log4j-init-file is /var/opt/scalix/lt/caa/config/log4j.properties
CAA: caa-framework-init-file is /var/opt/scalix/lt/caa/config/framework-config.xml
log4j:WARN No appenders could be found for logger (com.scalix.caa.util.CAALogger).
log4j:WARN Please initialize the log4j system properly.
CAA: SAXException loading configuration file



Hope somebody can help me.

Thank you very much
Dakapo

Install Help

Posted: Tue Feb 27, 2007 4:20 pm
by awarelearn
Hi
I also went through difficulties getting scalix installed on debian. It turned out to be configuration problems and the changes in the Manual Install notes

check to see if scalix is working.

Telnet <fqdn> 110
this will telnet the POP server
you should see:

Connected to <fqdn>
Escape character is '^]'.
+OK Scalix POP3 interface ready on: <fqdn>

type: user sxadmin
pass <password>

It should give you status that you logged in. Type quit to exit

check /etc/apache2/mods-available/proxy.conf
put in "Allow from All" instead of "Deny from All"
(this isn't secure, but you can fix it later)

This was my first main problem, scalix was installing, but I couldn't get to it from the browser. Check out my post in this forum "Debian woes"

Joe

Posted: Wed Feb 28, 2007 5:23 am
by Dakapo
Hello Joe!

Thank you for your fast reply!
I tried your telnet-instructions and they worked fine.

I also changed the apache-proxy-conf file temporarely but I still can't access the scalix-webpages.

By the way: Your Debian Woes Posting looks great and I bookmarked it.

My opinion is that there must be something wrong with this *.properties-files.
That are the tomcat-configuration-files right?

Any idea how I can get a step forward?
Should I post any additional information?

Posted: Thu Mar 01, 2007 10:23 am
by Dakapo
Yeah :)

Now it works...
I made a complete new instal of Debian Sarge. Upgraded to Debian Etch and after that I exactly followed your instructions: viewtopic.php?t=6138&highlight=debian+woes

The only mistake that I found was in the Installation-Script.
There your folders begin with "/var/opt/scalix/sx" but for example on my system it is "/var/opt/scalix/lt/"

After the installation I didn't got errors in the apache-log or tomcat-catalina-log.
But the webaccess still didn't work. So I began to look into the tomcat-connector-configuration-files in "/etc/opt/scalix-tomcat/connector/ajp" and I saw that I had entered "localhost.localdomain" as FQ-Domain-Name.

I added "scalix.homenet" to the hosts-file and to the hosts-file from my windows-station too. Furthermore I had to edit the Domain-Names in the /etc/opt/scalix-tomcat/connector/ajp directory.

Now I can access over scalix.homenet.

There are still some problems with the Domain-Names but now I know where the failure is and I hope I will fix it completely :)

Kind regards
Dakapo