Horde lockfile is always empty

Richard Bos ml at radoeka.nl
Wed Mar 12 21:01:46 CET 2008


Op Wednesday 12 March 2008 16:55:45 schreef B. Buehler:
> i'm testing kolab 2.2.rc1 on openSuSE 10.3.

Are these the native kolab rpms or the openpkg rpms?

> My setup of Horde:
>
> $conf['log']['priority'] = PEAR_LOG_DEBUG;
> $conf['log']['ident'] = 'HORDE';
> $conf['log']['params'] = array();
> $conf['log']['name'] = '/usr2/logs/horde.log';
> $conf['log']['params']['append'] = true;
> $conf['log']['type'] = 'file';
> $conf['log']['enabled'] = true;
> $conf['log_accesskeys'] = false;
>
> The lockfile horde.log is always empty.

Lockfile or logfile?

This is what I have:
$conf['log']['priority'] = PEAR_LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = '/var/log/horde/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
Which looks similar to yours, but the log file location.  The logfile should 
be writable by wwwrun:

# ls -l /var/log/horde/horde.log
-rw-r--r-- 1 wwwrun www 408693 2008-03-11 08:04 /var/log/horde/horde.log

Perhaps you need to change the owner/group of horde log directory:
# ls -ld /var/log/horde
drwxr-x--- 2 wwwrun www 4096 2008-03-12 19:01 /var/log/horde

-- 
Richard Bos
Without a home the journey is endless




More information about the users mailing list