SAC, Webmail not available w fresh install of 11.03 on FC5

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

dale

SAC, Webmail not available w fresh install of 11.03 on FC5

Postby dale » Tue May 01, 2007 2:18 am

I have been searching these forums, wikis, etc for a few days looking for the solution. I have a fresh install of FC5. I installed Scalix 11.0.3 without error. All services appear to be running but I get the 503 error (Service Temporarily Unavailable) when I try to connect to SAC, webmail or mobile. It seems I need to define a virtual server in Apache but don't know exactly how to do this. Any help would be appreciated.

Thanks!
Dale

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

Postby ScalixSupport » Tue May 01, 2007 9:07 am

Hi Dale!

Can you send me the result for following commands:
omstat -a
omstat -s
ps ax | grep tomcat
lsof -i:25
lsof -i:8009
java -version
omshowlog -l 3

Thanks,
Subir

dale

Postby dale » Tue May 01, 2007 8:08 pm

Hi Subir,
Thanks for the help. I hope this is what you are looking for.

omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 04.30.07
Notification Server Started 04.30.07 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 04.30.07
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 04.30.07
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 04.30.07
SMTP Relay Started 04.30.07
Mime Browser Controller Started 04.30.07
Event Server Started 04.30.07

omstat -s
Service Router Started 04.30.07 0
Local Delivery Started 04.30.07 0
Internet Mail Gateway Started 04.30.07 0
Local Client Interface Enabled 04.30.07 0
Remote Client Interface Enabled 04.30.07 0
Test Server Started 04.30.07 0
Request Server Started 04.30.07 0
Print Server Started 04.30.07 0
Bulletin Board Server Started 04.30.07 0
Background Search Service Started 04.30.07 0
CDA Server Aborted 04.30.07 0
POP3 interface Started 04.30.07 0
Omscan Server Started 04.30.07 0
Archiver Started 04.30.07 0

ps ax | grep tomcat
2818 ? Sl 0:43 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/as -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/as/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/as/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/as/tomcat/temp org.apache.catalina.startup.Bootstrap start
19545 pts/2 R+ 0:00 grep tomcat

lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 2452 root 4u IPv4 7262 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 2628 root 4u IPv4 7670 TCP aquarius.benolkin.com:smtp (LISTEN)
omsmtpd 2628 root 5u IPv4 7671 TCP 192.168.69.3:smtp (LISTEN)
sendmail 19395 root 9u IPv4 126672 TCP aquarius.benolkin.com:35222->blackhole.heavens-door.net:smtp (SYN_SENT)
sendmail 19395 root 10u IPv6 125672 TCP aquarius.benolkin.com:60180->smtp-01.servidoresdns.net:smtp (ESTABLISHED)
sendmail 19395 root 11u IPv6 125672 TCP aquarius.benolkin.com:60180->smtp-01.servidoresdns.net:smtp (ESTABLISHED)

lsof -i:8009 did not show anything

java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-51)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

omshowlog -l 3
SERIOUS ERROR CDA Server (CDA Server ) 04.30.07 21:37:13
[OM 28664] There is already a CDA server process running
-> aud_GetSetLogConfig
<- aud_GetSetLogConfig
-> cda_DaemonMain
-> ccs_DoInitTables
-> ccs_AttemptSMem
<- ccs_AttemptSMem
<- ccs_DoInitTables
<- /build/11.0.3/src/bin/cda/cda_daemon.c:799[205,28664]

The last one doesn't look so good. Let me know if you need anything else. This is my home mail server and it has been down for a week. I had it running until a crash - thus the fresh install of everything. Any help would be greatly appreciated.

Thanks,
Dale

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

Postby ScalixSupport » Wed May 02, 2007 7:27 am

Hi Dale!

There are two things that I took note of and need to be resolved first hand:
1. No response for lsof -i:8009, means this port is not responding.
2. java -version, returns 1.4.2, while the java process running as shown from
ps ax | grep java shows java path selected to be Java 1.5.0_06.
3. Serious error for CDA Server.

To help resolve the port 8009 not responding, make sure you have followed the steps
mentioned at the links below:
http://www.scalix.com/wiki/index.php?ti ... Tos/Apache
http://www.scalix.com/wiki/index.php?ti ... Tos/Tomcat

Ideally on running, java -version we should get 1.5.0_06 as well, check if path to bin folder of java 1.5.0_06 installation is appended to PATH environment variable.

To remove the "SERIOUS ERROR CDA Server" you can reset the CDA server. Follow the
steps below to do the same:
1. omreset -o off cda
2. delete the CDA Server lock file (cda.cfg.lk) from the folder /var/opt/scalix/??/s/sys
3. omon cda

Thanks,
Subir

dale

Postby dale » Wed May 02, 2007 11:47 am

Thanks Subir. I will try these out tonight and let you know how it goes.

dale

Postby dale » Thu May 03, 2007 2:55 am

Hi Subir,
I have made a little progress.

omstat -a no change

omstat -s no change

ps ax|grep tomcat
2805 ? Sl 0:24 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/as -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/as/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/as/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/as/tomcat/temp org.apache.catalina.startup.Bootstrap start
3625 pts/1 S+ 0:00 grep tomcat

lsof -i:25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 2463 root 4u IPv4 7288 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 2636 root 3u IPv4 13423 TCP aquarius.benolkin.com:smtp->smtp.easydns.com:47360 (ESTABLISHED)
omsmtpd 2636 root 4u IPv4 7693 TCP 192.168.69.3:smtp (LISTEN)
omsmtpd 2636 root 5u IPv4 7694 TCP aquarius.benolkin.com:smtp (LISTEN)
omsmtpd 2636 root 10u IPv4 13429 TCP localhost.localdomain:60885->localhost.localdomain:smtp (ESTABLISHED)
sendmail 3632 root 1u IPv4 13430 TCP localhost.localdomain:smtp->localhost.localdomain:60885 (ESTABLISHED)
sendmail 3632 root 4u IPv4 13430 TCP localhost.localdomain:smtp->localhost.localdomain:60885 (ESTABLISHED)
sendmail 3632 root 6u IPv4 13430 TCP localhost.localdomain:smtp->localhost.localdomain:60885 (ESTABLISHED)

lsof -i:8009 no change

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

omshowlog -l 3
[OM 4884] omshowlog : No logged records match the specified criteria

I have the tomcat manager webapp working and am able to get sac (webmail and mobile) login page from within manager but I am unable to log in sxadmin. I know I am using the correct userid and password. I am still unable to access any of the webapps from a web browser (outside the tomcat manager). What would you suggest next?

Thanks again,
Dale

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

Postby ScalixSupport » Thu May 03, 2007 5:59 am

Hi!

Do you still get "CDA Server Aborted" in response to omstat -s?

Also, can you send the contents of the file:
/etc/httpd/conf.d/scalix-tomcat-connector.conf

Can you send the definition of AJP 1.3 Connector on port 8009 in the file:
/var/opt/scalix/??/tomcat/conf/server.xml
where, ?? is the instance folder for your server.

Thanks,
Subir

dale

Postby dale » Thu May 03, 2007 11:51 am

Sorry, I wasn't observant enough. The CDA Server is now started.
CDA Server Started 05.02.07 0

/etc/https/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>

/var/opt/scalix/as/tomcat/conf/server.xml
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009"
address="aquarius"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3"
URIEncoding="UTF-8" />

Your wish is my command! Let me know what is next.

Thanks,
Dale

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

Postby ScalixSupport » Fri May 04, 2007 7:56 am

Hi Dale!

Do you use Apache2? Also, please refer to the link below, see if you have the correct
configuration files:
http://www.scalix.com/wiki/index.php?ti ... figuration

I would recommend you to replace value for attribute address in server.xml where the
AJP 1.3 Connector on port 8009 is defined. The current value that you have set is just
the host name, set it to what you get in response to the command:
hostname --fqdn, this should I think ideally return aquarius.benolkin.com for you.

Once you have done this, restart services for Apache and Scalix-tomcat. Now, check
what you get in response to command lsof -i:8009. For me the result of this
command is:
java 20625 root 30u IPv4 155482 TCP subir-rhel4.scalix.co.in:8009 (LISTEN)

Feel free to respond.

Thanks,
Subir

dale

Postby dale » Wed May 09, 2007 1:19 am

Played with server.xml and got it working.

Thanks,
Dale


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 1 guest