<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hey All,<br><br>I am trying to sort a fresh install of kolab in Centos 6.2 following the instructions http://www.kolab.org/howto/quick-howto-kolab-24-centos-62 and http://docs.kolab.org/en-US/Kolab_Groupware/2.4/html/Community_Installation_Guide/index.html I get as far as setup-kolab and then have the problems detailed below.<br><br>When I run setup-kolab I get as far as the below and then it hangs:-<br><br><br><br><em>[root@mail ~]# setup-kolab </em><br style="font-style: italic;"><span style="font-style: italic;">Could not change the ownership of log file /var/log/kolab/pykolab.log</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Please supply a password for the LDAP administrator user 'admin', used to login</span><br style="font-style: italic;"><span style="font-style: italic;">to the graphical console of 389 Directory server.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Administrator password [QD-PfFTzpWTLiNO]: </span><br style="font-style: italic;"><span style="font-style: italic;">Confirm Administrator password: </span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Please supply a password for the LDAP Directory Manager user, which is the</span><br style="font-style: italic;"><span style="font-style: italic;">administrator user you will be using to at least initially log in to the Web</span><br style="font-style: italic;"><span style="font-style: italic;">Admin, and that Kolab uses to perform administrative tasks.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Directory Manager password [VS0plkXHk7lhhiP]: </span><br style="font-style: italic;"><span style="font-style: italic;">Confirm Directory Manager password: </span><br style="font-style: italic;"><span style="font-style: italic;">User [nobody]: </span><br style="font-style: italic;"><span style="font-style: italic;">Group [nobody]: </span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">This setup procedure plans to set up Kolab Groupware for the following domain</span><br style="font-style: italic;"><span style="font-style: italic;">name space. This domain name is obtained from the reverse DNS entry on your</span><br style="font-style: italic;"><span style="font-style: italic;">network interface. Please confirm this is the appropriate domain name space.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">ragein.co.uk [Y/n]: </span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">The standard root dn we composed for you follows. Please confirm this is the root</span><br style="font-style: italic;"><span style="font-style: italic;">dn you wish to use.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">dc=ragein,dc=co,dc=uk [Y/n]: </span><br><br><br><br>As I have already recieved this error once and rebuilt to ensure I had done things correctly as the guide asks I was also looking for an error in the dirsrv setup detailed below:-<br><br><br><br style="font-style: italic;"><span style="font-style: italic;">[root@mail ~]# tail -f /var/log/dirsrv/slapd-mail/errors<br>[15/Nov/2012:13:09:08 +0100] - import ragein_co_uk: Finished scanning file "/tmp/ldiftEfRbU.ldif" (9 entries)<br>[15/Nov/2012:13:09:09 +0100] - import ragein_co_uk: Workers finished; cleaning up...<br>[15/Nov/2012:13:09:09 +0100] - import ragein_co_uk: Workers cleaned up.<br>[15/Nov/2012:13:09:09 +0100] - import ragein_co_uk: Cleaning up producer thread...<br>[15/Nov/2012:13:09:09 +0100] - import ragein_co_uk: Indexing complete. Post-processing...<br>[15/Nov/2012:13:09:09 +0100] - import ragein_co_uk: Generating numSubordinates complete.<br>[15/Nov/2012:13:09:09 +0100] - import ragein_co_uk: Flushing caches...<br>[15/Nov/2012:13:09:10 +0100] - import ragein_co_uk: Closing files...<br>[15/Nov/2012:13:09:10 +0100] - All database threads now stopped<br>[15/Nov/2012:13:09:10 +0100] - import ragein_co_uk: Import complete. Processed 9 entries in 2 seconds. (4.50 entries/sec)<br>[15/Nov/2012:13:09:23 +0100] - 389-Directory/1.2.10.2 B2012.194.51 starting up<br>[15/Nov/2012:13:09:23 +0100] - Failed to create semaphore for stats file (/var/run/dirsrv/slapd-mail.stats). Error 13.(Permission denied)<br>[15/Nov/2012:13:19:24 +0100] - 389-Directory/1.2.10.2 B2012.194.51 starting up<br>[15/Nov/2012:13:19:24 +0100] - Failed to create semaphore for stats file (/var/run/dirsrv/slapd-mail.stats). Error 13.(Permission denied)<br></span><br><br><br><br>After leaving setup-kolab for 15 mins to ensure it was really hanging I left it running and tried to start the dir service in another terminal which gave the following output:-<br><br><br style="font-style: italic;"><span style="font-style: italic;">[root@mail ~]# service dirsrv start</span><br style="font-style: italic;"><span style="font-style: italic;">Starting dirsrv: </span><br style="font-style: italic;"><span style="font-style: italic;"> mail... [FAILED]</span><br style="font-style: italic;"><span style="font-style: italic;"> *** Warning: 1 instance(s) failed to start</span><br><br><br><br>After trying to start the dir service manually I noticed that setup-kolab had continued on it's own:-<br><br><br style="font-style: italic;"><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;"> mail... server already stopped [FAILED]</span><br style="font-style: italic;"><span style="font-style: italic;"> *** Error: 1 instance(s) unsuccessfully stopped [FAILED]</span><br style="font-style: italic;"><span style="font-style: italic;">Starting dirsrv: </span><br style="font-style: italic;"><span style="font-style: italic;"> mail... [FAILED]</span><br style="font-style: italic;"><span style="font-style: italic;"> *** Warning: 1 instance(s) failed to start</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Please supply a Cyrus Administrator password. This password is used by Kolab to</span><br style="font-style: italic;"><span style="font-style: italic;">execute administrative tasks in Cyrus IMAP. You may also need the password</span><br style="font-style: italic;"><span style="font-style: italic;">yourself to troubleshoot Cyrus IMAP and/or perform other administrative tasks</span><br style="font-style: italic;"><span style="font-style: italic;">against Cyrus IMAP directly.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Cyrus Administrator password [ilqIH-8P77rPRDk]: </span><br style="font-style: italic;"><span style="font-style: italic;">Confirm Cyrus Administrator password: </span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Please supply a Kolab Service account password. This account is used by various</span><br style="font-style: italic;"><span style="font-style: italic;">services such as Postfix, and Roundcube, as anonymous binds to the LDAP server</span><br style="font-style: italic;"><span style="font-style: italic;">will not be allowed.</span><br style="font-style: italic;"><br style="font-style: italic;"><span style="font-style: italic;">Kolab Service password [Qq_fPt_yy98Dmj7]: </span><br style="font-style: italic;"><span style="font-style: italic;">Confirm Kolab Service password: </span><br style="font-style: italic;"><span style="font-style: italic;">Traceback (most recent call last):</span><br style="font-style: italic;"><span style="font-style: italic;"> File "/usr/sbin/setup-kolab", line 42, in </span><module style="font-style: italic;"><br> setup.run()<br> File "/usr/lib/python2.6/site-packages/pykolab/setup/__init__.py", line 42, in run<br> components.execute('_'.join(to_execute))<br> File "/usr/lib/python2.6/site-packages/pykolab/setup/components.py", line 143, in execute<br> execute(component)<br> File "/usr/lib/python2.6/site-packages/pykolab/setup/components.py", line 188, in execute<br> components[component_name]['function'](conf.cli_args, kw)<br> File "/usr/lib/python2.6/site-packages/pykolab/setup/setup_ldap.py", line 336, in execute<br> auth._auth.ldap.add_s(dn, ldif)<br> File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 194, in add_s<br> msgid = self.add(dn,modlist)<br> File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 191, in add<br> return self.add_ext(dn,modlist,None,None)<br> File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 176, in add_ext<br> return self._ldap_call(self._l.add_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))<br> File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 99, in _ldap_call<br> result = func(*args,**kwargs)<br>ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server"}<br> complete.<br><br></module><module><br><br></module><module>F</module><module></module><module>rom what I can see something is going wrong with the 389 directory service setup but I'm a bit clueless as to what I notice that I get two errors in the log ten minutes apart (below) am I simply just being impatient or is something going screwey</module><module style="font-style: italic;">?<br><br><br><br></module><span style="font-style: italic;">[15/Nov/2012:13:09:23 +0100] - 389-Directory/1.2.10.2 B2012.194.51 starting up<br>
[15/Nov/2012:13:09:23 +0100] - Failed to create semaphore for stats file
(/var/run/dirsrv/slapd-mail.stats). Error 13.(Permission denied)<br>
[15/Nov/2012:13:19:24 +0100] - 389-Directory/1.2.10.2 B2012.194.51 starting up<br>
[15/Nov/2012:13:19:24 +0100] - Failed to create semaphore for stats file
(/var/run/dirsrv/slapd-mail.stats). Error 13.(Permission denied)</span><br></div></body></html>