Page 1 of 1

FC6 - problem with SAC

Posted: Tue Mar 13, 2007 9:34 am
by arkadius
Hello

I installed Scalix 11.0.2 on Fedora Core 6
using packages for FedoraCore 5

I used description from
http://www.scalix.com/wiki/index.php?ti ... stallation

I installed all packages without problems or errors.

My apache and tomcat are running.
My /etc/httpd/conf.d/proxy_ajp.conf

### START ###

LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

ProxyPass /Scalix/ ajp://192.168.0.102:8009/


### END ###

I can see tomcat default page at address
http://my.host/Scalix/

and it display pages from folder
/var/opt/scalix/p2/tomcat/webapps/ROOT/

What should I do to successfully see SAC at address
http://my.host/Scalix/sac/

what port number should be in file
/var/opt/scalix/p2/res/config/res.properties
80 or 8009 ???

tail /var/opt/scalix/p2/res/config/res.properties
### START ###
res.kerberos.mode=
res.kerberos.kdc=
res.kerberos.realm=
res.kerberos.allowedclients=ubermanager/my.host
res.ubermanager.host=my.host
res.tomcat.tcp.port=80
res.configured=true
res.version=11.0.1

### END ###


Currently I can see Tomcat error message
The requested resource (/sac/) is not available.

Directory
/etc/opt/scalix-tomcat/connector/ajp/
is empty ( is this OK ??? )

I read
http://www.scalix.com/wiki/index.php?ti ... figuration
but I don't have
/etc/opt/scalix-tomcat/connector/[ajp|jk]/instance-*.conf
files.

some additional Info:

ps ax | grep tomcat

4416 ? Sl 0:07 /usr/java/jre1.5.0_06/bin/java -server -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/p2 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/p2/tomcat/conf/logging.properties -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_06/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/var/opt/scalix/p2/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/p2/tomcat/temp org.apache.catalina.startup.Bootstrap start
5912 pts/2 R+ 0:00 grep tomcat



tail /var/log/httpd/access_log

192.168.0.44 - - [13/Mar/2007:14:36:41 +0100] "GET /Scalix/ HTTP/1.1" 200 8132 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2"
192.168.0.44 - - [13/Mar/2007:14:36:47 +0100] "GET /Scalix/sac/ HTTP/1.1" 404 967 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2"



tail /var/opt/scalix/p2/tomcat/logs/catalina.out -n 50

2007-03-13 12:53:26 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/java/jre1.5.0_06/lib/i386/server:/usr/java/jre1.5.0_06/lib/i386:/usr/java/jre1.5.0_06/../lib/i386
2007-03-13 12:53:26 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1875 ms
2007-03-13 12:53:27 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2007-03-13 12:53:27 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
2007-03-13 12:53:27 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2007-03-13 12:53:29 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on my.host/192.168.0.102:8009
2007-03-13 12:53:29 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/126 config=null
2007-03-13 12:53:29 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2007-03-13 12:53:29 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2948 ms
2007-03-13 12:53:47 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
2007-03-13 12:53:47 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
2007-03-13 12:53:50 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/java/jre1.5.0_06/lib/i386/server:/usr/java/jre1.5.0_06/lib/i386:/usr/java/jre1.5.0_06/../lib/i386
2007-03-13 12:53:50 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2135 ms
2007-03-13 12:53:50 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2007-03-13 12:53:50 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.16
2007-03-13 12:53:50 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2007-03-13 12:53:52 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on my.host/192.168.0.102:8009
2007-03-13 12:53:52 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/191 config=null
2007-03-13 12:53:52 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2007-03-13 12:53:53 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2919 ms


[root@pc-102 conf.d]# omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 10:27:36
Notification Server Started 10:27:36 0
Shared memory daemon Started NON-STOP
Notification Monitor Started NON-STOP
Session Monitor Started NON-STOP
Indexer Started NON-STOP
Stats Daemon Started NON-STOP
Container Access Monitor Started NON-STOP
Item Structure Server Stopped
Database Monitor Started 10:27:36
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 10:27:36
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 10:27:36
SMTP Relay Started 10:27:36
Mime Browser Controller Started 10:27:36
Event Server Started 10:27:36



[root@pc-102 conf.d]# omstat -s
Service Router Started 10:27:37 0
Local Delivery Started 10:27:37 0
Internet Mail Gateway Started 10:27:37 0
Local Client Interface Enabled 10:27:37 0
Remote Client Interface Enabled 10:27:37 0
Test Server Started 10:27:37 0
Request Server Started 10:27:37 0
Print Server Started 10:27:37 0
Bulletin Board Server Started 10:27:37 0
Background Search Service Started 10:27:37 0
CDA Server Started 10:27:38 0
POP3 interface Started 10:27:38 0
Omscan Server Started 10:27:38 0
Archiver Started 10:27:38 0

Posted: Wed Mar 14, 2007 6:41 am
by arkadius
No one can help me ???

Posted: Wed Mar 14, 2007 6:47 am
by ScalixSupport
Hi!

Ideal URL to access SAC would be http://your-server/sac, and that for webmail would be
files would be http://your-server/webmail, files for them are accessed from the folder at
/var/opt/scalix/s4/tomcat/webapps.

Can you reply with the result of the command "rpm -qa | grep scalix" and
"rpm -qa | grep postgres".

[Edit] The port number 80 is fine.

Thanks,
Subir

Posted: Thu Mar 15, 2007 6:32 am
by arkadius
I realized that first I have installed all RPMs
packages, and then start to configure everything,
whereas in the installaction instruction you
suggest first to install ONLY Scalix Server package.

If this is the reason I try to do everything again.

I tried to configure Tomcat at address
httpd://my.host/
instead of
httpd://my.host/Scalix
but there is no difference.

I don't have
/var/opt/scalix/s4
directory. There is only p2 directory in
/var/opt/scalix/

Thanks for your answer.

Here are results of requested commands:

[root@pc-102 ~]# rpm -qa | grep scalix
scalix-postgres-11.0.2.23-1
scalix-mobile-11.0.2.23-1
scalix-platform-11.0.2.23-1
scalix-tomcat-5.5.16-195
scalix-server-11.0.2.17-1.fc5
scalix-sis-11.0.2.23-1
scalix-swa-11.0.2.23-1
scalix-tomcat-connector-11.0.0.181-1.fc5
scalix-res-11.0.2.23-1
scalix-sac-11.0.2.23-1


[root@pc-102 ~]# rpm -qa | grep postgres
scalix-postgres-11.0.2.23-1
postgresql-server-8.1.8-1.fc6
postgresql-python-8.1.8-1.fc6
postgresql-libs-8.1.8-1.fc6
postgresql-8.1.8-1.fc6

Posted: Thu Mar 15, 2007 7:03 am
by ScalixSupport
Hey!

/var/opt/scalix/?? is the instance folder for Scalix, this concept has been implemented
Scalix 11 onwards. ?? is the first and last characters of your Scalix Server FQDN.

I would suggest you to follow the Manual Installation instructions available at:
http://www.scalix.com/wiki/index.php?ti ... stallation
For Apache/Tomcat configurations refer to Howto's below:
http://www.scalix.com/wiki/index.php?ti ... Tos/Apache
http://www.scalix.com/wiki/index.php?ti ... figuration

Thanks,
Subir

Posted: Thu Mar 15, 2007 8:08 am
by arkadius
But there is only default Tomcat page in folder
/var/opt/scalix/p2/tomcat/webapps/

I would try install everything once more.

[root@pc-102 ~]# ls -al /var/opt/scalix/p2/tomcat/webapps/
razem 12
drwxr-xr-x 3 root root 4096 mar 13 11:36 .
drwxr-xr-x 7 root root 4096 mar 13 15:48 ..
drwxr-xr-x 4 root root 4096 mar 13 11:31 ROOT
[root@pc-102 ~]# ls -al /var/opt/scalix/p2/tomcat/webapps/ROOT/
razem 72
drwxr-xr-x 4 root root 4096 mar 13 11:31 .
drwxr-xr-x 3 root root 4096 mar 13 11:36 ..
drwxr-xr-x 2 root root 4096 mar 12 14:12 admin
-rw-r--r-- 1 root root 5866 mar 5 2006 asf-logo-wide.gif
-rw-r--r-- 1 root root 21630 mar 5 2006 favicon.ico
-rw-r--r-- 1 root root 8187 mar 5 2006 index.jsp
-rw-r--r-- 1 root root 6396 mar 13 11:31 RELEASE-NOTES.txt
-rw-r--r-- 1 root root 1934 mar 5 2006 tomcat.gif
-rw-r--r-- 1 root root 2324 mar 5 2006 tomcat-power.gif
drwxr-xr-x 3 root root 4096 mar 12 14:12 WEB-INF

Posted: Fri Mar 16, 2007 1:11 am
by ScalixSupport
Hi!

This is bad news, this means the tomcat-connector installation has not done its task. Could
you reply to me with the contents of file etc/httpd/conf.d/scalix-tomcat-connector.conf , if any. If you have apache2 the folder could be /etc/apache2 or something similar.

Thanks,
Subir

Posted: Fri Mar 16, 2007 9:01 am
by arkadius
I tried to do
[root@pc-102 scalix_server]# rpm -i --replacepkgs scalix-tomcat-5.5.16-195.noarch.rpm
[root@pc-102 scalix_server]# rpm -i --replacepkgs scalix-tomcat-connector-11.0.0.181-1.fc5.i386.rpm

but the directory
/var/opt/scalix/p2/tomcat/webapps/ROOT/
still contains only default web page of Tomcat

[root@pc-102 scalix_server]# cat /etc/httpd/conf.d/scalix-tomcat-connector.conf

# ---------------------------------------------------------------------------
# Load deflate and proxy_ajp modules used by Scalix:
# ---------------------------------------------------------------------------

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

<IfModule !mod_proxy.c>
LoadModule proxy_module modules/mod_proxy.so
</IfModule>

<IfModule !mod_proxy_ajp.c>
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
</IfModule>

# ---------------------------------------------------------------------------
# Configure on-the-fly deflate compression of the pages:
# ---------------------------------------------------------------------------

<Location />
AddOutputFilterByType DEFLATE text/xml text/html text/css
AddOutputFilterByType DEFLATE application/x-javascript
</Location>

# ---------------------------------------------------------------------------
# mod_proxy_ajp connector configuration
# ---------------------------------------------------------------------------

<IfModule mod_proxy_ajp.c>

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

</IfModule>

Posted: Tue Mar 27, 2007 10:16 am
by echen
I get the same problem, how to fix that? I'm waiting for the answer.

Posted: Tue Mar 27, 2007 11:53 am
by KevinAnderson
Please see the FAQ for Scalix 11 in the wiki and have a look at the section on Apache config.

Kev.

Posted: Thu Mar 29, 2007 6:15 pm
by mbaylis
I am having the same problems as mentioned above.

I have read all the FAQs and Manual Installation instructions, however none of the documents describe how to create the instance-*.conf files.

The /etc/httpd/conf.d/scalix-tomcat-connector.conf files requests that apache include the files Include /etc/opt/scalix-tomcat/connector/ajp/instance-*.conf.

However, /etc/opt/scalix-tomcat/connector/ajp/ directory is empty and the manual instructions do not create any files in this directory. From the apache configuration howto wiki I gather that these files provide the link to the instance that runs my new mailnode. If these files are missing then we won't access the /sac /webmail etc.

Either there is a step missing in the manual instructions OR one of the programs did not create the file. Would someone please give an example of the contents of these files?

thank you