Перейти к содержанию

Open Game Panel - Agent Offline


Перейти к решению Решено рамиль,

Рекомендуемые сообщения

  • Администратор

Столкнулся с проблемой на панели Open Game Panel, я постоянно получаю статус от сервера Agent Offline: image.png

Причем сам игровой сервер работает. На него можно зайти и играть.

image.png

20220906230544_1.jpg

Как исправить постоянно выключающегося агента, или хотя бы в каком направлении мне двигаться, что бы понять, почему это происходит?

Ссылка на комментарий
Поделиться на другие сайты
  • Администратор

На скрине Агента вижу следующий лог:

Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2911.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2913.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2928.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2928.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2911.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2913.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2920.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2920.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2911.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2913.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2928.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2928.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
print() on closed filehandle SERV_START_SCRIPT at /usr/share/ogp_agent/ogp_agent.pl line 566.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2911.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2913.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2920.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2920.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
Wed Sep  7 00:15:46 2022 Open Game Panel - Agent started - 2081df649b60d8e3f10b13156a9f5508b27cbaa7 - port 12679 - PID 18312
Can't fork: Cannot allocate memory at /usr/share/ogp_agent/Schedule/Cron.pm line 960.
Wed Sep  7 00:15:47 MSK 2022: Agent restart in 10 seconds
Use of uninitialized value $is_running in pattern match (m//) at /usr/share/ogp_agent/ogp_agent.pl line 742, <STARTFILE> line 1.
Use of uninitialized value $is_running in pattern match (m//) at /usr/share/ogp_agent/ogp_agent.pl line 742.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 792.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 794.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 797.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 797.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2911.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2913.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2928.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2928.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2911.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2913.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2920.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2920.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2911.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2913.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2928.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2928.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
print() on closed filehandle SERV_START_SCRIPT at /usr/share/ogp_agent/ogp_agent.pl line 566.
Use of uninitialized value $uid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2911.
Use of uninitialized value $gid in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2913.
Use of uninitialized value $uid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2920.
Use of uninitialized value $gid in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2920.
Use of uninitialized value $ret in scalar chomp at /usr/share/ogp_agent/ogp_agent.pl line 2877.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2879.
Use of uninitialized value $ret in concatenation (.) or string at /usr/share/ogp_agent/ogp_agent.pl line 2884.
Wed Sep  7 00:15:58 2022 Open Game Panel - Agent started - 2081df649b60d8e3f10b13156a9f5508b27cbaa7 - port 12679 - PID 18318
Can't fork: Cannot allocate memory at /usr/share/ogp_agent/Schedule/Cron.pm line 960.
Wed Sep  7 00:15:58 MSK 2022: Agent restart in 10 seconds

 

Ссылка на комментарий
Поделиться на другие сайты
  • Решение
Райан
post оценил Райан!

"Ценный совет!"

рамиль получил значок 'Обновленный классный значок' и 43 баллов.

42 минуты назад, Райан сказал:
Can't fork: Cannot allocate memory at /usr/share/ogp_agent/Schedule/Cron.pm line 960.
Wed Sep  7 00:15:58 MSK 2022: Agent restart in 10 seconds

Оперативной памяти не хватает.

Ссылка на комментарий
Поделиться на другие сайты
  • Администратор
8 минут назад, рамиль сказал:

Оперативной памяти не хватает.

Да, оказалось что для приемлемой работы сервера по Team Fortress 2 и агента от Open Game Panel на одной машине, требуется минимум 2Gb оперативной памяти.

Увеличил память. Пока работает все корректно. А там посмотрим. Спасибо за наводку.

Ссылка на комментарий
Поделиться на другие сайты
Гость
Эта тема закрыта для публикации ответов.
×
×
  • Создать...