Solved How do I reboot 3CX linux server?

Status
Not open for further replies.

William Hall

Customer
Joined
Apr 8, 2018
Messages
34
Reaction score
1
I can't see anything on the GUI and if I login via SSH the commands "reboot" and "shutdown" are not recognised.
 
Hello @William Hall

Please note that you can only restart the PBX services from the management console not the entire operating system. You will need SSH access to the machine the PBX is installed on to be able to reboot it.
 
Thanks
As I said I have ssh access. If I say "shutdown -r now" I get "-bash: shutdown: command not found"
I login as "admin"
 
log in as root, then just issue the command
Code:
reboot
 
"Admin" is not the same as "root". It is not recommended to login as root. Ever. Always use sudo to run commands with elevated privileges.

If you have ssh access, the do the following:

Code:
sudo reboot

or

Code:
sudo shutdown -r now

The first is a more modern way to do it. The second is a more granular, older way to do it.

Both accomplish the same thing.
 
  • Like
Reactions: Shadragon
Thanks. "sudo reboot" works
 
Marari is correct. Always use sudo to elevate admin (or whatever Linux account you need.)
 
  • Like
Reactions: Marari
Status
Not open for further replies.

Forum statistics

Threads
112,308
Messages
591,803
Members
165,444
Latest member
Bluebox Global