Menu

shutdown/reboot client

Help
J.M.
2008-07-28
2013-04-05
  • J.M.

    J.M. - 2008-07-28

    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.

     
    • Steven Shiau

      Steven Shiau - 2008-07-29

      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.

       
    • J.M.

      J.M. - 2008-07-29

      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.

       
      • Steven Shiau

        Steven Shiau - 2008-07-30

        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.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.