Jump to content
Local

Небесный

Сitizens
  • Content Count

    467
  • Joined

  • Last visited

  • Days Won

    1

Небесный last won the day on October 9 2010

Небесный had the most liked content!

Community Reputation

18 Хороший

About Небесный

  • Rank
    Оборотень

Контакты

  • Сайт
    http://127.0.0.1/
  • ICQ
    0

Информация

  • Пол
    Мужчина

Recent Profile Visitors

4145 profile views
  1. Небесный

    Astra 4.4.182 & DVB-T2

    СПС, друзья.
  2. Небесный

    Astra 4.4.182 & DVB-T2

    Народ поделитесь кто-то конфигом Astra 4.4.182 для приема с DVB-T2. Очень буду и очень сильно безгранично благодарен. )))
  3. Небесный

    Astra 4.4.182 + IPTV-стример DTN-1К

    Мультик доходил до сервера, но там умирал. Причина была в том, что ядро убивало пакеты ибо сервер-астры и стример были в разных подсетях. Настроил в одну подсеть и пошло, а думал, что мультику пофиг. Ну в общем то и пофиг мультику, но убунте было не пофиг - и убивала непонятные пакеты. )))Причина тому настройки ядра: net.ipv4.conf.all.rp_filter = 1 net.ipv4.conf.default.rp_filter = 1 Если бы стояло "0" - тогда и работало бы. Как-то так, я знал что какая-то мелочь ибо все перерыл с ног до головы, вот оно и оказалось тут. Всем спасибо за советы! passer отдельное СПС. )))
  4. Всем уже известно, что будут кодироваться украинские каналы в небе. Прикупили себе одесский стример DTN-1К для того, чтобы было куда тыкать КАМ-модули. Стример выдает мультик, а интернет-пользователям даем юник. Встал вопрос как? Пробую с помощью Астры и ни в какую, не принимает астра поток. В тестовом режиме пробую всего только один канал. На картинке обведенно красным, который канал пробую брать. Конфиг астры make_channel({ name = "2+2", input = { "udp://239.255.5.1:1235", }, output = { "http://10.10.100.100:10999/2+2", }, }) Выхлоп в консоли при запуске астры и попытке подключения к поток через VLC root@IPTV:~# astra /etc/astra/test.lua Jan 10 11:17:49: INFO: Starting Astra 4.4.182 Jan 10 11:18:01: ERROR: [2+2 #1] Bitrate:0Kbit/s Jan 10 11:18:02: ERROR: [2+2 #1] Bitrate:0Kbit/s Jan 10 11:18:03: ERROR: [2+2 #1] Bitrate:0Kbit/s Jan 10 11:18:04: ERROR: [2+2 #1] Bitrate:0Kbit/s Jan 10 11:18:04: ERROR: [2+2] Failed to switch to reserve Кончились уже идеи, почему не идет.
  5. Небесный

    3шт. NAS паралельно от rscriptd

    Есть идея почему так было, чуть позже можно будет поиграться.
  6. Небесный

    3шт. NAS паралельно от rscriptd

    Как бы я не любил ребутать серваки (люблю циферки большие на uptime), на этот раз решился перегрузиться - проснулся пораньше, чтобы абонентов не дергать, так как производилось все на боевых серверах. После ребута - rscriptd старторнул и заработал на NAS2 и NAS3. madf отдельное большое благодарство за помощь!!! Тема закрыта!
  7. Небесный

    3шт. NAS паралельно от rscriptd

    С чего Вы уважаемый взяли, что все три НАСа для одной подсети должны обслуживать именно прохождения пакетов в мировую сеть? 1 НАС - для интернета, два остальных для сервисов. Ну, не хочу я через 1-й НАС ганять весь трафик, меготачку нужно собирать, чтобы через один сервак ганять все внутренние сервисы. stg-2.409-rc2.tar.gz - если быть точным, лежал архив на 1-м НАСе, который делал н-ое количество лет тому. И да, если Вы пожелали похейтить, тогда это не тут. Раздел как раз именно для помощи, какой у меня уровень знаний не Вам выносить вердикт. Если бы мог сам решить проблему, не писал бы сюда. Для лучшего понимания, моей схемы работы сети, кидаю от руки набросанную схему.
  8. Небесный

    3шт. NAS паралельно от rscriptd

    Эх, рано обрадовался, на втором тоже словил игнор. 2020-01-08 21:04:34 -- Ignore signel 17 2020-01-08 21:04:34 -- Ignore signel 17 2020-01-08 21:07:40 -- rscriptd v. 2.409 2020-01-08 21:07:40 -- Message queue created successfully. msgKey=5555 msgID=65536 2020-01-08 21:07:40 -- rscriptd started successfully. 2020-01-08 21:07:40 -- +++++++++++++++++++++++++++++++++++++++++++++ Надо рыть, - где-то наверное все таки собака будет от главного идти. Интересно, а кто-то пробовал на одну подсеть по несколько НАСов делать? Игнор появился на 3-м НАСе когда на основном сервере добавил айпишку 3-го НАСа. remote_nas.conf 192.168.0.0/24 10.10.100.150 10.10.100.100 10.10.100.152 10.0.0.0/8 10.10.100.150 10.10.100.100 10.10.100.152
  9. Небесный

    3шт. NAS паралельно от rscriptd

    Я наверное понял, это новое ядро Убунты причина тому. Попробовал на 3-й НАС поставить, там стоит Дебиан 7.7 Все тот же стаг 409 - за 5 минут установил и запустился и то большая часть времени заняло установка дополнительных пакетов из интернета. 2020-01-08 20:46:53 -- rscriptd v. 2.409 2020-01-08 20:46:53 -- Message queue created successfully. msgKey=5555 msgID=0 2020-01-08 20:46:53 -- rscriptd started successfully. 2020-01-08 20:46:53 -- +++++++++++++++++++++++++++++++++++++++++++++ root@nagios:/var/log# uname -a Linux nagios 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u1 x86_64 GNU/Linux root@nagios:/var/log# lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 7.7 (wheezy) Release: 7.7 Codename: wheezy А, теперь проблемный сервак на убунте 18-й. root@IPTV:~# uname -a Linux IPTV 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux root@IPTV:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic Ядро на поколение выше, на дебиане 3-й версии, на убунте 4-е.
  10. Небесный

    3шт. NAS паралельно от rscriptd

    2020-01-08 17:37:09 -- +++++++++++++++++++++++++++++++++++++++++++++ 2020-01-08 17:37:09 -- Ignore signel 17 2020-01-08 17:37:09 -- Ignore signel 17 2020-01-08 17:39:26 -- rscriptd v. 2.409 2020-01-08 17:39:26 -- Message queue created successfully. msgKey=5555 msgID=688128 2020-01-08 17:39:26 -- rscriptd started successfully. 2020-01-08 17:39:26 -- +++++++++++++++++++++++++++++++++++++++++++++
  11. Небесный

    3шт. NAS паралельно от rscriptd

    Это я игрался уже с установкой 408 и 409 версий, раньше конфиг был правильным. root@IPTV:~# cat /etc/rscriptd/rscriptd.conf ################################################################################ # Rscriptd Configuration file # ################################################################################ # LOG file name # Parameter: optional # Value: file path # Default: /var/log/rscriptd.log LogFileName = /var/log/rscriptd.log # Amount of rscriptd-exec processes. # These processes are responsible for the execution of scripts # OnConnect and OnDisconnect. # Amount of processes means how many scripts can be executed simultaneously. # Recommend to leave 1 to avoid errors when executing scripts # Parameter: optional # Value: 1 ... 1024 # Default: 1 ExecutersNum = 2 # Message queue identifier for the script executer. # It may be changed if there're a needs to run multiple copies of rscriptd. # Warning: If you do not understand it, do not touch this setting! # Parameter: optional # Value: 0 ... 2 ^ 32 # Default: 5555 # ExecMsgKey = 5555 # The path to directory where config files are # Parameter: optional # Value: directory path # Default: /etc/rscriptd ConfigDir = /etc/rscriptd # Defines password for the encryption exchange between # Stargazer server and rscriptd. # Parameter: optional # Value: any # Default: 123456 Password = 123456 # Defines port number for communication between # Stargazer server and rscriptd. # Parameter: optional # Value: 1 ... 65535 # Default: 9999 Port = 9999 # User timeout. If Stargazer does not respond during this time, # the user will be disconnected. # Parameter: optional # Values: 5 ... 600 # Default: 60 UserTimeout = 60 # Defines file which runs when user gets access # Parameter: optional # Value: file path # Default: /etc/rscriptd/OnConnect ScriptOnConnect = /etc/rscriptd/OnConnect # Defines file which runs when user loses access # Parameter: optional # Value: file path # Default: /etc/rscriptd/OnDisconnect ScriptOnDisconnect = /etc/rscriptd/OnDisconnect ################################################################################ Щас привел конфиг в правильный вид, после переустановки. И повторно запускаю. root@IPTV:/etc/rscriptd# strace -f rscriptd /etc/rscriptd/rscriptd.conf execve("/usr/sbin/rscriptd", ["rscriptd", "/etc/rscriptd/rscriptd.conf"], 0x7ffc378fcf90 /* 25 vars */) = 0 brk(NULL) = 0x55e60000d000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=58230, ...}) = 0 mmap(NULL, 58230, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fc974482000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000b\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc974480000 mmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc97404b000 mprotect(0x7fc974065000, 2093056, PROT_NONE) = 0 mmap(0x7fc974264000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fc974264000 mmap(0x7fc974266000, 13440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc974266000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\304\10\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1594864, ...}) = 0 mmap(NULL, 3702848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc973cc2000 mprotect(0x7fc973e3b000, 2097152, PROT_NONE) = 0 mmap(0x7fc97403b000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x179000) = 0x7fc97403b000 mmap(0x7fc974047000, 12352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc974047000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300*\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=96616, ...}) = 0 mmap(NULL, 2192432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc973aaa000 mprotect(0x7fc973ac1000, 2093056, PROT_NONE) = 0 mmap(0x7fc973cc0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7fc973cc0000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0 mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc9736b9000 mprotect(0x7fc9738a0000, 2097152, PROT_NONE) = 0 mmap(0x7fc973aa0000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7fc973aa0000 mmap(0x7fc973aa6000, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fc973aa6000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\272\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1700792, ...}) = 0 mmap(NULL, 3789144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fc97331b000 mprotect(0x7fc9734b8000, 2093056, PROT_NONE) = 0 mmap(0x7fc9736b7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19c000) = 0x7fc9736b7000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc97447e000 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fc97447b000 arch_prctl(ARCH_SET_FS, 0x7fc97447b740) = 0 mprotect(0x7fc973aa0000, 16384, PROT_READ) = 0 mprotect(0x7fc9736b7000, 4096, PROT_READ) = 0 mprotect(0x7fc973cc0000, 4096, PROT_READ) = 0 mprotect(0x7fc97403b000, 40960, PROT_READ) = 0 mprotect(0x7fc974264000, 4096, PROT_READ) = 0 mprotect(0x55e5ffe04000, 4096, PROT_READ) = 0 mprotect(0x7fc974491000, 4096, PROT_READ) = 0 munmap(0x7fc974482000, 58230) = 0 set_tid_address(0x7fc97447ba10) = 8455 set_robust_list(0x7fc97447ba20, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7fc974050cb0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fc97405d890}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7fc974050d50, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fc97405d890}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 brk(NULL) = 0x55e60000d000 brk(0x55e60002e000) = 0x55e60002e000 getuid() = 0 futex(0x7fc97404809c, FUTEX_WAKE_PRIVATE, 2147483647) = 0 futex(0x7fc9740480a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 openat(AT_FDCWD, "/etc/rscriptd/rscriptd.conf", O_RDONLY) = 3 read(3, "################################"..., 8191) = 2044 read(3, "", 8191) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc97447ba10) = 8456 strace: Process 8456 attached [pid 8455] exit_group(1) = ? [pid 8456] set_robust_list(0x7fc97447ba20, 24) = 0 [pid 8456] close(1) = 0 [pid 8455] +++ exited with 1 +++ close(2) = 0 setsid() = 8456 openat(AT_FDCWD, "/var/run/rscriptd.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 1 getpid() = 8456 write(1, "8456\n", 5) = 5 close(1) = 0 openat(AT_FDCWD, "/var/log/rscriptd.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 1 lseek(1, 0, SEEK_END) = 2256 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 2 fstat(2, {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 fstat(2, {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 read(2, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0\0\0\0"..., 4096) = 2097 lseek(2, -1310, SEEK_CUR) = 787 read(2, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0\0\0\0"..., 4096) = 1310 close(2) = 0 fstat(1, {st_mode=S_IFREG|0644, st_size=2256, ...}) = 0 write(1, "2020-01-08 17:39:26 -- rscriptd "..., 41) = 41 close(1) = 0 msgget(0x15b3, IPC_CREAT|IPC_EXCL|0600) = -1 EEXIST (File exists) msgget(0x15b3, 000) = 655360 msgctl(655360, IPC_RMID, NULL) = 0 msgget(0x15b3, IPC_CREAT|IPC_EXCL|0600) = 688128 openat(AT_FDCWD, "/var/log/rscriptd.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 1 lseek(1, 0, SEEK_END) = 2297 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 fstat(1, {st_mode=S_IFREG|0644, st_size=2297, ...}) = 0 write(1, "2020-01-08 17:39:26 -- Message q"..., 84) = 84 close(1) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc97447ba10) = 8457 strace: Process 8457 attached [pid 8457] set_robust_list(0x7fc97447ba20, 24 <unfinished ...> [pid 8456] clone( <unfinished ...> [pid 8457] <... set_robust_list resumed> ) = 0 [pid 8457] rt_sigaction(SIGTERM, {sa_handler=SIG_IGN, sa_mask=[TERM], sa_flags=SA_RESTORER, sa_restorer=0x7fc97405d890}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8457] rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[INT], sa_flags=SA_RESTORER, sa_restorer=0x7fc97405d890}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8457] rt_sigaction(SIGHUP, {sa_handler=SIG_IGN, sa_mask=[HUP], sa_flags=SA_RESTORER, sa_restorer=0x7fc97405d890}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8456] <... clone resumed> child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc97447ba10) = 8458 [pid 8457] rt_sigaction(SIGUSR1, {sa_handler=0x55e5ffbf4504, sa_mask=[USR1], sa_flags=SA_RESTORER, sa_restorer=0x7fc97405d890}, strace: Process 8458 attached <unfinished ...> [pid 8458] set_robust_list(0x7fc97447ba20, 24) = 0 [pid 8458] rt_sigaction(SIGTERM, {sa_handler=SIG_IGN, sa_mask=[TERM], sa_flags=SA_RESTORER, sa_restorer=0x7fc97405d890}, <unfinished ...> [pid 8457] <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8458] <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8457] msgrcv(688128, <unfinished ...> [pid 8458] rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[INT], sa_flags=SA_RESTORER, sa_restorer=0x7fc97405d890}, <unfinished ...> [pid 8456] socket(AF_INET, SOCK_DGRAM, IPPROTO_IP <unfinished ...> [pid 8458] <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8458] rt_sigaction(SIGHUP, {sa_handler=SIG_IGN, sa_mask=[HUP], sa_flags=SA_RESTORER, sa_restorer=0x7fc97405d890}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8456] <... socket resumed> ) = 1 [pid 8458] rt_sigaction(SIGUSR1, {sa_handler=0x55e5ffbf4504, sa_mask=[USR1], sa_flags=SA_RESTORER, sa_restorer=0x7fc97405d890}, <unfinished ...> [pid 8456] bind(1, {sa_family=AF_INET, sin_port=htons(9999), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...> [pid 8458] <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8456] <... bind resumed> ) = -1 EADDRINUSE (Address already in use) [pid 8458] msgrcv(688128, <unfinished ...> [pid 8456] openat(AT_FDCWD, "/var/log/rscriptd.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 2 [pid 8456] lseek(2, 0, SEEK_END) = 2381 [pid 8456] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 [pid 8456] fstat(2, {st_mode=S_IFREG|0644, st_size=2381, ...}) = 0 [pid 8456] write(2, "2020-01-08 17:39:26 -- rscriptd "..., 54) = 54 [pid 8456] close(2) = 0 [pid 8456] openat(AT_FDCWD, "/var/log/rscriptd.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 2 [pid 8456] lseek(2, 0, SEEK_END) = 2435 [pid 8456] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 [pid 8456] fstat(2, {st_mode=S_IFREG|0644, st_size=2435, ...}) = 0 [pid 8456] write(2, "2020-01-08 17:39:26 -- +++++++++"..., 69) = 69 [pid 8456] close(2) = 0 [pid 8456] rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], NULL, 8) = 0 [pid 8456] rt_sigtimedwait(~[RTMIN RT_1], root@IPTV:~# ps ax | grep stg 8457 ? S 0:00 stg-exec /etc/rscriptd/rscriptd.conf 8458 ? S 0:00 stg-exec /etc/rscriptd/rscriptd.conf 8556 pts/6 S+ 0:00 grep --color=auto stg
  12. Небесный

    3шт. NAS паралельно от rscriptd

    В конце после запитой никаких дальше действий! root@IPTV:/home/stg-2.409-rc2/projects/rscriptd# strace -f rscriptd /etc/rscriptd/rscriptd.conf execve("/usr/sbin/rscriptd", ["rscriptd", "/etc/rscriptd/rscriptd.conf"], 0x7ffc05933650 /* 25 vars */) = 0 brk(NULL) = 0x55a559070000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=58230, ...}) = 0 mmap(NULL, 58230, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f15f97ea000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000b\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=144976, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f15f97e8000 mmap(NULL, 2221184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f15f93b3000 mprotect(0x7f15f93cd000, 2093056, PROT_NONE) = 0 mmap(0x7f15f95cc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7f15f95cc000 mmap(0x7f15f95ce000, 13440, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f15f95ce000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\304\10\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1594864, ...}) = 0 mmap(NULL, 3702848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f15f902a000 mprotect(0x7f15f91a3000, 2097152, PROT_NONE) = 0 mmap(0x7f15f93a3000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x179000) = 0x7f15f93a3000 mmap(0x7f15f93af000, 12352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f15f93af000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300*\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=96616, ...}) = 0 mmap(NULL, 2192432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f15f8e12000 mprotect(0x7f15f8e29000, 2093056, PROT_NONE) = 0 mmap(0x7f15f9028000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7f15f9028000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\34\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=2030544, ...}) = 0 mmap(NULL, 4131552, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f15f8a21000 mprotect(0x7f15f8c08000, 2097152, PROT_NONE) = 0 mmap(0x7f15f8e08000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e7000) = 0x7f15f8e08000 mmap(0x7f15f8e0e000, 15072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f15f8e0e000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\272\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1700792, ...}) = 0 mmap(NULL, 3789144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f15f8683000 mprotect(0x7f15f8820000, 2093056, PROT_NONE) = 0 mmap(0x7f15f8a1f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19c000) = 0x7f15f8a1f000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f15f97e6000 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f15f97e3000 arch_prctl(ARCH_SET_FS, 0x7f15f97e3740) = 0 mprotect(0x7f15f8e08000, 16384, PROT_READ) = 0 mprotect(0x7f15f8a1f000, 4096, PROT_READ) = 0 mprotect(0x7f15f9028000, 4096, PROT_READ) = 0 mprotect(0x7f15f93a3000, 40960, PROT_READ) = 0 mprotect(0x7f15f95cc000, 4096, PROT_READ) = 0 mprotect(0x55a557359000, 4096, PROT_READ) = 0 mprotect(0x7f15f97f9000, 4096, PROT_READ) = 0 munmap(0x7f15f97ea000, 58230) = 0 set_tid_address(0x7f15f97e3a10) = 8140 set_robust_list(0x7f15f97e3a20, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f15f93b8cb0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f15f93c5890}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f15f93b8d50, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f15f93c5890}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 brk(NULL) = 0x55a559070000 brk(0x55a559091000) = 0x55a559091000 getuid() = 0 futex(0x7f15f93b009c, FUTEX_WAKE_PRIVATE, 2147483647) = 0 futex(0x7f15f93b00a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 openat(AT_FDCWD, "/etc/rscriptd/rscriptd.conf", O_RDONLY) = 3 read(3, "################################"..., 8191) = 2044 read(3, "", 8191) = 0 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f15f97e3a10) = 8141 strace: Process 8141 attached [pid 8141] set_robust_list(0x7f15f97e3a20, 24) = 0 [pid 8141] close(1) = 0 [pid 8140] exit_group(1 <unfinished ...> [pid 8141] close(2) = 0 [pid 8141] setsid( <unfinished ...> [pid 8140] <... exit_group resumed>) = ? [pid 8141] <... setsid resumed> ) = 8141 [pid 8140] +++ exited with 1 +++ openat(AT_FDCWD, "/var/run/rscriptd.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 1 getpid() = 8141 write(1, "8141\n", 5) = 5 close(1) = 0 openat(AT_FDCWD, "/var/log/rscriptd.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 1 lseek(1, 0, SEEK_END) = 1640 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 2 fstat(2, {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 fstat(2, {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 read(2, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0\0\0\0"..., 4096) = 2097 lseek(2, -1310, SEEK_CUR) = 787 read(2, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0\0\0\0"..., 4096) = 1310 close(2) = 0 fstat(1, {st_mode=S_IFREG|0644, st_size=1640, ...}) = 0 write(1, "2020-01-08 16:58:10 -- rscriptd "..., 41) = 41 close(1) = 0 msgget(0x15b3, IPC_CREAT|IPC_EXCL|0600) = -1 EEXIST (File exists) msgget(0x15b3, 000) = 589824 msgctl(589824, IPC_RMID, NULL) = 0 msgget(0x15b3, IPC_CREAT|IPC_EXCL|0600) = 622592 openat(AT_FDCWD, "/var/log/rscriptd.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 1 lseek(1, 0, SEEK_END) = 1681 stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 fstat(1, {st_mode=S_IFREG|0644, st_size=1681, ...}) = 0 write(1, "2020-01-08 16:58:10 -- Message q"..., 84) = 84 close(1) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f15f97e3a10) = 8142 strace: Process 8142 attached [pid 8142] set_robust_list(0x7f15f97e3a20, 24) = 0 [pid 8142] rt_sigaction(SIGTERM, {sa_handler=SIG_IGN, sa_mask=[TERM], sa_flags=SA_RESTORER, sa_restorer=0x7f15f93c5890}, <unfinished ...> [pid 8141] socket(AF_INET, SOCK_DGRAM, IPPROTO_IP <unfinished ...> [pid 8142] <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8142] rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[INT], sa_flags=SA_RESTORER, sa_restorer=0x7f15f93c5890}, <unfinished ...> [pid 8141] <... socket resumed> ) = 1 [pid 8141] bind(1, {sa_family=AF_INET, sin_port=htons(9999), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...> [pid 8142] <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8141] <... bind resumed> ) = -1 EADDRINUSE (Address already in use) [pid 8141] openat(AT_FDCWD, "/var/log/rscriptd.log", O_WRONLY|O_CREAT|O_APPEND, 0666 <unfinished ...> [pid 8142] rt_sigaction(SIGHUP, {sa_handler=SIG_IGN, sa_mask=[HUP], sa_flags=SA_RESTORER, sa_restorer=0x7f15f93c5890}, <unfinished ...> [pid 8141] <... openat resumed> ) = 2 [pid 8142] <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8141] lseek(2, 0, SEEK_END) = 1765 [pid 8141] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 [pid 8142] rt_sigaction(SIGUSR1, {sa_handler=0x55a557149504, sa_mask=[USR1], sa_flags=SA_RESTORER, sa_restorer=0x7f15f93c5890}, <unfinished ...> [pid 8141] fstat(2, {st_mode=S_IFREG|0644, st_size=1765, ...}) = 0 [pid 8142] <... rt_sigaction resumed> {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0 [pid 8141] write(2, "2020-01-08 16:58:10 -- rscriptd "..., 54) = 54 [pid 8141] close(2) = 0 [pid 8142] msgrcv(622592, <unfinished ...> [pid 8141] openat(AT_FDCWD, "/var/log/rscriptd.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 2 [pid 8141] lseek(2, 0, SEEK_END) = 1819 [pid 8141] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2097, ...}) = 0 [pid 8141] fstat(2, {st_mode=S_IFREG|0644, st_size=1819, ...}) = 0 [pid 8141] write(2, "2020-01-08 16:58:10 -- +++++++++"..., 69) = 69 [pid 8141] close(2) = 0 [pid 8141] rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], NULL, 8) = 0 [pid 8141] rt_sigtimedwait(~[RTMIN RT_1],
  13. Небесный

    3шт. NAS паралельно от rscriptd

    Опреционными системами. На Первом стоит FreeBSD, так как на нем более удобно делать нарезку по скоростям юзерам. root@NAS1:/var/log# freebsd-version -k 11.0-STABLE На другом НАСе Ubuntu root@:/etc/rscriptd# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic Сам процесс установки: root@IPTV:/home/stg-2.409-rc2/projects/rscriptd# ./build ############################################################################# Building rscriptd for Linux 4.15.0-55-generic ############################################################################# Checking CC... found Checking CXX... found Checking endianess... Little Endian Checking for iconv 2nd argument... non-const make -C /home/stg-2.409-rc2/projects/rscriptd/../../stglibs make[1]: Entering directory '/home/stg-2.409-rc2/stglibs' for LIB in logger.lib crypto.lib common.lib scriptexecuter.lib conffiles.lib ; do\ make -C $LIB;\ done make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/logger.lib' g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c logger.cpp ar rc libstglogger.a logger.o ranlib libstglogger.a make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/logger.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/crypto.lib' gcc -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c ag_md5.c gcc -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c blowfish.c g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c bfstream.cpp ar rc libstgcrypto.a ag_md5.o blowfish.o bfstream.o ranlib libstgcrypto.a make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/crypto.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/common.lib' g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c common.cpp common.cpp: In function ‘const char* IntToKMG(int64_t, int)’: common.cpp:240:31: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int64_t {aka long int}’ [-Wformat=] sprintf(str, "%lld", a); ^ g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c strptime.cpp ar rc libstgcommon.a common.o strptime.o ranlib libstgcommon.a make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/common.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/scriptexecuter.lib' gcc -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c scriptexecuter.c ar rc libstgscriptexecuter.a scriptexecuter.o ranlib libstgscriptexecuter.a make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/scriptexecuter.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/conffiles.lib' g++ -I/usr/local/include -DARCH_LE -fPIC -I ../../include -I . -I ./include -DNDEBUG -DLINUX -DSTG_TIME -c conffiles.cpp ar rc libstgconffiles.a conffiles.o ranlib libstgconffiles.a make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/conffiles.lib' make[1]: Leaving directory '/home/stg-2.409-rc2/stglibs' make -C /home/stg-2.409-rc2/projects/rscriptd/../../stglibs make[1]: Entering directory '/home/stg-2.409-rc2/stglibs' for LIB in logger.lib crypto.lib common.lib scriptexecuter.lib conffiles.lib ; do\ make -C $LIB;\ done make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/logger.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/logger.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/crypto.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/crypto.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/common.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/common.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/scriptexecuter.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/scriptexecuter.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/conffiles.lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/conffiles.lib' make[1]: Leaving directory '/home/stg-2.409-rc2/stglibs' root@IPTV:/home/stg-2.409-rc2/projects/rscriptd# make install mkdir -m 0755 -p //usr/sbin install -m 0755 -o root -s rscriptd //usr/sbin/rscriptd make -C /home/stg-2.409-rc2/projects/rscriptd/../../stglibs install make[1]: Entering directory '/home/stg-2.409-rc2/stglibs' for LIB in logger.lib crypto.lib common.lib scriptexecuter.lib conffiles.lib ; do\ make install -C $LIB;\ done make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/logger.lib' mkdir -m 0755 -p //usr/lib/stg install -m 0755 -o root -s libstglogger.a //usr/lib/stg/libstglogger.a mkdir -m 0755 -p //usr/include/stg install -m 0644 -o root include/stg/logger.h //usr/include/stg/ make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/logger.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/crypto.lib' mkdir -m 0755 -p //usr/lib/stg install -m 0755 -o root -s libstgcrypto.a //usr/lib/stg/libstgcrypto.a mkdir -m 0755 -p //usr/include/stg install -m 0644 -o root include/stg/ag_md5.h include/stg/blowfish.h include/stg/bfstream.h //usr/include/stg/ make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/crypto.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/common.lib' mkdir -m 0755 -p //usr/lib/stg install -m 0755 -o root -s libstgcommon.a //usr/lib/stg/libstgcommon.a mkdir -m 0755 -p //usr/include/stg install -m 0644 -o root include/stg/common.h //usr/include/stg/ make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/common.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/scriptexecuter.lib' mkdir -m 0755 -p //usr/lib/stg install -m 0755 -o root -s libstgscriptexecuter.a //usr/lib/stg/libstgscriptexecuter.a mkdir -m 0755 -p //usr/include/stg install -m 0644 -o root include/stg/scriptexecuter.h //usr/include/stg/ make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/scriptexecuter.lib' make[2]: Entering directory '/home/stg-2.409-rc2/stglibs/conffiles.lib' mkdir -m 0755 -p //usr/lib/stg install -m 0755 -o root -s libstgconffiles.a //usr/lib/stg/libstgconffiles.a mkdir -m 0755 -p //usr/include/stg install -m 0644 -o root include/stg/conffiles.h //usr/include/stg/ make[2]: Leaving directory '/home/stg-2.409-rc2/stglibs/conffiles.lib' make[1]: Leaving directory '/home/stg-2.409-rc2/stglibs' # Install etc mkdir -m 0755 -p //etc/rscriptd install -m 0644 -o root ./rscriptd.conf //etc/rscriptd/rscriptd.conf mkdir -m 0755 -p //etc/rscriptd install -m 0755 -o root ../stargazer/inst/linux/etc/stargazer/OnConnect //etc/rscriptd/ install -m 0755 -o root ../stargazer/inst/linux/etc/stargazer/OnDisconnect //etc/rscriptd/
  14. Небесный

    3шт. NAS паралельно от rscriptd

    Первый НАС успешно работает уже несколько лет. 2019-09-05 10:18:14 -- +++++++++++++++++++++++++++++++++++++++++++++ 2019-09-05 15:58:29 -- rscriptd v. 2.409 2019-09-05 15:58:29 -- Message queue created successfully. msgKey=5555 msgID=65536 2019-09-05 15:58:29 -- rscriptd started successfully. 2019-09-05 15:58:29 -- +++++++++++++++++++++++++++++++++++++++++++++ 2019-09-05 15:58:29 -- +++++++++++++++++++++++++++++++++++++++++++++ 2019-09-05 15:58:29 -- Messages in queue: 1 2019-10-18 18:16:27 -- rscriptd v. 2.409 2019-10-18 18:16:27 -- Message queue created successfully. msgKey=5555 msgID=65536 2019-10-18 18:16:27 -- rscriptd started successfully. 2019-10-18 18:16:27 -- +++++++++++++++++++++++++++++++++++++++++++++ 2019-11-26 09:27:47 -- rscriptd v. 2.409 2019-11-26 09:27:47 -- Message queue created successfully. msgKey=5555 msgID=65536 2019-11-26 09:27:47 -- rscriptd started successfully. 2019-11-26 09:27:47 -- +++++++++++++++++++++++++++++++++++++++++++++ 2019-11-26 09:50:46 -- rscriptd v. 2.409 2019-11-26 09:50:46 -- Message queue created successfully. msgKey=5555 msgID=65536 2019-11-26 09:50:46 -- rscriptd started successfully. 2019-11-26 09:50:46 -- +++++++++++++++++++++++++++++++++++++++++++++ 2019-11-26 09:50:46 -- +++++++++++++++++++++++++++++++++++++++++++++ 2019-11-26 09:50:46 -- Messages in queue: 0 2019-11-26 09:50:46 -- Queue removed successfully. 2019-11-26 09:50:46 -- rscriptd stopped successfully. 2019-11-26 09:50:46 -- --------------------------------------------- 2019-11-26 11:49:49 -- rscriptd v. 2.409 2019-11-26 11:49:49 -- Message queue created successfully. msgKey=5555 msgID=65536 2019-11-26 11:49:49 -- rscriptd started successfully. 2019-11-26 11:49:49 -- +++++++++++++++++++++++++++++++++++++++++++++ А, это пришла нужда добавить еще парочку НАСов для внутренних сервисов и чтобы им можно было управлять с головного. Добавил второй НАС, а он не работает, как-то так.
  15. Небесный

    3шт. NAS паралельно от rscriptd

    Нет, только на одном, который прописан вторым НАС в remote_nas.conf 192.168.0.0/24 10.10.100.150 10.10.100.100 На 10.10.100.150 - работает все отменно, а вот на втором 10.10.100.100 - вылетает игнор.
×