Обновлял серци Freebsd 9 9.1 абилс поламался HELP

Ответить
Sasha462
Сообщения: 225
Зарегистрирован: Ср дек 27, 2006 2:45 pm
Откуда: Львов

Обновлял серци Freebsd 9 9.1 абилс поламался HELP

Сообщение Sasha462 »

Обновлял серци Freebsd 9-9.1 абилс поламался HELP

Thu Dec 27 12:00:22 2012 : Info: Using deprecated naslist file. Support for this will go away soon.
Thu Dec 27 12:00:22 2012 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Thu Dec 27 12:00:22 2012 : Info: Ready to process requests.

Dec 27 20:46:46 superpolka mpd: [L-1] LCP: LayerUp
Dec 27 20:46:46 superpolka mpd: [L-1] LCP: rec'd Ident #2 (Opened)
Dec 27 20:46:46 superpolka mpd: [L-1] MESG: MSRASV5.20
Dec 27 20:46:46 superpolka mpd: [L-1] LCP: rec'd Ident #3 (Opened)
Dec 27 20:46:46 superpolka mpd: [L-1] MESG: MSRAS-0-DOM-M-^OM-.
Dec 27 20:46:46 superpolka mpd: [L-1] LCP: rec'd Ident #4 (Opened)
Dec 27 20:46:46 superpolka mpd: [L-1] MESG: 2^A^A^A^\HuE^Aj^A2^AU^A^X
Dec 27 20:46:46 superpolka mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 25
Dec 27 20:46:46 superpolka mpd: [L-1] Name: "test"
Dec 27 20:46:46 superpolka mpd: [L-1] AUTH: Trying RADIUS
Dec 27 20:46:46 superpolka mpd: [L-1] RADIUS: Authenticating user 'test'
Dec 27 20:46:47 superpolka mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 25
Dec 27 20:46:47 superpolka mpd: [L-1] Name: "test"
Dec 27 20:46:47 superpolka mpd: [L-1] CHAP: Auth return status: busy
Dec 27 20:46:49 superpolka mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 25
Dec 27 20:46:49 superpolka mpd: [L-1] Name: "test"
Dec 27 20:46:49 superpolka mpd: [L-1] CHAP: Auth return status: busy
Dec 27 20:46:49 superpolka mpd: [L-1] RADIUS: rad_send_request for user 'test' failed: No valid RADIUS responses received
Dec 27 20:46:49 superpolka mpd: [L-1] AUTH: RADIUS returned error
Dec 27 20:46:49 superpolka mpd: [L-1] AUTH: ran out of backends
Dec 27 20:46:49 superpolka mpd: [L-1] CHAP: Auth return status: failed
Dec 27 20:46:49 superpolka mpd: [L-1] CHAP: Reply message: Login incorrect
Dec 27 20:46:49 superpolka mpd: [L-1] CHAP: sending FAILURE #1 len: 19
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: authorization failed
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: parameter negotiation failed
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: state change Opened --> Stopping
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: SendTerminateReq #3
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: LayerDown
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: rec'd Terminate Ack #3 (Stopping)
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: state change Stopping --> Stopped
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: LayerFinish
Dec 27 20:46:49 superpolka mpd: [L-1] PPPoE: connection closed
Dec 27 20:46:49 superpolka mpd: [L-1] Link: DOWN event
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: Close event
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: state change Stopped --> Closed
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: Down event
Dec 27 20:46:49 superpolka mpd: [L-1] LCP: state change Closed

конгифи тежи ??????????????????

~AsmodeuS~
Site Admin
Сообщения: 5746
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: Обновлял серци Freebsd 9 9.1 абилс поламался HELP

Сообщение ~AsmodeuS~ »

радиус некоректно работает

пример ручной настройки

http://abills.net.ua/wiki/doku.php/abil ... :ru#radius

Sasha462
Сообщения: 225
Зарегистрирован: Ср дек 27, 2006 2:45 pm
Откуда: Львов

Re: Обновлял серци Freebsd 9 9.1 абилс поламался HELP

Сообщение Sasha462 »

radiusd debug
Starting radiusd.
[root@superpolka /usr/local/etc/raddb]# FreeRADIUS Version 2.2.0, for host amd64-portbld-freebsd9.1, built on Dec 29 2012 at 01:46:35
Copyright (C) 1999-2012 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/modules/
including configuration file /usr/local/etc/raddb/modules/perl
including configuration file /usr/local/etc/raddb/policy.conf
Unable to open file "/usr/local/etc/raddb/policy.conf": No such file or directory
Errors reading or parsing /usr/local/etc/raddb/radiusd.conf

ERROR: Cannot find a configuration entry for module "exec".
Errors reading dictionary: dict_init: Couldn't open dictionary "/usr/local/etc/raddb/dictionary": Permission denied

а тут что должно бить

ot@superpolka /usr/local/etc/raddb/OLD]# radtest test zaqxsw 127.0.0.1:1812 0 radsecret 0 127.0.0.1
Sending Access-Request of id 67 to 127.0.0.1 port 1812
User-Name = "test"
User-Password = "zaqxsw"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Message-Authenticator = 0x00000000000000000000000000000000
Framed-Protocol = PPP
rad_send() failed: Permission denied
radclient: Failed to send packet for ID 67: (unknown error)
Sending Access-Request of id 67 to 127.0.0.1 port 1812
User-Name = "test"
User-Password = "zaqxsw"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Message-Authenticator = 0x00000000000000000000000000000000
Framed-Protocol = PPP
rad_send() failed: Permission denied
radclient: Failed to send packet for ID 67: (unknown error)
Sending Access-Request of id 67 to 127.0.0.1 port 1812
User-Name = "test"
User-Password = "zaqxsw"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Message-Authenticator = 0x00000000000000000000000000000000
Framed-Protocol = PPP
rad_send() failed: Permission denied
radclient: Failed to send packet for ID 67: (unknown error)
radclient: no response from server for ID 67 socket 3

Где взять ети файли

одно нашол другое вилезно


Module: Instantiating module "exec" from file /usr/local/etc/raddb/modules/exec
exec {
wait = yes
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
ERROR: Cannot find a configuration entry for module "expiration".

Sasha462
Сообщения: 225
Зарегистрирован: Ср дек 27, 2006 2:45 pm
Откуда: Львов

Re: Обновлял серци Freebsd 9 9.1 абилс поламался HELP

Сообщение Sasha462 »

небило дано адреса

inet 127.0.0.1 netmask 0xff00000

решается rc.conf

ifconfig_lo0="inet 127.0.0.1"

Ответить