OpenVZ Forum


Home » General » Support » No Local Loopback with OpenVz and Ubuntu
Re: No Local Loopback with OpenVz and Ubuntu [message #27328 is a reply to message #27243] Thu, 14 February 2008 19:59 Go to previous messageGo to previous message
geraldb is currently offline  geraldb
Messages: 3
Registered: February 2008
Junior Member
Well, it looks like that networking restart line is necessary on my hosting environment as well, so my work-around is to add the ifdown/ifup commands to /etc/rc.local, after the networking restart. This works for me, but of course, does not get us any closer to the root of the problem with the network interfaces failing to come up in the first place.

Here's my modified version of /etc/rc.local:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

/etc/init.d/networking restart

/sbin/ifdown lo
/sbin/ifup lo

exit 0


Hope that helps someone!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: sftp / mount problem
Next Topic: Run XORP in VE
Goto Forum:
  


Current Time: Fri Aug 01 05:04:03 GMT 2025

Total time taken to generate the page: 0.49249 seconds