Cannot get to sac admin area

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

colint
Posts: 62
Joined: Fri Feb 10, 2006 3:01 pm

Cannot get to sac admin area

Postby colint » Fri Feb 10, 2006 3:19 pm

Hi,

I read the other items about sac issues but mine appears to be different. After an install of the enterprise version on Redhat 4.0 I get the old 404 error (url http://localhost:8080/sac)

HTTP Status 404 - /sac

type Status report

message /sac

description The requested resource (/sac) is not available.
Apache Tomcat/5.0.28

However if I go to http://localhost:8080/webmail I see the webmail login.

Any ideas?

Colin Tisdall
Last edited by colint on Fri Feb 10, 2006 3:28 pm, edited 1 time in total.

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

Postby ScalixSupport » Fri Feb 10, 2006 5:40 pm

Hi Colin,

That would indicate that SAC isn't installed or at least is installed in a different tomcat webapps subdirectory than the tomcat that's running. First, type ps -aef|grep tomcat and find the tomcat home for the tomcat that's running. Next, go into that tomcat home, then into webapps. Do an "ls -l" there and look for a "sac" subdirectory. If it's not there and you know that you installed SAC, then you're running a different tomcat than the one you installed SAC into.

Thanks,
Rachel

colint
Posts: 62
Joined: Fri Feb 10, 2006 3:01 pm

Postby colint » Mon Feb 13, 2006 1:12 pm

Ok so I was a stupid head and did not install the admin console yet.... : )


So onto my next problem, after the successful installation of the admin console I can now get to the login page but no matter what I have tried to type in I am unsucessful logging in. The main usernames I have tried are: sxadmin@edgewatercomputersystems.com, sxadmin and sxadmin@edgewater.ca (note I can successfully login to the webmail part) Here is the message that I get:

Could not Login. Check the login ID and pasword...

Here is the caa.log:

___________________________________________
2006-02-10 17:38:35,678 INFO [RESMonitor.run:100] Waiting for first heartbeart from edgewatercomputersystems
2006-02-10 17:38:44,909 ERROR [RbacAuthorizationHelper.isScalixUser:227] Exception:
javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2988)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2735)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2649)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:80)
at com.scalix.sac.ubermgr.ldap.LDAPQuery.initContext(LDAPQuery.java:71)
at com.scalix.sac.ubermgr.rbac.RbacAuthorizationHelper.isScalixUser(RbacAuthorizationHelper.java:211)
at com.scalix.sac.ubermgr.ldap.LDAPServiceHandler.Login(LDAPServiceHandler.java:111)
at com.scalix.sac.ubermgr.caa.RESService.authenticateAndAuthorizeUser(RESService.java:155)
at com.scalix.sac.ubermgr.caa.RESService.doRequest(RESService.java:82)
at com.scalix.caa.soap.SOAPDispatcherServlet.onMessage(SOAPDispatcherServlet.java:267)
at com.scalix.caa.soap.SAAJServlet.doPost(SAAJServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)

____________________________________________________

Lastly here is sxadmin info:

[root@edgewatercomputersystems logs]# omshowu -n sxadmin
Authentication ID: sxadmin@edgewatercomputersystems.com
User Name : sxadmin /CN=sxadmin
MailNode : edgewatercomputersystems,com
Internet Address : sxadmin@edgewatercomputersystems.com
System Login : sxadmin
Password : set
External authentication only: NO
Admin Capabilities : YES
Mailbox Admin Capabilities : NO
Language : C
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 02.10.06 17:33:58
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
[root@edgewatercomputersystems logs]#

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

Postby ScalixSupport » Mon Feb 13, 2006 7:44 pm

Hi Colin,

The correct login for SAC would be "sxadmin@edgewatercomputersystems.com" with the sxadmin's password. If that doesn't work, have you changed the name of your server since installing Scalix? If so, you'll need to run sxmodfqdn (see the man page for details).

Thanks,
Rachel

colint
Posts: 62
Joined: Fri Feb 10, 2006 3:01 pm

Postby colint » Tue Feb 14, 2006 12:54 pm

Hi,

I definately have not changed it as this is a first time install and I have never logged in via the admin console. Is there an easy way to change the admin password in case for some reason I am forgetting the correct one?

Colin

colint
Posts: 62
Joined: Fri Feb 10, 2006 3:01 pm

Postby colint » Tue Feb 14, 2006 2:42 pm

Forget the last request as I reset it with the command ommodu -o sxadmin -p however I still cannot login. Any other suggestions?

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

Postby ScalixSupport » Tue Feb 14, 2006 3:46 pm

Hi Colin,

Could you run:

Code: Select all

omsearch -e cn=sxqueryadmin -m @all-attr@ -v


and post the output here?

Thanks,
Rachel

colint
Posts: 62
Joined: Fri Feb 10, 2006 3:01 pm

Postby colint » Tue Feb 14, 2006 4:56 pm

[root@edgewatercomputersystems bin]# omsearch -e cn=sxqueryadmin -m @all-attr@ -v
S=sxqueryadmin
OU1=edgewatercomputersystems
OU2=com
CN=sxqueryadmin
INTERNET-ADDR=sxqueryadmin@edgewatercomputersystems
ENTRY-TYPE=1
UL-AUTHID=sxqueryadmin@edgewatercomputersystems
UL-CAPS=7
IA-FORMAL=sxqueryadmin@edgewatercomputersystems
S-SDX=S635
HOST-FQDN=edgewatercomputersystems
GLOBAL-UNIQUE-ID=190000002e69be34-7.0.861.291
LOCAL-UNIQUE-ID=161
DBV-ID=33554434

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

Postby ScalixSupport » Tue Feb 14, 2006 5:23 pm

Hi Colin,

It looks like your FQDN isn't set correctly somewhere because the HOST-FQDN is set incorrectly for the sxqueryadmin account. Can you post your /etc/hosts file? Once you get that straightened out, you will need to run the sxmodfqdn command with:

sxmodfqdn -o edgewatercomputersystems -n edgewatercomputersystems.com

You'll also need to fix up the sxqueryadmin account and the fastest way to do that is uninstall and re-install SAC.

Thanks,
Rachel

colint
Posts: 62
Joined: Fri Feb 10, 2006 3:01 pm

Postby colint » Tue Feb 14, 2006 5:23 pm

Is there any chance that there is a limitation on the size of my domain name?

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

Postby ScalixSupport » Tue Feb 14, 2006 5:24 pm

Hi Colin,

No, that wouldn't be the problem here. It's just that your FQDN is not correct.

Thanks,
Rachel

colint
Posts: 62
Joined: Fri Feb 10, 2006 3:01 pm

Postby colint » Tue Feb 14, 2006 5:36 pm

Yeah. I posted that just as you posted your reply.

# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.0.7 edgewatercomputersystems.com edgewatercomputersystems
127.0.0.1 localhost.localdomain localhost

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

Postby ScalixSupport » Tue Feb 14, 2006 5:40 pm

Hi Colin,

That looks okay. If you type "hostname" what is returned? If you do an nslookup of "192.168.0.7" what is returned? BTW, did you update your /etc/hosts file since installing SAC?

Thanks,
Rachel

colint
Posts: 62
Joined: Fri Feb 10, 2006 3:01 pm

Postby colint » Wed Feb 15, 2006 10:40 am

A reinstallation appears to have fixed the issue. Thanks for your help.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests