1354842075 Q * Ghislain Quit: Leaving. 1354845421 Q * fisted Ping timeout: 480 seconds 1354846760 J * fisted ~fisted@xdsl-87-78-9-12.netcologne.de 1354847604 Q * ravid Remote host closed the connection 1354849310 M * Bertl off to bed now ... have a good one everyone! 1354849387 N * Bertl Bertl_zZ 1354854857 Q * Aiken Quit: Leaving 1354861424 Q * FireEgl Quit: Leaving... 1354864284 J * _urbee ~urbee@93-103-199-233.dynamic.t-2.net 1354864586 Q * urbee Ping timeout: 480 seconds 1354866791 J * bonbons ~bonbons@2001:960:7ab:0:38a9:c086:874:1269 1354867419 J * Ghislain ~aqueos@adsl1.aqueos.com 1354868437 Q * bonbons Quit: Leaving 1354868636 Q * Romster Remote host closed the connection 1354871379 J * BenG ~bengreen@cpc29-aztw23-2-0-cust144.18-1.cable.virginmedia.com 1354871559 J * thierryp ~thierry@home.parmentelat.net 1354871820 Q * ensc|w Remote host closed the connection 1354871829 J * ensc|w ~ensc@www.sigma-chemnitz.de 1354871832 J * Romster ~romster@202.168.100.149.dynamic.rev.eftel.com 1354871945 J * BenG_ ~bengreen@cpc29-aztw23-2-0-cust144.18-1.cable.virginmedia.com 1354871951 Q * BenG_ Remote host closed the connection 1354872595 Q * clopez Ping timeout: 480 seconds 1354876064 N * Bertl_zZ Bertl 1354876069 M * Bertl morning folks! 1354878001 Q * fisted Remote host closed the connection 1354878052 M * BlackPanx _nono_ you just need to keep cgconfig off from startup and everything is fine. 1354878063 J * fisted ~fisted@xdsl-87-78-185-129.netcologne.de 1354878214 M * BlackPanx darn what a nickname... 1354878219 M * BlackPanx lol 1354878245 M * BlackPanx and a german... that's disturbing :) 1354879987 J * kir ~kir@swsoft-msk-nat.sw.ru 1354880189 Q * thierryp Remote host closed the connection 1354881598 Q * fisted Ping timeout: 480 seconds 1354884721 J * thierryp ~thierry@home.parmentelat.net 1354890157 P * kir PING 1354890157 1354890905 M * Bertl off for a nap ... bbl 1354891018 N * Bertl Bertl_zZ 1354891654 Q * BenG Quit: I Leave 1354894734 J * kir ~kir@swsoft-msk-nat.sw.ru 1354895304 P * kir PING 1354895304 1354895475 N * ensc Guest766 1354895485 J * ensc ~irc-ensc@p54ADEEC7.dip.t-dialin.net 1354895896 Q * Guest766 Ping timeout: 480 seconds 1354896447 J * fisted ~fisted@xdsl-84-44-236-2.netcologne.de 1354898182 N * Bertl_zZ Bertl 1354898185 M * Bertl back now ... 1354902524 J * clopez ~clopez@242.17.60.213.dynamic.mundo-r.com 1354903973 Q * thierryp Remote host closed the connection 1354904196 J * thierryp ~thierry@2a01:e35:2e2b:e2c0:806f:b1e7:7b60:f9cc 1354905634 Q * thierryp Remote host closed the connection 1354905655 J * thierryp ~thierry@2a01:e35:2e2b:e2c0:806f:b1e7:7b60:f9cc 1354906138 Q * thierryp Ping timeout: 480 seconds 1354906484 J * hijacker_ ~hijacker@cable-84-43-134-121.mnet.bg 1354906851 J * thierryp ~thierry@home.parmentelat.net 1354907325 J * imachine ~imachine@ip-178-216-200-202.e24cloud.com 1354907329 M * imachine hello! 1354907344 M * imachine would running a vserver inside of qemu be causing an issue? 1354907382 M * imachine I have my cloud machine set up as qemu. I can install a custom kernel which I did (the -beng version mentioned on linux-vserver.org) 1354907399 M * imachine however, creating a vserver seems to cause issues. 1354907410 M * Bertl no, Linux-VServer work fine inside a kvm/qemu guest 1354907423 M * imachine I use the newvserver command from debian but it seems it doesn't fully bootstrap it 1354907435 Q * thierryp Remote host closed the connection 1354907441 M * Bertl you shouldn't use that 1354907448 M * imachine what should I use then ? 1354907449 M * Bertl it is outdated, broken, deprecated ... 1354907460 M * Bertl i.e. it is expected to fail 1354907464 M * imachine or where would I go to read about it :) 1354907476 M * Bertl you should install recent util-vserver 1354907483 M * imachine done that 1354907488 M * Bertl you can build guests with 'vserver build ...' 1354907501 M * Bertl see wiki for examples for various guest distros 1354907507 M * imachine 0.30.216-pre3038 is the one I have. 1354907517 M * imachine ok cheers. 1354907527 M * Bertl yep, that's fine 1354907556 M * Bertl http://linux-vserver.org/Building_Guest_Systems 1354907640 M * imachine if I have some vservers running on another machine, can I just migrate those? 1354907662 M * Bertl yes, given that the config is recent enough 1354907674 M * Bertl otherwise you might have to adjust the guest config manually 1354907685 M * imachine like, copy the files directly and that's it? plus eventual config adjustments? 1354907706 M * Bertl yes, just make sure that you do not mess up ownership, permissions, etc 1354907722 M * Bertl i.e. a plain cp won't do 1354907731 M * imachine cp -a is ok ? :) 1354907732 M * Bertl you can also use the rsync build method 1354907766 M * Bertl vserver - build --help 1354907839 M * imachine oh that looks nice 1354907882 M * imachine I thought I'd just install three vservers with same names and ips I had and then just purge the files from vdirbase/ and cp -a the old files into vdirbase/ 1354907912 M * imachine I'll most likely just have a .tbz of the old server root 1354907931 M * Bertl you can do that, but use something better than cp -a, for example rsync -axHPSD --numeric-ids 1354907943 M * imachine cool :) 1354907970 M * Bertl for tar, also make sure to use the proper options to preserve uid/gid and permissions 1354908480 M * imachine ok, I built a vserver using this command: vserver myhost build -m debootstrap --context 42 --hostname myhost.mydomain --interface eth0:199.99.99.99/21 -- -d squeeze -m http://ftp.pl.debian.org/debian 1354908496 M * imachine when I try to start it, it says vshelper.init: can not determine xid of vserver 'ns1'; returned value was '' 1354908516 M * Bertl how do you try to start it? 1354908527 M * imachine vserver myhost start 1354908538 M * Bertl why does it say 'ns1' then? 1354908546 M * imachine eh yea 1354908550 M * imachine cuz myhost=ns1 ;) 1354908562 M * Bertl also, make sure that you use a separate context number for each guest 1354908569 M * Bertl s/separate/different/ 1354908581 M * imachine yes, I stated 42 with the command, first time so 1354908588 M * Bertl i.e. --context is a _unique_ identifier 1354908621 M * Bertl I presume the debootstrap finished without errors? 1354908627 M * imachine yea 1354908653 M * imachine should I have the ip configured for the vserver ? 1354908660 M * Bertl then please run the vserver ns1 start with --debug (i.e. vserver --debug ns1 start) and upload the output somewhere 1354908665 M * imachine wok 1354908669 M * Bertl you did with the --interface option 1354908676 M * Bertl (i.e. configure the IP) 1354908867 M * imachine http://goo.gl/LpL7a 1354908942 M * imachine this is just the last few lines before the error 1354908948 M * imachine I can paste more if required 1354908965 M * Bertl yes, please, but first upload 'vserver-info - SYSINFO' 1354909035 M * imachine http://goo.gl/pKclg 1354909299 M * Bertl looks fine so far, just make sure that you do not have any leftovers from the debian packages, especially the one containing newvserver 1354909336 M * Bertl i.e. if you are unsure, remove all the tools, then remove /etc/vservers and reinstall the util-vserver package(s) 1354909364 M * imachine ok 1354909734 M * imachine same story 1354909748 M * Bertl okay, then please upload the full --debug run 1354909752 M * imachine removed all of /etc/vservers like you wrote, install the latest stuff. 1354909775 M * imachine http://pastebin.ca/2290376 this is as far as my terminal backlog goes :) 1354909784 M * imachine will this be enough ? 1354909815 M * imachine maybe I can get it higher.. 1354909851 M * Bertl redirect it to a file with >/tmp/some_file 2>&1 1354909912 M * imachine http://pastebin.ca/2290377 1354909919 M * imachine that's the full thing 1354909935 M * imachine can I be back in about 20 minutes? 1354909956 M * imachine I'm hungry but I can stick it out because I really appreciate your help 1354909970 M * Bertl no problem, get something to eat 1354910030 M * imachine cheers I'll be back - my old server has experienced a hardware failure and I decided to move the data to a virtual cloud instead. it's been 2 days my clients are stuck without email etc ;| 1354910040 M * imachine it's been hectic 1354910041 M * imachine :-) 1354910054 M * Bertl backups are for woozies :) 1354912491 J * bonbons ~bonbons@2001:960:7ab:0:288a:ade0:bc70:831c 1354914847 M * imachine oof 1354914851 M * imachine sorry it took so long 1354914860 M * imachine Bertl, are you still about? 1354914867 M * Bertl yup 1354914869 M * imachine cool :) 1354914880 M * imachine I had a backup just from a while ago 1354914881 M * imachine anywho 1354914887 M * Bertl what does '/usr/sbin/vserver-info /etc/vservers/ns1 CONTEXT false' give? 1354915016 M * imachine nothing 1354915023 M * Bertl there is your problem 1354915049 M * Bertl so, what does 'ls -la /etc/vservers/ns1/' return? 1354915054 M * Bertl (use pastebin) 1354915099 Q * hijacker_ Quit: Leaving 1354915116 M * imachine http://pastebin.ca/2290395 1354915222 M * Bertl okay, let's run 'strace -fF /usr/sbin/vserver-info /etc/vservers/ns1 CONTEXT false' 1354915233 M * Bertl (and upload the output) 1354915270 M * imachine http://pastebin.ca/2290396 1354915283 M * imachine (wow, you could do _that_?) 1354915292 M * imachine (like, strace, cool ;)) 1354915483 M * Bertl looks like your guest doesn't keep running for whatever reason 1354915485 M * imachine I think I remember looking at or using strace in the past, but it's always a nice refreshment to know it's at hand with debugging things. 1354915504 M * imachine Bertl: what reason might that be ? 1354915505 M * Bertl (well, most likely no service is enabled, but that should be done by the post install scripts) 1354915537 M * Bertl I just tried your install command here with the same util-vserver version and it works just fine 1354915548 M * Bertl i.e. gives a fully functional guest 1354915567 M * Bertl so, please try again with the following build command and upload the output: 1354915586 M * imachine maybe I can build with --debug ? 1354915597 M * Bertl vserver ns1 build -m debootstrap --context 442 --hostname myhost.mydomain --interface eth0:199.99.99.99/21 -- -d squeeze -m http://ftp.pl.debian.org/debian 1354915612 M * Bertl remove your ns1 guest, but keep the IP/context for the test 1354915635 M * Bertl i.e. run it exactly as I pasted it after deleting your ns1 1354915657 M * Bertl (vserver ns1 delete) 1354915671 M * imachine err, should I use the same ip and context you posted here? the 199.99.99.99/21 ? 1354915676 M * Bertl yep 1354915678 M * imachine ok 1354915969 M * imachine maybe the bottom of this is that I'm using a kernel for debian squeeze on a ubuntu 12.04 machine? 1354915984 M * imachine maybe I should rebuild from ubuntu sources + vserver patches 1354915998 M * imachine it boots fine though and seems to work ok 1354916021 M * Bertl well, putting aside the fact that you should build your own kernel from vanilla sources + patch, this should not affect the userspace tools 1354916185 M * imachine (I'm trying this same command on another box with ubuntu + -beng kernel) 1354916205 M * imachine (running exactly as you wrote it and starting it brings us back to square one) 1354916223 M * Bertl that's good, please upload the log 1354916603 M * imachine http://pastebin.ca/2290401 1354916612 M * imachine here's the log with your command 1354916676 M * Bertl hmm, no, I want the log from the guest install 1354916688 M * imachine oh 1354916708 M * imachine where would that reside 1354916744 M * imachine where does vserver command keep its logs? 1354916751 M * imachine it's not in /var/log/vserver* ;) 1354916764 M * Bertl the output from the vserver ns1 build ... 1354916775 M * Bertl just copy/paste or redirect it 1354916790 M * imachine it's prety standard.. 1354916795 M * imachine but I'll do it again 1354917055 M * imachine http://pastebin.ca/2290404 1354917065 M * imachine --verbose doesn't seem to do much 1354917088 M * imachine I fail to see a difference in output with the above commands 1354917091 M * Bertl didn't say anything about --verbose, did I? 1354917094 M * imachine with --verbose and without it. 1354917105 M * imachine yeah, I tried to give more info. 1354917112 M * Bertl that's all from the install? 1354917113 M * imachine but it's the same without --verbose :) 1354917116 M * imachine yea 1354917120 M * Bertl i.e. nothing cut off at the end? 1354917130 M * imachine hence my thinking about --verbose ;) 1354917138 M * Bertl I'd say your debootstrap is unsuitable 1354917154 M * Bertl i.e. it cannot debootstrap this guest 1354917185 M * imachine oh 1354917189 M * Bertl normally util-vserver downloads the proper version (on non debian systems) but in your case, it uses the installed one 1354917206 M * Bertl (which screws up :) 1354917208 M * imachine lemme purge debootstrap from my system 1354917287 M * imachine well this is weird 1354917295 M * imachine Could not find local version of 'debootstrap'; downloading it from 1354917295 M * imachine http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.39_all.deb... 1354917301 M * imachine it can't find it 1354917311 M * Bertl yeah, that's fine, debian changes the name on a regular basis 1354917318 M * imachine and the version I had installed was 1.0.39 1354917330 M * Bertl check on the debian site 1354917331 M * imachine but it was an ubuntu version so maybe they modified it. 1354917339 M * Bertl (what the latest version is) 1354917349 M * Bertl and add that to the /etc config as advised 1354917389 M * Bertl 1.0.44 in this case 1354917410 M * Bertl or the squeeze one if you just want to build squeeze guests 1354917420 M * Bertl (but the other one should be fine for all) 1354917478 M * imachine just as well I could install ubuntu clients 1354917488 M * imachine then it should work with that deboostrap I have on my system 1354917491 M * imachine but nvm ;) 1354917499 M * Bertl yeah, probably 1354917506 M * Bertl you did pick squeeze :) 1354917521 M * imachine I just figured it could be the issue of qemu 1354917529 M * imachine that was my first bet 1354917532 M * Bertl nah, qemu/kvm is fine 1354917540 M * imachine because I had some issues with vps before 1354917543 Q * Romster Ping timeout: 480 seconds 1354917564 M * imachine hmm 1354917571 M * imachine so far the build output is the same 1354917572 M * imachine :> 1354917578 M * imachine (using .44) 1354917588 M * imachine yea 1354917592 M * imachine vshelper.init: can not determine xid of vserver 'ns1'; returned value was '' 1354917615 M * imachine I purged deboostrap and put the one from the debian package 1354917656 M * imachine still same error. would you like the debug? 1354917673 M * Bertl nah, debootstrap has to continue 1354917683 M * imachine it didn't 1354917691 M * imachine it just update-rc.d: using dependency based boot sequencing 1354917697 M * imachine and that's the last of its work 1354917751 M * Bertl http://pastebin.ca/2290406 1354917765 M * Bertl this is how it looks like after the point where your debootstrap stops 1354917834 M * Bertl note that till the line stating: 1354917840 M * Bertl I: Base system installed successfully. 1354917855 M * Bertl it is debootstrap and only debootstrap running 1354917867 M * Bertl i.e. you can test this part without util-vserver 1354917892 M * imachine what command does vserver run exactly? 1354917903 M * imachine I could replicate that same command for debootstrap 1354917903 M * Bertl (that you can see in the --debug run) 1354917921 M * Bertl but note: you can do without a distro if you plan to fill in the guest data anyway 1354917933 M * imachine I still want to try to set it up 1354917937 M * imachine to see if it works 1354917943 M * imachine before I put actual data in there :) 1354917961 M * imachine so far I haven't made past debootstrap for some reason 1354917981 M * Bertl for some bootstrap related reason :) 1354918013 M * Bertl (read: can't help you much with that) 1354918042 M * Bertl daniel_hozac: ping? 1354918169 M * Bertl imachine: this is the command it runs here: 1354918172 M * Bertl /usr/sbin/vspace --mount --fs --new -- /tmp/debootstrap.J6cdyR/usr/sbin/debootstrap squeeze /etc/vservers/.defaults/vdirbase/ns1 http://ftp.pl.debian.org/debian '' 1354918187 M * Bertl you can drop everything up to the debootstrap 1354918210 M * imachine oh, could it be possible debootstrap tries to set up devices? 1354918211 M * Bertl and probably change the dir as well, so something like: 1354918214 M * imachine like, mknod ? 1354918227 M * imachine maybe it fails then. 1354918233 M * Bertl debootstrap squeeze /path/to/temp/space/ http://ftp.pl.debian.org/debian '' 1354918239 M * Bertl should do for a test 1354918266 M * Bertl I have no idea what debootstrap does 1354918448 M * Bertl daniel_hozac: I think I found and fixed the CoW issues, please take a look at the vs2.3.4.3.4-donotuse.diff and let me know what you think (lot of debug stuff there you can ignore) 1354918470 M * imachine I: Base system installed successfully. 1354918476 M * imachine kerplonk 1354918479 M * imachine it worked! 1354918482 M * imachine manually that is 1354918486 M * imachine so, what gives ? :) 1354918503 M * Bertl well, that's good 1354918518 M * Bertl remove the guest again, run the build with --debug 1354918541 M * imachine /var/tmp/debootstrap.8lH0au/usr/sbin/debootstrap: 931: /var/tmp/debootstrap.8lH0au/usr/sbin/debootstrap: cannot create /etc/vservers/.defaults/vdirbase/ns1//etc/resolv.conf: Directory nonexistent 1354918542 M * Bertl check the debootstrap line it issues right before I: Retrieving Release 1354918545 M * imachine yeah alright :) 1354918555 M * imachine I think we might have our culprit here 1354918562 M * imachine /vservers/ns1/debootstrap/debootstrap.log) 1354918597 M * Bertl okay, please check 1354918601 M * imachine I don't get it 1354918605 M * Bertl /etc/vservers/.defaults/vdirbase/ns1/ 1354918611 M * Bertl does that exist? 1354918623 M * imachine inside /etc/vservers/.defaults/vdirbase/ns1/etc/ resolv.conf is a symlink 1354918626 M * Bertl if not, check /etc/vservers/.defaults/vdirbase 1354918628 M * imachine ls -al /etc/vservers/.defaults/vdirbase/ns1/etc/resolv.conf 1354918628 M * imachine lrwxrwxrwx 1 root root 29 Nov 7 11:21 /etc/vservers/.defaults/vdirbase/ns1/etc/resolv.conf -> ../run/resolvconf/resolv.conf 1354918630 M * daniel_hozac ensure that /etc/vservers/.defaults/files/resolv.conf exists 1354918633 M * daniel_hozac and is a file 1354918638 M * daniel_hozac and contains your nameservers 1354918650 M * daniel_hozac Bertl: i'll take a look. 1354918650 M * Bertl ah, yeah, we had that a few times 1354918660 M * imachine daniel_hozac: bingo 1354918686 M * Bertl have to make a note of this recent oddity 1354918713 M * Bertl daniel_hozac: I presume, you plan on fixing this in an upcoming util-vserver release? 1354918727 M * Bertl (probably by copying the content instead of the entry) 1354918754 J * Romster ~romster@202.168.100.149.dynamic.rev.eftel.com 1354918844 M * Bertl okay, I guess, problem solved, everybody happy ... (see http://linux-vserver.org/Donations if you are really happy :) 1354918857 M * Bertl I'm off for now, but I'll be back in an hour or so 1354918862 N * Bertl Bertl_oO 1354918889 M * imachine alrigh! 1354918893 M * imachine thank you all :) 1354918898 M * imachine it works now :) 1354918906 M * imachine daniel_hozac, it was missing that file ;) 1354919010 Q * imachine Quit: leaving 1354919090 J * imachine ~imachine@ip-178-216-200-202.e24cloud.com 1354919101 M * imachine imma hang out :) 1354919130 M * imachine gotta work with the vservers now ;) ttyl 1354920416 Q * nicholi Remote host closed the connection 1354920515 Q * bonbons Quit: Leaving 1354921201 Q * fisted Remote host closed the connection 1354921261 J * fisted ~fisted@xdsl-81-173-187-161.netcologne.de 1354921501 N * Bertl_oO Bertl 1354921501 Q * Ghislain Quit: Leaving. 1354921513 M * Bertl imachine: feel free to hang around as long as you like 1354921895 Q * Romster Ping timeout: 480 seconds 1354921998 Q * imachine Quit: leaving 1354923518 J * Romster ~romster@202.168.100.149.dynamic.rev.eftel.com