SAC Times Out and Webmail Gives "Already Connected"

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

SAC Times Out and Webmail Gives "Already Connected"

Postby jonwatson » Sat Mar 24, 2007 12:46 pm

I think the subject says it all.

I am running SUSE 10.1 with Scalix 11.0.2. This is a brand new install. When I attempt to reach the sac, I am presented with the login screen, but it hangs at 'Attempting to login".

When I try to log into webmail, I get a dialogue box that says "Already connected". Authentication seems to happen because if I attempt to log in with the wrong credentials, it tells me so.

I have rebooted this thing many times so I'm quite sure that my email account (I only have the sxadmin account at the momet) isn't already connected.

I've searched the forums and while the odd person seems to have this problem, I can't get any of the fixes working for me.

Some stuff I've looked at:

Code: Select all

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


Code: Select all

mail:/etc/opt/scalix-tomcat/connector/ajp # omstat -a
PC Monitor                    Started        NON-STOP       0
Directory Relay Server        Started        17:27:56       
Notification Server           Started        17:27:56       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        17:27:57       
Licence Monitor Daemon        Started        NON-STOP       
LDAP Daemon                   Started        17:27:57       
Queue Manager                 Started        NON-STOP       
Item Delete Daemon            Started        NON-STOP       
IMAP Server Daemon            Started        17:27:57       
SMTP Relay                    Started        17:27:58       
Mime Browser Controller       Started        17:27:59       
Event Server                  Started        17:28:01 


Not really sure where to go from here. Can someone give me some tips on where to look for trouble?

Thanks!
http://www.jonwatson.ca
Friends don't let friends do Windows.

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

Postby ScalixSupport » Mon Mar 26, 2007 3:41 am

Hi!

Try to add a user using the command omaddu, and see if you could login Webmail for
this user.

Do you see an entry in /var/opt/scalix/<aa>/webmail/swa.properties file:
swa.soap.soapRequestTimeout=60

Could you please reply with the result of the commands:

Code: Select all

/etc/init.d/scalix status
/etc/init.d/scalix-postgres status
ps -ax | grep tomcat

Also, please check if the result of command:

Code: Select all

hostname --fqdn

matches the one in /var/opt/scalix/<aa>/webmail.swa.properties

If the webmail still fails to start, try restarting scalix-tomcat service.

Thanks,
Subir

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

Postby jonwatson » Mon Mar 26, 2007 8:15 am

ScalixSupport wrote:Hi!

Try to add a user using the command omaddu, and see if you could login Webmail for
this user.


Working on this one. Need to read a bit to figure out how to use it

ScalixSupport wrote:Do you see an entry in /var/opt/scalix/<aa>/webmail/swa.properties file:
swa.soap.soapRequestTimeout=60


Yes.

ScalixSupport wrote:Could you please reply with the result of the commands:

Code: Select all

/etc/init.d/scalix status
/etc/init.d/scalix-postgres status
ps -ax | grep tomcat


Code: Select all

# /etc/init.d/scalix status
*** mail
PC Monitor                    Started        NON-STOP       0
Directory Relay Server        Started        03.22.07       
Notification Server           Started        03.22.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        03.22.07       
Licence Monitor Daemon        Started        NON-STOP       
LDAP Daemon                   Started        03.22.07       
Queue Manager                 Started        NON-STOP       
Item Delete Daemon            Started        NON-STOP       
IMAP Server Daemon            Started        03.22.07       
SMTP Relay                    Started        03.22.07       
Mime Browser Controller       Started        03.22.07       
Event Server                  Started        03.22.07       
Service Router                Started        03.22.07       0         
Local Delivery                Started        03.22.07       0         
Internet Mail Gateway         Started        03.22.07       0         
Local Client Interface        Enabled        03.22.07       0         
Remote Client Interface       Enabled        03.22.07       0         
Test Server                   Started        03.22.07       0         
Request Server                Started        03.22.07       0         
Print Server                  Started        03.22.07       0         
Bulletin Board Server         Started        03.22.07       0         
Background Search Service     Started        03.22.07       0         
CDA Server                    Started        03.22.07       0         
POP3 interface                Started        03.22.07       0         
Omscan Server                 Started        03.22.07       0         
Archiver                      Started        03.22.07       0 


Code: Select all

# /etc/init.d/scalix-postgres status
                                                                      unused



Code: Select all

# ps -ax | grep tomcat
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 2279 ?        Sl     2:49 /usr/java/jre1.5.0_06/bin/java -server -Djava.net.preferIPv4Stack=true -Xms256m -Xmx256m -Dscalix.instance=/var/opt/scalix/ml -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/opt/scalix/ml/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/ml/tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/var/opt/scalix/ml/tomcat/temp org.apache.catalina.startup.Bootstrap start
18896 pts/0    R+     0:00 grep tomcat



ScalixSupport wrote:Also, please check if the result of command:

Code: Select all

hostname --fqdn
matches the one in /var/opt/scalix/<aa>/webmail.swa.properties


It does.

ScalixSupport wrote:If the webmail still fails to start, try restarting scalix-tomcat service.


OK. I've rebooted this thing a million times and there are no scalix failures on boot so I'm pretty sure everything is running. Although that scalix-postgres status doesn't look promising. I started it with:

/etc/init.d/scalix-postgres start

and it started, but I get the same 'already connected' error for my sxadmin user. I'll create a new user and post back what happens when I try to log in with it.

Any thoughts?

Thanks!
http://www.jonwatson.ca

Friends don't let friends do Windows.

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

Postby ScalixSupport » Mon Mar 26, 2007 8:47 am

Hi!

What is the result for the command "omshowu -m all", I would help you add a user.
What is the result of "ps ax | grep httpd"?

Thanks,
Subir

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

Postby jonwatson » Mon Mar 26, 2007 10:30 am

ScalixSupport wrote:Hi!

What is the result for the command "omshowu -m all", I would help you add a user.
What is the result of "ps ax | grep httpd"?

Thanks,
Subir


Thanks for the help.

Code: Select all

# omshowu -m all
sxadmin /mail/CN=sxadmin
sxqueryadmin /mail/CN=sxqueryadmin


Code: Select all

 # ps ax | grep httpd
 3396 ?        Ss     0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
 3397 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
 3398 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
 3399 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
 3400 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
 3401 ?        S      0:01 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
 3698 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
 3872 ?        S      0:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
19336 pts/0    S+     0:00 grep httpd
http://www.jonwatson.ca

Friends don't let friends do Windows.

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

Postby jonwatson » Mon Mar 26, 2007 11:13 am

ScalixSupport wrote:Hi!

What is the result for the command "omshowu -m all", I would help you add a user.

Thanks,
Subir


Some success with webmail. I created a new user and was able to log in to webmail with it. Good stuff.

My problem seems to surround the sxadmin user then. When attempting to login with sxadmin, webmail reports "Already connected" and the SAC just times out at "Attempting to log in".

How can I troubleshoot the sxadmin user account?

Thanks!

Edit: Does this indicate a problem? It doesn't look right to me, but I'm not an expert on omshowu:

Code: Select all

# omshowu -m all
sxadmin /mail/CN=sxadmin
sxqueryadmin /mail/CN=sxqueryadmin
Test User /mail/CN=Test User
# omshowu -O sxadmin
omshowu : [OM 8040] The user can't be found, or has been deleted.
http://www.jonwatson.ca

Friends don't let friends do Windows.

KevinAnderson

Postby KevinAnderson » Mon Mar 26, 2007 12:37 pm

Can you post the output from "omsearch -s|grep sxadmin" and/or omshowu -n sxadmin. You're looking to use sxadmin as the AuthID, the scalixID will be numeric, similar to a logn name vs a UnixID (root vs UID0).

Kev.

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

Postby jonwatson » Mon Mar 26, 2007 12:51 pm

KevinAnderson wrote:Can you post the output from "omsearch -s|grep sxadmin" and/or omshowu -n sxadmin. You're looking to use sxadmin as the AuthID, the scalixID will be numeric, similar to a logn name vs a UnixID (root vs UID0).

Kev.


Sure...I'm getting nowhere here....

I've munged the domain for our customer's privacy....

Code: Select all

# omsearch -s|grep sxadmin
S=sxadmin/OU1=mail/CN=sxadmin/INTERNET-ADDR=sxadmin@domain.com/ENTRY-TYPE=1/UL-AUTHID=sxadmin/UL-CAPS=7/UL-CLASS=Limited/UL-IL=C

Code: Select all

#  omshowu -n sxadmin
Authentication ID: sxadmin
Globally Unique ID: 1500000002562064-501.05.0.01
User Name : sxadmin /CN=sxadmin
MailNode : mail
Internet Address : sxadmin@domain.com
System Login : 60534
Password : set
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : 03.24.07 13:23:54
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited
SIS URL : sxidx://mail.domain.com/0500000002562064-501.05.0.01
http://www.jonwatson.ca

Friends don't let friends do Windows.

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

Postby ScalixSupport » Tue Mar 27, 2007 3:09 am

Hey!

# omshowu -O sxadmin
omshowu : [OM 8040] The user can't be found, or has been deleted.

From the man page for omshowu:
-O scalix
Displays details about a specific user. scalix-id is the Scalix numeric id of the
user (as reported by the -G option).

To actually see the results, do the following:

Code: Select all

omshowu -n sxadmin -G

would give a numeric ID next to "Internal user Id : ", now try the command below:

Code: Select all

omshowu -O <ID>

Note: <ID> is the vale that you get next to "Internal user Id :" from the result of omshowu -n
sxadmin -G.

Coming back to login problems in SAC, what errors are you getting in your tomcat logs?
You'll find those under /var/opt/scalix/??/tomcat/logs, check each of them for
errors, let us know what you're experiencing.

Thanks,
Subir

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

Postby jonwatson » Wed Mar 28, 2007 12:51 pm

I reinstalled SUSE 10.1 from scratch and reinstalled Scalix and am having the same issue.

What I can't figure out is that Scalix works wonderfully until I change the IP address of the box and then it pukes completely.

I have to do this because I build in one place and deploy in another.

I've given up operating under the assumption that the only place the IP address matters is in the /etc/hosts file. Obviously it's squirelled away in Scalix somewhere.

I've read the wiki article on changing the host name, but that's not what I'm doing. The hostname is the same from birth until deployment. The only thing that changes in the IP address of the machine.

So please, can someone tell me where else I need to make changes when the IP address changes other than the /etc/hosts file?

Thanks!
http://www.jonwatson.ca

Friends don't let friends do Windows.

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

Postby jonwatson » Wed Mar 28, 2007 1:04 pm

jonwatson wrote:I reinstalled SUSE 10.1 from scratch and reinstalled Scalix and am having the same issue.

What I can't figure out is that Scalix works wonderfully until I change the IP address of the box and then it pukes completely.

I have to do this because I build in one place and deploy in another.

I've given up operating under the assumption that the only place the IP address matters is in the /etc/hosts file. Obviously it's squirelled away in Scalix somewhere.

I've read the wiki article on changing the host name, but that's not what I'm doing. The hostname is the same from birth until deployment. The only thing that changes in the IP address of the machine.

So please, can someone tell me where else I need to make changes when the IP address changes other than the /etc/hosts file?

Thanks!


Ooooohh...looky looky

http://www.scalix.com/wiki/index.php?ti ... s/ChangeIP
http://www.jonwatson.ca

Friends don't let friends do Windows.

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

Postby dkelly » Wed Mar 28, 2007 1:06 pm

If I'm reading this right, you install Scalix, test it works and then move it somewhere else changing the IP address along the way. Then you test it again.

If you use a different browser for the second test, what happens ?

Cheers

Dave

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

Postby jonwatson » Wed Mar 28, 2007 1:15 pm

dkelly wrote:If I'm reading this right, you install Scalix, test it works and then move it somewhere else changing the IP address along the way. Then you test it again.

If you use a different browser for the second test, what happens ?

Cheers

Dave


Now that I've positiviely identified the IP address as the issue, I am following the instructions in the Scalix changing IP address thingy. I'm rebooting now...hopefully it works.

I've been at this on and off for a week or more. This machine has been poked at by 6 or so different people from different locations on different computers. It's definitely been hit by many browsers.
http://www.jonwatson.ca

Friends don't let friends do Windows.

jonwatson
Posts: 25
Joined: Sun Jan 14, 2007 11:04 pm
Location: Calgary, Alberta, Canada, eh?
Contact:

Postby jonwatson » Wed Mar 28, 2007 1:36 pm

jonwatson wrote:Now that I've positiviely identified the IP address as the issue, I am following the instructions in the Scalix changing IP address thingy. I'm rebooting now...hopefully it works.

I've been at this on and off for a week or more. This machine has been poked at by 6 or so different people from different locations on different computers. It's definitely been hit by many browsers.


well that was a bust. so much hope....
http://www.jonwatson.ca

Friends don't let friends do Windows.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 4 guests

cron