chown puppet:puppet /etc/puppet/ENC/ENC.log
Perl was refusing to write to the log file when run under Passenger even
though the file was as open as I could make it. And even though the script
worked when run via the shell - passenger still wouldn't do it.
On Tuesday, February 4, 2014 11:16:41
Have you looked syslog and apache logs?
BTW /tmp should be 1777, but this shouldn't be the problem.
Regards,
El 04/02/2014 20:07, "JonY" escribió:
> I'm stumped then.
>
> Folder is 0777. Files are 0777.
>
> I'm running the p-master using Passenger in apache2 which runs as the
> 'puppet' account
I'm stumped then.
Folder is 0777. Files are 0777.
I'm running the p-master using Passenger in apache2 which runs as the
'puppet' account. I used this account to run the app in question without
any problem. 'su - puppet -c "/tmp/test0.pl"'.
SELinux is in 'permissive' mode.
What else should I
On 4 February 2014 09:00, Jon Yeargers wrote:
> I'm trying to debug a new ENC setup. I created a short perl script to
> output a few lines of YAML. It runs fine on the puppet server but when I
> try it on a client I get this error:
>
> Warning: Error 400 on SERVER: Failed to find client.domain.or
I'm trying to debug a new ENC setup. I created a short perl script to
output a few lines of YAML. It runs fine on the puppet server but when I
try it on a client I get this error:
Warning: Error 400 on SERVER: Failed to find client.domain.org via exec:
Execution of the '/etc/puppet/ENC/plug0.pl