Alex Gerch
Cadet
- Joined
- May 28, 2015
- Messages
- 4
Hi,
Can someone help me figure out how to shut down the FreeNAS host from within a Jail which is running CentOS linux (or any other distro).
The reason I am trying to shutdown FreeNAS from a Jail is because I need to install "CyberPower PowerPanel Business Edition Client" software on the FreeNAS server so that it can be remotely controlled/shutdown from the main "CyberPower PowerPanel Business Edition Agent" machine which is directly connected to the UPS with USB cable.
I had no success installing the "CyberPower PowerPanel Business Edition Client" on FreeNAS because the install has its own JRE packaged in it and this version of java is not compatible with FreeBSD...
So I created a Jail with CentOS distro, and was able to install the "CyberPower PowerPanel Business Edition client" there.
The problem is when I execute a shutdown command in the jail (connected via ssh) it seems to ignore it and no shutdown is happening for the jail and especially not the host FreeNAS.
I will be happy if I can get any one of the below options working:
1. Install the "CyberPower PowerPanel Business Edition client" in FreeNAS
2. Find a way to shutdown FreeNAS from a Jail
3. Find a way to shut FreeNAS remotely (when the other server is shutting down i will run a script initiate remote shutdown of FreeNAS)
Any suggestions will be greatly appreciated.
Can someone help me figure out how to shut down the FreeNAS host from within a Jail which is running CentOS linux (or any other distro).
The reason I am trying to shutdown FreeNAS from a Jail is because I need to install "CyberPower PowerPanel Business Edition Client" software on the FreeNAS server so that it can be remotely controlled/shutdown from the main "CyberPower PowerPanel Business Edition Agent" machine which is directly connected to the UPS with USB cable.
I had no success installing the "CyberPower PowerPanel Business Edition Client" on FreeNAS because the install has its own JRE packaged in it and this version of java is not compatible with FreeBSD...
So I created a Jail with CentOS distro, and was able to install the "CyberPower PowerPanel Business Edition client" there.
The problem is when I execute a shutdown command in the jail (connected via ssh) it seems to ignore it and no shutdown is happening for the jail and especially not the host FreeNAS.
I will be happy if I can get any one of the below options working:
1. Install the "CyberPower PowerPanel Business Edition client" in FreeNAS
2. Find a way to shutdown FreeNAS from a Jail
3. Find a way to shut FreeNAS remotely (when the other server is shutting down i will run a script initiate remote shutdown of FreeNAS)
Any suggestions will be greatly appreciated.