[Kolab-devel] Kolab3 on Mageia update
Thomas Spuhler
thomas at btspuhler.com
Fri Dec 28 03:54:27 CET 2012
On Sunday, December 23, 2012 03:26:39 AM Jeroen van Meeuwen (Kolab Systems) wrote:
> On 2012-12-22 19:39, Thomas Spuhler wrote:
> > Here is the snippet that could give a hint. (is this message normal:
> > The port number '389' is not available for use.)
>
> That's not a normal message - you are running some different LDAP
> server that is getting in the way of the new LDAP server.
>
> Kind regards,
>
> Jeroen van Meeuwen
Almost success. It went through the complete setup, with (I believe) minor error, but one stood out:
# systemctl status wallace.service
wallace.service - Wallace Content Filter
Loaded: loaded (/usr/lib/systemd/system/wallace.service; enabled)
Active: failed (Result: exit-code) since Thu, 2012-12-27 19:37:52 MST; 2min 55s ago
CGroup: name=systemd:/system/wallace.service
Dec 27 19:37:52 vbox.btspuhler.com wallaced[23123]: wallace = wallace.WallaceDaemon()
Dec 27 19:37:52 vbox.btspuhler.com wallaced[23123]: File "/usr/lib/python2.7/site-
packages/wallace/__init__.py", line 125, in __init__
Dec 27 19:37:52 vbox.btspuhler.com wallaced[23123]: conf.process_groupname
Dec 27 19:37:52 vbox.btspuhler.com wallaced[23123]: File "/usr/lib/python2.7/site-
packages/pykolab/utils.py", line 154, in ensure_directory
Dec 27 19:37:52 vbox.btspuhler.com wallaced[23123]: os.makedirs(_dir)
Dec 27 19:37:52 vbox.btspuhler.com wallaced[23123]: File "/usr/lib64/python2.7/os.py", line 157, in
makedirs
Dec 27 19:37:52 vbox.btspuhler.com wallaced[23123]: mkdir(name, mode)
Dec 27 19:37:52 vbox.btspuhler.com wallaced[23123]: OSError: [Errno 13] Permission denied:
'/var/run/wallaced'
Dec 27 19:37:52 vbox.btspuhler.com systemd[1]: Failed to start Wallace Content Filter.
I fooled around for ever with the problem could not find ldap schema.
I finally made a patch (attached) and rebulit the pykolab package.
I made the changes to have the correct location in the
/usr/lib/python2.7/site-packages/pykolab/setup/setup_ldap.py but it didn't have any influence
According the the manual, if the . py file is newer than the .pyc then it should remake the .pyc file.
--
Best regards
Thomas Spuhler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mga-schema-loc.patch
Type: text/x-patch
Size: 1666 bytes
Desc: not available
URL: <http://lists.kolab.org/pipermail/devel/attachments/20121227/d684d7a7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/devel/attachments/20121227/d684d7a7/attachment.sig>
More information about the devel
mailing list