Kolab 3.4 on CentOS 6.6 (ptload completely failed)

Soliva Andrea soliva at comcept.ch
Mon Sep 21 22:46:17 CEST 2015


Hi all

after several hours debugging and looking to this issue I do not have 
anymore any ideas how to proceed:

I have a installation with 5 main Domains and 1 domain with a associated 
domain. For this installation I have created in the last two month about 
25 users without any problems. I was in the last two weeks in holidays 
from this point of view it did not change anyhting on the config :-) 
Specially one domain was new created as the users before I left to 
holidays. All is working fine also for the domain for the users created 
before leaving to holidays. From this point of view it can be actually 
not a config issue because as mentioned for all existing user absolutly 
no problems for connection and authentication.

Today I created a new main domain as one user for this domain. The 
domain was created in dirsrv without any Errors (debug). Actually the 
user was also created in dirsrv but the mailbox etc could not be 
created. In a later phase I saw in debug the reason which means:

Even all other users can be verified as the Domains for this specific 
Domain as user ptload gets no data back from dirsrv!

the debug of dirsrv Shows to 100% that the search for the new Domain is 
successful (canonify) but it shows also "not data back" message from 
ptload which means for some reason ptload can not get from dirsrv for 
this particular domain as this user any Information. This will be also 
shown in the logs with:

==> /var/log/imapd/imapd.log <==
Sep 21 21:58:26 kolab imap/imaps[12877]: accepted connection
Sep 21 21:58:26 kolab imap/imaps[12877]: SSL_accept() incomplete -> wait
Sep 21 21:58:26 kolab imap/imaps[12877]: SSL_accept() succeeded -> done
Sep 21 21:58:26 kolab imap/imaps[12877]: starttls: TLSv1.2 with cipher 
ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits new) no authentication
Sep 21 21:58:26 kolab imap/imaps[12877]: ptload(): fetched cache record 
(cyrus-admin)(mark 1442861102, current 1442865506, limit 1442854706)
Sep 21 21:58:26 kolab imap/imaps[12877]: ptload returning data
Sep 21 21:58:26 kolab imap/imaps[12877]: canonified cyrus-admin -> 
cyrus-admin
Sep 21 21:58:27 kolab imap/imaps[12877]: ptload(): pinging ptloader
Sep 21 21:58:27 kolab imap/imaps[12877]: ptload(): can't connect to 
ptloader server: Connection refused
Sep 21 21:58:27 kolab imap/imaps[12877]: No data available at all from 
ptload()
Sep 21 21:58:27 kolab imap/imaps[12877]: ptload completely failed: 
unable to canonify identifier: deaduser at domain.ch
Sep 21 21:58:27 kolab imap/imaps[12877]: SASL bad userid authenticated
Sep 21 21:58:27 kolab imap/imaps[12877]: badlogin: kolab [127.0.0.1] 
PLAIN [SASL(-13): authentication failure: bad userid authenticated]
Sep 21 21:58:27 kolab imap/imap[12577]: accepted connection
Sep 21 21:58:27 kolab imap/imap[12577]: TLS Server Name Indication (SNI) 
Extension: "localhost"

Again to have no misunderstanding: it Looks like ptloader can not 
connect but for all other Domains as users no Problems works. As soon as 
this happens to often the ptloader goes to a Segmentation fault which is 
shown under dmesg. But even this happens all other user can connect 
without Problems!

I saw on the list some old messages pointing to the same issue which 
should happen from time to time which means that this happens always. 
The orkaround which is listed in this message is following as to reach 
the goal to clean up the new domain and user to beginn from scratch:


# service kolabd stop

Delete User from LDAP:

# /usr/lib/mozldap/ldapdelete -D cn="Directory Manager" -w [Your 
Password] uid=deaduser,ou=People,dc=domain,dc=ch

Delete IMAP Mailbox (even this is not existing):

# kolab dm user/deaduser at domain.ch

# service cyrus-imapd stop

# pkill idled

# service cyrus-imapd start

# service kolabd start

Clean-Up all DELETED stuff (carefull alsl DELETED marked stuff as 
deleted Messages etc will be removed):

# /usr/lib/cyrus-imapd/cyr_expire -D 0 -E 0 -X 0

Delete new created Domain:

# cd /usr/share/kolab-webadmin/lib/

# /usr/bin/php domain_delete.php


I tried several times also with restarting all Services etc. but no 
success. I have no more ideas how to proceed with this new Domain and/or 
user to get it working!

Any help really appriciated!

-- 
Kind regards

Andrea

Email: andrea.soliva at comcept.ch


More information about the users mailing list