Advertisement: Linux VPS from $4/month - contact support for custom offer.
+ Post New Thread
Results 1 to 3 of 3

Thread: SSH, Networking not start on OpenVZ VPS boot

  1. #1
    Administrator
    Join Date
    Mar 2013
    Posts
    2,659

    SSH, Networking not start on OpenVZ VPS boot

    Please, can you help me solve this issue?

    I installed OpenVZ template Ubuntu 12.04 on a VPS and canot connect via SSH.

    I discovered that when i start SSH and Networking, its able to connect, but after reboot its back turned off. I assume i need to make it running on the boot.

    In this case i want to ask you what i should do?
    ANd what else to check to ensure this VPS can be used as a webserver. I mean what else services might be wrong?

    vi /etc/rc.local
    Quote:
    exit 0

    (contains only this except descriptions)

    vi /etc/network/interfaces
    Quote:
    # Auto generated lo interface
    auto lo
    iface lo inet loopback

    # Auto generated venet0 interface
    auto venet0
    iface venet0 inet manual
    up ifconfig venet0 up
    up ifconfig venet0 127.0.0.2
    up route add default dev venet0
    down route del default dev venet0
    down ifconfig venet0 down

    iface venet0 inet6 manual
    up route -A inet6 add default dev venet0
    down route -A inet6 del default dev venet0

    auto venet0:0
    iface venet0:0 inet static
    address vpsipishere
    netmask 255.255.255.255

    I spotted this idea on how to start on boot, but im unsure with etch0, how to apply? http://askubuntu.com/a/4974

    Thanks for ideas

  2. #2
    Administrator
    Join Date
    Mar 2013
    Posts
    2,659


    Is this useful / helpfull? Yes | No
    This is vi /etc/network/interfaces of working Ubuntu 6

    # Auto generated lo interface
    auto lo
    iface lo inet loopback

    # Auto generated venet0 interface
    auto venet0
    iface venet0 inet static
    address 127.0.0.1
    netmask 255.255.255.255
    broadcast 0.0.0.0
    up route add default dev venet0


    iface venet0 inet6 static
    address ::1
    netmask 128

    auto venet0:0
    iface venet0:0 inet static
    address VPSIPHERE
    netmask 255.255.255.255
    broadcast 0.0.0.0

    This is vi /etc/network/interfaces of nonworking Ubuntu 12

    # Auto generated lo interface
    auto lo
    iface lo inet loopback

    # Auto generated venet0 interface
    auto venet0
    iface venet0 inet manual
    up ifconfig venet0 up
    up ifconfig venet0 127.0.0.2
    up route add default dev venet0
    down route del default dev venet0
    down ifconfig venet0 down


    iface venet0 inet6 manual
    up route -A inet6 add default dev venet0
    down route -A inet6 del default dev venet0

    auto venet0:0
    iface venet0:0 inet static
    address VPSIPHERE
    netmask 255.255.255.255

  3. #3
    Administrator
    Join Date
    Mar 2013
    Posts
    2,659


    Is this useful / helpfull? Yes | No
    There might be some issue with this Ubuntu 12.04 version template.
    10.04 worked ok.

    UPDATE : there might be workaround and even fix for networking: https://internetlifeforum.com/virtualisation/4046-openvz-centos-7-new-os-templates-networking-do-not-works-fix-update-vzctl/

+ Post New Thread

Similar Threads

  1. Replies: 0
    Last Post: 10-31-2018, 05:00 PM
  2. Replies: 1
    Last Post: 07-10-2016, 08:44 AM
  3. OpenVZ Ubuntu 14.04 template setup and networking
    By Fli in forum Virtualisation
    Replies: 0
    Last Post: 08-29-2014, 10:21 PM
  4. Replies: 0
    Last Post: 11-04-2013, 05:57 PM
  5. Replies: 0
    Last Post: 08-21-2013, 10:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam