Страница 1 из 2

и снова цыклы

Добавлено: Ср июл 27, 2016 5:19 pm
vitar78
Устанавливал можардомо на оранж пи пс образ armbian debain по инструкции http://majordomo.smartliving.ru/forum/v ... 652#p11972
всё прошло как по маслу, единственное ставил в директорию /var/www/
но циклы запустить так и не удалось
при запуске вручную в консоли пишет
SPOILERSPOILER_SHOW
Checking table [security_rules] ...OK
Checking table [settings] ...OK
Checking table [shoplist] ...OK
Checking table [shopping_list_items] ...OK
Checking table [shoutrooms] ...OK
Checking table [shouts] ...OK
Checking table [system_errors] ...OK
Checking table [system_errors_data] ...OK
Checking table [tdwiki] ...OK
Checking table [terminals] ...OK
Checking table [usbdevices] ...OK
Checking table [userlog] ...OK
Checking table [users] ...OK
Checking table [webvars] ...OK
Starting ./scripts/cycle_rss.php ... OK
Starting ./scripts/cycle_execs.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_scheduler.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_states.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_ping.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_main.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_websockets.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_skype.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_X101_skype.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_connect.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
Starting ./scripts/cycle_webvars.php ... sh: 1: c:/_majordomo/server/php/php.exe: not found
OK
ALL CYCLES STARTED
17:09:32 working thread: cycle_rss.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_rss.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_rss.php.txt
17:09:32 working thread: cycle_execs.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_execs.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_execs.php.txt
sh: 1: c:/_majordomo/server/php/php.exe: not found
17:09:32 working thread: cycle_scheduler.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_scheduler.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_scheduler.php.txt
17:09:32 working thread: cycle_states.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_states.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_states.php.txt
17:09:32 working thread: cycle_ping.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_ping.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_ping.php.txt
17:09:32 working thread: cycle_main.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_main.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_main.php.txt
17:09:32 working thread: cycle_websockets.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_websockets.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_websockets.php.txt
17:09:32 working thread: cycle_skype.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_skype.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_skype.php.txt
17:09:32 working thread: cycle_X101_skype.php
17:09:32 Closing thread: DISPLAY=:101 c:/_majordomo/server/php/php.exe ./scripts/cycle_X101_skype.php --params "a:0:{}"
17:09:32 working thread: cycle_connect.php
17:09:32 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_connect.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_connect.php.txt
RESTARTING: ./scripts/cycle_rss.php
RESTARTING: ./scripts/cycle_execs.php
sh: 1: c:/_majordomo/server/php/php.exe: not found
RESTARTING: ./scripts/cycle_scheduler.php
sh: 1: c:/_majordomo/server/php/php.exe: not found
RESTARTING: ./scripts/cycle_states.php
sh: 1: c:/_majordomo/server/php/php.exe: not found
RESTARTING: ./scripts/cycle_ping.php
sh: 1: c:/_majordomo/server/php/php.exe: not found
RESTARTING: ./scripts/cycle_main.php
sh: 1: c:/_majordomo/server/php/php.exe: not found
RESTARTING: ./scripts/cycle_websockets.php
sh: 1: c:/_majordomo/server/php/php.exe: not found
17:09:34 working thread: cycle_webvars.php
17:09:34 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_webvars.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_webvars.php.txt
17:09:34 working thread: cycle_rss.php
17:09:34 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_rss.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_rss.php.txt
sh: 1: c:/_majordomo/server/php/php.exe: not found
17:09:34 working thread: cycle_execs.php
17:09:34 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_execs.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_execs.php.txt
17:09:34 working thread: cycle_scheduler.php
17:09:34 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_scheduler.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_scheduler.php.txt
17:09:34 working thread: cycle_states.php
17:09:34 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_states.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_states.php.txt
17:09:34 working thread: cycle_ping.php
17:09:34 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_ping.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_ping.php.txt
17:09:34 working thread: cycle_main.php
17:09:34 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_main.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_main.php.txt
RESTARTING: ./scripts/cycle_webvars.php
17:09:35 working thread: cycle_websockets.php
17:09:35 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_websockets.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_websockets.php.txt
sh: 1: c:/_majordomo/server/php/php.exe: not found
17:09:36 working thread: cycle_webvars.php
17:09:36 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_webvars.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_webvars.php.txt
PHP Warning: unlink(./reboot): No such file or directory in /var/www/cycle.php on line 195
PHP Stack trace:
PHP 1. {main}() /var/www/cycle.php:0
PHP 2. unlink() /var/www/cycle.php:195
root@orangepipc:~# in /var/www/cycle.php on line 195
-bash: syntax error near unexpected token `in'
лог
SPOILERSPOILER_SHOW
15:26:17 ERROR [class.error]: http://192.168.0.6/
Error:
1054: Unknown column 'LATEST_ACTIVITY' in 'where clause'<br>UPDATE terminals SET IS_ONLINE=0 WHERE (NOW()-LATEST_ACTIVITY)>30*60 (at /var/www/html/lib/errors.class.php:48)
15:26:35 ERROR [class.error]: http://192.168.0.6/
Error:
1054: Unknown column 'LATEST_ACTIVITY' in 'where clause'<br>UPDATE terminals SET IS_ONLINE=0 WHERE (NOW()-LATEST_ACTIVITY)>30*60 (at /var/www/html/lib/errors.class.php:48)
15:26:45 ERROR [class.error]: http://192.168.0.6/
Error:
1054: Unknown column 'LATEST_ACTIVITY' in 'where clause'<br>UPDATE terminals SET IS_ONLINE=0 WHERE (NOW()-LATEST_ACTIVITY)>30*60 (at /var/www/html/lib/errors.class.php:48)
15:26:48 ERROR [class.error]: http://192.168.0.6/
Error:
1054: Unknown column 'LATEST_ACTIVITY' in 'where clause'<br>UPDATE terminals SET IS_ONLINE=0 WHERE (NOW()-LATEST_ACTIVITY)>30*60 (at /var/www/html/lib/errors.class.php:48)
15:26:49 ERROR [class.error]: http://192.168.0.6/
Error:
1054: Unknown column 'LATEST_ACTIVITY' in 'where clause'<br>UPDATE terminals SET IS_ONLINE=0 WHERE (NOW()-LATEST_ACTIVITY)>30*60 (at /var/www/html/lib/errors.class.php:48)
15:28:59 ERROR [class.error]: http://192.168.0.6/
Error:
1054: Unknown column 'LATEST_ACTIVITY' in 'where clause'<br>UPDATE terminals SET IS_ONLINE=0 WHERE (NOW()-LATEST_ACTIVITY)>30*60 (at /var/www/html/lib/errors.class.php:48)
15:29:01 ERROR [class.error]: http://192.168.0.6/
Error:
1054: Unknown column 'LATEST_ACTIVITY' in 'where clause'<br>UPDATE terminals SET IS_ONLINE=0 WHERE (NOW()-LATEST_ACTIVITY)>30*60 (at /var/www/html/lib/errors.class.php:48)
15:29:27 DEBUG [root]: Running maintenance script (at /var/www/html/lib/general.class.php:553)
15:29:32 DEBUG [root]: Backing up files... (at /var/www/html/lib/general.class.php:553)
15:29:32 DEBUG [root]: Removing cached file /var/www/html/cached/cookie.txt (at /var/www/html/lib/general.class.php:553)
15:29:32 DEBUG [root]: Removing cached file /var/www/html/cached/templates_c (at /var/www/html/lib/general.class.php:553)
15:29:32 DEBUG [root]: Removing cached file /var/www/html/cached/urls (at /var/www/html/lib/general.class.php:553)
15:29:32 DEBUG [root]: Removing cached file /var/www/html/cached/voice (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_rss.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_execs.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_scheduler.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_states.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_ping.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_main.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_websockets.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_skype.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_X101_skype.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_connect.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Starting ./scripts/cycle_webvars.php ... (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_rss.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_rss.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_execs.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_execs.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_scheduler.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_scheduler.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_states.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_states.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_ping.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_ping.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_main.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_main.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_websockets.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_websockets.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_skype.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_skype.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: DISPLAY=:101 c:/_majordomo/server/php/php.exe ./scripts/cycle_X101_skype.php --params "a:0:{}" (at /var/www/html/lib/general.class.php:553)
15:29:33 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_connect.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_connect.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:34 DEBUG [root]: RESTARTING: ./scripts/cycle_execs.php (at /var/www/html/lib/general.class.php:553)
15:29:34 DEBUG [root]: RESTARTING: ./scripts/cycle_scheduler.php (at /var/www/html/lib/general.class.php:553)
15:29:34 DEBUG [root]: RESTARTING: ./scripts/cycle_states.php (at /var/www/html/lib/general.class.php:553)
15:29:34 DEBUG [root]: RESTARTING: ./scripts/cycle_ping.php (at /var/www/html/lib/general.class.php:553)
15:29:35 DEBUG [root]: RESTARTING: ./scripts/cycle_main.php (at /var/www/html/lib/general.class.php:553)
15:29:35 DEBUG [root]: RESTARTING: ./scripts/cycle_websockets.php (at /var/www/html/lib/general.class.php:553)
15:29:35 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_webvars.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_webvars.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:35 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_execs.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_execs.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:35 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_scheduler.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_scheduler.php.txt (at /var/www/html/lib/general.class.php:553)
15:29:35 DEBUG [root]: Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_states.php --params "a:0:{}">>/var/www/html/debmes/log_2016-07-27-cycle_states.php.txt (at /var/www/html/lib/general.class.php:553)
[ Read 315 lines ]
подскажите как побороть

Re: и снова цыклы

Добавлено: Ср июл 27, 2016 5:28 pm
vitar78
попробовал запустить цыклы от пользователя su www-data
выдало This account is currently not available.

Re: и снова цыклы

Добавлено: Ср июл 27, 2016 9:52 pm
AirKing
так а почему у тебя версия сайта под виндовс

Re: и снова цыклы

Добавлено: Ср июл 27, 2016 10:42 pm
vitar78
вроде качал линукс ((( меня самого в логе это смутило, но я подумал может циклы одинаковые !!!
сейчас попробую перекачать

Re: и снова цыклы

Добавлено: Ср июл 27, 2016 10:49 pm
vitar78
проверил архив _majordomo_linux_110b.tar.gz
виндовых файлов нет

Re: и снова цыклы

Добавлено: Ср июл 27, 2016 11:00 pm
vitar78
почемуто залился вот этот файл 110b
хотя щас перекачал пришел архив 100b

сменил архив новые ошибки ((
SPOILERSPOILER_SHOW
Added 2016-07-27 22:52:37
22:52:37 DEBUG [root]: Running maintenance script (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Backing up files... (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/2015-12-03.log (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/log_2015-12-03-cycle_execs.php.txt (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/log_2015-12-03-cycle_main.php.txt (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/log_2015-12-03-cycle_ping.php.txt (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/log_2015-12-03-cycle_rss.php.txt (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/log_2015-12-03-cycle_scheduler.php.txt (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/log_2015-12-03-cycle_states.php.txt (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/log_2015-12-03-cycle_websockets.php.txt (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing log file /var/www/debmes/log_2015-12-03-cycle_webvars.php.txt (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing cached file /var/www/cached/urls (at /var/www/lib/general.class.php:547)
22:52:42 DEBUG [root]: Removing cached file /var/www/cached/voice (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_rss.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_execs.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_scheduler.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_states.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_ping.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_main.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_websockets.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_skype.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_X101_skype.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_connect.php ... (at /var/www/lib/general.class.php:547)
22:52:44 DEBUG [root]: Starting ./scripts/cycle_webvars.php ... (at /var/www/lib/general.class.php:547)
22:52:45 DEBUG [root]: Closing thread: php -q ./scripts/cycle_skype.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_skype.php.txt (at /var/www/lib/general.class.php:547)
22:52:46 DEBUG [root]: Closing thread: DISPLAY=:101 php ./scripts/cycle_X101_skype.php --params "a:0:{}" (at /var/www/lib/general.class.php:547)
22:52:46 DEBUG [root]: Closing thread: php -q ./scripts/cycle_connect.php --params "a:0:{}">>/var/www/debmes/log_2016-07-27-cycle_connect.php.txt (at /var/www/lib/general.class.php:547)

Re: и снова цыклы

Добавлено: Ср июл 27, 2016 11:25 pm
vitar78
всё запустил всё крутится и работает но только если запустить вручную /usr/bin/php /var/www/cycle.php
в кроне прописано @reboot www-data /usr/bin/php /srv/www/cycle.php
но после перезагрузки цыклы main цикл остановлен.. exec цикл остановлен.. scheduler цикл остановлен. Нет доступа в Интернет

Re: и снова цыклы

Добавлено: Чт июл 28, 2016 2:21 am
vitar78
всё равно осталась проблема пишет что нет доступа в интернет пользователю www-data права на пинг дал но толку ноль
лог
SPOILERSPOILER_SHOW
03:38:19 DEBUG [root]: Removing cached file /var/www/cached/voice (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_rss.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_rss.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_execs.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_execs.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_scheduler.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_scheduler.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_states.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_states.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_ping.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_ping.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_main.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_main.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_websockets.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_websockets.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_skype.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_skype.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_X101_skype.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_X101_skype.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_connect.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_connect.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_webvars.php ... (at /var/www/lib/general.class.php:553)
03:38:20 DEBUG [root]: Starting ./scripts/cycle_webvars.php ... (at /var/www/lib/general.class.php:553)
03:38:22 DEBUG [root]: Closing thread: php -q ./scripts/cycle_skype.php --params "a:0:{}">>/var/www/debmes/log_2016-07-28-cycle_skype.php.txt (at /var/www/lib/general.class.php:553)
03:38:22 DEBUG [root]: Closing thread: php -q ./scripts/cycle_skype.php --params "a:0:{}">>/var/www/debmes/log_2016-07-28-cycle_skype.php.txt (at /var/www/lib/general.class.php:553)
03:38:22 DEBUG [root]: Closing thread: php -q ./scripts/cycle_connect.php --params "a:0:{}">>/var/www/debmes/log_2016-07-28-cycle_connect.php.txt (at /var/www/lib/general.class.php:553)
03:38:23 DEBUG [root]: Closing thread: DISPLAY=:101 php ./scripts/cycle_X101_skype.php --params "a:0:{}" (at /var/www/lib/general.class.php:553)
03:38:23 DEBUG [root]: Closing thread: php -q ./scripts/cycle_connect.php --params "a:0:{}">>/var/www/debmes/log_2016-07-28-cycle_connect.php.txt (at /var/www/lib/general.class.php:553)
03:38:23 DEBUG [root]: Closing thread: php -q ./scripts/cycle_websockets.php --params "a:0:{}">>/var/www/debmes/log_2016-07-28-cycle_websockets.php.txt (at /var/www/lib/general.class.php:553)
03:38:23 DEBUG [root]: Closing thread: DISPLAY=:101 php ./scripts/cycle_X101_skype.php --params "a:0:{}" (at /var/www/lib/general.class.php:553)
03:38:24 DEBUG [root]: RESTARTING: ./scripts/cycle_websockets.php (at /var/www/lib/general.class.php:553)
03:38:25 DEBUG [root]: Closing thread: php -q ./scripts/cycle_websockets.php --params "a:0:{}">>/var/www/debmes/log_2016-07-28-cycle_websockets.php.txt (at /var/www/lib/general.class.php:553)
лог пинга
SPOILERSPOILER_SHOW
02:17:32 running cycle_ping.php
Checking tut.by
02:43:11 running cycle_ping.php
03:02:26 running cycle_ping.php
03:02:26 running cycle_ping.php
03:14:13 running cycle_ping.php
03:26:03 running cycle_ping.php
03:26:03 running cycle_ping.php
Checking tut.by
Checking
03:27:55 running cycle_ping.php
03:29:37 running cycle_ping.php
03:29:37 running cycle_ping.php
03:38:22 running cycle_ping.php
03:38:22 running cycle_ping.php
03:53:49 running cycle_ping.php
03:53:49 running cycle_ping.php
03:56:14 running cycle_ping.php
03:57:42 running cycle_ping.php

Re: и снова цыклы

Добавлено: Чт июл 28, 2016 10:32 am
Geban
Надоела мне беда с отваливающимся циклом. Так и не постиг я дзен настройки непадающего цикла, посему пользую вот такой костыль

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

#!/bin/bash
res=`pgrep screen`
if [ -n "$res" ];
then.
 echo "All Ok! Сycle is started!" > /var/log/mdm_watchdog.log
else
 screen -dmS majordomo php /var/www/cycle.php
 echo "Error.Cycle restarted" > /var/log/mdm_watchdog.log
fi
exit 0;

в крон сделал запись

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

0-59 * * * * ./opt/mdm.sh
Запускается каждую минуту и проверяет, запущен ли в скрин. если не то запускает

Re: и снова цыклы

Добавлено: Пт июл 29, 2016 5:08 pm
vitar78
после многоразовых установок и переустановок вроде запустил но как всегда цыклы нормально запускаются только из под рута, алиса заговорила только мужским голосом ((( как сменить.

Фестиваль пришлось устанавливать отдельно так как оказалось что его вообще в системе нет, в консоле было sh: 1: festival: not found

как это всё поправить