SAC/WEBMAIL

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

danwelch3

SAC/WEBMAIL

Postby danwelch3 » Wed Jul 25, 2007 11:35 am

I've been reading lots of posts about access issues with SAC and Webmail, but none seem to address my issue. I just did a fresh install of openSUSE 10.2 and Scalix 11.1.0 Both installs went without errors. When i try to access sac or webmail I get an error 404 /webmail (/sac) does not exist. When I browse to /srv/www/htdocs I don't see any webmail or sac folder. When i try to access them through http://myipaddress/webmail I get the error from the Apache Tomcat server, but when I try and access it through http://127.0.0.1/webmail I get the error from Apache. Accessing through my IP does not add anything to the Apache error log. Here is the output of my Apache error log:

[Wed Jul 25 09:31:34 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/webmail
[Wed Jul 25 09:31:40 2007] [error] [client 127.0.0.1] File does not exist: /srv/www/htdocs/sac

I'm very stuck with this one, any help would be great. Thanks.

danwelch3

Postby danwelch3 » Wed Jul 25, 2007 2:45 pm

update on my situation:

I was trying to find some useful information in the tomcat logs as directed in the installation guide, but I couldn't find the proper log files in the tomcat home/logs/ The logs that were there were mainly empty except for those regarding catalina. Here is a list of files in the logs folder:
admin.2007-07-25.log
catalina.out
localhost.2007-07-25.log
catalina.2007-07-25.logh
ost-manager.2007-07-25.log
manager.2007-07-25.log

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Thu Jul 26, 2007 4:16 am

The files won't be in your web root, but in the tomcat webapps root (/var/opt/scalix/??/tomcat/webapps/)

Usually this kind of error indicates that either the neccesary webapp is not installed, or the Tomcat/Apache integration is broken.

Easy way to test is to go to /var/opt/scalix/??/tomcat/conf/ and remove the comments around

Code: Select all

    <!--
    <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true"
               URIEncoding="UTF-8" />
    -->


in server.xml and stop and start scalix-tomcat. Then browse to your ip on port 8080 (http://ip.address:8080/webmail). If this works, then you need to check the Apache integration.

danwelch3

Postby danwelch3 » Thu Jul 26, 2007 10:31 am

I removed the comments as you suggested, restarted scalix-tomcat and went to port 8080 at my IP. The result was a 404 error from Apache. I then looked in the tomcat webapps root for files and didn't find anything. Here is the results from a ls -R from the webapps folder:

.: ROOT

./ROOT: admin favicon.ico RELEASE-NOTES.txt tomcat-power.gif asf-logo-wide.gif index.jsp tomcat.gif WEB-INF

./ROOT/admin: index.html
./ROOT/WEB-INF: lib web.xml
./ROOT/WEB-INF/lib: catalina-root.jar

It still looks to me like the web files are missing? Could they be extracted from the rpm?

tmiles

Don't know if this will help

Postby tmiles » Fri Jul 27, 2007 1:59 am

I found this to fix my problems with the management tool and the webmail:

Before you reboot you may have to make some changes to tomcat (If the SAC page and or the Webmail don't come up when you reboot the server)

cd /etc/opt/scalix-tomcat/connector/ajp/

nano instance-xxx.conf (xxx being your mailnode or host name)

cd /etc/opt/scalix-tomcat/connector/jk/

nano instance-xxx.conf (nano, pico or vi)

Change <VirtualHost mail.xxx.com:80> and <VirtualHost mail.xxx:443>(mail.xxx.com being your host name) to: <VirtualHost *:80> and <VirtualHost *:443>

Do this in both files then restart Tomcat and Apache. (You can do this from the webmin under Bootup and Shutdown (httpd and scalix-tomcat)

This should fix your issues.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Fri Jul 27, 2007 3:24 am

If your webapps folder only contains ROOT it means the Scalix apps didn't install properly. I would suggest you uninstall the web components (everything but the Server, to be safe), then re-install them.

Or you can try to reconfigure all components.

joako
Posts: 308
Joined: Tue May 08, 2007 10:45 pm

Postby joako » Fri Jul 27, 2007 1:33 pm

You need to add in the correct section in the correct file at /etc/apache2 the follwing line:

Code: Select all

    Include /etc/opt/scalix-tomcat/connector/ajp/app-openmail.*.conf


YOUR APP-xxxx FILES ARE PROBABLY NAMED DIFFERENT.

You probably want to add that in /etc/apache2/default-server.conf if you have a standard apache install.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests