Ядро не слушает на порту

Технические вопросы по UTM 5.0
Ответить
Tr0y
Сообщения: 3
Зарегистрирован: Пн фев 15, 2010 09:52

Ядро не слушает на порту

Сообщение Tr0y »

Система Fedora 8. UTM

UTM5 работал достаточно долго.
Недавно произошел сбой.
Там было нарушение с периодом, загнал верификатор в базу. Выполнил.
Теперь verificator.log не появляется.

Но ядро после запуска перестало слушать на порту 11758.

main.log

Код: Выделить всё

Info  : Feb 12 22:23:54 UTM5 Logger: New ` Info  : ' stream: /netup/utm5/log/main.log
 Info  : Feb 12 22:23:54 UTMCtx: ctx_init_file not specified. Database encription not enabled ...
 Notice: Feb 12 22:23:54 ModMap: Sub-Module 'utmctx' inserted...
 Info  : Feb 12 22:23:54 DBA:Ctx: Creating 6 DB connections
 Info  : Feb 12 22:23:54 DBA:Ctx: DB Transactions are disabled
 Notice: Feb 12 22:23:54 ModMap: Sub-Module 'dba:ctx' inserted...
 Info  : Feb 12 22:23:54 UTM5 DBA: X509 sign verification succeded
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Notice: Feb 12 22:23:54 UTM5 DBA: Summary sys users fetched: 5
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Info  : Feb 12 22:23:54 UTMCtx: Decrypt: No ctx found
 Warn  : Feb 12 22:23:54 UTMCtx: Unencrypted message passed!
 Notice: Feb 12 22:23:54 UTM5 DBA: Summary sys users fetched: 5
 Notice: Feb 12 22:23:54 UTM5 DBA: Summary discount periods fetched:8
 Notice: Feb 12 22:23:54 UTM5 DBA: Summary users fetched: 398
 Info  : Feb 12 22:23:55 UTM5 DBA: parsed 0.100000 notification border
 Info  : Feb 12 22:23:55 UTM5 DBA: parsed 2.000000 notification border
 Info  : Feb 12 22:23:55 UTM5 DBA: parsed 5.000000 notification border
 Info  : Feb 12 22:23:55 UTM5 DBA: block_recalc_abon = 0
 Info  : Feb 12 22:23:55 UTM5 DBA: block_recalc_prepaid = 0
 Info  : Feb 12 22:23:55 UTM5 DBA: default_vat_rate = 0.000000
 Info  : Feb 12 22:23:55 UTM5 DBA: fw_rule_offset = 5000
 Info  : Feb 12 22:23:55 UTM5 DBA: check_abon_on_payment = 0
 Info  : Feb 12 22:23:55 UTM5 DBA: login_prefix_separator = :
 Info  : Feb 12 22:23:55 UTM5 DBA: null_prepaid_traffic_if_tarif_change = 0
 Info  &#58; Feb 12 22&#58;23&#58;55 UTM5 DBA&#58; www_prefix </var/www/>
 Info  &#58; Feb 12 22&#58;23&#58;55 UTM5 DBA&#58; hosting_ip <127.0.0.1>
 Info  &#58; Feb 12 22&#58;23&#58;55 UTM5 DBA&#58; hosting_uid_number <10001>
 Info  &#58; Feb 12 22&#58;23&#58;55 UTM5 DBA&#58; hosting_gid_number <10001>
 Info  &#58; Feb 12 22&#58;23&#58;55 UTM5 DBA&#58; mail_server_ip <127.0.0.1>
 Info  &#58; Feb 12 22&#58;23&#58;55 UTM5 DBA&#58; force_prepaid_change <0>
 Info  &#58; Feb 12 22&#58;23&#58;55 UTM5 DBA&#58; email_exec_register <>
 Info  &#58; Feb 12 22&#58;23&#58;55 UTM5 DBA&#58; email_exec_unregister <>
 Notice&#58; Feb 12 22&#58;23&#58;55 ModMap&#58; Sub-Module 'dba' inserted...
 Notice&#58; Feb 12 22&#58;23&#58;55 DBAGiga&#58; Opening Gigabase storage&#58; /netup/utm5/db/iptraffic_raw.dbs
 Info  &#58; Feb 12 22&#58;24&#58;25 UTM5 Logger&#58; New ` Info  &#58; ' stream&#58; /netup/utm5/log/main.log
 Info  &#58; Feb 12 22&#58;24&#58;25 UTMCtx&#58; ctx_init_file not specified. Database encription not enabled ...
 Notice&#58; Feb 12 22&#58;24&#58;25 ModMap&#58; Sub-Module 'utmctx' inserted...
 Info  &#58; Feb 12 22&#58;24&#58;25 DBA&#58;Ctx&#58; Creating 6 DB connections
 Info  &#58; Feb 12 22&#58;24&#58;25 DBA&#58;Ctx&#58; DB Transactions are disabled
 Notice&#58; Feb 12 22&#58;24&#58;25 ModMap&#58; Sub-Module 'dba&#58;ctx' inserted...
 Info  &#58; Feb 12 22&#58;24&#58;25 UTM5 DBA&#58; X509 sign verification succeded
rfw_main.log

Код: Выделить всё

Info  &#58; Feb 15 11&#58;08&#58;10 UTM5 Logger&#58; New ` Info  &#58; ' stream&#58; /netup/utm5/log/rfw_main.log
 Info  &#58; Feb 15 11&#58;08&#58;10 UTM5 Logger&#58; New `?Debug &#58; ' stream&#58; /netup/utm5/log/rfw_debug.log
 Info  &#58; Feb 15 11&#58;08&#58;10 RFW URFA&#91;plugin&#93;&#58; Worker thread created
 Info  &#58; Feb 15 11&#58;08&#58;10 RFW URFA&#91;plugin&#93;&#58; &#91;worker&#93;&#58; Thread created
 ERROR &#58; Feb 15 11&#58;08&#58;10 RFW URFA&#91;plugin&#93;&#58; Failed to open session&#58; Invalid argument
 ERROR &#58; Feb 15 11&#58;08&#58;10 RFW URFA&#91;plugin&#93;&#58; &#91;worker&#93;&#58; Unable to login; Reconnecting
 ERROR &#58; Feb 15 11&#58;08&#58;10 RFW URFA&#91;plugin&#93;&#58; &#91;worker&#93;&#58; Reusing thread for &#91;restart&#93;...
 ERROR &#58; Feb 15 11&#58;08&#58;10 RFW URFA&#91;plugin&#93;&#58; Failed to open session&#58; Invalid argument
 ERROR &#58; Feb 15 11&#58;08&#58;40 RFW URFA&#91;plugin&#93;&#58; Failed to open session&#58; Invalid argument
 ERROR &#58; Feb 15 11&#58;09&#58;10 RFW URFA&#91;plugin&#93;&#58; Failed to open session&#58; 
[root@gw log]# ps -AH | grep utm
4415 ? 00:02:41 safe_utm5_core
4067 ? 00:00:00 safe_utm5_rfw
4068 ? 00:00:00 utm5_rfw
[root@gw log]#


[root@gw log]# netstat -apn | grep 11758
[root@gw log]#


utm5.cfg


Код: Выделить всё

database_type=mysql
database=UTM5
database_login=utm5
database_password=pass
urfa_bind_host=0.0.0.0
urfa_bind_port=11758
urfa_lib_file=/netup/utm5/lib/utm5_core/liburfa-utils.so
urfa_lib_file=/netup/utm5/lib/utm5_core/liburfa-std.so
urfa_lib_file=/netup/utm5/lib/utm5_core/liburfa-card.so
urfa_lib_file=/netup/utm5/lib/utm5_core/liburfa-graph.so
urfa_lib_file=/netup/utm5/lib/utm5_radius/liburfa-radius.so
urfa_lib_file=/netup/utm5/lib/utm5_hotspot/liburfa-hotspot.so
nfbuffer_host=0.0.0.0
nfbuffer_port=9996
log_level=3
log_file_main=/netup/utm5/log/main.log
log_file_debug=/netup/utm5/log/debug.log
log_file_verificator=/netup/utm5/log/verificator.log
core_pid_file=/var/run/utm5_core.pid

Tr0y
Сообщения: 3
Зарегистрирован: Пн фев 15, 2010 09:52

Сообщение Tr0y »

А при запуске бинарника вот что сыпется

[root@gw bin]# ./utm5_core -c /netup/utm5/utm5.cfg
?Debug : Feb 16 11:09:22 Rehash: Rehash manager started
Notice: Feb 16 11:09:22 ModMap: Sub-Module 'rehash' inserted...
Notice: Feb 16 11:09:22 UTM5 Config: Processing config file: /netup/utm5/utm5.cfg
Notice: Feb 16 11:09:22 ModMap: Sub-Module 'config' inserted...
Notice: Feb 16 11:09:22 ModMap: Sub-Module 'logger' inserted...
Segmentation fault


[root@lotos-gw bin]# ./safe_utm5_core start -c /netup/utm5/utm5.cfg
Starting utm5_core
?Debug : Feb 16 11:13:35 Rehash: Rehash manager started
Notice: Feb 16 11:13:35 ModMap: Sub-Module 'rehash' inserted...
Notice: Feb 16 11:13:35 UTM5 Config: Processing config file: /netup/utm5/utm5.cfg
Notice: Feb 16 11:13:35 ModMap: Sub-Module 'config' inserted...
Notice: Feb 16 11:13:35 ModMap: Sub-Module 'logger' inserted...
./safe_utm5_core: line 22: 11813 Segmentation fault $exec_dir/$utm_exec
utm5_core process exited ... mail to admin sended. Sleeping 5 sec!

Tr0y
Сообщения: 3
Зарегистрирован: Пн фев 15, 2010 09:52

Сообщение Tr0y »

Вообщем видимо был повреждён как то файл dbs.... Удалил его и всё заработало!

gil
Сообщения: 355
Зарегистрирован: Вт ноя 11, 2008 14:28

Сообщение gil »

Segmentation fault.. смотрите корку, что ее вызывает..

Ответить