Can't access the ubuntu server terminal after I accidentally stop the networking service

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite
1












After I typed and entered this command:



sudo /etc/init.d/networking stop


I can't access the ubuntu server in putty.



My question is: How do I start networking service again on the ubuntu server, if I can't access the server using putty.



I'm in Windows using putty to access the Ubuntu server.







share|improve this question


















  • 2




    Tell us more about the server. Is it at a hosting service? Does it have lights-out management? Is its console attached to a KVM-over-IP switch? Does the kernel have vnc enabled? Is it powered by a network-controllable power source?
    – Mark Plotnick
    Oct 15 '17 at 17:00











  • the ip 54.89.211.14 will direct to an apache2 default server/page.
    – Christian Mamac
    Oct 15 '17 at 17:27










  • I have searched for commands on how to enable networking. but in order to do so, i need to access the terminal and type the commands. but in my case I can't seem to access the terminal again.
    – Christian Mamac
    Oct 15 '17 at 17:28










  • I'm using windows, and using putty application to access the ubuntu server
    – Christian Mamac
    Oct 15 '17 at 17:29














up vote
-1
down vote

favorite
1












After I typed and entered this command:



sudo /etc/init.d/networking stop


I can't access the ubuntu server in putty.



My question is: How do I start networking service again on the ubuntu server, if I can't access the server using putty.



I'm in Windows using putty to access the Ubuntu server.







share|improve this question


















  • 2




    Tell us more about the server. Is it at a hosting service? Does it have lights-out management? Is its console attached to a KVM-over-IP switch? Does the kernel have vnc enabled? Is it powered by a network-controllable power source?
    – Mark Plotnick
    Oct 15 '17 at 17:00











  • the ip 54.89.211.14 will direct to an apache2 default server/page.
    – Christian Mamac
    Oct 15 '17 at 17:27










  • I have searched for commands on how to enable networking. but in order to do so, i need to access the terminal and type the commands. but in my case I can't seem to access the terminal again.
    – Christian Mamac
    Oct 15 '17 at 17:28










  • I'm using windows, and using putty application to access the ubuntu server
    – Christian Mamac
    Oct 15 '17 at 17:29












up vote
-1
down vote

favorite
1









up vote
-1
down vote

favorite
1






1





After I typed and entered this command:



sudo /etc/init.d/networking stop


I can't access the ubuntu server in putty.



My question is: How do I start networking service again on the ubuntu server, if I can't access the server using putty.



I'm in Windows using putty to access the Ubuntu server.







share|improve this question














After I typed and entered this command:



sudo /etc/init.d/networking stop


I can't access the ubuntu server in putty.



My question is: How do I start networking service again on the ubuntu server, if I can't access the server using putty.



I'm in Windows using putty to access the Ubuntu server.









share|improve this question













share|improve this question




share|improve this question








edited Oct 15 '17 at 17:09









Hunter.S.Thompson

4,56431334




4,56431334










asked Oct 15 '17 at 16:32









Christian Mamac

1




1







  • 2




    Tell us more about the server. Is it at a hosting service? Does it have lights-out management? Is its console attached to a KVM-over-IP switch? Does the kernel have vnc enabled? Is it powered by a network-controllable power source?
    – Mark Plotnick
    Oct 15 '17 at 17:00











  • the ip 54.89.211.14 will direct to an apache2 default server/page.
    – Christian Mamac
    Oct 15 '17 at 17:27










  • I have searched for commands on how to enable networking. but in order to do so, i need to access the terminal and type the commands. but in my case I can't seem to access the terminal again.
    – Christian Mamac
    Oct 15 '17 at 17:28










  • I'm using windows, and using putty application to access the ubuntu server
    – Christian Mamac
    Oct 15 '17 at 17:29












  • 2




    Tell us more about the server. Is it at a hosting service? Does it have lights-out management? Is its console attached to a KVM-over-IP switch? Does the kernel have vnc enabled? Is it powered by a network-controllable power source?
    – Mark Plotnick
    Oct 15 '17 at 17:00











  • the ip 54.89.211.14 will direct to an apache2 default server/page.
    – Christian Mamac
    Oct 15 '17 at 17:27










  • I have searched for commands on how to enable networking. but in order to do so, i need to access the terminal and type the commands. but in my case I can't seem to access the terminal again.
    – Christian Mamac
    Oct 15 '17 at 17:28










  • I'm using windows, and using putty application to access the ubuntu server
    – Christian Mamac
    Oct 15 '17 at 17:29







2




2




Tell us more about the server. Is it at a hosting service? Does it have lights-out management? Is its console attached to a KVM-over-IP switch? Does the kernel have vnc enabled? Is it powered by a network-controllable power source?
– Mark Plotnick
Oct 15 '17 at 17:00





Tell us more about the server. Is it at a hosting service? Does it have lights-out management? Is its console attached to a KVM-over-IP switch? Does the kernel have vnc enabled? Is it powered by a network-controllable power source?
– Mark Plotnick
Oct 15 '17 at 17:00













the ip 54.89.211.14 will direct to an apache2 default server/page.
– Christian Mamac
Oct 15 '17 at 17:27




the ip 54.89.211.14 will direct to an apache2 default server/page.
– Christian Mamac
Oct 15 '17 at 17:27












I have searched for commands on how to enable networking. but in order to do so, i need to access the terminal and type the commands. but in my case I can't seem to access the terminal again.
– Christian Mamac
Oct 15 '17 at 17:28




I have searched for commands on how to enable networking. but in order to do so, i need to access the terminal and type the commands. but in my case I can't seem to access the terminal again.
– Christian Mamac
Oct 15 '17 at 17:28












I'm using windows, and using putty application to access the ubuntu server
– Christian Mamac
Oct 15 '17 at 17:29




I'm using windows, and using putty application to access the ubuntu server
– Christian Mamac
Oct 15 '17 at 17:29










1 Answer
1






active

oldest

votes

















up vote
2
down vote













You're not going to be able to restart the server in-band (anything that requires networking on the server itself - SSH, Webmin, etc.).



Many hosting providers will offer Lights-Out Management in order to allow you to run remote maintenance or diagnostic commands. This includes features such as remote consoles or remote power commands. If you can not use a remote console, you can simply reboot the server, which will restart the networking service automatically.



As an example, the procedure for remotely restarting Digital Ocean servers is effectively the following:



  1. Log in to your Digital Ocean account

  2. Select the server you need to restart

  3. Go the Power tab

  4. Select Power Cycle

If you are not using Digital Ocean, many providers will have a similar workflow or procedure. You may need to poke around your hosting provider's control panel for the power switch.



If you do not have a hosting provider or they do not offer such technology, you will need to request your server be manually rebooted by support staff. However, most reputable providers will have a system for this.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398252%2fcant-access-the-ubuntu-server-terminal-after-i-accidentally-stop-the-networking%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    You're not going to be able to restart the server in-band (anything that requires networking on the server itself - SSH, Webmin, etc.).



    Many hosting providers will offer Lights-Out Management in order to allow you to run remote maintenance or diagnostic commands. This includes features such as remote consoles or remote power commands. If you can not use a remote console, you can simply reboot the server, which will restart the networking service automatically.



    As an example, the procedure for remotely restarting Digital Ocean servers is effectively the following:



    1. Log in to your Digital Ocean account

    2. Select the server you need to restart

    3. Go the Power tab

    4. Select Power Cycle

    If you are not using Digital Ocean, many providers will have a similar workflow or procedure. You may need to poke around your hosting provider's control panel for the power switch.



    If you do not have a hosting provider or they do not offer such technology, you will need to request your server be manually rebooted by support staff. However, most reputable providers will have a system for this.






    share|improve this answer
























      up vote
      2
      down vote













      You're not going to be able to restart the server in-band (anything that requires networking on the server itself - SSH, Webmin, etc.).



      Many hosting providers will offer Lights-Out Management in order to allow you to run remote maintenance or diagnostic commands. This includes features such as remote consoles or remote power commands. If you can not use a remote console, you can simply reboot the server, which will restart the networking service automatically.



      As an example, the procedure for remotely restarting Digital Ocean servers is effectively the following:



      1. Log in to your Digital Ocean account

      2. Select the server you need to restart

      3. Go the Power tab

      4. Select Power Cycle

      If you are not using Digital Ocean, many providers will have a similar workflow or procedure. You may need to poke around your hosting provider's control panel for the power switch.



      If you do not have a hosting provider or they do not offer such technology, you will need to request your server be manually rebooted by support staff. However, most reputable providers will have a system for this.






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        You're not going to be able to restart the server in-band (anything that requires networking on the server itself - SSH, Webmin, etc.).



        Many hosting providers will offer Lights-Out Management in order to allow you to run remote maintenance or diagnostic commands. This includes features such as remote consoles or remote power commands. If you can not use a remote console, you can simply reboot the server, which will restart the networking service automatically.



        As an example, the procedure for remotely restarting Digital Ocean servers is effectively the following:



        1. Log in to your Digital Ocean account

        2. Select the server you need to restart

        3. Go the Power tab

        4. Select Power Cycle

        If you are not using Digital Ocean, many providers will have a similar workflow or procedure. You may need to poke around your hosting provider's control panel for the power switch.



        If you do not have a hosting provider or they do not offer such technology, you will need to request your server be manually rebooted by support staff. However, most reputable providers will have a system for this.






        share|improve this answer












        You're not going to be able to restart the server in-band (anything that requires networking on the server itself - SSH, Webmin, etc.).



        Many hosting providers will offer Lights-Out Management in order to allow you to run remote maintenance or diagnostic commands. This includes features such as remote consoles or remote power commands. If you can not use a remote console, you can simply reboot the server, which will restart the networking service automatically.



        As an example, the procedure for remotely restarting Digital Ocean servers is effectively the following:



        1. Log in to your Digital Ocean account

        2. Select the server you need to restart

        3. Go the Power tab

        4. Select Power Cycle

        If you are not using Digital Ocean, many providers will have a similar workflow or procedure. You may need to poke around your hosting provider's control panel for the power switch.



        If you do not have a hosting provider or they do not offer such technology, you will need to request your server be manually rebooted by support staff. However, most reputable providers will have a system for this.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 15 '17 at 18:55









        Kaz Wolfe

        415314




        415314



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398252%2fcant-access-the-ubuntu-server-terminal-after-i-accidentally-stop-the-networking%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay