Bug #43

Зламаний SIGHUP

Added by Anonymous over 3 years ago. Updated about 3 years ago.

Status:NewStart date:11/09/2015
Priority:NormalDue date:
Assignee:Maxim Mamontov% Done:

0%

Category:-Spent time:-
Target version:-

Description

Перший старт, після завантаження системи. Все працює, все добре, ну майже....

2015-11-05 14:26:23 -- ---------------------------------------------
2015-11-05 14:26:23 -- Module 'cap_nf v. 0.4' stopped successfully.
2015-11-05 14:26:23 -- Module 'Always Online authorizator v.1.0' stopped successfully.
2015-11-05 14:26:23 -- Module 'InetAccess authorization plugin v.1.4' stopped successfully.
2015-11-05 14:26:23 -- Module 'Stg Configurator v. 2.0' stopped successfully.
2015-11-09 15:28:48 -- Stg v. 2.409
2015-11-09 15:28:48 -- Message queue created successfully. msgKey=5555 msgID=65536
2015-11-09 15:28:48 -- Timer thread started successfully.
2015-11-09 15:28:48 -- [store_mysql] MYSQL_STORE: Current DB schema version: 1
2015-11-09 15:28:48 -- Storage plugin: mysql_store v.0.67. Loading successfull.
2015-11-09 15:28:48 -- Users started successfully.
2015-11-09 15:28:48 -- Traffcounter started successfully.
2015-11-09 15:28:48 -- Module 'Stg Configurator v. 2.0' started successfully.
2015-11-09 15:28:48 -- Module 'Always Online authorizator v.1.0' started successfully.
2015-11-09 15:28:48 -- Module 'InetAccess authorization plugin v.1.4' started successfully.
2015-11-09 15:28:48 -- Module 'cap_nf v. 0.4' started successfully.
2015-11-09 15:28:48 -- Stg started successfully.
2015-11-09 15:28:48 -- +++++++++++++++++++++++++++++++++++++++++++++
root@test102_64:/usr/home/nightfly # cat /var/run/stargazer.pid 
948
root@test102_64:/usr/home/nightfly # ps aux | grep stargazer
root     948   0.6  0.4  61716   7764  -  Ss    3:28PM 0:00.80 /usr/sbin/stargazer
root     949   0.0  0.2  28176   3796  -  I     3:28PM 0:00.00 stargazer: stg-exec (stargazer)
root     994   0.0  0.1  18824   2196  0  R+    3:30PM 0:00.00 grep stargazer
root@test102_64:/usr/home/nightfly # kill -1 948
root@test102_64:/usr/home/nightfly # tail -n 1 /var/log/stargazer.log 
2015-11-09 15:28:48 -- +++++++++++++++++++++++++++++++++++++++++++++

Ой, а нічо і не відбулося.Добре, зупиняємо Stargazer і стартуємо по новій:

root@test102_64:/usr/home/nightfly # tail -n20 /var/log/stargazer.log
2015-11-09 15:32:12 -- StgTimer: Stop successfull.
2015-11-09 15:32:12 -- Stg stopped successfully.
2015-11-09 15:32:12 -- ---------------------------------------------
2015-11-09 15:32:12 -- Module 'cap_nf v. 0.4' stopped successfully.
2015-11-09 15:32:12 -- Module 'Always Online authorizator v.1.0' stopped successfully.
2015-11-09 15:32:12 -- Module 'InetAccess authorization plugin v.1.4' stopped successfully.
2015-11-09 15:32:12 -- Module 'Stg Configurator v. 2.0' stopped successfully.
2015-11-09 15:32:36 -- Stg v. 2.409
2015-11-09 15:32:36 -- Message queue created successfully. msgKey=5555 msgID=131072
2015-11-09 15:32:36 -- Timer thread started successfully.
2015-11-09 15:32:36 -- [store_mysql] MYSQL_STORE: Current DB schema version: 1
2015-11-09 15:32:36 -- Storage plugin: mysql_store v.0.67. Loading successfull.
2015-11-09 15:32:36 -- Users started successfully.
2015-11-09 15:32:36 -- Traffcounter started successfully.
2015-11-09 15:32:36 -- Module 'Stg Configurator v. 2.0' started successfully.
2015-11-09 15:32:36 -- Module 'Always Online authorizator v.1.0' started successfully.
2015-11-09 15:32:36 -- Module 'InetAccess authorization plugin v.1.4' started successfully.
2015-11-09 15:32:36 -- Module 'cap_nf v. 0.4' started successfully.
2015-11-09 15:32:36 -- Stg started successfully.
2015-11-09 15:32:36 -- +++++++++++++++++++++++++++++++++++++++++++++

Після чого пробуємо ше раз SIGHUP:

root@test102_64:/usr/home/nightfly # cat /var/run/stargazer.pid 
1000
root@test102_64:/usr/home/nightfly # kill -1 1000
root@test102_64:/usr/home/nightfly # tail -n1 /var/log/stargazer.log 
2015-11-09 15:33:12 -- TRAFFCOUNTER: Reloaded rules successfully

Совпадєніє? Нє думаю :Р

Also available in: Atom PDF