Amanda-Users

Re: Cron troubles, or config problem?

2006-11-27 21:07:44
Subject: Re: Cron troubles, or config problem?
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Mon, 27 Nov 2006 21:01:02 -0500
On Mon, Nov 27, 2006 at 07:31:25PM -0500, Gene Heskett enlightened us:
> Greetings;
> 
> From the /var/log/cron file:
> 
> Nov 27 19:20:01 coyote crond[7220]: Authentication service cannot retrieve 
> authentication info
> Nov 27 19:20:01 coyote crond[7220]: CRON (amanda) ERROR: failed to open 
> PAM security session: Success
> Nov 27 19:20:01 coyote crond[7220]: CRON (amanda) ERROR: cannot set 
> security context
> 
> An ls -l of the /home/amanda/.amandahosts file
> rw------- 1 amanda disk 413 Sep 19 10:47 /home/amanda/.amandahosts
> 
> And its contents:
> coyote.coyote.den       amanda amdump amindexd amidxtaped
> coyote                  amanda amdump amindexd amidxtaped
> coyote.coyote.den       root amdump amindexd amidxtaped
> # gene.coyote.den               root amdump amindexd amidxtaped
> # gene                  root amdump amindexd amidxtaped
> shop.coyote.den         root amdump amindexd amidxtaped
> shop                    root amdump amindexd amidxtaped
> shop.coyote.den         amanda amdump amindexd amidxtaped
> shop                    amanda amdump amindexd amidxtaped
> 
> So that *looks* ok.  "gene" is powered down ATM.
> 
> Now I recall there was something I had to do when switching to the newer 
> tcp authentication model, so can someone please show me a list of files 
> involved, and their perms?  Or a url that shows this?
> 
> Thanks.

"Cannot set security context" points to selinux. You might do some ls -Z's
and check the logs for errors in your selinux config.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

<Prev in Thread] Current Thread [Next in Thread>