P
P
Peter2016-06-20 15:49:40
PHP
Peter, 2016-06-20 15:49:40

How to remotely reboot a PHP server with the Bitrix shell?

Hello
There is a server that hangs regularly. Until the problem with this is solved in terms of performance, I want to automate its reboot.
Please advise how to do this using php, given that when I connect via ssh, I don’t get into the file structure, as always, into some kind of Bitrix shell (screenshot)
c20b1faf67344a27819b6a1a8d27a6f3.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dmitry Entelis, 2016-06-20
@DmitriyEntelis

You are connecting to a virtual machine where this modified shell is spinning.
It is logical that you need to connect to the server where the virtual machine is running and restart the container from there.

S
Sergey Goryachev, 2016-06-21
@SergeGoryachev

You don't seem to have full rights either.
In the admin version there is an item Virtual server reboot

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question