IMAP Server prob. - "NO LOGIN failure, service unavaila

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

rjdoller
Posts: 19
Joined: Mon Jun 26, 2006 2:05 am

IMAP Server prob. - "NO LOGIN failure, service unavaila

Postby rjdoller » Wed May 16, 2007 11:49 am

It appears that none of my users can log into the IMAP server on my new scalix box. The can log in using the outlook connector, and POP3, and SWA, but not IMAP.

I haven't done anything strange on the box (other than changing the IP address after installation, but I'm reasonably sure I did that properly).

It's Scalix 11 Running on Centos 4.

Here is a sample of what I get when testing...

= = = = = = = = = = CUT HERE = = = = = = = = = =
[root@scalix scalix-11.0.3-GA]# telnet 127.0.0.1 143
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
* OK Scalix IMAP server 11.0.3.10719 ready on scalix.sas-sa.co.za
a login jdoller@sas-sa.co.za mypass
a NO LOGIN failure, service unavailable
* BYE IMAP Server not available
Connection closed by foreign host.
= = = = = = = = = = CUT HERE = = = = = = = = = =

omshowlog -p 20 -l 11 gives a LOT of errors, mostly starting with "SERIOUS ERROR", which gives me happy happy joy joy feelings deep within my stomach.

I'm not going to post everything, just the last bit:

= = = = = = = = = = CUT HERE = = = = = = = = = =
SERIOUS ERROR IMAP Server Da(IMAP Server Pr) 05.16.07 17:39:16
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0x48eee6]
/opt/scalix/lib/libom_er.so[0x48f1e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x48f38f]
/lib/tls/libpthread.so.0[0x154898]
in.imap41d[0x8086752]
in.imap41d[0x80559db]
in.imap41d[0x80569c0]
in.imap41d[0x8057a34]
in.imap41d[0x8068ece]
in.imap41d[0x8069ae9]
in.imap41d[0x8063b89]
in.imap41d[0x80650bb]
in.imap41d[0x8065a84]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb7bde3]
in.imap41d[0x804e021]
User Name: jason doller / scalix/CN=doller, jason

SERIOUS ERROR IMAP Server Da(IMAP Server Pr) 05.16.07 17:42:47
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 6231
Procedure trace follows:
-> ual_DeleteGetItemFiles
-> ual_GetUserTweak
<- ual_GetUserTweak
<- ual_DeleteGetItemFiles
-> ual_CloseBrowserPipes
<- ual_CloseBrowserPipes
-> ual_CloseBrowserPipes
<- ual_CloseBrowserPipes
<- ual_TidyUp
<- ual_ShutDown
<- ual_RecvReply
<- imapual_finalise
<- imapLogin1
<- imapSatelliteCommand
-> checkNotifications
-> imapual_checkShutdown
User Name: jason doller / scalix/CN=doller, jason


SERIOUS ERROR IMAP Server Da(IMAP Server Pr) 05.16.07 17:42:47
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0x48eee6]
/opt/scalix/lib/libom_er.so[0x48f1e6]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x48f38f]
/lib/tls/libpthread.so.0[0x154898]
in.imap41d[0x8086752]
in.imap41d[0x80559db]
in.imap41d[0x80569c0]
in.imap41d[0x8057a34]
in.imap41d[0x8068ece]
in.imap41d[0x8069ae9]
in.imap41d[0x8063b89]
in.imap41d[0x80650bb]
in.imap41d[0x8065a84]
/lib/tls/libc.so.6(__libc_start_main+0xd3)[0xb7bde3]
in.imap41d[0x804e021]
User Name: jason doller / scalix/CN=doller, jason
= = = = = = = = = = CUT HERE = = = = = = = = = =

Help? Please?

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

Postby ScalixSupport » Thu May 17, 2007 3:52 am

Hi!

I hope you have followed the steps for change of IP address of Scalix Server at:
http://www.scalix.com/wiki/index.php?ti ... s/ChangeIP

To help resolve Serious errors of IMAP, I would request you to omscan for the user(s)
in question, and then would clear the imap-cache.

Run omscan as below:

Code: Select all

omoff -d0 omscan
omscan -Z     
omon omscan     

You need to watch the status of the omscan process using the command:

Code: Select all

omscan -t

Wait until you get a message that says "Current server cycle not started; service reset
or delayed".

Now try to fix the mailstore related issues in active mode using the below given
command:

Code: Select all

omscan -Avfx -U <username>

Note: <username> should be the username for the user in question.

Clear imap-cache using steps as below:
Once, omscan gets over, we need to clear the imap cache for this user, follow the
steps below:
1. make sure the user is logged out, i.e.

Code: Select all

omstat -u all

should not show any more sessions for any user.

2. determine the user folder directory, i.e.

Code: Select all

omshowu -n <lastname> -f

Note: <lastname> should be the lastname of the user in question.

3. Go there (the so-called g-directory of the user)

Code: Select all

cd /var/opt/scalix/??/s/user/????????/

4. This should have a subdirectory called imap-cache. delete that:

Code: Select all

rm -rf 00000v8.ofs imap-cache

Note: After you execute these commands, all Outlook profiles for users using SmartCache or Offline Working need to be recreated.

5. Now, restart scalix-tomcat service and try accessing the user's mailbox using IMAP
again.

Hope this helps.

Thanks,
Subir

rjdoller
Posts: 19
Joined: Mon Jun 26, 2006 2:05 am

Problem Resolved

Postby rjdoller » Thu May 17, 2007 4:26 am

OK, a few keywords for the search engine first:

= = = = = = = = = = SNIP = = = = = = = = = =
Scalix user interface access is disabled
Cannot start up subsystem Remote Client Interface, a shut down is in progress.
Cannot start up subsystem Local Client Interface, a shut down is in progress.
Scalix user interface access is disabled
= = = = = = = = = = SNIP = = = = = = = = = =

OK, seems the problem may have been a power failure. When the box came up again, everything worked (appeared to work?) except IMAP. The next morning, users couldn't log int webmail (Password incorrect messages) and the scalix Outlook COnnector didn't work. Scalix Rules Wizard gave the error "Scalix user interface access is disabled" (which led me to the correct (I sincerely pray) solution).

Strangely enough, POP3 seemed to work just fine.

I could log into SAC, which showed Remote Client Interface as being down.

Running the following:
omreset -o off rci
omon rci
omreset -o off lci
omon lci

Resolved the problem.

What would have caused this problem?

Thanks to Scalix for the forums, BTW. Great support for a product that many (myself included) use as free.

rjdoller
Posts: 19
Joined: Mon Jun 26, 2006 2:05 am

Problems returns

Postby rjdoller » Tue May 29, 2007 11:50 am

The box lost power due to a power failure again today, and when it came up the problem was back (again).

Any suggestions on why this is happening, and what to do to resolve it?

I've set these commands in /etc/rc.local so that this happens again it should fix itself, but it worries me that it's happening.

Jason

kcsc
Posts: 62
Joined: Thu Oct 04, 2007 11:35 am
Location: US

Postby kcsc » Tue May 20, 2008 4:09 pm

I have just recently began to receive an error very similar to the on described above. However, it is not due to any power failures or changes of IP address, and it doesn't seem to effect the user in any way. The Errors just show up in the log. It is for one specific user only. I have tried the above suggestions, but I am still receiving the error. Are there any ideas on how to fix this.

kcsc
Posts: 62
Joined: Thu Oct 04, 2007 11:35 am
Location: US

Postby kcsc » Wed May 21, 2008 5:39 pm

After further investigating I have determined that the error seems to happen at logout. Which is i guess why there seems to be nothing wrong from the users point of view.

Code: Select all

telnet host.domain.com 143
* OK Scalix IMAP server 11.3.0.11339 ready on host.domain.com
a001 authenticate login
+ VXNlcm5hbWU6
<encoded user name>
+ UGFzc3dvcmQ6
<encoded password>
a001 OK AUTHENTICATE completed, now connected to host.domain.com
a002 logout
* BYE IMAP Server logging out
a002 OK LOGOUT completed


causes

Code: Select all

SERIOUS ERROR           IMAP Server Da(IMAP Server Pr) Fri May 23 18:04:53 2008
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 28796
Procedure trace follows:
  -> imaplex_deleteContext
  <- imaplex_deleteContext
  -> imapual_hideSession
  -> usr_SetSessionFlags
  <- usr_SetSessionFlags
  <- imapual_hideSession
  <- imapCloseSatConn
  <- imapSatelliteCommand
  -> checkNotifications
  <- checkNotifications
  -> imapCheckCompactFldItems
  <- imapCheckCompactFldItems
  -> getNextTimeout
  -> imapGetCompactionTOD
  <- imapGetCompactionTOD
  <- getNextTimeout
User Name: Kate Picard / mail1/CN=Kate Picard
Pid of logging process: 28796


SERIOUS ERROR           IMAP Server Da(IMAP Server Pr) Fri May 23 18:04:53 2008
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xb3)[0xcfcb03]
/opt/scalix/lib/libom_er.so[0xcfcdf3]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0xcfcf7f]
[0x79b420]
in.imap41d[0x8058ddb]
in.imap41d[0x806bd6b]
in.imap41d[0x806ccb1]
in.imap41d[0x8064269]
in.imap41d[0x806612c]
in.imap41d[0x8066be9]
/lib/libc.so.6(__libc_start_main+0xdc)[0xf3cdec]
in.imap41d[0x804db01]
User Name: Kate Picard / mail1/CN=Kate Picard
Pid of logging process: 28796


Anyone have any Ideas? This is on CentOS 5 and 11.3.0.77. I will assume that it will happen with any imap client. It does do it with Thunderbird, and Perl-MAil-IMAPClient.

kcsc
Posts: 62
Joined: Thu Oct 04, 2007 11:35 am
Location: US

Postby kcsc » Mon Jun 09, 2008 4:35 pm

Since nobody has replied, let me ask another question. Would it be possible to just omcpoutu said account, delete account recreate, omcpinu account. If so, would all permissions to shared resources have to be redone. And if possible, is it likely to solve this problem.

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

Postby les » Tue Jun 10, 2008 10:23 am

kcsc wrote:Since nobody has replied, let me ask another question. Would it be possible to just omcpoutu said account, delete account recreate, omcpinu account. If so, would all permissions to shared resources have to be redone. And if possible, is it likely to solve this problem.


If it is just one user then try clearing the imap cache for that user. Check the scalix wiki for a howto on that.
Make sure there are no hung processes belonging to the user for imap.

If you do export, delete and import use sxmboxexp and sxmboximp, they are better that the old tools. If you use those tools they should, by default export out all ACL's for all folders and import them also. Check the man pages for each.
I don't think you'll need to go that far though.

There is also a script on the wiki to enable full imap logging per user. Set this up and attempt connection then check those log files. They should show the reason for the problems.
Regards,

Les Stott

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Tue Jun 10, 2008 10:25 am

You can use sxmboxexp to dump out the users, but I have to think getting a UPS is your #1 priority...

kcsc
Posts: 62
Joined: Thu Oct 04, 2007 11:35 am
Location: US

Postby kcsc » Tue Jun 10, 2008 10:44 am

Les,
I have cleared the cache as described above, but I missed the script to clear the cache in the wiki, I will give that a try. I will take a look at the logging as well. Schmoe thanks as well, but as mentioned it is not a power, or change of ip address problem (that was a possible cause of the problem of the OP, my problem has a very similar error message in the log). I agree that power management is very important, which is why I have UPS, and Standby Generators. The server has never lost power and its IP has never been changed.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron