[Kolab-devel] opensuse native kolabmailboxfilter php segfault

Richard Bos ml at radoeka.nl
Thu May 7 21:59:20 CEST 2009


Hi Gunnar,

Op donderdag 07 mei 2009 21:37:34 schreef Gunnar Wrobel:
> This line
>
> May 05 14:10:58 Kolab Filter [error] [horde] PHP Error:  
> file_get_contents(/tmp/Kolab_Filter_locks/resource at domain.lock):  
> failed to open stream: No such file or directory; Code: 0 [on line 146  
> of "/usr/share/php5/PEAR/Horde/Kolab/Filter/Response.php"]
>
> looks problematic, too.
>
> It seems the lock directory has been left unconfigured or does not exist.
>
> Has
> $conf['kolab']['filter']['simple_locks_dir']
> been set for the Kolab_Filter configuration? And does it contain a  
> valid directory?

It is not set:
kolab2:/etc/kolab/templates # grep simple_lo *
resmgr.conf.template:$conf['kolab']['filter']['simple_locks'] = true;
resmgr.conf.template:$conf['kolab']['filter']['simple_locks_timeout'] = 60;
resmgr.conf.template:$conf['kolab']['filter']['simple_locks_dir'] = '';

It's because we (openSUSE (or oS)) did not define it in cvs:
kolabd/dist_conf> grep resmgr_locksdir *
common: -e 's=[@]resmgr_locksdir[@]=$(resmgr_locksdir)=g' \
debian:resmgr_locksdir=${kolab_statedir}/filter/locks
kolab:resmgr_locksdir=${localstatedir}/kolab-filter/locks

Thanks for pointing this out!

-- 
Richard




More information about the devel mailing list