Date/Time adjustment login issue

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

lowey71
Posts: 10
Joined: Sun Feb 26, 2006 6:54 pm

Date/Time adjustment login issue

Postby lowey71 » Sun Feb 26, 2006 6:59 pm

Recently set up a Scalix server for my own testing under Vmware.

After installation and migration on some emails, I noticed that the date/time appeared to be out by over a day, in advance of correct time.

I reset this time and am now unable to login in to webmail but sac console is fine, as admin and as a webmail user.

At this point in time, my clock has not caught up to the date (i beleive anyhow) when the accounts were created. I have tried reseting passwords with no success.

Any help appreciated.

lowey71
Posts: 10
Joined: Sun Feb 26, 2006 6:54 pm

further notes

Postby lowey71 » Sun Feb 26, 2006 10:32 pm

Added a new user, also unable to login.

Information obtained from tomcat log files are:

2006-02-27 12:33:59 StandardContext[/webmail]ip: 192.168.150.13; username: test@loweys.net; message: <SOAP-ENV:Fault><faultcode>SOAP-ENV:CLIENT.BadUserName</faultcode><faultstring>The username or password is incorrect. Note that passwords are case sensitive. Try again.</faultstring><detail><e:BadUserName xmlns:e="http://scalix.com/errors"><message>The username or password is incorrect. Note that passwords are case sensitive. Try again.</message><debug>user: test@loweys.net
request method(s): login
XML:
&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"&gt;&lt;SOAP-ENV:Header&gt;&lt;credentials xmlns="http://scalix.com/schemas/gofish" SOAP-ENV:mustUnderstand="1"&gt;&lt;username&gt;test@loweys.net&lt;/username&gt;&lt;emailDomain&gt;loweys.net&lt;/emailDomain&gt;&lt;fugu&gt;Ox6a716a6935282427242e352f2f2a2c2f22263504&lt;/fugu&gt;&lt;ts&gt;0&lt;/ts&gt;&lt;/credentials&gt;&lt;/SOAP-ENV:Header&gt;&lt;SOAP-ENV:Body&gt;&lt;m:login xmlns:m="http://scalix.com/methods"/&gt;&lt;/SOAP-ENV:Body&gt;&lt;/SOAP-ENV:Envelope&gt;</debug></e:BadUserName></detail></SOAP-ENV:Fault>

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

Postby ScalixSupport » Sun Feb 26, 2006 11:14 pm

For your new user, run the command:

Code: Select all

omshowu -n "User Name"


Take note of the authentication ID and the internet address values.

You can sign on with authentication ID, internet address, Common Name, First Last or Last (if it's unique). If your user doesn't have any of those that match "test@loweys.net" then you won't get it.

Cheers

Dave

lowey71
Posts: 10
Joined: Sun Feb 26, 2006 6:54 pm

Postby lowey71 » Sun Feb 26, 2006 11:39 pm

I was able to login with my other accounts OK (including Outlook connector).

This account was only just made. But note the last login time.....

*****

[root@scalix sys]# omshowu -n "test@loweys.net"
Authentication ID: test@loweys.net
User Name : Test User /CN=Test User
MailNode : scalix,loweys
Internet Address : "Test User" <test@loweys.net>
System Login : 55003
Password : set
Admin Capabilities : NO
Mailbox Admin Capabilities : NO
Language : ENGLISH
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 02.27.06 12:33:59
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
User Class : Full

*****

Now, I try loggin in again... (username/password failure again presented)

****
[root@scalix sys]# omshowu -n "test@loweys.net"
Authentication ID: test@loweys.net
User Name : Test User /CN=Test User
MailNode : scalix,loweys
Internet Address : "Test User" <test@loweys.net>
System Login : 55003
Password : set
Admin Capabilities : NO
Mailbox Admin Capabilities : NO
Language : ENGLISH
Virtual Vault : Enabled (default)
Mail Account: Unlocked
Last Signon : 02.27.06 13:32:51
Receipt of mail : ENABLED
Service level : 0
Excluded from Tidying : NO
User Class : Full

[root@scalix sys]# date
Mon Feb 27 13:33:57 EST 2006


*****

Note the updated signon time.

If I use an genuine incorrect password loging into the above account, the 'Last Signon' time is not updated...... Imagine that would be correct behaviour. :)

Odd.. It knows I logged in with the correct details but doesnt let me thru...

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

Postby ScalixSupport » Sun Feb 26, 2006 11:50 pm

As per the instructions in the sticky note at the top of this section, do you see anything reported in the server logs for the IMAP server ?

Cheers

Dave

lowey71
Posts: 10
Joined: Sun Feb 26, 2006 6:54 pm

Postby lowey71 » Mon Feb 27, 2006 12:22 am

Cheers Dave,

Couldnt exactly work out where the imap logs were. Man page for in.imap41d states that should be in ~/tmp but couldnt locate them.

One file I did find though...

/var/opt/scalix/logs/fatal has this in it:
SERIOUS ERROR IMAP Server Da(IMAP Server Pr) Mon Feb 27 14:43:44 2006
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 3627
Procedure trace follows:
<- getActionRecord
-> imapAddCacheFolder
-> allocCacheEntry
<- allocCacheEntry
<- imapAddCacheFolder
-> getActionRecord
<- getActionRecord
-> imapAddCacheFolder
-> allocCacheEntry
<- allocCacheEntry
<- imapAddCacheFolder
-> getActionRecord
<- getActionRecord
<- imapual_getFolderTree
-> imapual_getBBTree
-> imapual_getFolderCache
User Name: Test User / scalix, loweys/CN=Test User
Pid of logging process: 3627


SERIOUS ERROR IMAP Server Da(IMAP Server Pr) Mon Feb 27 14:43:44 2006
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xee1f06]
/opt/scalix/lib/libom_er.so[0xee21d6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xee237f]
/lib/tls/libpthread.so.0[0x5b67c8]
in.imap41d[0x80810a4]
in.imap41d[0x8063a59]
in.imap41d[0x80642a3]
in.imap41d[0x805ef29]
in.imap41d[0x8055a00]
in.imap41d[0x806365e]
in.imap41d[0x80642a3]
in.imap41d[0x805ef29]
in.imap41d[0x80602cd]
in.imap41d[0x8060b86]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb1de23]
in.imap41d[0x804d981]

User Name: Test User / scalix, loweys/CN=Test User
Pid of logging process: 3627

lowey71
Posts: 10
Joined: Sun Feb 26, 2006 6:54 pm

Postby lowey71 » Mon Feb 27, 2006 1:27 am

Also appears that the sxadmn-scalix login is ok with webmail. First time logged in though.

tonyn
Scalix
Scalix
Posts: 12
Joined: Mon Jul 04, 2005 4:33 am

Postby tonyn » Mon Feb 27, 2006 5:39 am

The IMAP process appears to have crashed while trying to access the Public Folders. Could this be a licensing problem?

jch
Scalix
Scalix
Posts: 202
Joined: Thu Mar 25, 2004 10:25 am

Postby jch » Mon Feb 27, 2006 6:15 am

Couldnt exactly work out where the imap logs were. Man page for in.imap41d states that should be in ~/tmp but couldnt locate them.


That refers to the IMAP server's protocol logs, not the event logs that omshowlog reports and not the stuff that gets copied to the fatal log file.

One thing that does strike me: did you reboot the server after you jumped the time to the correct date? Some Unix (and Linux) services really don't like time leaping backwards and events that appear to have happened in the future are especially confusing to some processes.

jch

lowey71
Posts: 10
Joined: Sun Feb 26, 2006 6:54 pm

Postby lowey71 » Tue Feb 28, 2006 5:24 am

Rebooted numerous times with no further success.

Good news is, its now all OK. As the clock passed yesterday the time of account creation they became active again. :)

V. happy with the product and the speed of support. I screwed up with the time, so cant blame the software.

Keep up the good work. Would recommend this exchange replacement to my customers.

AussieOwner
Scalix
Scalix
Posts: 61
Joined: Fri Dec 17, 2004 9:54 am
Location: San Diego, CA

Postby AussieOwner » Wed Mar 01, 2006 2:56 pm

Regarding your time skew problem running VMware. This is a known problem. It seems to be particulary annoying on REL4. Less of an issue in REL3.

The workaround that seems to help is to add "clock=pmtmr" as a kernel boot option. The clock still gains time, but it creep is measured in seconds, rather than minutes/hours. Also, add a NTP time source such as an AD server. I found that the easiest way to force a sycn it to restart the ntp service.

Below is the link from the VMWare KB that discusses the time skew issue with REL4.

http://www.vmware.com/support/kb/enduse ... PTE*&p_li=


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 10 guests