echo c > /proc/sysrq-trigger doesn't reboot the system

466

I had the similar issue on Ubuntu 16.04. This set of commands helped me:

sudo -s
kdump-config load
kdump-config unload
Share:
466

Related videos on Youtube

jrocc
Author by

jrocc

Updated on September 18, 2022

Comments

  • jrocc
    jrocc almost 2 years

    I am trying to change a rails value with ajax and I am having trouble. Here is what I have so far.

    ajax

    $(button).click(function(){
            $.ajax({
               url: '/change_value',
               type: 'GET'
        })
    });
    

    Controller

    def home
      @value = 0
    end
    
    def change_value
      @value = 1
    end
    

    routes

    get '/change_value', to: 'static_pages#change_value'
    

    Thank you for all the help.

    • kajal ojha
      kajal ojha about 7 years
      please paste your .js.erb file
    • filbranden
      filbranden about 6 years
      It's probably trying to boot the kdump kernel/initrd and freezing while doing so... To troubleshoot that, you probably need to look at the console attached to the machine to see where it is failing... Is this a machine to which you have physical access to? Or a virtual machine? Or do you somehow have access to a serial console (for example, if it's a server in a colocation)?
    • Mr.SrJenea
      Mr.SrJenea about 6 years
      I have a physical access to it