[Users] Virtual Ethernet device

2007-12-17 Thread Dietmar Maurer
Hi all, i am trying to setup a veth as described in: http://wiki.openvz.org/Virtual_Ethernet_device but vznetcfg script alwasy returns: According to /etc/vz/conf/.conf VE has no veth IPs configured. Seems vznetcfg script has some errors, because it simply calls EXTERNAL_SCRIPT without

Re: [Users] Virtual Ethernet device

2007-12-17 Thread Kir Kolyshkin
Dietmar Maurer wrote: Hi all, i am trying to setup a veth as described in: http://wiki.openvz.org/Virtual_Ethernet_device but vznetcfg script alwasy returns: According to /etc/vz/conf/.conf VE has no veth IPs configured. Seems vznetcfg script has some errors, because it simply calls

RE: [Users] Virtual Ethernet device

2007-12-17 Thread Dietmar Maurer
Ah, I see - thanks - Dietmar From what I see, VEID is passed to vznetcfg via environment variable, and vznetcfg script itself exports VEID before calling EXTERNAL_SCRIPT -- so it should work at least in theory :) ___ Users mailing list

Re: [Users] Apache and MySQL together in VE not runnig reliable?

2007-12-17 Thread Kir Kolyshkin
Any lines with failcnt0 in /proc/user_beancounters for the problematic VE? stepken wrote: Hi! We discovered, that apache and mysql running together in a VE will hang (sometimes apache, sometimes mysql), when coming close to reserved memory limit. What could have caused this phenomenon? We

Re: [Users] Cloning and permissions

2007-12-17 Thread Kirill Korotaev
Peter, It depends on what you mean by cloning. What exact command/operations you did? BTW, do you mean OpenVZ or Virtuozzo? Thanks, Kirill Peter Machell wrote: After cloning a Debian host, I found everything working except MySQL. I had to chown its binaries, databases and log folder back

Re: [Users] Cloning and permissions

2007-12-17 Thread Jean-Michel Caricand
Le lundi 17 décembre 2007 13:40, Peter Machell a écrit : After cloning a Debian host, I found everything working except MySQL. I had to chown its binaries, databases and log folder back to mysql from root. Is this normal and should I expect other permissions to have changed? When copying

Re: [Users] Cloning and permissions

2007-12-17 Thread Jean-Michel Caricand
Le lundi 17 décembre 2007 15:15, Kirill Korotaev a écrit : Peter, It depends on what you mean by cloning. What exact command/operations you did? BTW, do you mean OpenVZ or Virtuozzo? Thanks, Kirill Peter Machell wrote: After cloning a Debian host, I found everything working except

Re: [Users] Cloning and permissions

2007-12-17 Thread Peter Machell
On 18/12/2007, at 12:15 AM, Kirill Korotaev wrote: Peter, It depends on what you mean by cloning. What exact command/ operations you did? vzctl stop xx cp -R /vz/private/xx /vz/private/xxx cp -R /etc/vz/conf/xx.conf /etc/vz/conf/xxx.conf vzctl start xxx BTW, do you mean OpenVZ or

Re: [Users] Cloning and permissions

2007-12-17 Thread Gregor Mosheh
Peter Machell wrote: vzctl stop xx cp -R /vz/private/xx /vz/private/xxx cp -R /etc/vz/conf/xx.conf /etc/vz/conf/xxx.conf vzctl start xxx To have cp preserve permissions, use the -p flag. I use tar instead of cp, for situation like this. Tar, unlike cp, is smart enough to handle symbolic

Re: [Users] Cloning and permissions

2007-12-17 Thread Gregor Mosheh
Steve Wray wrote: tar cf - * | ( cd ../2 ; tar xvf - ) That doesn't need a -p option? ie I tend to use 'tar --numeric-owner -cf' as well, just in case. I've never used the -p flag but it's always preserved the numerics just fine. That's Slackware and Fedora, probably others. Couldn't hurt to

Re: [Users] Cloning and permissions

2007-12-17 Thread Jean-Michel Caricand
Le lundi 17 décembre 2007 23:50, Peter Machell a écrit : On 18/12/2007, at 12:15 AM, Kirill Korotaev wrote: Peter, It depends on what you mean by cloning. What exact command/ operations you did? vzctl stop xx cp -R /vz/private/xx /vz/private/xxx cp -R /etc/vz/conf/xx.conf