Still chasing SAC login problem

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Still chasing SAC login problem

Postby jillrae » Wed May 23, 2007 3:01 pm

Been digging thru the documentation on the Scalix website. Found some info about the pam.d folder. I think this has something to do with the authenication when logging into sac.

What should be in the /var/opt/scalix/ls/s/release.sys/pam.d/omslapdeng file? for version
11.0.3?

Thanks

jillrae

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

Postby ScalixSupport » Thu May 24, 2007 3:29 am

Hi!

Did you try deleting and adding the sxqueryadmin user:

Code: Select all

omdelu -n sxqueryadmin
omaddu -n "sxqueryadmin/<mailnode>"  --class limited -c admin -p <password> sxqueryadmin@FQDN

Note: Replace <mailnode>, <password>, and FQDN specific to your requirements.

Thanks,
Subir

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu May 24, 2007 7:03 am

Yes I did. Before I tried the delete/create on the sxqueryadmin account, I got "Could not log in. Could not fetch server list. Possible problem....." Now after the delet/creat e on the sxqueryadmin account I get "Can't login. Incorrect user name or password". I did the ldapsearch thing using sxqueryadmin and the password I created and get tons of stuff back, so I know the user ID and password are correct. Just can't bring up SAC. BTW, when I lof into the SAC I use sxadmin and the password associated with the login. IS that OK? That is what I have alway used before.

jillrae

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu May 24, 2007 7:12 am

Just a little background on this whole situation. I have a live Scalix server v.11.0.3 running on a SLEA 9 machine. I did an LV snapshot backup of the mailstore (/var/opt/scalix) using sxbackup script (works great), and backed it up to tape. I took that tape over to my backup Scalix server running SLES 10 and put it on the /var/opt volume. I then did a clean install of Scalix 11.0.3. The install pulled in all the mailboxes just fine and I can access any of the mailboxes via webmail using Firefox. Just having trouble with SAC interface. Also,FYI I was told that both servers had to have the exact same FQDN, which they have, but they have different IP address. Same subnet just one IP is 10.0.0.X and the other is 10.0.0.Y. I did it this way because I was told that if I wanted to setup the backup server as a hot spare and sync the two, I had to have the same FQDN but different IP addresses. Is this right?

Thanks

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

Postby ScalixSupport » Thu May 24, 2007 7:26 am

Hi!

Yes using sxadmin for login and the associated password is the correct way to login SAC.
backup server as a hot spare and sync the two, I had to have the same FQDN but different IP addresses.

Do not know much about this.

What is the value for properties "res.tomcat.tcp.port=" and "res.ubermanager.host=" in the
file /var/opt/scalix/??/res/config/res.properties? Which tomcat connector do you use ajp or
mod_jk?

Thanks,
Subir

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu May 24, 2007 7:33 am

res.tomcat.tcp.port= <BLANK> Nothing after it
res.ubermanager.host=linux.garrettcontainer.com this is the FQDN of my server

Which tomcat connector do you use ajp or
mod_jk?
I think mod_jk, but not sure. How do I find out?

thanks

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

Postby ScalixSupport » Thu May 24, 2007 7:52 am

Hi!

Set "res.tomcat.tcp.port=" to 80, save and exit, restart scalix-tomcat, now try logging in
SAC.

To check which connector you use check /etc/httpd/conf.d/scalix-tomcat-connector.conf,
file and see which connector is used within tags:
<IfModule ?????>
...
...
</IfModule>

Thanks,
Subir

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu May 24, 2007 8:05 am

I added the prot 80, restarted tomcat. Stil could not login. Got the "COuld not login. Bad username/password." error

Here is what I got in the terminal window when I restarted tomcat:

linux:/etc/init.d # ./scalix-tomcat restart
Instance (linux) is running
Stopping Tomcat service (linux)Using CATALINA_BASE: /var/opt/scalix/lx/tomcat
Using CATALINA_HOME: /opt/scalix-tomcat
Using CATALINA_TMPDIR: /var/opt/scalix/lx/tomcat/temp
Using JRE_HOME:
Using CATALINA_BASE: /var/opt/scalix/lx/tomcat
Using CATALINA_HOME: /opt/scalix-tomcat
Using CATALINA_TMPDIR: /var/opt/scalix/lx/tomcat/temp
Using JRE_HOME:
May 24, 2007 7:59:39 AM org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
Killing: 29558
done
Starting Tomcat service (linux)Using CATALINA_BASE: /var/opt/scalix/lx/tomcat
Using CATALINA_HOME: /opt/scalix-tomcat
Using CATALINA_TMPDIR: /var/opt/scalix/lx/tomcat/temp
Using JRE_HOME:
done
linux:/etc/init.d #

I don't have a etc/httpd folder but found the conf file at ect/apache2/conf.d/sclaix-tomcat-connector.conf. I am using ajp

thanks

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu May 24, 2007 8:35 am

Could this be a permission problem on one of the folders somewhere? I have already run the fix-pemissions command and hand checked all the permissions against my live server. But I only did that for everything in the /var/opt/scalix folders.

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu May 24, 2007 9:14 am

I checked the permission on the /opt/scalix-toncat fold & is OK

I noticed that the line JRE_HOME: is empty. Do I need to add /usr/java/jre1.5.0_06 here?

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu May 24, 2007 9:31 am

I just found the scalix-tomcat config file. It points to the correct JRE_HOME directory.

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

Postby ScalixSupport » Thu May 24, 2007 10:21 am

Hi!

What are the lines in the file /etc/apache2/conf.d/scalix-tomcat-connector.conf between
tags:
<IfModule ?????>
...
...
</IfModule>

The following lines should be there between above tags:
Include /etc/opt/scalix-tomcat/connector/ajp/instance-*.conf
Include /etc/opt/scalix-tomcat/connector/ajp/workers.conf

Also, can you tell me the contents in the file:
/etc/opt/scalix-tomcat/connector/ajp/instance-*.conf

Thanks,
Subir

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Thu May 24, 2007 10:32 am

What are the lines in the file /etc/apache2/conf.d/scalix-tomcat-connector.conf between
tags:
<IfModule ?????>
...
...
</IfModule>

This is what is between the tags:

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

I added the:
Include /etc/opt/scalix-tomcat/connector/ajp/workers.conf
line and saved it

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

<VirtualHost linux:80>
Include /etc/opt/scalix-tomcat/connector/ajp/app-linux.*.conf
</VirtualHost>

Restarted tomcat and still could not log in to SAC. Same username/password incorrect problem.

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

Postby ScalixSupport » Fri May 25, 2007 4:06 am

Hi!

See if the following post helps:
viewtopic.php?t=6007

See if these help:
* Try to login SAC, use sxadmin@<FQDN> instead of just sxadmin.
* restart all services and try login SAC again.

What is the content of the files /etc/opt/scalix-tomcat/connector/ajp/app-*.m.conf and what
is the result for "lsof -i:8009".

Thanks,
Subir

jillrae
Posts: 275
Joined: Tue Nov 22, 2005 12:26 pm
Location: Accident, MD USA
Contact:

Postby jillrae » Fri May 25, 2007 7:26 am

Tried loggining into SAC using sxadmin@garrettcontainer.com. Same error. Stopped all services and restarted. Apache2 diodn't start. Did not like the line I added (nclude /etc/opt/scalix-tomcat/connector/ajp/workers.conf ). So removed it and Apace2 started OK. Tried another login both with and without @garrettcontaienr.com. Still same error.

File /etc/opt/scalix-tomcat/connector/ajp/app-*.m.conf containes:

ProxyPass /m ajp://linux:8009/m

lsof -i:8009".results are:

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
httpd2-pr 3646 wwwrun 28u IPv4 242837 TCP linux.garrettcontainer.com:28433->linux.garrettcontainer.com:8009 (ESTABLISHED)
httpd2-pr 3646 wwwrun 29u IPv4 242853 TCP linux.garrettcontainer.com:28434->linux.garrettcontainer.com:8009 (ESTABLISHED)
httpd2-pr 3647 wwwrun 28u IPv4 243744 TCP linux.garrettcontainer.com:28439->linux.garrettcontainer.com:8009 (ESTABLISHED)
httpd2-pr 3647 wwwrun 29u IPv4 243753 TCP linux.garrettcontainer.com:28440->linux.garrettcontainer.com:8009 (ESTABLISHED)
java 3982 root 55u IPv4 242816 TCP linux.garrettcontainer.com:8009 (LISTEN)
java 3982 root 57u IPv4 242817 TCP linux.garrettcontainer.com:8009->linux.garrettcontainer.com:28433 (ESTABLISHED)
java 3982 root 58u IPv4 242838 TCP linux.garrettcontainer.com:8009->linux.garrettcontainer.com:28434 (ESTABLISHED)
java 3982 root 59u IPv4 242854 TCP linux.garrettcontainer.com:8009->linux.garrettcontainer.com:28439 (ESTABLISHED)
java 3982 root 60u IPv4 243745 TCP linux.garrettcontainer.com:8009->linux.garrettcontainer.com:28440 (ESTABLISHED)
linux:~ #

Am checking out the post link you sent.

thanks


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 2 guests