Scalix 10 rejecting all SWA logins, SAC works fine

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

iota

Scalix 10 rejecting all SWA logins, SAC works fine

Postby iota » Wed Feb 15, 2006 12:43 am

I installed Scalix 10 on an FC4 i386 machine without any problems -- the new textual installer is a godsend and works very well.

Attempted to install Scalix 10 on RHEL4 x86_64 machine that previously was running Open-Xchange. I attempted to remove all of the Open-Xchange related packages and Scalix installs without a problem; I can log in to the SAC with the sxadmin user, however, all logins on the SWA fail with incorrect username or password JavaScript Alert. I know that I'm using the correct login information (as I do have a working Scalix 10 install on the FC4 machine), have tried creating a variety of new users and passwords.

The log files don't have anything useful as far as I can tell; has anyone else had this issue? Any log I can post to help aid in troubleshooting?

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

Postby ScalixSupport » Wed Feb 15, 2006 1:27 am

The installer now connects tomcat to apache with mod_jk. What url are you trying to access SWA with?

What does ps -aef |grep tomcat return?

Did you have mod_jk configured before your upgrade?

What OS are you using?

More details pleaase.

Thanks,
Don

iota

Postby iota » Wed Feb 15, 2006 9:28 am

Don, per my post, I'm running RedHat Enterprise 4 x86_64. Tomcat and mod_jk are working because the SAC pages load fine, and the SWA webmail login screen opens without a problem -- its just no matter what login information I use (I've tried numerous formats, etc), SWA always rejects the log in with a JavaScript Alert dialog that says the username or password are incorrect.

mod_jk was previously used by Open-Xchange, but I removed all of it's RPM's and everything out of /etc/httpd/conf.d and httpd.conf that looked even slightly relevant.

Tomcat is running:
root 22725 1 0 Feb14 ? 00:00:52 /usr/java/jre1.5.0_05/bin/java -server -Djava.net.preferIPv4Stack=true -Xms512m -Xmx512m -Djava.endorsed.dirs=/opt/scalix-tomcat/common/endorsed -classpath /usr/java/jre1.5.0_05/lib/tools.jar:/opt/scalix-tomcat/bin/bootstrap.jar:/opt/scalix-tomcat/bin/commons-logging-api.jar -Dcatalina.base=/opt/scalix-tomcat -Dcatalina.home=/opt/scalix-tomcat -Djava.io.tmpdir=/opt/scalix-tomcat/temp org.apache.catalina.startup.Bootstrap start

Have tried logging in with Firefox and IE on windows, and DeerPark Alpha2 Intel on Mac. I am able to log in another Scalix box without any problems at all, so I know that it's not a browser issue and I am familiar with the username formats (have tried many formats just for kicks, however).

Logging in to /webmail/ on port 80
Last edited by iota on Wed Feb 15, 2006 2:31 pm, edited 1 time in total.

iota

More Info

Postby iota » Wed Feb 15, 2006 2:25 pm

It looks like IMAP may be the culprit; on my working copy of scalix, I can telnet to port 143 and use:
01 LOGIN email password
and get back
01 OK LOGIN completed, now connected to servername
or at least:
01 NO LOGIN failure, user name or password rejected

On the non-working server, if I telnet to port 143 and use
01 LOGIN email password
I get:
01 NO LOGIN authentication mechanism unimplemented
no matter what email/pass is passed in the 01 LOGIN command.

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

Postby ScalixSupport » Wed Feb 15, 2006 3:48 pm

Hi iota,

Right, sorry about the OS version question. Forgot I read that bit.

Thanks for narrowing this down to an IMAP login issue. I believe it has to do with your sasl libraries. We need cyrus-sasl-md5 and cyrus-sasl-plain 32 bit libraries as documented in the install guide. In /opt/scalix/lib/security do you have:

libcrammd5.so -> /usr/lib/sasl2/libcrammd5.so
libdigestmd5.so -> /usr/lib/sasl2/libdigestmd5.so
liblogin.so -> /usr/lib/sasl2/liblogin.so
libplain.so -> /usr/lib/sasl2/libplain.so

?

If not then you will need to get the 32 bit sasl libraries.

Regards,
Don

iota

Postby iota » Wed Feb 15, 2006 3:54 pm

I installed both of those libraries and am now able to log in to /webmail/ -- thank you very much! I would reccomend putting a check in place in the installer to warn about this missing dependancy, as I received no warnings that these were missing when installing Scalix 10.

Thanks again!


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 1 guest