Job for nginxb.service failed because the control process exited with error code

Все остальные вопросы
Ответить
lerion
Сообщения: 3
Зарегистрирован: Чт окт 26, 2023 11:03 pm

Job for nginxb.service failed because the control process exited with error code

Сообщение lerion » Чт окт 26, 2023 11:32 pm

Установка

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

sudo -i
wget -O install.sh http://core.brainycp.com/install.sh && bash ./install.sh --package=apache2.4,nginx,php74w,bindserver,memcached,imagemagick,certbot,iotop,atop,iftop,logrotate,git,MySql5.7,phpMyAdmin-4.9.4,exim,spamassassin,clamav,proftpd,csf
Processor information: Intel(R) Pentium(R) CPU N3710 @ 1.60GHz, 4 cores
Operating system: Ubuntu Linux 20.04.6
Kernel and CPU Linux: 5.4.0-165-generic on x86_64

Detected OS Version: Ubuntu 20.04
Detected Server Name: wdnas
Detected Server IP: 192.168.50.186
Detected Server RAM memory: 3857920 KB
Detected Server SWAP memory: 2097148 KB
Checking RAM size... PASS
Checking SWAP size... PASS
Checking type IP address... PASS
======= Setup " apache2.4,nginx,php74w,bindserver,memcached,imagemagick,certbot,iotop,atop,iftop,logrotate,git,MySql5.7,phpMyAdmin-4.9.4,exim,spamassassin,clamav,proftpd,csf" ========

System update checking, please wait...
[DONE] ###################(100%)

Disable SELINUX... [OK]

Update Sheduleer Cron Daemon... [OK]
Configure process download... [OK]
Update THP Memory... [OK]
Download version... [OK]

Install BrainyCP version 1.09 for Ubuntu (Released)

....

Starting Brainy SAPI... [OK]

Starting Brainy Web Server... Job for nginxb.service failed because the control process exited with error code.
See "systemctl status nginxb.service" and "journalctl -xe" for details.
[ERROR]

....

systemctl status nginxb.service
● nginxb.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginxb.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-10-26 23:27:33 UTC; 1min 18s ago
Process: 4621 ExecStartPre=/usr/bin/rm -f /run/nginxb.pid (code=exited, status=203/EXEC)
CPU: 3ms

Oct 26 23:27:33 wdnas systemd[1]: Starting The nginx HTTP and reverse proxy server...
Oct 26 23:27:33 wdnas systemd[4621]: nginxb.service: Failed to execute command: No such file or directory
Oct 26 23:27:33 wdnas systemd[4621]: nginxb.service: Failed at step EXEC spawning /usr/bin/rm: No such file or directory
Oct 26 23:27:33 wdnas systemd[1]: nginxb.service: Control process exited, code=exited, status=203/EXEC
Oct 26 23:27:33 wdnas systemd[1]: nginxb.service: Failed with result 'exit-code'.
Oct 26 23:27:33 wdnas systemd[1]: Failed to start The nginx HTTP and reverse proxy server.

....

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal
Последний раз редактировалось lerion Пт окт 27, 2023 12:06 am, всего редактировалось 2 раза.

lerion
Сообщения: 3
Зарегистрирован: Чт окт 26, 2023 11:03 pm

Re: Job for nginxb.service failed because the control process exited with error code

Сообщение lerion » Чт окт 26, 2023 11:33 pm

Подскажите как решить проблему

/usr/bin/rm отсутсвует, но есть /bin/rm

lerion
Сообщения: 3
Зарегистрирован: Чт окт 26, 2023 11:03 pm

Re: Job for nginxb.service failed because the control process exited with error code

Сообщение lerion » Пт окт 27, 2023 12:04 am

В общем сам разобрался. В файле
/usr/lib/systemd/system/nginxb.service
заменил на /bin/rm и выполнил команду

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

systemctl daemon-reload
перезапустил установку и всё установилось. После завершения установки надо повторно изменить файл

Появилась новая проблема: нельзя создать хост аккаунт Сервис brainy-socket.service не найден.

Разработчики, пофиксите это пожалуйста

Аватара пользователя
alenka
Сообщения: 2012
Зарегистрирован: Ср сен 27, 2017 11:10 am

Re: Job for nginxb.service failed because the control process exited with error code

Сообщение alenka » Пт окт 27, 2023 7:23 am

lerion писал(а):
Чт окт 26, 2023 11:33 pm
Подскажите как решить проблему

/usr/bin/rm отсутсвует, но есть /bin/rm
Используйте официальную сборку ос, а не урезанную.
Мы уже сталкивались с такой сборкой, у вас возникнут проблемы не только с
/usr/bin/rm отсутсвует, но есть /bin/rm

Ответить