fresh install : /sac was not found on this server

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

Neoseifer

fresh install : /sac was not found on this server

Postby Neoseifer » Thu Jul 13, 2006 5:52 am

Hi,

I just installed scalix 10.0.1 succesfully but I can't acces the SAC page. The webmail neither.

When I browse (with Firefox) to http://mydomain, the Apache page is displayed.
But for http://mydomain/sac, this page is displayed :

Not Found

The requested URL /sac was not found on this server


Same response with /webmail.

I'm using Apache 2.0.52 on CentOS.
It looks like a tomcat problem.

I found this in my caa.log :

Code: Select all

2006-07-13 11:25:15,206  INFO [SOAPDispatcherServlet.init:76] ====> CAA is starting up, standby <====
2006-07-13 11:25:15,423  WARN [CAAConfigLoader.parseConfigDocument:224] No services are configured in this config file
2006-07-13 11:25:15,466 ERROR [CAAConfigLoader.parseComponentNode:244] Service scalix.res, Component disabled has no class defined!

dkelly
Scalix
Scalix
Posts: 593
Joined: Thu Mar 18, 2004 2:03 pm

Postby dkelly » Thu Jul 13, 2006 10:44 am

Did you do choose a custom install ?

These errors indicate that the mod_jk configuration wasn't set up. Check for the presence of the files /etc/httpd/conf.d/scalix-jk-common.conf

Cheers

Dave

Neoseifer

Postby Neoseifer » Thu Jul 13, 2006 10:59 am

I did not choose a custom install but Apache was already install on my system.

Here is my scalix-jk-common.conf :

Code: Select all

#
# Scalix JK connector configuration
# (file common to all platforms)
#

# Setup JK connector needed to run Tomcat under Apache server:

<IfModule mod_jk.c>

# Set the jk log level [debug/error/info]
JkLogLevel          info
# Select the log format
JkLogStampFormat   "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions          +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat "%w %V %T"
# Send everything for context /examples to worker named worker1 (ajp13)
JkMount            /webmail* worker1
JkMount            /sac* worker1
JkMount            /caa* worker1
JkMount            /webcal* worker1
JkMount            /res* worker1

# workers.properties content:

# Define 1 real worker using ajp13
JkWorkerProperty worker.list=worker1
# Set properties for worker1 (ajp13)
JkWorkerProperty worker.worker1.type=ajp13
JkWorkerProperty worker.worker1.host=localhost
JkWorkerProperty worker.worker1.port=8009
JkWorkerProperty worker.worker1.lbfactor=50
JkWorkerProperty worker.worker1.cachesize=10
JkWorkerProperty worker.worker1.cache_timeout=600
JkWorkerProperty worker.worker1.socket_keepalive=1
JkWorkerProperty worker.worker1.reclycle_timeout=300

</IfModule>

Rick Newcombe

Same story here...

Postby Rick Newcombe » Thu Jul 13, 2006 4:28 pm

I just did the same procedure and experienced the same results described. No custom install and the Apache default page shows up. Plus to make things harder...this is my first real Linux install using Xandros Server and the supplied Scalix install disc. I to suspect this is a tomcat issue from what I've been able to find on other forums.

Andy advice appreciated

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

Postby ScalixSupport » Thu Jul 13, 2006 5:08 pm

This sounds like mod_jk isn't loaded.

If you are running with CentOS, you will have had to manipulate the redhat-release file as CentOS is not a supported platform for Scalix.

Check /etc/httpd/conf.d/ to see if you have scalix-0modules-redhat.conf. If not, the key is finding the command

Code: Select all

LoadModule jk_module modules/mod_jk.so
in one of the configuration files and making sure it isn't commented out.

@Rick Newcombe: What did Xandros say regarding your Xandros Server installation ?

Cheers

Dave

Rick Newcombe

working to overcome my own ignorance

Postby Rick Newcombe » Thu Jul 13, 2006 6:24 pm

Hi,
Sorry for misquoting. I am in fact running Xandros Server (the Scalix installation is bundled with it as you know), but haven't yet heard back from my post on their forum. It looks like the "/var/www/scalix" directory that should have files according to "scalix.conf"...is empty. When I run the installer it indicates that the application is installed. I've done one rip and replace with no difference.

I can connect to the Apache default page. Remain open to all suggestions.

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

Postby florian » Sat Jul 15, 2006 3:04 am

Hi Rick,

can you please work with Xandros support and/or their community forum to resolve this problem? Scalix Xandros edition is an OEM product that is supported by Xandros only for first-level support. This is especially true for all web integration - this was done very differently from what our normal Scalix install provides.

On this particular one, I believe the web server running the SAC is configured to use a different port number (don't remeber - was it 7070 or 9090 or so?). The normal way to get into SAC on the xandros desktop is to go to your xMC, select the Scalix plugin and then hit the "start admin console" button.

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

Neoseifer

Postby Neoseifer » Mon Jul 17, 2006 4:10 am

ScalixSupport wrote:This sounds like mod_jk isn't loaded.

If you are running with CentOS, you will have had to manipulate the redhat-release file as CentOS is not a supported platform for Scalix.

This is done still I could not install Scalix without changing this. My OS is RHEL 4 (Nahant) for scalix.

ScalixSupport wrote:Check /etc/httpd/conf.d/ to see if you have scalix-0modules-redhat.conf.


I have this file. To be more precise I have these files in /etc/httpd/conf.d/ :

Code: Select all

manual.conf
README
perl.conf
php.conf
python.conf
scalix-0modules-redhat.conf
scalix-web-client.conf
scalix-jk-redhat.conf
scalix-deflate.conf
scalix-jk-common.conf
ssl.conf
webalizer.conf
welcome.conf


and this is the content of my scalix-0modules-redhat.conf :

Code: Select all

# Load deflate and JK modules used by Scalix:

<IfModule !mod_deflate.c>
LoadModule deflate_module modules/mod_deflate.so
</IfModule>

<IfModule !mod_jk.c>
LoadModule jk_module modules/mod_jk.so
</IfModule>


All seems to be ok :?
Is there another thing that could avoid the jk_connector to be loaded ?

Neoseifer

Postby Neoseifer » Tue Jul 18, 2006 4:29 am

No idea ? Nobody ? :(
I am looking for other posts about tomcat problems but nothing about this one :(

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

Postby ScalixSupport » Tue Jul 18, 2006 4:37 am

Hi,

Could you check if tomcat is even running?

Code: Select all

ps -ef | grep tomcat


Thanks,
Yuri

Neoseifer

Postby Neoseifer » Tue Jul 18, 2006 11:19 am

Code: Select all

ps -ef | grep tomcat

root      2716     1 20 17:16 ?        00:00:19 /usr/java/jre1.5.0_04/bin/java -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_04/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/scalix-tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/opt/scalix-tomcat/temp org.apache.catalina.startup.Bootstrap start
root      3699  3634  0 17:18 pts/1    00:00:00 grep tomcat

Tomcat seems to run...

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

Postby florian » Tue Jul 18, 2006 11:21 am

Did you change anything in your Apache configuration from the defaults when your OS was installed? Are there any significant lines in your apache error_log? Which URL are you actually using?

Thx,
Florian.
Florian von Kurnatowski, Die Harder!

Neoseifer

Postby Neoseifer » Wed Jul 19, 2006 3:53 am

I did not change anything in my Apache config. I just installed CentOS, changed the "redhat-release" file then installed Scalix.

I'm using "http://localhost/sac" or "http://mx1.mydomaine.fr/sac"


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 10 guests