Re: [Vserver] vserver-copy deprecated?!
[EMAIL PROTECTED] (Jens Holze) writes: I just realised that there is this copy program among the utils but it doesn't work (obviously because of the changes since the alpha, looks for .conf file). While copying the servers is not hard to do manually, is somebody actually working on this tool or is it going to vanish? As Herbert wrote, it will be probably superseeded by 'vserver ... copy'. But before implementing this functionality I need an API to change the configuration data. Such an API is very high on my priority list but I do not have a ETA. Enrico ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Vhashify segmentation fault
[EMAIL PROTECTED] (alberto) writes: I finally had time to test vhasify on an i386 with valgrind, attached is the output. Same debian source package as I used for x86_64 and same options (added beecrypt2{,-dev} to dependencies so pbuilder builds it with vhashify). Using 'valgrind' on the 'hashcalc' test would probably make more sense than running it on the whole 'vhashify'. You could do: | ./libtool --mode=execute valgrind --tool=memcheck ./src/testsuite/hashcalc INSTALL SHA-1 which should print aa/7a/adc343319437b8cf0a71345506d2d3e8cc43 Enrico ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Guest IP address is not accessible from outside
Hello. When I try to connect to guest virtual machine IP address from outside, connection goes to host machine, and I cannot connect to guest at all. Details are attached below. I installed linux-vserver over CentOS 4 x86_64 according strictly to instructions here: http://linux-vserver.org/CentOS_HowTo I used the following create command: # vserver hosting build -m yum --hostname hosting --interface hosting=eth0:213.248.62.106/24 --initstyle sysv --context 500 --force -- -d centos4 So, guest OS (hosting) has assigned IP 213.248.62.106 Host machine (delta) has IP address 213.248.62.107 on eth0. Something goes wrong with networking. [EMAIL PROTECTED] 00]# vserver hosting start Starting system logger:[ OK ] Starting kernel logger:[ OK ] [EMAIL PROTECTED] 00]# ifconfig eth0 Link encap:Ethernet HWaddr 00:30:48:75:13:D2 inet addr:213.248.62.107 Bcast:213.248.62.255 Mask:255.255.255.0 inet6 addr: fe80::230:48ff:fe75:13d2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:322664 errors:0 dropped:0 overruns:0 frame:0 TX packets:2134 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20858801 (19.8 MiB) TX bytes:233103 (227.6 KiB) Base address:0x3000 Memory:dd30-dd32 eth0:host Link encap:Ethernet HWaddr 00:30:48:75:13:D2 inet addr:213.248.62.106 Bcast:213.248.62.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Base address:0x3000 Memory:dd30-dd32 You see, 213.248.62.106 was added as alias to eth0. Maybe it is OK, let's go forward: [EMAIL PROTECTED] 00]# vserver hosting enter [EMAIL PROTECTED] /]# ifconfig eth0 Link encap:Ethernet HWaddr 00:30:48:75:13:D2 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:323267 errors:0 dropped:0 overruns:0 frame:0 TX packets:2175 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20898570 (19.9 MiB) TX bytes:238393 (232.8 KiB) Base address:0x3000 Memory:dd30-dd32 eth0:host Link encap:Ethernet HWaddr 00:30:48:75:13:D2 inet addr:213.248.62.106 Bcast:213.248.62.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Base address:0x3000 Memory:dd30-dd32 You see, IP address in guest OS is OK - 213.248.62.106. And - Internet from virtual machine is fully accessible, I can use yum, for example. But, when I try to connect to guest IP (213.248.62.106) from outside (from other machines in Internet), I really connect to HOST machine, NOT to virtual! It is very, very strange! Moreover, [EMAIL PROTECTED] /]# telnet 127.0.0.1 22 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. SSH-1.99-OpenSSH_3.9p1 You see, I connected from virtual machine to 127.0.0.1, SSH port, and answer was - OK. So, I connected to HOST machine AGAIN, because virtual machine does not have SSH server at all. 127.0.0.1 in GUEST OS connects us to HOST machine? Strange, very strange! What do I do incorrectly? P.S. I also tried to remove /etc/vservers/hosting/interfaces/00/name (it contains hosting, guest name). After that there is NO alias 213.248.62.106 in host machine ifconfig, but - also there is NO ifconfig output in GUEST OS. I tried service network start in GUEST machine, creating /etc/sysconfig/network-scripts/ifcfg-eth0 file before, but - when I run service network start in guest, I have error message about already used interface 213.248.62.106. At last, I tried to remove /etc/vservers/hosting/interfaces/00/ totally and operate /etc/sysconfig/network-scripts/ifcfg-eth0 in guest only, but - it does not work too (service network start finished OK, but following ifconfig shows nothing). Please tell how to configure networking in linux-vserver, to be able to connect to virtual machine from outside. -- B.r, Dmitry Koteroff Chief programmer, http://host-ing.ru ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] Guest IP address is not accessible from outside
Hello. (Sorry for possible duplicate - seems previout mail was dropped somewhere, cannot find it on http://list.linux-vserver.org/archive/vserver/) When I try to connect to guest virtual machine IP address from outside, connection goes to host machine, and I cannot connect to guest at all. Details are attached below. I installed linux-vserver over CentOS 4 x86_64 according strictly to instructions here: http://linux-vserver.org/CentOS_HowTo I used the following create command: # vserver hosting build -m yum --hostname hosting --interface hosting=eth0:213.248.62.106/24 --initstyle sysv --context 500 --force -- -d centos4 So, guest OS (hosting) has assigned IP 213.248.62.106 Host machine (delta) has IP address 213.248.62.107 on eth0. Something goes wrong with networking. [EMAIL PROTECTED] 00]# vserver hosting start Starting system logger:[ OK ] Starting kernel logger:[ OK ] [EMAIL PROTECTED] 00]# ifconfig eth0 Link encap:Ethernet HWaddr 00:30:48:75:13:D2 inet addr:213.248.62.107 Bcast:213.248.62.255 Mask:255.255.255.0 inet6 addr: fe80::230:48ff:fe75:13d2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:322664 errors:0 dropped:0 overruns:0 frame:0 TX packets:2134 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20858801 (19.8 MiB) TX bytes:233103 (227.6 KiB) Base address:0x3000 Memory:dd30-dd32 eth0:host Link encap:Ethernet HWaddr 00:30:48:75:13:D2 inet addr:213.248.62.106 Bcast:213.248.62.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Base address:0x3000 Memory:dd30-dd32 You see, 213.248.62.106 was added as alias to eth0. Maybe it is OK, let's go forward: [EMAIL PROTECTED] 00]# vserver hosting enter [EMAIL PROTECTED] /]# ifconfig eth0 Link encap:Ethernet HWaddr 00:30:48:75:13:D2 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:323267 errors:0 dropped:0 overruns:0 frame:0 TX packets:2175 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20898570 (19.9 MiB) TX bytes:238393 (232.8 KiB) Base address:0x3000 Memory:dd30-dd32 eth0:host Link encap:Ethernet HWaddr 00:30:48:75:13:D2 inet addr:213.248.62.106 Bcast:213.248.62.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Base address:0x3000 Memory:dd30-dd32 You see, IP address in guest OS is OK - 213.248.62.106. And - Internet from virtual machine is fully accessible, I can use yum, for example. But, when I try to connect to guest IP (213.248.62.106) from outside (from other machines in Internet), I really connect to HOST machine, NOT to virtual! It is very, very strange! Moreover, [EMAIL PROTECTED] /]# telnet 127.0.0.1 22 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. SSH-1.99-OpenSSH_3.9p1 You see, I connected from virtual machine to 127.0.0.1, SSH port, and answer was - OK. So, I connected to HOST machine AGAIN, because virtual machine does not have SSH server at all. 127.0.0.1 in GUEST OS connects us to HOST machine? Strange, very strange! What do I do incorrectly? P.S. I also tried to remove /etc/vservers/hosting/interfaces/00/name (it contains hosting, guest name). After that there is NO alias 213.248.62.106 in host machine ifconfig, but - also there is NO ifconfig output in GUEST OS. I tried service network start in GUEST machine, creating /etc/sysconfig/network-scripts/ifcfg-eth0 file before, but - when I run service network start in guest, I have error message about already used interface 213.248.62.106. At last, I tried to remove /etc/vservers/hosting/interfaces/00/ totally and operate /etc/sysconfig/network-scripts/ifcfg-eth0 in guest only, but - it does not work too (service network start finished OK, but following ifconfig shows nothing). Please tell how to configure networking in linux-vserver, to be able to connect to virtual machine from outside. -- B.r, Dmitry Koteroff Chief programmer, http://host-ing.ru ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Guest IP address is not accessible from outside
Hi there, on Saturday, November 12, 2005 at 11:10 on the list was posted: (Sorry for possible duplicate - seems previout mail was dropped somewhere, cannot find it on http://list.linux-vserver.org/archive/vserver/) As this is primary a _mailing_list, I guess the archive is a bit delayed ;-) -- regards, Guenther Fuchs ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo Vserver: PHP5 - udev - baselayout problem
Christian Heim wrote: On Friday 11 November 2005 11:46, Tor Rune Skoglund wrote: I am trying to emerge dev-lang/php to get php5. package.keywords have been set accordingly. Emerge wants to install udev for some reason. (Why would I want udev in a vserver? I probably don't...) Rune, could you please copypaste the tree output of your emerge (-t) ?! Anyway, when trying to emerge udev, udev want a baselayout other than the vserver baselayout, and there my knowledge stops. Yes, here we go: emerge -t dev-lang/php --tree implies --pretend... adding --pretend to options. These are the packages that I would merge, in reverse order: Calculating dependencies !!! All ebuilds that could satisfy =sys-apps/baselayout-1.8.6.12-r3 have been masked. !!! One of the following masked packages is required to complete your request: - sys-apps/baselayout-1.12.0_pre10-r1 (masked by: package.mask, ~x86 keyword) - sys-apps/baselayout-1.12.0_pre10 (masked by: package.mask, ~x86 keyword) - sys-apps/baselayout-1.12.0_pre9-r1 (masked by: package.mask, ~x86 keyword) - sys-apps/baselayout-1.11.13-r2 (masked by: package.mask, ~x86 keyword) - sys-apps/baselayout-1.11.13-r1 (masked by: package.mask) - sys-apps/baselayout-1.12.0_pre9-r2 (masked by: package.mask, ~x86 keyword) For more information, see MASKED PACKAGES section in the emerge man page or section 2.2 Software Availability in the Gentoo Handbook. !!!(dependency required by sys-fs/udev-073 [ebuild]) emerge -t udev says the same. This is my make.conf in the vserver: # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS=-O2 -march=pentium4 -fomit-frame-pointer CHOST=i686-pc-linux-gnu CXXFLAGS=${CFLAGS} USE=acl apache2 bash-completion bcmath bzip2 cli cpdflib crypt ctype curl curlwrappers dba emacs exif expat ffmpeg ffftw flatfile fortran ftp gd -gdbm geoip ggi gif imagemagick imap imlib innodb java javascript jpeg ldap libwww mhash mime mmx mp3 mpeg mysql ncurses pam pcre pdflib perl php png python readline sasl session simplexml slp soap sockets spl sqlite sse sse2 ssl tcltk tidy tiff tokenizer truetype vhosts xml xml2 xmlrpc xsl zip zlib x86 LINGUAS=nb Here is /etc/portage/package.keywords: # Pakker for å få mysql 5 =dev-db/mysql-5.0.15* ~x86 =dev-perl/DBD-mysql-2.9007* ~x86 # Pakker for å få PHP5 =dev-lang/php-5.0.5* ~x86 =app-text/aspell-0.60.2* ~x86 =app-admin/eselect-php-0.96* ~x86 =app-admin/eselect-0.9.6* ~x86 =dev-php5/pecl-zip-1.0* ~x86 =sys-fs/udev-0.71* ~x86 # Vserver baselayout =sys-apps/baselayout-vserver-1.12.0_pre8* ~x86 (That udev line was added since php wanted udev and I added to check if it might help with a newer version. It didn't.) Finally, on the host, this is vserver-info: Versions: Kernel: 2.6.13.3-vs2.1.0-rc3-gentoo VS-API: 0x00020001 util-vserver: 0.30.208; Oct 29 2005, 15:58:22 Features: CC: i686-pc-linux-gnu-gcc, i686-pc-linux-gnu-gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) CXX: i686-pc-linux-gnu-g++, i686-pc-linux-gnu-g++ (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) CPPFLAGS: '' CFLAGS: '-O2 -march=pentium4 -fomit-frame-pointer -std=c99 -Wall -pedantic -W' CXXFLAGS: '-O2 -march=pentium4 -fomit-frame-pointer -ansi -Wall -pedantic -W -fmessage-length=0' build/host: i686-pc-linux-gnu/i686-pc-linux-gnu Use dietlibc: yes Build C++ programs: yes Build C99 programs: yes Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts ext2fs Source: e2fsprogs syscall(2) invocation: alternative vserver(2) syscall#: 273/glibc Paths: prefix: /usr sysconf-Directory: /etc cfg-Directory: /etc/vservers initrd-Directory: /etc/init.d pkgstate-Directory: /var/run/vservers Kernelheaders: /lib/modules/2.6.13.3-vs2.1.0-rc3-gentoo/build/include vserver-Rootdir: /vservers Any clues? Best regards Tor Rune Skoglund [EMAIL PROTECTED] ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo Vserver: PHP5 - udev - baselayout problem
On Saturday 12 November 2005 19:33, Tor Rune Skoglund wrote: This is my make.conf in the vserver: # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS=-O2 -march=pentium4 -fomit-frame-pointer CHOST=i686-pc-linux-gnu CXXFLAGS=${CFLAGS} USE=acl apache2 bash-completion bcmath bzip2 cli cpdflib crypt ctype curl curlwrappers dba emacs exif expat ffmpeg ffftw flatfile fortran ftp gd -gdbm geoip ggi gif imagemagick imap imlib innodb java javascript jpeg ldap libwww mhash mime mmx mp3 mpeg mysql ncurses pam pcre pdflib perl php png python readline sasl session simplexml slp soap sockets spl sqlite sse sse2 ssl tcltk tidy tiff tokenizer truetype vhosts xml xml2 xmlrpc xsl zip zlib x86 LINGUAS=nb Just paste the output of emerge --info :) Are your sure you're /etc/make.profile points to a valid vserver-profile ?! Due to some pkg it's pulling in udev and the normal gentoo baselayout. -- Christian Heim [EMAIL PROTECTED] Gentoo Linux Developer - vserver pgpoRLPqRQ79r.pgp Description: PGP signature ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo Vserver: PHP5 - udev - baselayout problem
On Saturday 12 November 2005 19:33, Tor Rune Skoglund wrote: Christian Heim wrote: On Friday 11 November 2005 11:46, Tor Rune Skoglund wrote: I am trying to emerge dev-lang/php to get php5. package.keywords have been set accordingly. Emerge wants to install udev for some reason. (Why would I want udev in a vserver? I probably don't...) Rune, could you please copypaste the tree output of your emerge (-t) ?! Anyway, when trying to emerge udev, udev want a baselayout other than the vserver baselayout, and there my knowledge stops. Yes, here we go: emerge -t dev-lang/php please read http://bugs.gentoo.org/show_bug.cgi?id=105616 and try to find out which package depends on udev, no package should depend on udev in a vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] unregister_netdevice errors with 2.6.14-vs2.0.1-pre3-prelim
On Sun, Nov 06, 2005 at 11:11:34AM +0100, Enrico Scholz wrote: Hello, my VPN VServer do not work anymore with 2.6.14-vs2.0.1-pre3-prelim kernels. There, I get | unregister_netdevice: waiting for tun50 to become free. Usage count = 1 like errors and every netdevice related operation (e.g. 'ip route show') stucks in 'D' state. Exactly the same setup works with 2.6.13.4-vs2.0.1-pre2. could you check if this patch fixes the issue for you? http://vserver.13thfloor.at/Experimental/FOR-2.0.1/delta-indev-fix01.diff TIA, Herbert Some details about the VPN server: * NET_ADMIN + NET_RAW bcapabilities * ~hide_netif cflags * one normal ip * openvpn-2.0.2 (I know... a little bit old...) Enrico ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] private networking between guests
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck wrote: On Sunday 30 October 2005 08:36 am, Herbert Poetzl wrote: oh ok. so then i can use the host lo to create a pvtnet by assigning each guest a unique localhost number such as guest 1, 127.0.0.2, guest 2 , 127.0.0.3 and they can talk back and forth addressing each unique localhost id.. this is exactly what i do. i have a dns server, apt-proxy, mysql (which is only accessible from an internal interface). On Sun, Oct 30, 2005 at 08:15:45AM -0400, Chuck wrote: i saw somewhere a description on how to create an internal private network between guests and now i cant find it.. anyone have a url for that? i based my setup on the riseup documentation. however, this part of it was a little obscure, as it was under syscp: http://deb.riseup.net/web-server/syscp/install/ and look at the individual vservers they've set up. all guest-guest communication is internal and private (to the host) as it happens via the loopback device best, Herbert - -- love and solidarity, --gdm http://docs.indymedia.org/view/Main/GarconDuMonde i have a NEW key: gpg --keyserver pgp.mit.edu --recv-keys 594B97C2 Key fingerprint = 7B70 F22D F275 D111 3A04 F9EE 0E25 4944 594B 97C2 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) iD8DBQFDdobyDiVJRFlLl8IRAu/rAKCLbv4P+VQsmAXHEDRkIQVMErQVdwCfSOX9 QaVvpM8O5KvPidF9p6nl1Ls= =OEcD -END PGP SIGNATURE- ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo Vserver: PHP5 - udev - baselayout problem
Lørdag 12 november 2005 21:32, skrev Benedikt Boehm: On Saturday 12 November 2005 19:33, Tor Rune Skoglund wrote: Christian Heim wrote: On Friday 11 November 2005 11:46, Tor Rune Skoglund wrote: I am trying to emerge dev-lang/php to get php5. package.keywords have been set accordingly. Emerge wants to install udev for some reason. (Why would I want udev in a vserver? I probably don't...) please read http://bugs.gentoo.org/show_bug.cgi?id=105616 and try to find out which package depends on udev, no package should depend on udev in a vserver OK, so I'm not alone at least... ;) Is there an easy way to find which package depend on udev? As -t apparently don't tell it, is there another way? Best regards Tor Rune Skoglund ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Gentoo Vserver: PHP5 - udev - baselayout problem
equery depends udev ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] how to change root permissons for my vserver
Hi all I am new to vservers.I installed vserver on my linux redhat 9 machine.But the problems is everything i m doing as root.can i change my permissions as a normal user? thanku, chinnazSend instant messages to your online friends http://uk.messenger.yahoo.com ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver