Не работают циклы

Проблемы/вопросы, связанные с запуском под различными платформами и конфигурациями.

Модератор: immortal

Ответить
XeonStaf
Сообщения: 4
Зарегистрирован: Сб фев 11, 2017 4:35 pm
Благодарил (а): 4 раза
Поблагодарили: 0

Не работают циклы

Сообщение XeonStaf » Сб фев 11, 2017 4:39 pm

MD запускается с такой ошибкой. Зайти в веб-интерфейс могу, но циклы не работают

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


C:\_majordomo_1>set MIBDIRS=C:\_majordomo\server\php\Extras\mibs

C:\_majordomo_1>rem Timesync on startup

C:\_majordomo_1>rem start .\apps\neutron\neutron.exe

C:\_majordomo_1>rem Web-server start

C:\_majordomo_1>start server2go.exe

C:\_majordomo_1>rem USB devices monitor start

C:\_majordomo_1>rem start .\apps\usbdeview\USBDeview.exe

C:\_majordomo_1>rem Battery run monitor start

C:\_majordomo_1>rem start .\apps\batteryrun\batteryrun.exe "C:\_majordomo\htdocs
\obj.bat ThisComputer.powerConnected" "C:\_majordomo\htdocs\obj.bat ThisComputer
.powerDisconnected"

C:\_majordomo_1>rem Main system cycle start

C:\_majordomo_1>rem Database auto repair

C:\_majordomo_1>.\server\mysql\bin\mysqlcheck.exe -u root --auto-repair --check
--optimize --all-databases
db_terminal.admin_users                            Table is already up to date
db_terminal.app_quotes                             Table is already up to date
db_terminal.blockly_code                           Table is already up to date
db_terminal.cached_values
note     : The storage engine for the table doesn't support optimize
db_terminal.calendar_categories                    Table is already up to date
db_terminal.calendar_events                        Table is already up to date
db_terminal.charts                                 Table is already up to date
db_terminal.charts_data                            Table is already up to date
db_terminal.classes                                Table is already up to date
db_terminal.collections                            Table is already up to date
db_terminal.commands                               OK
db_terminal.country                                Table is already up to date
db_terminal.devices                                Table is already up to date
db_terminal.devices_linked                         Table is already up to date
db_terminal.elements                               Table is already up to date
db_terminal.elm_states                             Table is already up to date
db_terminal.events                                 Table is already up to date
db_terminal.gpsactions                             Table is already up to date
db_terminal.gpsdevices                             Table is already up to date
db_terminal.gpslocations                           Table is already up to date
db_terminal.gpslog                                 Table is already up to date
db_terminal.history                                Table is already up to date
db_terminal.ignore_updates                         Table is already up to date
db_terminal.jobs                                   Table is already up to date
db_terminal.layouts                                Table is already up to date
db_terminal.locations                              Table is already up to date
db_terminal.log4php_log                            Table is already up to date
db_terminal.media_favorites                        Table is already up to date
db_terminal.media_history                          Table is already up to date
db_terminal.methods                                OK
db_terminal.myblocks                               Table is already up to date
db_terminal.myblocks_categories                    Table is already up to date
db_terminal.newsletter                             Table is already up to date
db_terminal.objects                                Table is already up to date
db_terminal.openweather_city                       Table is already up to date
db_terminal.optimizerdata                          Table is already up to date
db_terminal.patterns                               Table is already up to date
db_terminal.performance_log                        Table is already up to date
db_terminal.phistory                               Table is already up to date
db_terminal.phistory_queue                         Table is already up to date
db_terminal.pinghosts                              Table is already up to date
db_terminal.plugins                                Table is already up to date
db_terminal.prod_categories                        Table is already up to date
db_terminal.product_categories                     Table is already up to date
db_terminal.product_codes                          Table is already up to date
db_terminal.product_log                            Table is already up to date
db_terminal.products                               Table is already up to date
db_terminal.project_modules                        Table is already up to date
db_terminal.properties                             Table is already up to date
db_terminal.public_calls                           Table is already up to date
db_terminal.pvalues                                OK
db_terminal.readit_channels                        Table is already up to date
db_terminal.readit_urls                            Table is already up to date
db_terminal.rss_channels                           Table is already up to date
db_terminal.rss_items                              Table is already up to date
db_terminal.safe_execs                             Table is already up to date
db_terminal.scenes                                 Table is already up to date
db_terminal.script_categories                      Table is already up to date
db_terminal.scripts                                Table is already up to date
db_terminal.security_rules                         Table is already up to date
db_terminal.settings                               Table is already up to date
db_terminal.shoplist                               Table is already up to date
db_terminal.shopping_list_items                    Table is already up to date
db_terminal.shoutrooms                             Table is already up to date
db_terminal.shouts                                 Table is already up to date
db_terminal.system_errors                          Table is already up to date
db_terminal.system_errors_data                     Table is already up to date
db_terminal.tdwiki                                 Table is already up to date
db_terminal.terminals                              Table is already up to date
db_terminal.usbdevices                             Table is already up to date
db_terminal.userlog                                Table is already up to date
db_terminal.users                                  Table is already up to date
db_terminal.webvars                                Table is already up to date
mysql.columns_priv                                 Table is already up to date
mysql.db                                           Table is already up to date
mysql.func                                         Table is already up to date
mysql.help_category                                Table is already up to date
mysql.help_keyword                                 Table is already up to date
mysql.help_relation                                Table is already up to date
mysql.help_topic                                   Table is already up to date
mysql.host                                         Table is already up to date
mysql.proc                                         Table is already up to date
mysql.procs_priv                                   Table is already up to date
mysql.tables_priv                                  Table is already up to date
mysql.time_zone                                    Table is already up to date
mysql.time_zone_leap_second                        Table is already up to date
mysql.time_zone_name                               Table is already up to date
mysql.time_zone_transition                         Table is already up to date
mysql.time_zone_transition_type                    Table is already up to date
mysql.user                                         Table is already up to date
phpmyadmin.pma_bookmark                            Table is already up to date
phpmyadmin.pma_column_info                         Table is already up to date
phpmyadmin.pma_history                             Table is already up to date
phpmyadmin.pma_pdf_pages                           Table is already up to date
phpmyadmin.pma_relation                            Table is already up to date
phpmyadmin.pma_table_coords                        Table is already up to date
phpmyadmin.pma_table_info                          Table is already up to date
server2go.items                                    Table is already up to date

C:\_majordomo_1>cd .\htdocs

C:\_majordomo_1\htdocs>..\server\php\php.exe cycle.php
No log handling enabled - turning on stderr logging
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Connecting to database...
CONNECTED TO DB
Running startup maintenance
Checking modules.
Clearing the cache.
Starting ./scripts/cycle_connect.php ... OK
Starting ./scripts/cycle_execs.php ... Системе не удается найти указанный путь.
OK
Starting ./scripts/cycle_main.php ... Системе не удается найти указанный путь.
OK
Starting ./scripts/cycle_ping.php ... Системе не удается найти указанный путь.
OK
Starting ./scripts/cycle_rss.php ... Системе не удается найти указанный путь.
OK
Starting ./scripts/cycle_scheduler.php ... Системе не удается найти указанный пу
ть.
OK
Starting ./scripts/cycle_skype.php ... Системе не удается найти указанный путь.
OK
Starting ./scripts/cycle_states.php ... Системе не удается найти указанный путь.

OK
Starting ./scripts/cycle_websockets.php ... Системе не удается найти указанный п
уть.
OK
Starting ./scripts/cycle_webvars.php ... Системе не удается найти указанный путь
.
OK
Starting ./scripts/cycle_X101_skype.php ... OK
ALL CYCLES STARTED
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_con
nect.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle_c
onnect.php.txt
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_exe
cs.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle_exe
cs.php.txt
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_mai
n.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle_main
.php.txt
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_pin
g.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle_ping
.php.txt
Системе не удается найти указанный путь.
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_rss
.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle_rss.p
hp.txt
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_sch
eduler.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle
_scheduler.php.txt
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_sky
pe.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle_sky
pe.php.txt
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_sta
tes.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle_st
ates.php.txt
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_web
sockets.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycl
e_websockets.php.txt
20:33:53 Closing thread: c:/_majordomo/server/php/php.exe -q ./scripts/cycle_web
vars.php --params "a:0:{}">>C:\_majordomo_1\htdocs/debmes/log_2017-02-11-cycle_w
ebvars.php.txt

mrdenis
Сообщения: 31
Зарегистрирован: Чт мар 19, 2015 7:55 am
Благодарил (а): 6 раз
Поблагодарили: 1 раз

Re: Не работают циклы

Сообщение mrdenis » Вт мар 14, 2017 12:17 pm

Если вдруг еще актуально :)

У меня такая хрень была на линуксе из-за того что старт делал на сделав текущей папкой папку с MDMом.
добавил в стартовом скрипте:
cd [папка с MDM]
Ответить