OTRS 6.0.6: Вопрос по работе демона.

Обсуждение вопросов и решений

Модератор: ykolesnikov

Ответить
Игорь Степаненко 2
OTRS Новобранец
Сообщения: 4
Зарегистрирован: 14 май 2015, 07:19

OTRS 6.0.6: Вопрос по работе демона.

Сообщение Игорь Степаненко 2 » 03 апр 2018, 10:18

Здравствуйте.

Установил OTRS 6.0.6 на CentOS 7-1708 по официальной инструкции http://doc.otrs.com/doc/manual/admin/st ... -on-centos. Настроил запуск демона. Демон стартует. Консольная команда отображает, что демон запущен. Интерфейс OTRS сообщает о том, что службу (демон) не запущена. В чём может быть причина?

Лог команды проверки статуса демона:

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

bash-4.2$ /opt/otrs/bin/otrs.Daemon.pl status

Manage the OTRS daemon process.

Can't locate Kernel/Config/Files/ZZZAAuto.pm in @INC (@INC contains: /opt/otrs/Custom /opt/otrs/Kernel/cpan-lib /opt/otrs /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/otrs/Kernel/Config/Defaults.pm line 1961.
Daemon running

POS_troi
OTRS Новобранец
Сообщения: 15
Зарегистрирован: 07 мар 2018, 15:36

Re: OTRS 6.0.6: Вопрос по работе демона.

Сообщение POS_troi » 03 апр 2018, 15:06

Покажите:

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

ls -la /opt/otrs/Kernel/Config/Files

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

sestatus
Сделайте:

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

### Rebuild Configuration
su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild" > /dev/null 2>&1

### Delete Cache
su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete" > /dev/null 2>&1

### Start OTRS
su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Daemon.pl start" > /dev/null 2>&1
OTRS 6.0.6
OS: CentOS7 + Docker

Игорь Степаненко 2
OTRS Новобранец
Сообщения: 4
Зарегистрирован: 14 май 2015, 07:19

Re: OTRS 6.0.6: Вопрос по работе демона.

Сообщение Игорь Степаненко 2 » 04 апр 2018, 06:44

POS_troi писал(а):ls -la /opt/otrs/Kernel/Config/Files

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

drwxrwsr-x. 3 otrs apache     36 апр  4 08:36 .
drwxrwsr-x. 3 otrs apache     38 мар 21 15:43 ..
drwxrwsr-x. 2 otrs apache    165 мар 21 15:43 XML
-rw-rw----  1 apache apache 295775 апр  4 08:57 ZZZAAuto.pm

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

-rw-rw----  1 apache apache 295775 апр  4 08:57 ZZZAAuto.pm
Апач устанавливает сам.

POS_troi писал(а):sestatus

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

SELinux status:                 disabled
POS_troi писал(а):Покажите:

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

ls -la /opt/otrs/Kernel/Config/Files

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

sestatus
Сделайте:

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

### Rebuild Configuration
su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild" > /dev/null 2>&1

### Delete Cache
su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete" > /dev/null 2>&1

### Start OTRS
su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Daemon.pl start" > /dev/null 2>&1

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

[root@otrs otrs]# su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Console.pl Maint::Config::Rebuild" > /dev/null 2>&1
[root@otrs otrs]# su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete" > /dev/null 2>&1
[root@otrs otrs]# su -s /bin/sh otrs -c "/opt/otrs/bin/otrs.Daemon.pl start" > /dev/null 2>&1

Ответить