check_distribution_name is a function from /opt/drbl/sbin/drbl-functions. Is that file missing ?
Maybe something went wrong with your DRBL server. You can try to run "/opt/drbl/sbin/drblsrv -i" and "/opt/drbl/sbin/drblpush -i" again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I set Clonezilla and DRBL up on an entirely new computer from scratch and tried again, and this time, it didn't complain about the check_distribution_name command not being found. However, it still says
root@192.168.100.2's password:
Permission denied, please try again
And then it does the same thing with Administrator, and the computer still doesn't shut off. I'm not sure what I'm doing wrong.
BTW, I CAN ssh into the computer and run /sbin/poweroff manually, I just can't have DRBL do it for me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is 192.168.100.2 running as a DRBL client ? I mean it boots via PXE ?
If so, there should have a file /root/.ssh/authorized_keys in 192.168.100.2, and it's copied from /root/.ssh/id_rsa.pub of DRBL server. You can compare them.
If you enter a pass phrase when you create your root ssh key, then you have to enter that manually. If it's automatically created by DRBL, then the pass phrase should be nothing, therefore you can not have to enter pass phrase again when you run dcs -> reboot. For more info, you can check any ssh doc, especially those parts about key generation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi again. When I try to run shutdown client or reboot client from /opt/drbl/sbin/dcs, I get this output:
/opt/drbl/sbin/dcs: line 36: check_distribution_name: command not found
Shutdown DRBL clients now...
For DRBL clients...
Running command "/sbin/poweroff" in root@192.168.100.2...
For Cygwin clients...
root@192.168.100.2's password: Running command "/usr/bin/shutdown -f -s -x now" in Administrator@192.168.100.2...
done!
[root@dhcp_129_58 etc]# Administrator@192.168.100.2's password:
Permission denied, please try again.
Administrator@192.168.100.2's password:
Permission denied, please try again.
Administrator@192.168.100.2's password:
Permission denied (publickey,gssapi-with-mic,password).
And the computer doesn't shutdown. Is there a way I can give the password to the server (even thought that doesn't seem very safe)?
Thanks a lot.
check_distribution_name is a function from /opt/drbl/sbin/drbl-functions. Is that file missing ?
Maybe something went wrong with your DRBL server. You can try to run "/opt/drbl/sbin/drblsrv -i" and "/opt/drbl/sbin/drblpush -i" again.
I set Clonezilla and DRBL up on an entirely new computer from scratch and tried again, and this time, it didn't complain about the check_distribution_name command not being found. However, it still says
root@192.168.100.2's password:
Permission denied, please try again
And then it does the same thing with Administrator, and the computer still doesn't shut off. I'm not sure what I'm doing wrong.
BTW, I CAN ssh into the computer and run /sbin/poweroff manually, I just can't have DRBL do it for me.
Is 192.168.100.2 running as a DRBL client ? I mean it boots via PXE ?
If so, there should have a file /root/.ssh/authorized_keys in 192.168.100.2, and it's copied from /root/.ssh/id_rsa.pub of DRBL server. You can compare them.
If you enter a pass phrase when you create your root ssh key, then you have to enter that manually. If it's automatically created by DRBL, then the pass phrase should be nothing, therefore you can not have to enter pass phrase again when you run dcs -> reboot. For more info, you can check any ssh doc, especially those parts about key generation.