Re: strange Exec-Program problem

This is a discussion on Re: strange Exec-Program problem within the FreeRADIUS Users forums, part of the Networking and Network Related category; from the debug mode i'm getting the following: radius_xlat: '/var/radius/scripts/count.php edgars 10.5.8.103' ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-03-2005
Edgars
 
Posts: n/a
Default Re: strange Exec-Program problem

from the debug mode i'm getting the following:

radius_xlat: '/var/radius/scripts/count.php edgars 10.5.8.103'
Exec-Program: /var/radius/scripts/count.php edgars 10.5.8.103
Exec-Program output: Exec-Program: FAILED to execute
/var/radius/scripts/count.php: No such file or directory
Exec-Program-Wait: plaintext: Exec-Program: FAILED to execute
/var/radius/scripts/count.php: No such file or directory
Exec-Program: returned: 1
Login incorrect (external check failed): [edgars/<no User-Password
attribute>] (from client druums_testsss^edgars port 769 cli 1.1.1.2)

But as I said, this works if i'm using that box, where the data base is
located, as an authenticator.
I'm running this script being in chroot '/gamma/edgars'. But tried to
change the radreply Exec-Program value to
'/gamma/edgars/var/radius/scripts/count.php' - the same problem.

On which machine is the script actually ecexuted - on the one i'm runnig
the RADIUS server or where the DB is located?


Regards,

Edgars



Dustin Doris wrote:

>>Hello,
>>
>>when trying to execute some script on each user login attempt using
>>local DB everythings works as it supposed to do. But if using another
>>RADIUS server as specifying to use the previously mentioned DB (like
>>remote DB), getting the following errors in the log file:
>>
>>Error: Exec-Program: FAILED to execute /var....: No such file or directory
>>
>>For users for which i've not set the Exec-Wait as a Reply attribute,
>>everything work perfectly.
>>
>>
>>Can someone point me could be the problem?
>>Edgars
>>
>>
>>

>
>Looks like it can't find the script. Want to show us how you have it
>setup in the users file? Maybe some radiusd -X output as well.
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
>
>


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0