rlm_ python how to find imported modules?

Jim Whitescarver jimscarver at gmail.com
Mon Feb 22 15:15:36 CET 2016


Thanks all for helping me find the issue.  Turned out I did miss a piece of
the path somehow.  Finding _ssl.o exposed my oversight.  I feel bad now to
have bothered you and appreciate your indulgence.

Finally freeradius is working wonderfully for me :-)

Thanks,

Jim

On Mon, Feb 22, 2016 at 4:21 AM, Stefan Paetow <Stefan.Paetow at jisc.ac.uk>
wrote:

> > import OpenSSL works fine from the command line but radiusd fails
> > rlm_python:EXCEPT:<type 'exceptions.ImportError'>: No module named _ssl
>
> When you do a 'find / -iname _ssl.so', where is the .so located?
>
> > Nothing we have tried fixes the problem.  The same version of python is
> > running in the deamon but I notice the time is an hour off.
> >
> > in radiusd:
> > *** radlog call in authorize ***2.7.6 (default, Jun 22 2015, 18:01:27)
> > command line
> > *** radlog call in authorize ***2.7.6 (default, Jun 22 2015, 17:58:13)
>
> Time's not an hour off... that's 3 minutes apart...
>
> Stefan Paetow
> Moonshot Industry & Research Liaison Coordinator
>
> t: +44 (0)1235 822 125
> gpg: 0x3FCE5142
> xmpp: stefanp at jabber.dev.ja.net
> skype: stefan.paetow.janet
>
> jisc.ac.uk
>
> Networkshop44, University of Manchester. Save the date: 22-24 March, 2016.
> #NWS44
>
> Jisc is a registered charity (number 1149740) and a company limited by
> guarantee which is registered in England under Company No. 5747339, VAT No.
> GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill,
> Bristol, BS2 0JA. T 0203 697 5800.
>
> Jisc Collections and Janet Ltd. is a wholly owned Jisc subsidiary and a
> company limited by guarantee which is registered in England under Company
> No. number 2881024, VAT No. GB 197 0632 86. The registered office is: Lumen
> House, Library Avenue, Harwell, Didcot, Oxfordshire, OX11 0SG. T 01235
> 822200.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list