On 02/11/2010 07:39 PM, Amal Janardhanan wrote:
If I don't include in import statement from python it works well.

You've got a pretty good clue then. This isn't a freeradius problem. Go figure out why python import statements are your problem. Some things to check are what is your PYTHONPATH when the script runs. Is anything pointed to by the path list NFS mounted or have permissions not available to the user radiusd runs under (most likely the radius or radiusd user)? Are you running on a SELinux enabled system? If so examine your /var/log/audit/audit.log to see if SELinux is denying access for some reason. Try running your script as the user:group radius runs as (look in your radiusd.conf file and find the user and group configuration variables). Do your scripts run in that environment?

As Alan said earlier:
i.e. go find out why your system won't let you run executables. This
isn't a freeradius problem.


--
John Dennis <[email protected]>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to