[horde] alarms - permission denied

Jan Schneider jan at horde.org
Thu Mar 13 22:43:39 UTC 2008


Zitat von Michael Redinger <Michael.Redinger at uibk.ac.at>:

>
> Using RC3, I tried to run the alarm script again.
> First, I had to set
> $conf['session']['use_only_cookies'] = false;
> Otherwise the script would output the error
> "Session cookies will not work without a FQDN and with a non-empty
> cookie domain. ..."
>
> Now I get the following error message:
> "Fatal Error:
> You are not authenticated."
>
> I am using IMP for the horde authentication.
>
> $conf['auth']['admins'] is set (array of users).
> When you say "And you need to have an administrator defined": Does
> this mean that this
> can be any user?  Or do I need to add a specific user?

Any user.

> Under which user should the script be run (root, http user, ...)?

Probably makes most sense to use the http user to avoid permission  
problems if accessing cache files or temporary files.

> Zitat von Jan Schneider <jan at horde.org>:
>
>> Zitat von Michael Redinger <Michael.Redinger at uibk.ac.at>:
>>
>>> I added a cron job for the Alarm.php script as documented in INSTALL
>>> (3.2-RC2):
>>>
>>> */5 * * * * /usr/bin/php /var/www/horde/scripts/alarms.php
>>>
>>> However, I keep getting a "permission denied" error message in my log
>>> files for kronolith and nag (I tried running this both as root and as
>>> the Web Server user):
>>>
>>> HORDE[25510]: [kronolith] Permission denied [pid 25510 on line 228 of
>>> \"/var/www/html/horde/lib/Horde/Alarm.php\"]
>>> HORDE[25510]: [nag] Permission denied [pid 25510 on line 228 of
>>> \"/var/www/html/horde/lib/Horde/Alarm.php\"]
>>
>> Try a newer snapshot. And you need to have an administrator defined in
>> the Horde configuration.
>>
>> Jan.
>>
>> --
>> Do you need professional PHP or Horde consulting?
>> http://horde.org/consulting/
>>
>> --
>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>>
>
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list