[horde] Error when run /usr/bin/horde-alarms in cron

Alessio Cecchi alessio at skye.it
Wed Aug 8 09:13:07 UTC 2012


Il 08/08/2012 10:49, Ralf Lang ha scritto:

> Am 08.08.2012 10:41, schrieb Alessio Cecchi:
>> Hi,
>>
>> we run this cron under "www-data" user
>>
>> # Horde 4 */5 * * * * /usr/bin/horde-alarms
>>
>> but we get this errors:
>>
>> PHP Warning:
>> require_once(/usr/share/php/www/horde/lib/Application.php): failed
>> to open stream: No such file or directory in /usr/bin/horde-alarms
>> on line 18 PHP Fatal error:  require_once(): Failed opening
>> required '/usr/share/php/www/horde/lib/Application.php'
>> (include_path='.:/usr/share/php:/usr/share/pear') in
>> /usr/bin/horde-alarms on line 18
>>
>> My H4 installation is under /var/www/groupware/v4/, while
>> /usr/share/php/www/ does not exist.
>>
>> How can fix this error? Thanks
> Seems like your cli php is not aware about the horde_role and the
> horde dir.
>
> maybe this helps (as root)
>
>
> pear config-set horde_dir /var/www/groupware/v4/ system

Great! Now works fine.
Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


More information about the horde mailing list