Sendmail can't connect to ldap server...
Posted: Fri Jan 05, 2007 12:31 am
Hi All,
I've just recently started using Scalix 11, so be gentle
A user was using SWA caused an error which locked up his account, he was no longer able to login to SWA. Whatever he did caused Scalix to run out of control and shutting it down wouldn't stop all the scalix services. Some of them like ldap needed their process killed. Other users were still able to use SWA or IMAP at this time.
I fixed the user's mail account by running the omscan command and he was once again able to log into this account and everything looked ok. I also ran omcheck which fixed some imap cache files owned by the wrong user. All this happened later in the work day.
Next morning I noticed that no new mail was coming in, even mail send from the command line via the sendmail command to a local user. After a restart of sendmail, I found the following error in /var/log/maillog:
and I found this in omshowlog:
I haven't been able to find this error via the search. Where do I go next? The system is still usable, but no mail goes out or comes in. I see Sendmail receiving mail and spamassassin scanning it, but that's were it stops. The omslapd service is running. Should I back up the user mail stores and then reinstall?
Thanks in advance for any help!
I've just recently started using Scalix 11, so be gentle

I fixed the user's mail account by running the omscan command and he was once again able to log into this account and everything looked ok. I also ran omcheck which fixed some imap cache files owned by the wrong user. All this happened later in the work day.
Next morning I noticed that no new mail was coming in, even mail send from the command line via the sendmail command to a local user. After a restart of sendmail, I found the following error in /var/log/maillog:
Code: Select all
sendmail[30003]: l053mcrM028941: SYSERR(root): ldap_init/lda p_bind failed to localhost in map ldapsx: Unknown error 325
and I found this in omshowlog:
Code: Select all
WARNING IMAP Server Da(IMAP Server Pr) 01.03.07 14:25:53
[OM 3419] A container cannot be closed until all its children have been closed.
User Name: Jane Doe / gs2/CN=Jane Doe
Current errno value: 1
Last Folder: Junk E-mail
-> GetBBPath
-> GetBBPath
<- /build/scalix-MAIN/src/lib/ct/ct_bbchlg.c:200[100,23953]
<- GetBBPath
<- GetBBPath
<- ct_GetBBPath2
<- bb_RecordChangeWithRouteTrace
-> bb_FlushChangeBuffer
<- bb_FlushChangeBuffer
-> ual_AdjustListCount
<- ual_AdjustListCount
<- ual_MoveItem
-> ct_CloseCtner 3003
<- /build/scalix-MAIN/src/lib/ct/ct_inclose.c:240[3,3419]
<- /build/scalix-MAIN/src/lib/ct/ct_inclose.c:492[3,3419]
<- /build/scalix-MAIN/src/lib/ual/ual_cpyitm.c:2036[3,3419]
ERROR Administration(Scalix Admin C) 01.03.07 14:28:16
[SYS 2] No such file or directory
Current errno value: 2
<- /build/scalix-MAIN/src/lib/ombase/os/os_stat.c:58[1,2]
I haven't been able to find this error via the search. Where do I go next? The system is still usable, but no mail goes out or comes in. I see Sendmail receiving mail and spamassassin scanning it, but that's were it stops. The omslapd service is running. Should I back up the user mail stores and then reinstall?
Thanks in advance for any help!