Помогите кто может !!!

Технические вопросы по UTM 5.0
Ответить
n_drey
Сообщения: 156
Зарегистрирован: Чт ноя 24, 2005 13:12
Откуда: Моск обл..

Помогите кто может !!!

Сообщение n_drey »

Скачал демо версию с сайта не могу разобраться уже 2 дня..
Задача проста как говориться. сервак с УТМ на неём ядро колектор и база ..
Хочется авторизовать чуваков по ПППоЕ чтобы им выдавался ИП итп... Не могу понять как это сделать, какие пакеты ставить в мануале неаписано, но очень много и запутанно... Приходиться прыгать из раздела в раздел ... Толи эти пакеты в дистре УТМ даются толи их нада из своего дистра ставить .. Кто нибудь мне подскажет порядок действий при такой схеме включения.. ?
Заранее спасибо операционка Debian Sarge ... Помогите новечку.. Биллинг очень нада ... :)

aospan
NetUP Team
Сообщения: 1639
Зарегистрирован: Чт янв 13, 2005 20:30

Сообщение aospan »

Желательно описать, что уже получилось сделать. В частности - запустилось ли ядро и подключается ли интерфейс администратора ?
Если нет, то желательно увидеть логи ядра (из папки /netup/utm5/log/) в момент запуска.

n_drey
Сообщения: 156
Зарегистрирован: Чт ноя 24, 2005 13:12
Откуда: Моск обл..

Сообщение n_drey »

Интерфейс администратора запускается и успешно !!! Работает !

Вот что есть в логе:
Info : Nov 23 20:16:36 UTM5 Logger: New ` Info : ' stream: /netup/utm5/log/main.log
Info : Nov 23 20:16:36 UTM5 Logger: New `?Debug : ' stream: /netup/utm5/log/debug.log
Notice: Nov 23 20:16:36 ModMap: Log file reopened
-Stats : Nov 23 20:16:36 UTM5 Config: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 UTM5 DBA: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 DBA:Ctx: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 DBAGiga: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 DBARadius: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 ModFWMan: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 HSPlugin: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 UTM5 Logger: Stats for 688s. (uptime 688). Events: 737 (all 737); Errors: 12 (all 12)
-Stats : Nov 23 20:16:36 NFBuffer: queue size 0
-Stats : Nov 23 20:16:36 NFBuffer: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 Rehash: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 RPCServer@0.0.0.0: Stats for 688s. (uptime 688). Events: 2 (all 2); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 UTMCtx: Stats for 688s. (uptime 688). Events: 0 (all 0); Errors: 6 (all 6)
-Stats : Nov 23 20:16:36 ModMap: Stats for 688s. (uptime 688). Events: 13 (all 13); Errors: 1 (all 1)
Info : Nov 23 20:16:36 UTM5 Logger: New `*CRIT : ' stream: /netup/utm5/log/main.log
Info : Nov 23 20:16:36 UTM5 Logger: New ` Info : ' stream: /netup/utm5/log/main.log
Info : Nov 23 20:16:36 UTM5 Logger: New `?Debug : ' stream: /netup/utm5/log/debug.log
Notice: Nov 23 20:16:36 ModMap: Log file reopened
-Stats : Nov 23 20:16:36 UTM5 Config: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 UTM5 DBA: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 DBA:Ctx: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 DBAGiga: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 DBARadius: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 ModFWMan: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 HSPlugin: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 UTM5 Logger: Stats for 0s. (uptime 688). Events: 20 (all 757); Errors: 0 (all 12)
-Stats : Nov 23 20:16:36 NFBuffer: queue size 0
-Stats : Nov 23 20:16:36 NFBuffer: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 Rehash: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 RPCServer@0.0.0.0: Stats for 0s. (uptime 688). Events: 0 (all 2); Errors: 0 (all 0)
-Stats : Nov 23 20:16:36 UTMCtx: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 6)
-Stats : Nov 23 20:16:36 ModMap: Stats for 0s. (uptime 688). Events: 0 (all 13); Errors: 0 (all 1)
Notice: Nov 23 20:16:36 UTM5 Config: Pid file found: /var/run/utm5_core.pid; Overwriting
Notice: Nov 23 20:16:36 ModMap: Sub-Module 'busmod' erased...
-Stats : Nov 23 20:16:36 BusPeriodic: Stats: Uptime: 00:11:28. Events: 0; Errors: 0
-Stats : Nov 23 20:16:36 BusClassif: Stats: Uptime: 00:11:28. Events: 0; Errors: 0
-Stats : Nov 23 20:16:36 BusMod: Stats: Uptime: 00:11:28. Events: 0; Errors: 0
-Stats : Nov 23 20:16:36 UTM5 Config: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
Notice: Nov 23 20:16:36 ModMap: Sub-Module 'config' erased...
ERROR : Nov 23 20:16:36 UTM5 Config: Can't unlink pid file /var/run/utm5_core.pid: No such file or directory
-Stats : Nov 23 20:16:36 UTM5 Config: Stats: Uptime: 00:11:28. Events: 0; Errors: 0
-Stats : Nov 23 20:16:36 UTM5 DBA: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
Notice: Nov 23 20:16:36 ModMap: Sub-Module 'dba' erased...
-Stats : Nov 23 20:16:36 UTM5 DBA: Stats: Uptime: 00:11:28. Events: 0; Errors: 0
-Stats : Nov 23 20:16:36 DBA:Ctx: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
Notice: Nov 23 20:16:36 ModMap: Sub-Module 'dba:ctx' erased...
-Stats : Nov 23 20:16:36 DBA:Ctx: Stats: Uptime: 00:11:28. Events: 0; Errors: 0
-Stats : Nov 23 20:16:36 DBAGiga: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
Notice: Nov 23 20:16:36 ModMap: Sub-Module 'dba:giga' erased...
-Stats : Nov 23 20:16:36 DBAGiga: Stats: Uptime: 00:11:28. Events: 0; Errors: 0
-Stats : Nov 23 20:16:36 DBARadius: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
Notice: Nov 23 20:16:36 ModMap: Sub-Module 'dba:radius' erased...
-Stats : Nov 23 20:16:36 DBARadius: Stats: Uptime: 00:11:28. Events: 0; Errors: 0
-Stats : Nov 23 20:16:36 ModFWMan: Stats for 0s. (uptime 688). Events: 0 (all 0); Errors: 0 (all 0)
Info : Nov 23 20:16:36 ModFWMan: Module finilized...


Кстати так же стартует и ndsad судя по всему это коллетор..
вот его лог :
ndsad[22574]: Session opened on Thu Nov 24 13:40:35 2005
ndsad[22574]: binary version `1.32.1'
ndsad[22574]: WatchDog: Dog waken...
ndsad[22574]: WatchDog: child[22575] started on Thu Nov 24 13:40:35 2005
ndsad[22575]: `eth0': new device
ndsad[22575]: `eth1': new device
ndsad[22577]: `eth0' thread started successfully.
ndsad[22578]: `eth1' thread started successfully.
ndsad[22578]: `eth1' thread is preparing for dummy loop call
ndsad[22575]: `lo': new device
ndsad[22577]: `eth0' thread is preparing for PCAP loop call
ndsad[22577]: pcap_datalink(eth0) = 1
ndsad[22577]: Set ppp offset = 4
ndsad[22579]: `lo' thread started successfully.
ndsad[22579]: `lo' thread is preparing for dummy loop call
ndsad[22580]: NFC<lo> status on Thu Nov 24 13:40:41 2005
0/30 messages ready, 0 flows seen...
0/64 (0.00%) hash usage, 0 entries scaned, 0 dropped
ndsad[22580]: NFC<eth> status on Thu Nov 24 13:40:41 2005
0/30 messages ready, 0 flows seen...
3/32 (9.38%) hash usage, 10 entries scaned, 0 dropped
ndsad[22580]: Heap<1>: 0/1092 nodes, 0/65520 bytes
ndsad[22580]: Heap<2>: 0/-1 nodes, 0/-52 bytes

пытаюсь запустить RADIUS
лог пишет следующее:
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory

aospan
NetUP Team
Сообщения: 1639
Зарегистрирован: Чт янв 13, 2005 20:30

Сообщение aospan »

Перешлите вываод команды:
ldd /netup/utm5/bin/utm5_radius

так же попробуйте прописать в конфиге кadius5.cfg строку:
radius_ssl_type=none
и запустите радиус. запускается ? (в процессах висит ?) В логах радиуса какая информация ?

n_drey
Сообщения: 156
Зарегистрирован: Чт ноя 24, 2005 13:12
Откуда: Моск обл..

Сообщение n_drey »

Вот результат вывода команды:
/netup/utm5/log# ldd /netup/utm5/bin/utm5_radius
libssl.so.4 => /usr/lib/libssl.so.4 (0x4001c000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4004d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4007a000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x400cc000)
libm.so.6 => /lib/libm.so.6 (0x40186000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x401a8000)
libc.so.6 => /lib/libc.so.6 (0x401b1000)
libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x402e4000)
libdl.so.2 => /lib/libdl.so.2 (0x403e3000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Вот лог радиуса после запуска ничем не изменился:
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory
/netup/utm5/bin/core_ping: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory

на всякий случай даю сам конфиг радиуса:

core_host=127.0.0.1
core_port=11758
radius_auth_mppe=none
radius_card_autoadd=yes
radius_login=radius
radius_password=radius
radius_acct_port=1813
radius_auth_port=1812
radius_acct_host=0.0.0.0
radius_auth_host=0.0.0.0
#radius_auth_vap=0
#radius_nas_port_vpn=5
#radius_nas_port_dialup=0
#radius_ippool_timeout=30

radius_auth_null=none
radius_ssl_type=none
#h323_origin_reject=originate {answer|callback|etc}
log_file_main=/netup/utm5/log/radius_main.log
log_file_debug=/netup/utm5/log/radius_main.log

n_drey
Сообщения: 156
Зарегистрирован: Чт ноя 24, 2005 13:12
Откуда: Моск обл..

Сообщение n_drey »

Кстати в пргоцессах он висит как
22614 pts/6 S 0:00 /bin/sh /netup/utm5/bin/safe_utm5_radius start
мож я его запускаю как нитак.. Запускаю комендой /etc/rc.d/init.d/utm_radius start

aospan
NetUP Team
Сообщения: 1639
Зарегистрирован: Чт янв 13, 2005 20:30

Сообщение aospan »

сделайте еще пожалуйста:
ldd /netup/utm5/bin/core_ping

и
ldconfig -p | grep com_err

n_drey
Сообщения: 156
Зарегистрирован: Чт ноя 24, 2005 13:12
Откуда: Моск обл..

Сообщение n_drey »

/netup/utm5/log# ldd /netup/utm5/bin/core_ping
libssl.so.4 => /usr/lib/libssl.so.4 (0x4001c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4004d000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x4009e000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x40107000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x4011c000)
libcom_err.so.3 => not found
libresolv.so.2 => /lib/libresolv.so.2 (0x4013f000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40151000)
libm.so.6 => /lib/libm.so.6 (0x4020b000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4022e000)
libc.so.6 => /lib/libc.so.6 (0x40237000)
libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x4036a000)
libdl.so.2 => /lib/libdl.so.2 (0x40469000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x4046c000)

и вот ..

/netup/utm5/log# ldconfig -p | grep com_err
libcom_err.so.2 (libc6) => /lib/libcom_err.so.2

n_drey
Сообщения: 156
Зарегистрирован: Чт ноя 24, 2005 13:12
Откуда: Моск обл..

Сообщение n_drey »

Я так понимаю что смотря в это (libcom_err.so.3 => not found) можно понять что библтиотеки libcom_err.so.3 просто нет а где её взять тогда ?

n_drey
Сообщения: 156
Зарегистрирован: Чт ноя 24, 2005 13:12
Откуда: Моск обл..

Сообщение n_drey »

Я сдедал символическую ссылку на libcom_err.so.2 вроде как запустился в логах пишет следующее..

Core host: <127.0.0.1>, core port: <11758>, core version: <5.1.10>
Info : Nov 24 14:19:46 RADIUS Tarif: Created...
Notice: Nov 24 14:19:46 RADIUS Config: Processing config file: /netup/utm5/radius5.cfg
Info : Nov 24 14:19:46 UTM5 Logger: New ` Info : ' stream: /netup/utm5/log/radius_main.log
Core host: <127.0.0.1>, core port: <11758>, core version: <5.1.10>
Info : Nov 24 14:20:19 RADIUS Tarif: Created...
Notice: Nov 24 14:20:19 RADIUS Config: Processing config file: /netup/utm5/radius5.cfg
Info : Nov 24 14:20:19 UTM5 Logger: New ` Info : ' stream: /netup/utm5/log/radius_main.log

aospan
NetUP Team
Сообщения: 1639
Зарегистрирован: Чт янв 13, 2005 20:30

Сообщение aospan »

n_drey писал(а):Я сдедал символическую ссылку на libcom_err.so.2 вроде как запустился в логах пишет следующее..

Core host: <127.0.0.1>, core port: <11758>, core version: <5.1.10>
Info : Nov 24 14:19:46 RADIUS Tarif: Created...
Notice: Nov 24 14:19:46 RADIUS Config: Processing config file: /netup/utm5/radius5.cfg
Info : Nov 24 14:19:46 UTM5 Logger: New ` Info : ' stream: /netup/utm5/log/radius_main.log
Core host: <127.0.0.1>, core port: <11758>, core version: <5.1.10>
Info : Nov 24 14:20:19 RADIUS Tarif: Created...
Notice: Nov 24 14:20:19 RADIUS Config: Processing config file: /netup/utm5/radius5.cfg
Info : Nov 24 14:20:19 UTM5 Logger: New ` Info : ' stream: /netup/utm5/log/radius_main.log
судя по всему всё ок. Пробуйте авторизоваться и так далее. Если что-то не получится - пишите.

Ответить