Skip to content
This repository was archived by the owner on Jul 2, 2020. It is now read-only.

Debugging Wallace

Timotheus Pokorra edited this page May 4, 2016 · 3 revisions

This should work on CentOS7:

vi /etc/sysconfig/wallace
    #replace warning with debug:
    FLAGS="--fork -l debug --debug=9"
    #FLAGS="--fork -l warning"
systemctl restart wallace
tail -f /var/log/kolab/pykolab.log

Somehow, it does not work.

This should work:

vi /usr/lib/systemd/system/wallace.service
    # modify line containing ExecStart:
    #ExecStart=/usr/sbin/wallaced $FLAGS --pid-file /run/wallaced/wallaced.pid
    ExecStart=/usr/sbin/wallaced --fork -l debug --debug=9 --pid-file /run/wallaced/wallaced.pid
systemctl restart wallace
tail -f /var/log/kolab/pykolab.log

But also no success???

Call directly (see https://lists.kolab.org/pipermail/users/2015-August/019689.html):

systemctl stop wallace
LANG=C /usr/sbin/wallaced -l debug -d 50 --user kolab
# different output:
su - kolab -s /bin/bash
     /usr/sbin/wallaced -l debug -d 9

Clone this wiki locally