Yep. FreeBSD 5.4-RELEASE-p7 /usr/local/freeradius105/sbin/radiusd -v radiusd: FreeRADIUS Version 1.0.5, for host , built on Sep 27 2005 at 11:31:35 clip from startup and handling a packet. The config file is very stripped down right now. I'll fire one up later today with the default setup to see if that works too. --------- rlm_sql (sql): Connected new DB handle, #3 rlm_sql (sql): starting 4 rlm_sql (sql): Attempting to connect rlm_sql_mysql #4 rlm_sql_mysql: Starting connect to MySQL server for #4 rlm_sql (sql): Connected new DB handle, #4 Module: Instantiated sql (sql) Listening on accounting *:1813 Ready to process requests. rad_recv: Accounting-Request packet from host 127.0.0.1:54936, id=90, length=32 User-Name = "test" Acct-Status-Type = Start Processing the preacct section of radiusd.conf modcall: entering group preacct for request 0 rlm_acct_unique: WARNING: Attribute NAS-Port was not found in request, unique ID MAY be inconsistent rlm_acct_unique: WARNING: Attribute Client-IP-Address was not found in request, unique ID MAY be inconsistent rlm_acct_unique: WARNING: Attribute NAS-IP-Address was not found in request, uni que ID MAY be inconsistent rlm_acct_unique: WARNING: Attribute Acct-Session-Id was not found in request, un ique ID MAY be inconsistent rlm_acct_unique: Hashing ',,,,User-Name = "test"' rlm_acct_unique: Acct-Unique-Session-ID = "c62495cf388d0bb3". modcall[preacct]: module "acct_unique" returns ok for request 0 modcall[preacct]: module "files" returns noop for request 0 modcall: group preacct returns ok for request 0 Processing the accounting section of radiusd.conf modcall: entering group accounting for request 0 radius_xlat: 'test' rlm_sql (sql): sql_set_user escaped user --> 'test' radius_xlat: 'INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm , NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSession Time, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctO utputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values('', 'c62 495cf388d0bb3', 'test', '', '', '', '', '2005-09-27 14:33:54', '0', '0', '', '', '', '0', '0', '', '', '', '', '', '', '', '0')' rlm_sql (sql): Reserving sql socket id: 4 rlm_sql (sql): Released sql socket id: 4 modcall[accounting]: module "sql" returns ok for request 0 modcall: group accounting returns ok for request 0 Sending Accounting-Response of id 90 to 127.0.0.1:54936 Finished request 0 Going to the next request --- Walking the entire request list --- Cleaning up request 0 ID 90 with timestamp 43399092 Nothing to do. Sleeping until we see a request. On Tue, 27 Sep 2005, Richard Cotrina wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Have you enabled rlm_sql_mysql in radiusd.conf and sql.conf ? How your config files look like ?
If rlm_sql_mysql is not enabled, freeradius daemon works without problem for me.
- ----- Original Message ----- From: "Dusty Doris" <freeradius@mail.doris.cc> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Tuesday, September 27, 2005 12:44 PM Subject: Re: Bus error - core dumped on freeradius 1.0.5
I just installed freeradius 1.0.5 on freebsd 5.4 and I am not having problems with rlm_sql_mysql. I just started it up and used it for testing an accounting packet. I haven't tried authentication, but I don't think that should matter.
How did you build it? Since the port is still on 1.0.4, I'm assuming it was from source?
Here is what I did. First I installed mysql. I use the port in /usr/ports/databases/mysql41-server. Then I installed freeradius from /usr/ports/net/freeradius first to get all the dependancies. These include libtool, gmake, gdbm, libltdl. Then I did a make deinstall on that port and build freeradius from source using only ./configure --prefix.
On Tue, 27 Sep 2005, Richard Cotrina wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
segmentation fault when rlm_sql_mysql is enabled (bug 271), happens both in FreeBSD 4.X and FreeBSD 5.X.
- ----- Original Message ----- From: "Alan DeKok" <aland@ox.org> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Tuesday, September 27, 2005 12:08 AM Subject: Re: Bus error - core dumped on freeradius 1.0.5
"Rohaizam Abu Bakar" <haizam@myjaring.net> wrote:
So.. do i need to upgrade to 5.X in order to use FR 1.0.5 ??
For MySQL, perhaps.
Or, find out what's causing the problem in FreeBSD 4.x, and fix it.
It doesn't happen on other platforms, so I suspect it's an issue specific to FreeBSD 4.x.
Alan DeKok.
-----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.1 (Build 2185)
iQA/AwUBQzmKjSQekFb/3FIhEQIkxwCeJQFEu1qYBV3ttdru/1pVj/axGusAnjLk xjHBg+h+EwPoEvsAroNz+n3W =Eb35 -----END PGP SIGNATURE----- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html