Error: Exec-Program: Permission Denied when running via service start

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Tue Mar 29 22:08:44 CEST 2011


Hi,

> I've implemented mOTP as en external authentication program by
> defining it in radiusd.conf with a Program = "/etc/raddb/otpverify.sh"
> statement.
> As I said, it does indeed work properly, except, when I start the
> radiusd server up as a daemon via init.d
> 
> radiusd -X   - Works properly
> service radiusd start or /etc/init.d/radiusd start FAILS
> sh /etc/init.d/radiusd start Works
> 
> When it works properly, I get proper Accept Replys.  When it 'fails',
> its due to not being able to execute the script and this is logged in
> radius.log
> Error: Exec-Program: FAILED to execute /etc/raddb/otpverify.sh:
> Permission denied

it sounds like basics...but this error message is pretty straight forward...
what are the permissions on that file?  are you running eg SELinux ?

alan



More information about the Freeradius-Users mailing list