Re: [Users] ubuntu precreated template problem

2009-02-05 Thread Scott Dowdle
Dan,

- "dan"  wrote:

> I'm having problems with the precreated 8.04-x86 template.
> 
> After setting the normal ipaddress/hostname/gateway settings and
> starting the template, I get no networking.  The CentOS template
> works
> fine, so its not my networking setup.  If I modify the
> /etc/network/interfaces file to be like a typical system, networking
> will restart without error, but I cannot access the network still.
> 
> The host node is Ubuntu 8.04.
> 
> Ideas? Suggestions?
> dan
> 
> 
> ==
> r...@www:/# /etc/init.d/networking restart
>  * Reconfiguring network interfaces...
> /etc/network/interfaces:14: interface lo declared allow-auto twice
> ifdown: couldn't read interfaces file "/etc/network/interfaces"
> /etc/network/interfaces:14: interface lo declared allow-auto twice
> ifup: couldn't read interfaces file "/etc/network/interfaces"
>   [fail]
> 
> ==
> r...@www:/# cat /etc/network/interfaces
> # This configuration file is auto-generated.
> # WARNING: Do not edit this file, otherwise your changes will be
> lost.
> # Please edit template /etc/network/interfaces.template instead.
> 
> 
> auto lo
> iface lo inet loopback
>   address 127.0.0.1
>   netmask 255.0.0.0
>   broadcast 127.255.255.255
>   up ip route replace 127.0.0.0/8 dev lo
> 
> # Auto generated interfaces
> auto lo
> iface lo inet loopback
> 
> auto venet0
> iface venet0 inet static
>   address 127.0.0.1
>   netmask 255.255.255.255
>   broadcast 0.0.0.0
>   up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
>   up route add default gw 192.0.2.1
> auto venet0:0
> iface venet0:0 inet static
>   address 192.168.1.237
>   netmask 255.255.255.255
>   broadcast 0.0.0.0
> =
> ___
> Users mailing list
> Users@openvz.org
> https://openvz.org/mailman/listinfo/users

Thanks for asking.  I created a bug report for that and one other bug I found 
that seems to affect all of the official Debian and Ubuntu OS Templates.  The 
bug yum mention was discovered during the beta period and fixed... but somehow 
it found its way back.

I appreciate the Proxmox guys helping out but we all know the better solution 
is to get the OpenVZ official OS Templates fixed so users won't have to ramble 
their way to alternative OS Templates from other projects.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] ubuntu precreated template problem

2009-02-05 Thread dan
Thanks Thorsten & Martin.  Both options worked well.

dan

On Thu, Feb 5, 2009 at 4:32 AM, Martin Maurer  wrote:
> We have quite new a good tested standard templates for Debian Etch, Lenny, 
> Ubuntu 8.04 - 32 and 64 bit.
> See ftp://pve.proxmox.com/appliances/system/
> (or http://pve.proxmox.com/appliances/system/)
>
> FYI, all are build using the dab:
> http://pve.proxmox.com/wiki/Debian_Appliance_Builder
>
> Br, Martin
>
> http://pve.proxmox.com
>
>
>> -Original Message-
>> From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On
>> Behalf Of dan
>> Sent: Donnerstag, 05. Februar 2009 07:08
>> To: users@openvz.org
>> Subject: [Users] ubuntu precreated template problem
>>
>> I'm having problems with the precreated 8.04-x86 template.
>>
>> After setting the normal ipaddress/hostname/gateway settings and
>> starting the template, I get no networking.  The CentOS template works
>> fine, so its not my networking setup.  If I modify the
>> /etc/network/interfaces file to be like a typical system, networking
>> will restart without error, but I cannot access the network still.
>>
>> The host node is Ubuntu 8.04.
>>
>> Ideas? Suggestions?
>> dan
>>
>>
>> ==
>> r...@www:/# /etc/init.d/networking restart
>>  * Reconfiguring network interfaces...
>> /etc/network/interfaces:14: interface lo declared allow-auto twice
>> ifdown: couldn't read interfaces file "/etc/network/interfaces"
>> /etc/network/interfaces:14: interface lo declared allow-auto twice
>> ifup: couldn't read interfaces file "/etc/network/interfaces"
>>   [fail]
>>
>> ==
>> r...@www:/# cat /etc/network/interfaces
>> # This configuration file is auto-generated.
>> # WARNING: Do not edit this file, otherwise your changes will be lost.
>> # Please edit template /etc/network/interfaces.template instead.
>>
>>
>> auto lo
>> iface lo inet loopback
>>   address 127.0.0.1
>>   netmask 255.0.0.0
>>   broadcast 127.255.255.255
>>   up ip route replace 127.0.0.0/8 dev lo
>>
>> # Auto generated interfaces
>> auto lo
>> iface lo inet loopback
>>
>> auto venet0
>> iface venet0 inet static
>>   address 127.0.0.1
>>   netmask 255.255.255.255
>>   broadcast 0.0.0.0
>>   up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
>>   up route add default gw 192.0.2.1
>> auto venet0:0
>> iface venet0:0 inet static
>>   address 192.168.1.237
>>   netmask 255.255.255.255
>>   broadcast 0.0.0.0
>> =
>> ___
>> Users mailing list
>> Users@openvz.org
>> https://openvz.org/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@openvz.org
> https://openvz.org/mailman/listinfo/users
>
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


RE: [Users] ubuntu precreated template problem

2009-02-05 Thread Martin Maurer
We have quite new a good tested standard templates for Debian Etch, Lenny, 
Ubuntu 8.04 - 32 and 64 bit.
See ftp://pve.proxmox.com/appliances/system/
(or http://pve.proxmox.com/appliances/system/)

FYI, all are build using the dab:
http://pve.proxmox.com/wiki/Debian_Appliance_Builder

Br, Martin

http://pve.proxmox.com


> -Original Message-
> From: users-boun...@openvz.org [mailto:users-boun...@openvz.org] On
> Behalf Of dan
> Sent: Donnerstag, 05. Februar 2009 07:08
> To: users@openvz.org
> Subject: [Users] ubuntu precreated template problem
> 
> I'm having problems with the precreated 8.04-x86 template.
> 
> After setting the normal ipaddress/hostname/gateway settings and
> starting the template, I get no networking.  The CentOS template works
> fine, so its not my networking setup.  If I modify the
> /etc/network/interfaces file to be like a typical system, networking
> will restart without error, but I cannot access the network still.
> 
> The host node is Ubuntu 8.04.
> 
> Ideas? Suggestions?
> dan
> 
> 
> ==
> r...@www:/# /etc/init.d/networking restart
>  * Reconfiguring network interfaces...
> /etc/network/interfaces:14: interface lo declared allow-auto twice
> ifdown: couldn't read interfaces file "/etc/network/interfaces"
> /etc/network/interfaces:14: interface lo declared allow-auto twice
> ifup: couldn't read interfaces file "/etc/network/interfaces"
>   [fail]
> 
> ==
> r...@www:/# cat /etc/network/interfaces
> # This configuration file is auto-generated.
> # WARNING: Do not edit this file, otherwise your changes will be lost.
> # Please edit template /etc/network/interfaces.template instead.
> 
> 
> auto lo
> iface lo inet loopback
>   address 127.0.0.1
>   netmask 255.0.0.0
>   broadcast 127.255.255.255
>   up ip route replace 127.0.0.0/8 dev lo
> 
> # Auto generated interfaces
> auto lo
> iface lo inet loopback
> 
> auto venet0
> iface venet0 inet static
>   address 127.0.0.1
>   netmask 255.255.255.255
>   broadcast 0.0.0.0
>   up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
>   up route add default gw 192.0.2.1
> auto venet0:0
> iface venet0:0 inet static
>   address 192.168.1.237
>   netmask 255.255.255.255
>   broadcast 0.0.0.0
> =
> ___
> Users mailing list
> Users@openvz.org
> https://openvz.org/mailman/listinfo/users



___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] ubuntu precreated template problem

2009-02-04 Thread Thorsten Schifferdecker

remove the /etc/network/interfaces.template loopback entries:

> auto lo
> iface lo inet loopback
>address 127.0.0.1
>netmask 255.0.0.0
>broadcast 127.255.255.255
>up ip route replace 127.0.0.0/8 dev lo

and restart the container ...

or remove entries in /etc/network/interfaces and
restart networking or ifup lo

Seem to affected all precreated debian and ubunutu distros at 
http://download.openvz.org/template/precreated/ only


Bye,
Thorsten
--
OpenVZ Power User with a swirl
http://debian.systs.org/category/openvz/

dan schrieb:

I'm having problems with the precreated 8.04-x86 template.

After setting the normal ipaddress/hostname/gateway settings and
starting the template, I get no networking.  The CentOS template works
fine, so its not my networking setup.  If I modify the
/etc/network/interfaces file to be like a typical system, networking
will restart without error, but I cannot access the network still.

The host node is Ubuntu 8.04.

Ideas? Suggestions?
dan


==
r...@www:/# /etc/init.d/networking restart
 * Reconfiguring network interfaces...
/etc/network/interfaces:14: interface lo declared allow-auto twice
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:14: interface lo declared allow-auto twice
ifup: couldn't read interfaces file "/etc/network/interfaces"
  [fail]

==
r...@www:/# cat /etc/network/interfaces
# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
broadcast 127.255.255.255
up ip route replace 127.0.0.0/8 dev lo

# Auto generated interfaces
auto lo
iface lo inet loopback

auto venet0
iface venet0 inet static
address 127.0.0.1
netmask 255.255.255.255
broadcast 0.0.0.0
up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
up route add default gw 192.0.2.1
auto venet0:0
iface venet0:0 inet static
address 192.168.1.237
netmask 255.255.255.255
broadcast 0.0.0.0
=

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


[Users] ubuntu precreated template problem

2009-02-04 Thread dan
I'm having problems with the precreated 8.04-x86 template.

After setting the normal ipaddress/hostname/gateway settings and
starting the template, I get no networking.  The CentOS template works
fine, so its not my networking setup.  If I modify the
/etc/network/interfaces file to be like a typical system, networking
will restart without error, but I cannot access the network still.

The host node is Ubuntu 8.04.

Ideas? Suggestions?
dan


==
r...@www:/# /etc/init.d/networking restart
 * Reconfiguring network interfaces...
/etc/network/interfaces:14: interface lo declared allow-auto twice
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:14: interface lo declared allow-auto twice
ifup: couldn't read interfaces file "/etc/network/interfaces"
  [fail]

==
r...@www:/# cat /etc/network/interfaces
# This configuration file is auto-generated.
# WARNING: Do not edit this file, otherwise your changes will be lost.
# Please edit template /etc/network/interfaces.template instead.


auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
broadcast 127.255.255.255
up ip route replace 127.0.0.0/8 dev lo

# Auto generated interfaces
auto lo
iface lo inet loopback

auto venet0
iface venet0 inet static
address 127.0.0.1
netmask 255.255.255.255
broadcast 0.0.0.0
up route add -net 192.0.2.1 netmask 255.255.255.255 dev venet0
up route add default gw 192.0.2.1
auto venet0:0
iface venet0:0 inet static
address 192.168.1.237
netmask 255.255.255.255
broadcast 0.0.0.0
=
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users