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

Ralf Lang lang at b1-systems.de
Wed Aug 8 08:49:39 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- -- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAiKCMACgkQCs1dsHJ/X7BXAgCgt7QjAMfy4SB/npPSEqEjZGA8
7jYAoJqr5iGVxslD1mtLeyugOWY643V6
=PoNw
-----END PGP SIGNATURE-----


More information about the horde mailing list