Re: [Vserver] Yum Erroring while installing Guest OS.

2006-07-18 Thread Guenther Fuchs
Hi there,

on Monday, July 17, 2006 at 8:42:17 PM there was posted:

MG [EMAIL PROTECTED] vservers]# vserver mail build -m yum --context
MG --hostname=pepsi --interface gast0=eth0:192.168.0.1/24 -- -d fc5

You missed to specify the context ID - add any specific number, then
it should work.

-- 
regards 'n greez,

Guenther Fuchs
(aka muh and powerfox)

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Yum Erroring while installing Guest OS.

2006-07-17 Thread Michael Glenn

Hello every,

When I try to install an guest OS from this commandline:

[EMAIL PROTECTED] vservers]# vserver mail build -m yum --context 
--hostname=pepsi --interface gast0=eth0:192.168.0.1/24 -- -d fc5



I recieve this error:

invalid option `hostname'.
Try '/usr/sbin/vserver-info --help for more information.
Traceback (most recent call last):
 File /usr/bin/yum, line 29, in ?
   yummain.main(sys.argv[1:])
 File /usr/share/yum-cli/yummain.py, line 85, in main
   base.getOptionsConfig(args)
 File /usr/share/yum-cli/cli.py, line 201, in getOptionsConfig
   self.conf.errorlevel, self.conf.debuglevel)
 File /usr/lib/python2.4/site-packages/yum/logginglevels.py, line 
129, in doLoggingSetup

   logging.getLogger(yum).critical(_('Cannot open logfile %s'), logfile)
NameError: global name '_' is not defined


After running testme.sh from David,  I recieve this print out:

Linux-VServer Test [V0.15] Copyright (C) 2003-2006 H.Poetzl
chcontext is working.
chbind is working.
Linux 2.6.17-1.2157_FC5.vs2.0.2.0.rc26.1 #1 Sat Jul 15 16:00:37 EDT 2006 
i686

Ea 0.30.210 273/glibc (DSa) compat,v11,fscompat,v13,net,oldproc,olduts
VCI: 0002:0001 273 03010036 (TbLgnPD)
---
[000]# succeeded.
[001]# succeeded.
[011]# succeeded.
[031]# succeeded.
[101]# succeeded.
[102]# succeeded.
[201]# succeeded.
[202]# succeeded.


I know that yum is correctly configured on the host, since I just 
updated the entire system.  (Internet activity is sound.)


Any help would be appereciated

Michael GLenn
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Yum Erroring while installing Guest OS.

2006-07-17 Thread Daniel Hokka Zakrisson

Michael Glenn wrote:

Hello every,

When I try to install an guest OS from this commandline:

[EMAIL PROTECTED] vservers]# vserver mail build -m yum --context 
--hostname=pepsi --interface gast0=eth0:192.168.0.1/24 -- -d fc5


You forgot to specify the context.


I recieve this error:

invalid option `hostname'.
Try '/usr/sbin/vserver-info --help for more information.
Traceback (most recent call last):
 File /usr/bin/yum, line 29, in ?
   yummain.main(sys.argv[1:])
 File /usr/share/yum-cli/yummain.py, line 85, in main
   base.getOptionsConfig(args)
 File /usr/share/yum-cli/cli.py, line 201, in getOptionsConfig
   self.conf.errorlevel, self.conf.debuglevel)
 File /usr/lib/python2.4/site-packages/yum/logginglevels.py, line 129, 
in doLoggingSetup

   logging.getLogger(yum).critical(_('Cannot open logfile %s'), logfile)
NameError: global name '_' is not defined


Does this still happen when you correct the above problem?

--
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Yum Erroring while installing Guest OS.

2006-07-17 Thread Michael Glenn

Daniel Hokka Zakrisson wrote:

Michael Glenn wrote:

Hello every,

When I try to install an guest OS from this commandline:

[EMAIL PROTECTED] vservers]# vserver mail build -m yum --context 
--hostname=pepsi --interface gast0=eth0:192.168.0.1/24 -- -d fc5


You forgot to specify the context.


I recieve this error:

invalid option `hostname'.
Try '/usr/sbin/vserver-info --help for more information.
Traceback (most recent call last):
 File /usr/bin/yum, line 29, in ?
   yummain.main(sys.argv[1:])
 File /usr/share/yum-cli/yummain.py, line 85, in main
   base.getOptionsConfig(args)
 File /usr/share/yum-cli/cli.py, line 201, in getOptionsConfig
   self.conf.errorlevel, self.conf.debuglevel)
 File /usr/lib/python2.4/site-packages/yum/logginglevels.py, line 
129, in doLoggingSetup
   logging.getLogger(yum).critical(_('Cannot open logfile %s'), 
logfile)

NameError: global name '_' is not defined


Does this still happen when you correct the above problem?

I've tried to use 42 as the context,  the howto for FC5 had used.  Still 
recieving the same error message.

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver