Problems logging into SAC on 9.2

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

Problems logging into SAC on 9.2

Postby pdodds » Thu Feb 24, 2005 10:26 am

I have installed Scalix 9.2 on a FC3 box to evaluate and have been unable to get into the admin console, the webmail works fine, looking at the CAA.log it seems that the credentials are incorrect.


2005-02-24 08:59:12,892 INFO [SOAPDispatcherServlet.init:76] ====> CAA is starting

up, standby <====
2005-02-24 08:59:12,965 WARN [CAAConfigLoader.parseConfigDocument:224] No services

are configured in this config file
2005-02-24 08:59:12,971 ERROR [CAAConfigLoader.parseComponentNode:244] Service

scalix.res, Component disabled has no class defined!
2005-02-24 08:59:13,040 INFO [GuidToServerCache$CleanupThread.run:39] Guid2Server

cache is empty. Skipping cleanup
2005-02-24 08:59:13,055 INFO [NotificationEventListener.launch:230] Main

Notification Event Listener thread launched...
2005-02-24 08:59:13,058 INFO [NotificationEventListener.launch:233] Notification

Worker thread

com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-0

launched...
2005-02-24 08:59:13,061 INFO [NotificationEventListener.launch:233] Notification

Worker thread

com.scalix.sac.ubermgr.events.NotificationEventListener$WorkerThread-thread-1

launched...
2005-02-24 08:59:13,068 INFO [RESInitializer.initNotificationListener:201]

RESMonitor-thread Thread launched...
2005-02-24 08:59:13,077 INFO [SOAPDispatcherServlet.init:118] ====> CAA started,

you may fire when ready <====
2005-02-24 08:59:34,813 ERROR [RbacAuthorizationHelper.isScalixUser:222] 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(RbacAuthorizationH

elper.java:206)
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(ApplicationFilterC

hain.java:237)
at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.jav

a: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.j

ava: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:117)
at

org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:

102)


I had a look through the forum and tried a couple of other things, such as checking the user details.

[root@dangermouse bin]# omshowu -n sxadmin
Authentication ID: sxadmin@dangermouse.unity-systems.com
User Name : sxadmin /CN=sxadmin
MailNode : dangermouse,unity-systems
Internet Address : sxadmin@dangermouse.unity-systems.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.23.05 08:48:46
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
[root@dangermouse bin]#


It seems OK, also the following returns a list from the ldap server

./omldapsearch -h dangermouse.unity-systems.com -D "omUlAuthid=sxadmin@dangermouse.unity-systems.com" -w password cn=*

Therefore I believe the password is correct, I wasn't sure how to enable the log4j to debug for the CAA log?

Any help would be good?

Thanks

Philip

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

Postby ScalixSupport » Thu Feb 24, 2005 10:33 am

You need to edit the following properties in /etc/opt/scalix/caa/config/lo4j.properties and stop/restart tomcat to be able to get more logging:

log4j.rootLogger=DEBUG
log4j.logger.com.scalix.caa.util.CAALogger=DEBUG, file


Cheers

Dave

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

CAA logging

Postby pdodds » Thu Feb 24, 2005 10:44 am

I put the logging on hoping to spot an obvious mistake

2005-02-24 09:36:35,254 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:80] Found FunctionName
2005-02-24 09:36:35,255 DEBUG [SOAPHelperUtils.getSOAPBodyElementValue:81] value =GetConsoleConfig2005-02-24 09:36:35,258 DEBUG [CAAServiceFactory.getService:52] Looking for service called scalix.res
2005-02-24 09:36:35,259 DEBUG [CAAConfigLoader.getValue:56] Looking for config for scalix.res, key service.class found com.scalix.sac.ubermgr.caa.RESService
2005-02-24 09:36:35,280 DEBUG [SOAPDispatcherServlet.onMessage:265] Calling doRequest() on service com.scalix.sac.ubermgr.caa.RESService@9fea8a
2005-02-24 09:36:35,290 DEBUG [RbacAuthorizationHelper.authenticateUser:48] Sending request to ldap host =dangermouse.unity-systems.com
2005-02-24 09:36:35,291 DEBUG [RbacAuthorizationHelper.authenticateUser:49] Sending request as user id = sxadmin@dangermouse.unity-systems.com
2005-02-24 09:36:35,292 DEBUG [RbacAuthorizationHelper.authenticateUser:50] Filter =(omUlAuthid=sxadmin@dangermouse.unity-systems.com)
2005-02-24 09:36:35,361 DEBUG [RbacAuthorizationHelper.isScalixUser:203] Sending request to ldap host =dangermouse.unity-systems.com
2005-02-24 09:36:35,363 DEBUG [RbacAuthorizationHelper.isScalixUser:204] Sending request as querymgr id =sxqueryadmin@dangermouse.unity-systems.com
2005-02-24 09:36:35,363 DEBUG [RbacAuthorizationHelper.isScalixUser:205] Filter =(omUlAuthid=sxadmin@dangermouse.unity-systems.com)
2005-02-24 09:36:35,371 ERROR [RbacAuthorizationHelper.isScalixUser:222] 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)


After looking at it the constructed ldap query that I used to check the password looks OK:

./omldapsearch -h dangermouse.unity-systems.com -D "omUlAuthid=sxadmin@dangermouse.unity-systems.com" -w password cn=*

It that correct?

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

Unable to login to SAC

Postby pdodds » Fri Feb 25, 2005 9:48 am

I'm still not able to login to the admin console, it there anything else I can do to identity the problem, I really need to get moving on the evaluation?

Cheers

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

Any further steps

Postby pdodds » Mon Mar 07, 2005 11:24 am

I still haven't been able to get into SAC, the problem is the same and I'm not sure what the next steps in working out the issues is? Can anyone help?

Thanks in advance

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

Postby ScalixSupport » Mon Mar 07, 2005 12:20 pm

Can you run the following command:

Code: Select all

omsearch -e IA=sxqueryadmin@dangermouse.unity-systems.com


and post the output ?

Cheers

Dave

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

Postby pdodds » Mon Mar 07, 2005 12:31 pm

Here is the results

[root@dangermouse bin]# omsearch -e IA=sxqueryadmin@dangermouse.unity-systems.com
[OM 16954] Entry not in the Directory

[root@dangermouse bin]#

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

Postby ScalixSupport » Mon Mar 07, 2005 12:41 pm

And now can you run
omsearch -e s=sxqueryadmin -m@ALL-ATTR@

Code: Select all


Cheers

Dave

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

Postby pdodds » Mon Mar 07, 2005 12:43 pm

Here's the result

[root@dangermouse bin]# omsearch -e s=sxqueryadmin -m@ALL-ATTR@
[OM 16954] Entry not in the Directory

[root@dangermouse bin]#

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

Postby ScalixSupport » Mon Mar 07, 2005 12:52 pm

OK, this looks like the installation failed for some reason. The sxqueryadmin user is a user on each server that SAC needs to talk to. If it's not there, SAC can't function correctly.

I would run through the installer again and remove and re-install SAC. This should add the correct entries to the SYSTEM directory.

Cheers

Dave

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

Postby pdodds » Mon Mar 07, 2005 1:17 pm

I un-installed the whole thing and reinstalled, it all seems fine but still no user?

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

Postby ScalixSupport » Mon Mar 07, 2005 1:24 pm

Can you post your scalix-installer log ?

Cheers

Dave

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

Postby pdodds » Mon Mar 07, 2005 2:02 pm

2005-03-07 12:51:11,979 INFO Starting Scalix Installer (Evaluation)
2005-03-07 12:51:12,107 INFO Current locale is en_US and default is en_US
2005-03-07 12:51:15,467 INFO Packages installed: {}
2005-03-07 12:51:16,867 INFO Obsolete packages installed: {}
2005-03-07 12:51:18,386 INFO Saving installation type: installall mode: typical
2005-03-07 12:51:18,895 INFO Operation passed: OS release check Fedora Core release 3 (Heidelberg)
2005-03-07 12:51:18,895 INFO Operation passed: Memory check 1034852
2005-03-07 12:51:18,895 INFO Operation passed: Disk space check 463389376
2005-03-07 12:51:18,930 INFO Tomcat was running when we started: True
2005-03-07 12:51:20,217 INFO Saving installation directory: /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 12:51:23,770 INFO Searching /root/scalix-9.2.0-eval/software/scalix_server for relevant Scalix packages
2005-03-07 12:51:23,772 INFO File scalix-res-9.2.0.211-1.noarch.rpm is a Scalix file, for this platform and valid version
2005-03-07 12:51:23,772 WARNING File scalix-websplats-configurator-py23-9.2.0.211-1.noarch.rpm is not a Scalix package
2005-03-07 12:51:23,772 WARNING File scalix-server-eval-9.2.0.115-0.1.suse91.i586.rpm is not for this platform
2005-03-07 12:51:23,773 WARNING File scalix-server-eval-9.2.0.115-0.1.suse91.i586.rpm is not for this platform
2005-03-07 12:51:23,773 INFO File scalix-swa-9.2.0.212-1.noarch.rpm is a Scalix file, for this platform and valid version
2005-03-07 12:51:23,773 INFO File scalix-server-eval-9.2.0.115-0.1.fc3.i386.rpm is a Scalix file, for this platform and valid version
2005-03-07 12:51:23,774 WARNING File scalix-server-eval-9.2.0.115-0.1.rhel3.i386.rpm is not for this platform
2005-03-07 12:51:23,774 WARNING File scalix-server-eval-9.2.0.115-0.1.rhel3.i386.rpm is not for this platform
2005-03-07 12:51:23,774 WARNING File scalix-server-eval-9.2.0.115-0.1.sles9.i586.rpm is not for this platform
2005-03-07 12:51:23,775 WARNING File scalix-server-eval-9.2.0.115-0.1.sles9.i586.rpm is not for this platform
2005-03-07 12:51:23,775 INFO File scalix-sac-9.2.0.211-1.noarch.rpm is a Scalix file, for this platform and valid version
2005-03-07 12:51:23,775 WARNING File scalix-websplats-configurator-py22-9.2.0.211-1.noarch.rpm is not a Scalix package
2005-03-07 12:51:32,785 INFO Components selected to install: {'scalix-sac': ['9.2.0.211', '10616581', 'noarch', 'linux', '1', '(none)', 'scalix-sac-9.2.0.211-1.noarch.rpm'], 'scalix-res': ['9.2.0.211', '1847579', 'noarch', 'linux', '1', '(none)', 'scalix-res-9.2.0.211-1.noarch.rpm'], 'scalix-swa': ['9.2.0.212', '4217629', 'noarch', 'linux', '1', '(none)', 'scalix-swa-9.2.0.212-1.noarch.rpm'], 'scalix-server-eval': ['9.2.0.115', '72193373', 'i386', 'linux', '0.1.fc3', 'FC3', 'scalix-server-eval-9.2.0.115-0.1.fc3.i386.rpm']}
2005-03-07 12:51:32,786 INFO Components to upgrade: {}
2005-03-07 12:51:32,790 INFO System check start
2005-03-07 12:51:32,976 INFO Network interface is actually eth1
2005-03-07 12:51:32,986 INFO Operation passed: Network check passed.
2005-03-07 12:51:33,015 INFO Operation passed: Filesystem check passed.
2005-03-07 12:51:33,116 INFO Java and Tomcat check info -- JAVA_HOME environment variable is /opt/java
2005-03-07 12:51:33,271 INFO Java and Tomcat check info -- Java version 1.4.2_05
2005-03-07 12:51:33,306 INFO Java and Tomcat check info -- Default Tomcat directory is /opt/jakarta-tomcat-5.0.27
2005-03-07 12:51:33,349 INFO Java and Tomcat check info -- Tomcat version is 5.0.27
2005-03-07 12:51:33,349 INFO Operation passed: Java and Tomcat check passed.
2005-03-07 12:51:35,121 INFO Apache appears to be installed.
2005-03-07 12:51:35,121 INFO Operation passed: Dependency check passed.
2005-03-07 12:51:35,992 INFO Operation passed: Running services check passed.
2005-03-07 12:51:35,993 INFO System check end
2005-03-07 12:51:35,995 INFO System check result: pass
2005-03-07 12:52:11,124 INFO Stopped Tomcat using command /opt/jakarta-tomcat-5.0.27/bin/shutdown.sh
2005-03-07 12:52:14,155 INFO Tomcat is stopped True
2005-03-07 12:52:14,569 INFO Install start
2005-03-07 12:52:15,570 INFO Starting installation of component scalix-server-eval using RPM scalix-server-eval-9.2.0.115-0.1.fc3.i386.rpm from /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 12:52:25,735 INFO Operation passed: Install /bin/rpm -i /root/scalix-9.2.0-eval/software/scalix_server/scalix-server-eval-9.2.0.115-0.1.fc3.i386.rpm: (0) ['']
2005-03-07 12:52:26,735 INFO Starting installation of component scalix-swa using RPM scalix-swa-9.2.0.212-1.noarch.rpm from /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 12:52:27,331 INFO Operation passed: Install /bin/rpm -i /root/scalix-9.2.0-eval/software/scalix_server/scalix-swa-9.2.0.212-1.noarch.rpm: (0) ['Please configure Scalix Web Access (SWA) using the /opt/scalix/bin/configurator script.', 'For usage consult man page by typing man configurator. SWA minimally requires Tomcat 4.1.29 and JDK 1.4.2+.', 'After configuring SWA you may launch SWA within Tomcat with <Tomcat_installed_dir>/bin/startup.sh.', 'To check any startup errors look at <Tomcat_installed_dir>/logs/scalix-swa_log.<date>.txt']
2005-03-07 12:52:28,332 INFO Starting installation of component scalix-sac using RPM scalix-sac-9.2.0.211-1.noarch.rpm from /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 12:52:29,012 INFO Operation passed: Install /bin/rpm -i /root/scalix-9.2.0-eval/software/scalix_server/scalix-sac-9.2.0.211-1.noarch.rpm: (0) ['Please configure Scalix Administration Console (SAC) using', 'the Scalix Installer for configuration.', 'SAC minimally requires Tomcat 4.1.29 and JDK 1.4.2+', 'After configuring SAC you may launch the SAC within Tomcat with <Tomcat_installed_dir>/bin/startup.sh.', 'To check any startup errors look at <Tomcat_installed_dir>/logs/caa.log', 'Tomcat container must run as root if SAC is configured and deployed in Hybrid or Single Server local mode.', 'Have fun!']
2005-03-07 12:52:30,012 INFO Starting installation of component scalix-res using RPM scalix-res-9.2.0.211-1.noarch.rpm from /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 12:52:30,516 INFO Operation passed: Install /bin/rpm -i /root/scalix-9.2.0-eval/software/scalix_server/scalix-res-9.2.0.211-1.noarch.rpm: (0) ['Please configure Remote Execution Service (RES) using the', 'Scalix Installer for configuration.', 'RES minimally requires Tomcat 4.1.29 and JDK 1.4.2+', 'After configuring RES you may launch the RES within Tomcat with <Tomcat_installed_dir>/bin/startup.sh.', 'To check any startup errors look at <Tomcat_installed_dir>/logs/res.log', 'Tomcat container must run as root with RES running as one of the web application', 'Have fun!']
2005-03-07 12:52:30,517 INFO Install end
2005-03-07 12:52:32,992 INFO Mailnode name derived from FQDN: dangermouse,unity-systems
2005-03-07 12:52:33,972 INFO Mailnode is dangermouse,unity-systems
2005-03-07 12:52:34,020 ERROR Failed to fetch generation rule general.inet_domain_rule with result: ['']
2005-03-07 12:52:34,063 INFO dns domain unity-systems.com has a valid MX record so using it as default
2005-03-07 12:52:36,833 INFO Domain is unity-systems.com
2005-03-07 12:52:36,834 INFO Display name format is Firstname Lastname
2005-03-07 12:52:36,834 INFO Email addr format is Use display name format
2005-03-07 12:52:42,577 INFO Creating Scalix instance...(please wait -- this might take several minutes)
2005-03-07 12:53:44,158 INFO Starting initial server daemons...
2005-03-07 12:53:47,315 INFO Creating generation rules
2005-03-07 12:53:47,430 INFO Successfully added name generation rules
2005-03-07 12:53:47,431 INFO Creating Primary mailnode on dangermouse,unity-systems
2005-03-07 12:53:47,538 INFO Configuring server Unix user and server admin user...
2005-03-07 12:53:47,675 INFO Created system group 'sxadmin'
2005-03-07 12:53:47,803 INFO Created system user 'sxadmin'
2005-03-07 12:53:47,804 INFO Adding user sxadmin/dangermouse,unity-systems/IA=sxadmin@dangermouse.unity-systems.com as server admin user authid sxadmin@dangermouse.unity-systems.com(use authid to log in at administration console)
2005-03-07 12:53:48,055 INFO Setting user sxadmin/dangermouse,unity-systems/IA=sxadmin@dangermouse.unity-systems.com as server error notification user
2005-03-07 12:53:48,184 INFO Doing tweaks
2005-03-07 12:53:48,187 INFO Done tweaks
2005-03-07 12:53:48,187 INFO Starting rest of server daemons...
2005-03-07 12:53:49,843 INFO Running initconfig
2005-03-07 12:53:50,756 INFO Done initconfig
2005-03-07 12:53:50,757 INFO Configured Apache /etc/httpd/conf.d/scalix-web-client.conf
2005-03-07 12:53:50,889 INFO Apache is running
2005-03-07 12:53:50,965 INFO Reloaded Apache -- success
2005-03-07 12:53:52,075 INFO Setting JAVA_HOME environment variable to /opt/java
2005-03-07 12:53:58,065 INFO Cleaning up Tomcat working directory and cache (CATALINA_HOME= /opt/jakarta-tomcat-5.0.27 )
2005-03-07 12:53:58,068 INFO Configuring SAC...
2005-03-07 12:53:58,234 INFO Creating server Admin Groups on this host on mailnode dangermouse,unity-systems
2005-03-07 12:53:58,234 INFO Configuring / installing SAC
2005-03-07 12:53:59,059 INFO Configuring RES on the same host as SAC -- creating backup files only.
2005-03-07 12:53:59,060 INFO Configuring SWA...
2005-03-07 12:53:59,070 INFO Modifying Tomcat's classpath script
2005-03-07 12:53:59,278 INFO Started Tomcat using /opt/jakarta-tomcat-5.0.27/bin/startup.sh
2005-03-07 12:54:02,401 INFO Tomcat is now running True
2005-03-07 12:54:02,445 INFO System default browser is /usr/bin/firefox
2005-03-07 12:54:03,578 INFO Browser /usr/bin/firefox version 1.0.1 is supported: True
2005-03-07 12:54:22,283 INFO Opening browser /usr/bin/firefox at URL http://dangermouse.unity-systems.com:80 ... ystems.com
2005-03-07 12:54:22,295 INFO Ending Scalix Installer (Evaluation) - completed successfully

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

Postby ScalixSupport » Mon Mar 07, 2005 2:11 pm

Can you uninstall SAC and RES but before re-installing, check that you have no files in /etc/opt/scalix/caa and also remove the /etc/opt/scalix/caa directory.

It looks like your re-install thought that SAC and RES didn't need any configuration changes.

Cheers

Dave

pdodds
Posts: 12
Joined: Thu Feb 24, 2005 10:24 am

Postby pdodds » Mon Mar 07, 2005 2:24 pm

I uninstalled, the deleted the directory and re-instaled... still can't login

[root@dangermouse bin]# ./omsearch -e s=sxqueryadmin -m@ALL-ATTR@
[OM 16954] Entry not in the Directory

[root@dangermouse bin]#

log below:

2005-03-07 13:12:22,011 INFO Starting Scalix Installer (Evaluation)
2005-03-07 13:12:22,201 INFO Current locale is en_US and default is en_US
2005-03-07 13:12:24,474 INFO Packages installed: {'scalix-sac': ['9.2.0.211', '10616581', 'noarch', 'linux', '1', '(none)'], 'scalix-res': ['9.2.0.211', '1847579', 'noarch', 'linux', '1', '(none)'], 'scalix-swa': ['9.2.0.212', '4217629', 'noarch', 'linux', '1', '(none)'], 'scalix-server-eval': ['9.2.0.115', '72193373', 'i386', 'linux', '0.1.fc3', 'FC3']}
2005-03-07 13:12:25,889 INFO Obsolete packages installed: {'scalix-server-eval': ['9.2.0.115', '72193373', 'i386', 'linux', '0.1.fc3', 'FC3']}
2005-03-07 13:12:27,330 INFO Saving installation type: uninstall mode:
2005-03-07 13:12:27,368 INFO Tomcat was running when we started: True
2005-03-07 13:12:27,370 INFO Packages installed: {'scalix-sac': ['9.2.0.211', '10616581', 'noarch', 'linux', '1', '(none)'], 'scalix-res': ['9.2.0.211', '1847579', 'noarch', 'linux', '1', '(none)'], 'scalix-swa': ['9.2.0.212', '4217629', 'noarch', 'linux', '1', '(none)'], 'scalix-server-eval': ['9.2.0.115', '72193373', 'i386', 'linux', '0.1.fc3', 'FC3']}
2005-03-07 13:12:30,230 INFO Components to uninstall: ['scalix-sac', 'scalix-res', 'scalix-swa', 'scalix-server-eval']
2005-03-07 13:12:32,320 INFO Java home directory is /opt/java
2005-03-07 13:12:32,358 INFO Tomcat home directory is /opt/jakarta-tomcat-5.0.27
2005-03-07 13:12:34,044 INFO Stopped Tomcat using command /opt/jakarta-tomcat-5.0.27/bin/shutdown.sh
2005-03-07 13:12:37,078 INFO Tomcat is stopped True
2005-03-07 13:12:37,101 INFO Uninstall start
2005-03-07 13:12:37,173 INFO Server system admin user to possibly remove later: sxadmin
2005-03-07 13:12:37,174 INFO Server system admin group to possibly remove later: sxadmin
2005-03-07 13:12:37,220 INFO Server is running, attempting to stop it
2005-03-07 13:12:37,269 INFO Stopping Scalix server
2005-03-07 13:12:50,957 INFO Operation passed: Scalix server stopped: /opt/scalix/bin/omshut -t 2: (0) ['omoff : [OM 4835] Subsystem Application Link Server is already off.', '', 'Disabling 17 subsystem(s).', 'omoff : [OM 4835] Subsystem Item Structure Server is already off.', '', 'Disabling 7 subsystem(s).']
2005-03-07 13:12:51,601 INFO Operation passed: Removed Scalix message store: /opt/scalix/bin/omdelom -fa: (0) ['omdelom: Deleting Scalix data, please wait']
2005-03-07 13:12:51,601 INFO Starting uninstallation of scalix-server-eval
2005-03-07 13:13:12,572 INFO Operation passed: Uninstall /bin/rpm -e scalix-server-eval: (0) ['']
2005-03-07 13:13:13,572 INFO Starting uninstallation of scalix-swa
2005-03-07 13:13:13,791 INFO Operation passed: Uninstall /bin/rpm -e scalix-swa: (0) ['warning: /etc/opt/scalix/webmail/partner.xml saved as /etc/opt/scalix/webmail/partner.xml.rpmsave']
2005-03-07 13:13:14,792 INFO Starting uninstallation of scalix-sac
2005-03-07 13:13:15,131 INFO Operation passed: Uninstall /bin/rpm -e scalix-sac: (0) ['']
2005-03-07 13:13:16,131 INFO Starting uninstallation of scalix-res
2005-03-07 13:13:16,399 INFO Operation passed: Uninstall /bin/rpm -e scalix-res: (0) ['']
2005-03-07 13:13:17,400 INFO Removing server directory /opt/scalix
2005-03-07 13:13:17,401 INFO Removing the directory /etc/opt/scalix and empty subdirectories
2005-03-07 13:13:17,451 WARNING Failed to remove message queue ['']
2005-03-07 13:13:17,453 INFO Removed 0 message queues
2005-03-07 13:13:17,562 INFO Removed server system user: scalix
2005-03-07 13:13:17,627 INFO Removed server system admin user: sxadmin
2005-03-07 13:13:17,692 WARNING Couldn't remove server system admin group: sxadmin ['groupdel: group sxadmin does not exist'] , it's probably already been removed, OK.
2005-03-07 13:13:17,700 INFO Removing runlevel config symlink /etc/rc.d/rc0.d/K29scalix
2005-03-07 13:13:17,708 INFO Removing runlevel config symlink /etc/rc.d/rc1.d/K29scalix
2005-03-07 13:13:17,716 INFO Removing runlevel config symlink /etc/rc.d/rc2.d/K29scalix
2005-03-07 13:13:17,724 INFO Removing runlevel config symlink /etc/rc.d/rc3.d/S81scalix
2005-03-07 13:13:17,732 INFO Removing runlevel config symlink /etc/rc.d/rc4.d/S81scalix
2005-03-07 13:13:17,741 INFO Removing runlevel config symlink /etc/rc.d/rc5.d/S81scalix
2005-03-07 13:13:17,749 INFO Removing runlevel config symlink /etc/rc.d/rc6.d/K29scalix
2005-03-07 13:13:17,749 ERROR post-uninstall function remove_runlevel_configs failed to execute successfully
2005-03-07 13:13:17,750 INFO Cleaning up Tomcat working directory and cache (CATALINA_HOME= /opt/jakarta-tomcat-5.0.27 )
2005-03-07 13:13:17,750 INFO Removing Tomcat directory /opt/jakarta-tomcat-5.0.27/webapps/caa
2005-03-07 13:13:17,758 INFO Removing Tomcat directory /opt/jakarta-tomcat-5.0.27/webapps/sac
2005-03-07 13:13:17,822 INFO Removing Tomcat directory /opt/jakarta-tomcat-5.0.27/work/Catalina/localhost/caa
2005-03-07 13:13:17,823 INFO Removing Tomcat directory /opt/jakarta-tomcat-5.0.27/work/Catalina/localhost/sac
2005-03-07 13:13:17,824 INFO Removing Tomcat directory /opt/jakarta-tomcat-5.0.27/webapps/webmail
2005-03-07 13:13:17,909 INFO Removing Tomcat directory /opt/jakarta-tomcat-5.0.27/work/Catalina/localhost/webmail
2005-03-07 13:13:17,911 INFO Removing Tomcat context file /opt/jakarta-tomcat-5.0.27/conf/Catalina/localhost/scalix-caa.xml
2005-03-07 13:13:17,911 INFO Removing Tomcat context file /opt/jakarta-tomcat-5.0.27/conf/Catalina/localhost/scalix-admin.xml
2005-03-07 13:13:17,911 INFO Removing Tomcat context file /opt/jakarta-tomcat-5.0.27/conf/Catalina/localhost/scalix-swa.xml
2005-03-07 13:13:17,912 INFO Removed Apache symlink /etc/httpd/conf.d/scalix-web-client.conf
2005-03-07 13:13:17,912 INFO Uninstall end
2005-03-07 13:14:25,666 INFO Started Tomcat using /opt/jakarta-tomcat-5.0.27/bin/startup.sh
2005-03-07 13:14:28,756 INFO Tomcat is now running True
2005-03-07 13:14:29,967 INFO Ending Scalix Installer (Evaluation) - completed successfully
2005-03-07 13:14:41,833 INFO Starting Scalix Installer (Evaluation)
2005-03-07 13:14:41,963 INFO Current locale is en_US and default is en_US
2005-03-07 13:14:44,509 INFO Packages installed: {}
2005-03-07 13:14:45,904 INFO Obsolete packages installed: {}
2005-03-07 13:14:47,733 INFO Saving installation type: installall mode: typical
2005-03-07 13:14:48,244 INFO Operation passed: OS release check Fedora Core release 3 (Heidelberg)
2005-03-07 13:14:48,244 INFO Operation passed: Memory check 1034852
2005-03-07 13:14:48,244 INFO Operation passed: Disk space check 463388416
2005-03-07 13:14:48,280 INFO Tomcat was running when we started: True
2005-03-07 13:14:48,965 INFO Saving installation directory: /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 13:14:52,116 INFO Searching /root/scalix-9.2.0-eval/software/scalix_server for relevant Scalix packages
2005-03-07 13:14:52,117 INFO File scalix-res-9.2.0.211-1.noarch.rpm is a Scalix file, for this platform and valid version
2005-03-07 13:14:52,118 WARNING File scalix-websplats-configurator-py23-9.2.0.211-1.noarch.rpm is not a Scalix package
2005-03-07 13:14:52,118 WARNING File scalix-server-eval-9.2.0.115-0.1.suse91.i586.rpm is not for this platform
2005-03-07 13:14:52,119 WARNING File scalix-server-eval-9.2.0.115-0.1.suse91.i586.rpm is not for this platform
2005-03-07 13:14:52,119 INFO File scalix-swa-9.2.0.212-1.noarch.rpm is a Scalix file, for this platform and valid version
2005-03-07 13:14:52,119 INFO File scalix-server-eval-9.2.0.115-0.1.fc3.i386.rpm is a Scalix file, for this platform and valid version
2005-03-07 13:14:52,120 WARNING File scalix-server-eval-9.2.0.115-0.1.rhel3.i386.rpm is not for this platform
2005-03-07 13:14:52,120 WARNING File scalix-server-eval-9.2.0.115-0.1.rhel3.i386.rpm is not for this platform
2005-03-07 13:14:52,121 WARNING File scalix-server-eval-9.2.0.115-0.1.sles9.i586.rpm is not for this platform
2005-03-07 13:14:52,121 WARNING File scalix-server-eval-9.2.0.115-0.1.sles9.i586.rpm is not for this platform
2005-03-07 13:14:52,121 INFO File scalix-sac-9.2.0.211-1.noarch.rpm is a Scalix file, for this platform and valid version
2005-03-07 13:14:52,121 WARNING File scalix-websplats-configurator-py22-9.2.0.211-1.noarch.rpm is not a Scalix package
2005-03-07 13:14:55,543 INFO Components selected to install: {'scalix-sac': ['9.2.0.211', '10616581', 'noarch', 'linux', '1', '(none)', 'scalix-sac-9.2.0.211-1.noarch.rpm'], 'scalix-res': ['9.2.0.211', '1847579', 'noarch', 'linux', '1', '(none)', 'scalix-res-9.2.0.211-1.noarch.rpm'], 'scalix-swa': ['9.2.0.212', '4217629', 'noarch', 'linux', '1', '(none)', 'scalix-swa-9.2.0.212-1.noarch.rpm'], 'scalix-server-eval': ['9.2.0.115', '72193373', 'i386', 'linux', '0.1.fc3', 'FC3', 'scalix-server-eval-9.2.0.115-0.1.fc3.i386.rpm']}
2005-03-07 13:14:55,544 INFO Components to upgrade: {}
2005-03-07 13:14:55,548 INFO System check start
2005-03-07 13:14:55,710 INFO Network interface is actually eth1
2005-03-07 13:14:55,719 INFO Operation passed: Network check passed.
2005-03-07 13:14:55,770 INFO Operation passed: Filesystem check passed.
2005-03-07 13:14:55,870 INFO Java and Tomcat check info -- JAVA_HOME environment variable is /opt/java
2005-03-07 13:14:56,025 INFO Java and Tomcat check info -- Java version 1.4.2_05
2005-03-07 13:14:56,060 INFO Java and Tomcat check info -- Default Tomcat directory is /opt/jakarta-tomcat-5.0.27
2005-03-07 13:14:56,103 INFO Java and Tomcat check info -- Tomcat version is 5.0.27
2005-03-07 13:14:56,103 INFO Operation passed: Java and Tomcat check passed.
2005-03-07 13:14:58,106 INFO Apache appears to be installed.
2005-03-07 13:14:58,106 INFO Operation passed: Dependency check passed.
2005-03-07 13:14:59,038 INFO Operation passed: Running services check passed.
2005-03-07 13:14:59,039 INFO System check end
2005-03-07 13:14:59,041 INFO System check result: pass
2005-03-07 13:15:02,041 INFO Stopped Tomcat using command /opt/jakarta-tomcat-5.0.27/bin/shutdown.sh
2005-03-07 13:15:05,074 INFO Tomcat is stopped True
2005-03-07 13:15:05,283 INFO Install start
2005-03-07 13:15:06,284 INFO Starting installation of component scalix-server-eval using RPM scalix-server-eval-9.2.0.115-0.1.fc3.i386.rpm from /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 13:15:16,620 INFO Operation passed: Install /bin/rpm -i /root/scalix-9.2.0-eval/software/scalix_server/scalix-server-eval-9.2.0.115-0.1.fc3.i386.rpm: (0) ['']
2005-03-07 13:15:17,621 INFO Starting installation of component scalix-swa using RPM scalix-swa-9.2.0.212-1.noarch.rpm from /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 13:15:18,328 INFO Operation passed: Install /bin/rpm -i /root/scalix-9.2.0-eval/software/scalix_server/scalix-swa-9.2.0.212-1.noarch.rpm: (0) ['Please configure Scalix Web Access (SWA) using the /opt/scalix/bin/configurator script.', 'For usage consult man page by typing man configurator. SWA minimally requires Tomcat 4.1.29 and JDK 1.4.2+.', 'After configuring SWA you may launch SWA within Tomcat with <Tomcat_installed_dir>/bin/startup.sh.', 'To check any startup errors look at <Tomcat_installed_dir>/logs/scalix-swa_log.<date>.txt']
2005-03-07 13:15:19,328 INFO Starting installation of component scalix-sac using RPM scalix-sac-9.2.0.211-1.noarch.rpm from /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 13:15:20,006 INFO Operation passed: Install /bin/rpm -i /root/scalix-9.2.0-eval/software/scalix_server/scalix-sac-9.2.0.211-1.noarch.rpm: (0) ['Please configure Scalix Administration Console (SAC) using', 'the Scalix Installer for configuration.', 'SAC minimally requires Tomcat 4.1.29 and JDK 1.4.2+', 'After configuring SAC you may launch the SAC within Tomcat with <Tomcat_installed_dir>/bin/startup.sh.', 'To check any startup errors look at <Tomcat_installed_dir>/logs/caa.log', 'Tomcat container must run as root if SAC is configured and deployed in Hybrid or Single Server local mode.', 'Have fun!']
2005-03-07 13:15:21,007 INFO Starting installation of component scalix-res using RPM scalix-res-9.2.0.211-1.noarch.rpm from /root/scalix-9.2.0-eval/software/scalix_server
2005-03-07 13:15:21,502 INFO Operation passed: Install /bin/rpm -i /root/scalix-9.2.0-eval/software/scalix_server/scalix-res-9.2.0.211-1.noarch.rpm: (0) ['Please configure Remote Execution Service (RES) using the', 'Scalix Installer for configuration.', 'RES minimally requires Tomcat 4.1.29 and JDK 1.4.2+', 'After configuring RES you may launch the RES within Tomcat with <Tomcat_installed_dir>/bin/startup.sh.', 'To check any startup errors look at <Tomcat_installed_dir>/logs/res.log', 'Tomcat container must run as root with RES running as one of the web application', 'Have fun!']
2005-03-07 13:15:21,502 INFO Install end
2005-03-07 13:15:22,984 INFO Mailnode name derived from FQDN: dangermouse,unity-systems
2005-03-07 13:15:23,769 INFO Mailnode is dangermouse,unity-systems
2005-03-07 13:15:23,817 ERROR Failed to fetch generation rule general.inet_domain_rule with result: ['']
2005-03-07 13:15:23,839 INFO dns domain unity-systems.com has a valid MX record so using it as default
2005-03-07 13:15:25,319 INFO Domain is unity-systems.com
2005-03-07 13:15:25,319 INFO Display name format is Firstname Lastname
2005-03-07 13:15:25,319 INFO Email addr format is Use display name format
2005-03-07 13:15:32,256 INFO Creating Scalix instance...(please wait -- this might take several minutes)
2005-03-07 13:16:34,106 INFO Starting initial server daemons...
2005-03-07 13:16:37,309 INFO Creating generation rules
2005-03-07 13:16:37,437 INFO Successfully added name generation rules
2005-03-07 13:16:37,437 INFO Creating Primary mailnode on dangermouse,unity-systems
2005-03-07 13:16:37,564 INFO Configuring server Unix user and server admin user...
2005-03-07 13:16:37,663 INFO Created system group 'sxadmin'
2005-03-07 13:16:37,794 INFO Created system user 'sxadmin'
2005-03-07 13:16:37,795 INFO Adding user sxadmin/dangermouse,unity-systems/IA=sxadmin@dangermouse.unity-systems.com as server admin user authid sxadmin@dangermouse.unity-systems.com(use authid to log in at administration console)
2005-03-07 13:16:38,074 INFO Setting user sxadmin/dangermouse,unity-systems/IA=sxadmin@dangermouse.unity-systems.com as server error notification user
2005-03-07 13:16:38,214 INFO Doing tweaks
2005-03-07 13:16:38,217 INFO Done tweaks
2005-03-07 13:16:38,217 INFO Starting rest of server daemons...
2005-03-07 13:16:39,780 INFO Running initconfig
2005-03-07 13:16:40,298 INFO Done initconfig
2005-03-07 13:16:40,298 INFO Configured Apache /etc/httpd/conf.d/scalix-web-client.conf
2005-03-07 13:16:40,433 INFO Apache is running
2005-03-07 13:16:40,527 INFO Reloaded Apache -- success
2005-03-07 13:16:41,613 INFO Setting JAVA_HOME environment variable to /opt/java
2005-03-07 13:16:44,613 INFO Cleaning up Tomcat working directory and cache (CATALINA_HOME= /opt/jakarta-tomcat-5.0.27 )
2005-03-07 13:16:44,617 INFO Configuring SAC...
2005-03-07 13:16:44,796 INFO Creating server Admin Groups on this host on mailnode dangermouse,unity-systems
2005-03-07 13:16:44,797 INFO Configuring / installing SAC
2005-03-07 13:16:45,557 INFO Configuring RES on the same host as SAC -- creating backup files only.
2005-03-07 13:16:45,559 INFO Configuring SWA...
2005-03-07 13:16:45,568 INFO Modifying Tomcat's classpath script
2005-03-07 13:16:45,711 INFO Started Tomcat using /opt/jakarta-tomcat-5.0.27/bin/startup.sh
2005-03-07 13:16:48,796 INFO Tomcat is now running True
2005-03-07 13:16:48,894 INFO System default browser is /usr/bin/firefox
2005-03-07 13:16:49,825 INFO Browser /usr/bin/firefox version 1.0.1 is supported: True
2005-03-07 13:16:51,233 INFO Opening browser /usr/bin/firefox at URL http://dangermouse.unity-systems.com:80 ... ystems.com
2005-03-07 13:16:51,257 INFO Ending Scalix Installer (Evaluation) - completed successfully


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests