Cant login to SAC with fresh install!!

Discuss Scalix Management Services ( formerly Scalix Admin Console )

Moderator: ScalixSupport

BigBirdy
Posts: 133
Joined: Sun Mar 13, 2005 2:10 pm
Location: Squamish, BC
Contact:

Cant login to SAC with fresh install!!

Postby BigBirdy » Wed Jan 07, 2009 1:01 am

Man oh Man!!! Cant something be done about these login issues so that something as simple as logging in works the first time and maybe the username created is the actual one used to login with? I see I am not the only one to experience this and have come across it numerous times over the years.

Anyway, a fresh install of 11.4.2 on Centos 5.2. I "assume" I need to login with...

sxadmin-penguin@mydomain.ca

but I have also tried sxadmin@penguin.mydomain.ca and sxadmin@mydomain.ca


[root@penguin ~]# omshowu sxadmin
Authentication ID: sxadmin
Globally Unique ID: 15000000afeb3694-3.1.861.291
User Name : sxadmin /CN=sxadmin
MailNode : penguin
Internet Address : sxadmin-penguin@mydomain.ca
System Login : 60534
Password : set
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Mail Account: Unlocked
Last Signon : Never.
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
Recovery Folder visible : NO
User Class : Limited
SIS URL : sxidx://penguin.mydomain.ca/05000000afe ... .1.861.291


I found other posts but none of the suggestions I tried worked and I have also reset the sxadmin password.

Anyone have any suggestions please?

Below are some other details:

[root@penguin ~]# omstat -a
PC Monitor Started NON-STOP 0
Directory Relay Server Started 21:38:47
Notification Server Started 21:38:47 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 21:38:47
Licence Monitor Daemon Started NON-STOP
LDAP Daemon Started 21:38:47
Queue Manager Started NON-STOP
Item Delete Daemon Started NON-STOP
IMAP Server Daemon Started 21:38:47
SMTP Relay Started 21:38:47
Mime Browser Controller Started 21:38:47
Event Server Started 21:38:48


And when I try to login, I get this in scalix-caa.log:

2009-01-06 21:48:29,482 ERROR [RbacAuthorizationHelper.authenticateUser:169] Exception:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:88)
at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.getUserAttributes(RbacAuthorizationHelper.java:73)
at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.authenticateUser(RbacAuthorizationHelper.java:145)
at com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:121)
at com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:215)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:79)
at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:268)
at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)

smpoole7
Posts: 94
Joined: Wed Nov 19, 2008 11:47 pm
Location: Birmingham
Contact:

Postby smpoole7 » Wed Jan 07, 2009 8:41 am

Don't slap me for asking this ... but have you tried logging in with just "sxadmin" (nothing else after it)?

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: Cant login to SAC with fresh install!!

Postby les » Wed Jan 07, 2009 9:05 am

BigBirdy wrote:Man oh Man!!! Cant something be done about these login issues so that something as simple as logging in works the first time and maybe the username created is the actual one used to login with? I see I am not the only one to experience this and have come across it numerous times over the years.

Anyway, a fresh install of 11.4.2 on Centos 5.2. I "assume" I need to login with...

sxadmin-penguin@mydomain.ca

but I have also tried sxadmin@penguin.mydomain.ca and sxadmin@mydomain.ca


[root@penguin ~]# omshowu sxadmin
Authentication ID: sxadmin


Firstly, Why assume that? Tthe installer prompts you to enter an admin username and password. Use what you typed in.

Second, the omshowu shows sxadmin with an "Authentication ID" of sxadmin. Login with the Authentication ID.
Regards,

Les Stott

BigBirdy
Posts: 133
Joined: Sun Mar 13, 2005 2:10 pm
Location: Squamish, BC
Contact:

Postby BigBirdy » Wed Jan 07, 2009 12:45 pm

I have tried every single possible combination of sxadmin, sxadmin@mydomain.com, sxadmin@penguin.mydomain.com, IT DOES NOT WORK and by reviewing the posts this is an issue experienced by many users. I have uninstalled and re-installed and ensured I used VEWRY simple passwords to test (like "password") and also confirmed the pw in the psdata (I think thats the name) file. Still cant login......come on guys. I have been installing, selling and promoiting your software for years now. Can I possibly get some suggestions that actually "suggest" something useful and doesnt insult me.

LeslieW
Scalix
Scalix
Posts: 239
Joined: Thu Jun 19, 2008 10:03 am
Contact:

Postby LeslieW » Wed Jan 07, 2009 3:45 pm

Sorry you were insulted but you did list several things you'd tried and none of them were the authid. So you were given the obvious first response to your inquiry. The SAC *only* accepts authids for login purposes, and you had not yet tried using the authid to login.

When you try to login, do you get "Attempting to Log In" and then "Could Not Login, Check the Login ID and password"? Or do you get something else?

Can you login to a mail client with the sxadmin userid?

Can you give another user admin rights (ommodu -o "leslie ward" -c +admin) and then login to SAC as that administrative user (be sure to use the AuthID, not the name or email address)?

Is anything logged in the log files in /var/opt/scalix/??/tomcat/logs when your attempt to login to SAC as sxadmin fails?

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Thu Jan 08, 2009 5:48 pm

LeslieW wrote:Sorry you were insulted but you did list several things you'd tried and none of them were the authid. So you were given the obvious first response to your inquiry. The SAC *only* accepts authids for login purposes, and you had not yet tried using the authid to login.

When you try to login, do you get "Attempting to Log In" and then "Could Not Login, Check the Login ID and password"? Or do you get something else?

Can you login to a mail client with the sxadmin userid?

Can you give another user admin rights (ommodu -o "leslie ward" -c +admin) and then login to SAC as that administrative user (be sure to use the AuthID, not the name or email address)?

Is anything logged in the log files in /var/opt/scalix/??/tomcat/logs when your attempt to login to SAC as sxadmin fails?



also check the following....

selinux should be turned off.

is there any firewalling enabled that might be blocking your attempt to login?

are you using http://<hostname>/sac?
By default tomcat is setup with only a single address to use. It is detailed in /etc/opt/scalix-tomcat/connector/ajp/instance-<hostname>.conf in the VirtualHost section.
Are you using that?

As well as the scalix logs that LeslieW suggested have a look at /var/log/httpd/error_log and /var/log/httpd/access_log to see if they shed any light.

As this is a fresh install it should not be a scalix problem, its likely to be one of the other factors above.
Regards,

Les Stott

BigBirdy
Posts: 133
Joined: Sun Mar 13, 2005 2:10 pm
Location: Squamish, BC
Contact:

Postby BigBirdy » Fri Jan 09, 2009 3:38 pm

I did another re-install and this time created an auth id of "sxadmin@penguin.mydomain.ca" and then it worked and I could login as that ID. Nothing I did would allow me to set an authid of "sxadmin" and then login with it.

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Postby les » Sat Jan 10, 2009 7:48 pm

BigBirdy wrote:I did another re-install and this time created an auth id of "sxadmin@penguin.mydomain.ca" and then it worked and I could login as that ID. Nothing I did would allow me to set an authid of "sxadmin" and then login with it.


That's odd. In all my installations over the years i've preferred to use short names for authid when promtped to setup the sxadmin user. i also set the email address to be proper (i.e. name@domain.com rather than name@host.domain.com).
I've told it to use sxadmin, administrator and manager (at different times), as authid's for the admin account and i've never had a problem.
Regards,

Les Stott


Return to “Scalix Management Services”



Who is online

Users browsing this forum: No registered users and 2 guests