/webmail not available

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

FrankNeps
Posts: 18
Joined: Tue Mar 27, 2007 7:04 am
Location: Germany

/webmail not available

Postby FrankNeps » Tue Mar 27, 2007 3:46 pm

Hello altogether,

I installed a new system (i386) with 1 GB memory and plenty of disk space. The operating system is Ubuntu 6.06 server LTS. I followed the instructions in the "Manual installation" section of the Wiki.

I can access server/sac and login to the server. However, the address server/webmail brings me an error message:

HTTP status 404 /webmail/
description: The requested resource (/webmail/) is not available

The message obviously comes from Tomcat. What went wrong? Any ideas?

What did I check?

- The command /etc/init.d/scalix-tomcat status shows that Tomcat is running

- The omstat -s shows, that Scalix server is running

- In another forum entry it was mentioned, that the user sxqueryadmin must
be created and the password in psdata must be set --> just checked that,
seems to be ok.

Any other ideas?

Thanks in advance and best regards,

Frank

craig

Postby craig » Tue Mar 27, 2007 3:57 pm

try a ps aux |grep snd see if you have 2 instances of Tomcat running, and the best bet would be to kill them both and restart the retry webmail

craig

Postby craig » Tue Mar 27, 2007 3:58 pm

ps aux |grep tomcat

sorry

Craig

FrankNeps
Posts: 18
Joined: Tue Mar 27, 2007 7:04 am
Location: Germany

Postby FrankNeps » Tue Mar 27, 2007 4:20 pm

Only one instance is running. I killed it, restarted it, same problem.

I noticed one thing when I did the ps aux ... I had to modify one thing from the manual installation instructions. I did NOT install jre5 from Sun, but jre6 (because only this package was in the repository). Does that make a difference/problem?

Thanks for the help

Frank

craig

Postby craig » Tue Mar 27, 2007 4:49 pm


FrankNeps
Posts: 18
Joined: Tue Mar 27, 2007 7:04 am
Location: Germany

Postby FrankNeps » Tue Mar 27, 2007 5:59 pm

Ok, I deinstalled jre6, downloaded jre5 from the site mentioned
in the manual installation and got:

Starting Tomcat service (obelix2)The Java interpreter is not found
This is needed to run this program


I followed the instructions exactly, at least I think so... looks like more problems *sigh*


Thanks,

Frank

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

Postby ScalixSupport » Wed Mar 28, 2007 3:17 am

Hi Frank!

Just to clarify, did you follow that steps below for JRE installation mentioned in the page
http://www.scalix.com/wiki/index.php?ti ... n#Sun_Java:
-Run the installer: chmod +x jre-1_5_0_06-linux-i586.bin && ./jre-1_5_0_06-linux-i586.bin
-This creates a jre1.5.0_06 directory, move it to /usr/local/lib/ and, for ease of upgrade,
make a link: ln -s /usr/local/lib/jre1.5.0_06 /usr/local/lib/jre
-Setup the "alternatives" and bin links:
update-alternatives --install /usr/bin/javac javac /usr/local/lib/jre/bin/javac 120
update-alternatives --install /usr/bin/java java /usr/local/lib/jre/bin/java 120
-test with: java -version


Thanks,
Subir

FrankNeps
Posts: 18
Joined: Tue Mar 27, 2007 7:04 am
Location: Germany

Postby FrankNeps » Wed Mar 28, 2007 3:30 am

Hello Subir,

thanks for you reply, yes, that's what I did. The only thing, I did a little bit differently is the question for the version. I had to change to the directory /usr/loca/lib/jre/bin to get the version. This was the result.

java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)

Do you think it's a PATH problem?

Thanks again and best regards,

Frank

FrankNeps
Posts: 18
Joined: Tue Mar 27, 2007 7:04 am
Location: Germany

Postby FrankNeps » Wed Mar 28, 2007 3:35 am

Hmmmm, one more addition... interesting. After changing the Java to JRE 1.5 the error changes: in the Web browser I now get a 503 (Service Temporarily Unavailable). Looking at scalix-tomcat it did not run (it ran before with JRE 1.6).

I tried to start it manually, but it didn't. Error message: "The Java interpreter is not found". How can I tell Tomcat where to find the Java interpreter???

Thanks,

Frank

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

Postby ScalixSupport » Wed Mar 28, 2007 3:46 am

Frank....

PATH seems to be the problem to me, can you add the /usr/local/lib/jre/bin and try to start scalix-tomcat again.

Ideally the command "java -version" should run from anywhere.

Thanks,
Subir

FrankNeps
Posts: 18
Joined: Tue Mar 27, 2007 7:04 am
Location: Germany

Postby FrankNeps » Wed Mar 28, 2007 4:37 am

Still no success *sigh*

I aded the PATH to the general environment, but nothing happened.

Then I changed the config file /etc/opt/scalix-tomcat/scalix-tomcat.conf, because the script which is mentioned there (determine_java_home) still brought the reference to JRE 1.6. I modified the variable JAVA_HOME, restarted the complete server... but as mentioned: no success.

Any other ideas?

Thanks for your patience!

Frank

FrankNeps
Posts: 18
Joined: Tue Mar 27, 2007 7:04 am
Location: Germany

Postby FrankNeps » Wed Mar 28, 2007 4:47 am

Ok, found that problem. It was "user error"... I added the bin subdirectory to the JAVA_HOME path. Removing that worked... I now have access to both sac and webmail via Web Browser. So it really was the JRE version, which showed me the SAC but not the webmail screen.

Thanks for all your help and patience here... after many years with HP OpenMail it's great to see the development now... excellent work!

Best regards,

Frank

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

Postby ScalixSupport » Wed Mar 28, 2007 6:09 am

Frank,

Thanks a lot! Feel free to reply, we are always here to help.

Regards,
Subir

PedanticAss
Posts: 14
Joined: Thu Apr 26, 2007 11:37 am

Postby PedanticAss » Thu Apr 26, 2007 12:14 pm

Thanks for this I was in the same boat and was pulling my hair out.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 8 guests