Код: Выделить всё
LOG_WARNING: AUTH [taras] NAS: 3 SQL error MySQL server has gone away CID: 0:4:23:11:3d:41
Abills 040b
FreeRadius 1.1.7
PPPoE
Код: Выделить всё
LOG_WARNING: AUTH [taras] NAS: 3 SQL error MySQL server has gone away CID: 0:4:23:11:3d:41
Код: Выделить всё
[Warning] option 'wait_timeout': unsigned value 18446744073709551615 adjusted to 31536000
Код: Выделить всё
2008-07-14 12:18:02 LOG_WARNING: AUTH [test2] NAS: 3 SQL error MySQL server has gone away
2008-07-14 12:18:02 LOG_INFO: AUTH [test2] MS-CHAP PREAUTH FAILED GT: 0.00494
дык там жеж и советуют:хотелось бы немного разобраться в причинах..
некоторые из них описаны тут: http://dev.mysql.com/doc/refman/5.0/en/gone-away.html
You can get more information about the lost connections by starting mysqld with the --log-warnings=2 option. This logs some of the disconnected errors in the hostname.err file. See Section 5.2.1, ?The Error Log?.
Код: Выделить всё
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 127.0.0.1:56097, id=146, length=103
User-Name = "test2"
Service-Type = Framed-User
Framed-Protocol = PPP
CHAP-Password = 0x01e6ec0e3ac60978c44c63dbeb67846220
CHAP-Challenge = 0x32313034363539323734303634333131
NAS-IP-Address = 192.168.0.250
NAS-Identifier = "isa3.lanaudit"
NAS-Port-Type = Virtual
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 2
modcall[authorize]: module "preprocess" returns ok for request 2
rlm_realm: No '@' in User-Name = "test2", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 2
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 2
Using perl at 0x2840c160
Auth-Type := Accept
Use of uninitialized value in numeric ne (!=) at /usr/abills/libexec/../Abills/mysql/Auth.pm line 287.
Use of uninitialized value in concatenation (.) or string at /usr/abills/libexec/../Abills/mysql/Auth.pm line 288.
rlm_perl: Added pair Reply-Message = Wrong port ''
rlm_perl: Added pair Auth-Type = Accept
modcall[authorize]: module "perl" returns reject for request 2
modcall: leaving group authorize (returns reject) for request 2
эт скорее всего уже следствие не выполненного корректно ранее запроса к базе с матюгомUse of uninitialized value in numeric ne (!=) at /usr/abills/libexec/../Abills/mysql/Auth.pm line 287.
попробуй включить квери лог мускла и посмотреть что за квери там бегаютSQL error MySQL server has gone away