[00:00] SpamapS: do you know if perhaps koan —static-interface is broken? [00:00] SpamapS : ... [00:01] or anyone else [00:01] my xml is coming out with "ksdevice=link" instread of eth0 === Jasonn is now known as me === me is now known as Jasonn [01:04] what would be the best way to backup a full kvm based on lvm storage? [01:04] is there any good article about how to ? [01:05] I want a full snapshot backed up, with the ability to restore the full vm, any ideas? [01:14] scalability-junk, the best way? [01:14] shutdown the kvm [01:14] make a copy of the lv, using like dd [01:14] or just back it up like any other computer [01:16] patdk-lap: yeah I already got a backup from inside the vm, but I just wanted to have a way of backup up the whole vm once a month or so [01:16] so the best way would be shutdown, dd, and then backup to remot [01:16] *remote [01:16] if you don't care about data consistancy, and want to do it without a shutdown [01:16] and don't care about lvm snapshots slowing things down [01:16] then you can do a lvm snapshot [01:16] then do the dd backup from the snapshot [01:17] mh consistency would be better... any experience on how long the downtime would be of a 100G vm with dd? [01:17] LVM snapshots are O(1) [01:17] that all depends on what your coping from and where you copy to [01:18] from disk 1 to disk 1 :D [01:18] the speed of 1 disk to 1 disk [01:18] whatever speed your disks have to spare [01:18] It's faster if you write to /dev/null instead [01:18] twb mh great suggestion :D [01:18] And only slightly less reliable [01:19] twb, faster if you don't bother reading :) [01:19] patdk-lap: but then you don't have a backup! [01:19] One of my customers, they had a broken backup script [01:19] For FIVE YEARS they were dutifully swapping new tapes in each week [01:19] The backup script did nothing but eject the tape [01:19] ya, love those :) [01:20] I try to check atleast once a month [01:20] oh they could have saved so much money on tapes :D [01:21] hell, saved manpower to change them :) === Resistance is now known as EvilResistance [01:31] mhhh gzip is just using one cpu damn [01:32] well, use something better [01:32] scalability-junk: that's because it's sooper-optimized in assembly on x86 [01:33] p7zip, pigz, ... [01:33] what's better than just use dd if=/vm | gzip -9 > vm.dd [01:33] depends what you call better [01:33] patdk-lap: that's a funny way to say xz-utils [01:33] more space saved, or done faster [01:33] twb, never used xz [01:33] yeah -9 seems overkill probably [01:33] normally use 7z myself [01:33] mh I try with -1 first [01:34] xz is the same algo as 7z [01:34] But it doesn't stupidly conflate archiving with compressing [01:34] if you want faster, lzop gives ok compression at full throughput [01:34] I'm a big fan of mksquashfs foo foo.sq -compr xz [01:35] I think I go for using dd withoutg compression and then do the compression afterwards so the vm can be started up again [01:35] compression, using say lzop could make it faster [01:36] ok I'll check that out thanks [01:36] any compression that doesn't overload the cpu, means less disk writing [01:36] lzop is designed for real-time use [01:36] so it won't overload any normal cpu [01:36] I love using it for memcache type things [01:37] my estimation right now dd the whole vm would be a downtime of about 5-20 min [01:37] 40G [01:37] scalability-junk, should be around 6-7min [01:37] Just quiesce the VM, ensure the VM subsystem has flushed to disk, then LVM snapshot and back that up [01:37] unless the box is busy doing other things [01:38] Or worst case, stop the VM, make an LVM snapshot, start the VM, then do the backup from the snapshot [01:38] patdk-lap: yeah unfortunately it won't be too idle... [01:38] ya, stopping the vm, snapshot, start vm, would work also [01:38] but also make disk slower, till you remove the snapshot [01:38] would that be faster in terms of downtime? [01:38] patdk-lap: unless he's some stupid mysql user, who ccares [01:39] twb, unless you do any disk writing :) [01:39] twb: mysql is not the only thing writing to ram [01:39] I'm a fan of loading stuff into ram ;) [01:39] ram? we are talking about writing to disk, in the vm [01:40] Maybe he knows how reliable mysql databases are, so only uses them on tmpfs [01:40] * patdk-lap hasn't had a mysql issue [01:40] * scalability-junk me neither [01:40] * scalability-junk is using mysql master in ram and slave on disk sometimes :( [01:43] scalability-junk, shutdown kvm, snapshot, restart kvm [01:43] should only take very very little time [01:43] then do your backup, and remove snapshot [01:43] probably the best yeah [01:43] did that for mysql on freebsd to back it up [01:51] just to clarify for restoring .dd files it would be enough to do "dd if=vm.dd of=/path/to/new/lv/vm" right? and then start the vm with virsh --create vm.xml ? [01:52] maybe [01:52] but didn't know lvm's did that [01:52] you using files? or lvm? [01:52] lvm [01:53] so your using raw partitions, so like, /dev/mapper/vg-lv, or /dev/vg/lv [01:53] yeah [01:53] yep [01:53] or tell kvm to use the file instead of the partition :) [01:54] so instead of restoring to a partition I'm just using the .dd file? [01:54] but wouldn't that have performance issues? [01:54] doubtful [01:55] pretty sure kvm file access is about the same as partition access [01:55] there is some extra overhead [01:55] but normally not enough to bother about [01:55] the same with .img files? [01:55] now, if you used sparse files, and it gets heavily fragmented over time, that could really be a perofrmance issue [01:55] I used them before and they were a lot slower [01:55] dunno [01:56] that's why I switched to lvm ... [01:56] I haven't had an issue either way, but only tested with xen [01:56] ah ok [01:56] but then, you have to set it all up correctly [01:57] mh I'm trying the dd from file to new lv and hope it's working as supposed :D [01:58] oh damn I love gzip :D [01:59] 20G down to 200M, perfect for not fully used lvs :D [01:59] except you had to read that 20gigs :( [02:00] patdk-lap: yeah that's not perfect, but I have no other solution yet. [02:00] and it's not the main backup solution, the main one is from inside the guest which is much smarter... [02:14] any mdadm experts about [02:16] !anybody [02:16] A high percentage of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? See also !details, !gq, and !poll. [02:20] ok have a raid 5 unit with 5 disks, rebooted and seems I have a non functioning raid with three disks and two spares [02:21] how can I fix my raid array [02:21] New bug: #885522 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/885522 [03:11] New bug: #885538 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/885538 [03:30] trying to reassemble a raid array have four of the five disks and recreates the array, but cannot mount the array [03:40] what is the best way to create an RSA key pair in windows [03:48] i3luefire: use putty, ssh into a normal box [03:53] i thought the key gen had to happen on the machine to be used [03:56] Well, it is better to minimize the places the secret key occurs [03:56] If you move or copy the secret key, it could be intercepted at either end, or in transit [03:57] But RSA is just an assymetric crypto algorithm; it doesn't even have to be used on a computer [03:57] You could use it to encrypt paper notes to pass to your girlfriends in class if you really wanted to [03:59] so if i use putty do i need to type in the key passphrase everytime i log in [04:00] Um, it kinda depends what you want this for [04:02] hmm [04:03] well i used like a 30 char passphrase so i think im gna make it shorter [04:04] lol, i dont imagine myself sending some encrypted paper notes to my girlfriend :-) [04:04] that sound funny :-D [04:04] cos you ain't got one [04:05] girlfriend ? or encrypted message to send ? [04:05] :-P [04:05] Yes [04:07] LOL [04:21] New bug: #885554 in mysql-5.1 (main) "mysql-server-5.1 Unpacking Halts 11.04-11.10 Server Upgrade" [Undecided,New] https://launchpad.net/bugs/885554 [04:34] ok. i think i have it set up with reasonable defaults but i get the error connection refused === Guest96131 is now known as onre [07:37] hello [07:38] anyone there ? ² [07:41] nope [10:26] is there a technical reason why bash.autocompletion is disabled for root account but its enabled for regular users by default? [10:39] hello anyone there ? [10:40] dont ask to ask, just ask zetui [10:40] ask to ask what ask ? [10:40] if anyone knows it and its awake, they will probably answer you [10:40] ok what this command do : tar -C /overlay -cvf - . | tar -C /mnt/sda1 -xf - [10:42] i hate to be that guy, but: man tar , then press / and type -C (n for next ocurrences) and do so for every option... [10:43] as hints, | (pipe) redirect the output of a comand to the input of the next, - (hypen) means standar input, . (dot) means current directory [10:46] take it easy afuentes [10:46] of course i check on man tar [10:46] for -C it is written change to directory DIR [10:47] -c create a new archive [10:47] what part is unclear? [10:48] the first command changes directory to /overlay and starts archiving that dir to stdout, which is piped to another command which changes dir to /mnt/sda1 and starts to unpack stuff from stdin [10:48] sorry if i sounded rude zetui, something is not working here and its frustrating me lol [10:48] so, in a way, the command is quite similar to cp -a /overlay/* /mnt/sda1 [10:49] this one - . | [10:51] the '-' is actually argument to option -f, which takes a filename. if filename is -, tar uses stdin/stdout instead of file. '.' is the directory that tar will archive. '|' is unix pipe [10:51] afuentes told this a few lines earlier, actually [10:59] an archive should always be in a format .tar right ? correct ? [11:03] zetui: a tar archive will have a .tar or if it is also gzipped it would could be tar.gz or .tgz or if it is just compressed it could be .tar.Z [11:03] there are multiple archive formats [11:03] zetui, if u mean that a tar file should end in .tar, yes, its preferable but its not requerided [11:22] ok [11:37] hey all, i have a problem with getting a java cgi script to run with apache2 (yes i know cgi is bad, its part of a uni lab), the shell script contains "java -Xms16m Hello" and does not seem to run when accessed from url as cgi [11:37] it runs well when tested on cli, both as me and user apache [11:37] ive tried instead running a python script or echoing out the header which works [11:38] but the java program never seems to run (have it write to a file just to see, which it doesnt) [11:38] but apache does not report what is the problem, i only get "malformed header" which is quite true since the program never ran [11:45] ibatron: can u run a hello world [11:46] yea [11:46] ibatron: also i remember setting the correct environment varible. its been a while i used CGI ;-( [11:46] ibatron: anything apache error logs says ? [11:46] yea i know was surprised to see us being asked to use it but guess they want to teach us to feel pain [11:47] ibatron: tail -f /var/log/httpd/access and error will give some clue [11:47] ibatron: that sad ;-( [11:47] in my cgi script, if i echo content type it works fine [11:47] ibatron: is ur prof a sadist ;-( [11:47] apache error reports malformed header [11:47] but the header printed is fine [11:48] i know the java app never even exuctes, because if it did it would write a file [11:48] it seems like it yes :S [11:48] ill check what access says [11:49] access just says 500 (internal server error) which is because of the malformed header, which in turn is due to the java program never running [11:49] ive tried running sudo -u apache ./hello.cgi and that executes just fine [11:50] ibatron: are you setting the path in your cgi script? if not, try giving the full path to the java interpreter [11:50] yea using the full path to java [11:51] I'm not sure it should be needed anymore, but I used to have to set JAVA_HOME to the absolute path to the binary (eg, /usr/lib/jvm/java-6-openjdk/jre/bin/java on mine, not the /usr/bin symlink) [11:52] hrm it might be a path error but not the binary [11:52] i am using java Hello [11:52] it might be that it cant find Hello? [11:53] ibatron: could be. [11:53] can i specify the path to Hello somehow? [11:53] usually running all my java apps in eclipse so a bit new to cli running java [11:54] like java /var/www/Hello.class --run-main or something [11:55] hrm maybe thats what that $CLASSPATH is all about... [11:58] what flavour of linux would be best for an internet startup? [11:59] dnjaramba: ubuntu [11:59] * greppy looks at the channel name [12:00] i'd prefer something with cherry in it, possibly with a hint of vanilla [12:00] pmatulis: anyone using it out in the wild? pardon me asking [12:00] dnjaramba: is anyone using ubuntu? [12:01] dnjaramba: yes, many people are using ubuntu in the marketplace [12:01] we're probably talking tens if not hundreds of thousands of people here, i'd guess [12:01] greppy: tried CLASSPATH=/var/www/html/ then export CLASSPATH but still same issue [12:02] pmatulis: i think am trying to ask how sturdy the server version is, in terms of performance and security [12:03] dnjaramba: very good [12:03] wikimedia run some fairly trafficed sites off it [12:03] dnjaramba, i worked for a year at an internet startup and we had server infrastructure in amazon ec2, and all of our servers ran ubuntu server 11.04 lts. not a single OS-related problem occurred [12:03] dnjaramba, we didn't have more than about a dozen instances, but we had real production use without any problems, including a major launch [12:04] dnjaramba: next april will be the next LTS release (security and major bug updates for 5 years). it is more geared towards the corporate world [12:04] dnjaramba, also my hobby project has about 3.5 million page loads per month and it runs on a single dell poweredge running ubuntu server [12:04] !lts | dnjaramba [12:04] dnjaramba: LTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server. The current LTS version of Ubuntu is !Lucid (Lucid Lynx 10.04) [12:04] dnjaramba: I use the LTS versions for mail/web/shell servers [12:05] hmm, can someone correct that factoid to state that beginning with 12.04 desktop is supported for 5 years also? [12:06] thanks guys!! [12:06] dnjaramba: see you around [12:08] i already know alot about ubuntu for desktops, was just wondering about the server version because i wanna use ubuntu for a gig [12:08] dnjaramba: time to come onboard then. what kind of gig? [12:10] pmatilus: sort of like salesforce for schools [12:10] dnjaramba: database backend i presume? [12:10] pmatilus: yeah [12:11] dnjaramba: what database? [12:12] i am currently looking at MongoDB, neo4j and of course MySql [12:16] i am passing log level debug to syslog, but i can't see where or which console it is logging the message to [12:19] df -h [12:19] oops, sorry [12:26] greetzz === jason is now known as Guest54142 === Guest54142 is now known as jasef === lborda is now known as lborda_otp [13:28] hi... how i can know if i'm running ubuntu server or desktop uname -a and lsb_release are too similar [13:31] dender: you can cat the /etc/lsb-release [13:31] <_ruben> the most obvious difference is the lack/presence of X [13:34] dender: I also use this in a few scripts [13:35] dpkg --get-selections | grep linux-image | grep -v deinstall [13:35] I found it at: http://askubuntu.com/questions/12562/how-to-check-if-ubuntu-desktop-or-server-is-installed [13:35] that seems awful heavy to check if its server/desktop! [13:35] agreed [13:35] dpkg -l ubuntu-desktop? [13:35] `uname -a | grep server` .. if $? == 0, its a server [13:36] kiall, unlikely to work [13:36] patdk-lap: works every time .. [13:36] there are too many kernels other than -server [13:36] kiall, none of my servers have a -server kernel [13:36] normally -virtual :) [13:36] all the server ubuntu server kernels have -server? [13:36] dooh [13:36] virtual [13:37] yup [13:37] dunno if it's still the case, but for 32bit it used to be -general-pae [13:37] oh -generic-pae [13:38] but I also use -generic-pae on desktops too [13:39] I ran into the same regex pattern search headaches for desktop/server/virtual writing puppet modules [13:39] `uname -a| grep -P '(server|virtual)'` ;) [13:39] kiall, still doesn't work for 32bit servers :) [13:39] -_- [13:39] lucid 32bit uses -generic-pae [13:39] there *has* to be a better way than dpkg .. [13:39] facter provides the "operatingsystemrelease => 3.0.0-12-virtual" [13:40] oh ya, you also have -xen too :) [13:41] Kiall: it does seem like a basic need someone would have solved a while ago [13:45] let us know if you find a more efficient way [13:46] see if openssh-server is installed :) [13:47] ;) [13:57] I am running 10.04, is it possible to easily install the 2.6.35 kernel? [13:57] or even more recent kernels? [13:58] storrgie: yes, the .35 kernels are now in the LTS repo [13:58] you just have to manually select them for install [13:59] I've found 10.04 LTS handles higher IO workloads a little better with the .35 kernel [14:05] ninjix, how do I do this, my apologies I'm a little concerned about doing this on my system [14:05] I dont want to screw it up [14:05] install it, reboot [14:05] storrgie: just a moment while I log into one of my LTS boxes [14:05] if it didn't work, reboot with the old kernel :) [14:06] I have a problem with virsh and thought perhaps someone here knowns about it. when I destroy vms they disappear on one of my servers and I don't know how to fix it [14:06] so instead of saying domain1 is shutoff it just shows nothing [14:07] ninjix, thanks! [14:08] ninjix, just checking your history? :D [14:08] patdk-wk, I'm doing this on a remote system, I would have to drive about 200 miles to fix it if it doesnt work [14:08] Its in a locked closet [14:10] well, either drive if it doesn't work [14:10] or setup grub to failover on reboot [14:10] if ninjix got it working fine, I'll just take his advice [14:11] storrgie: do you have console access at all? Serial or Virtual? [14:14] ssh [14:14] I'll caution you on switching kernel families remotely [14:14] without access to the console [14:15] Sure, understood. I'm guessing you have done this on some of your remote machines [14:15] Ubuntu and Debian do an awesome job of making this easy but it doesn't alway go according to plan [14:16] This machine is quite vanilla, I think the only weird I have is a single mdadm volume [14:16] otherwise, I'm installed to a basic storage device [14:16] everything should be pretty vanilla [14:16] I find that on average about 1/25 machines need console attention for some reason after switching kernels [14:16] Do you have all of your packages updated? [14:16] ifyeah [14:16] yeah*, just did a dist-upgrade [14:16] ok [14:17] did it pickup an updated .32 kernel? [14:18] 2.6.32-34 [14:18] agd@minerva:~$ uname -r [14:18] 2.6.32-34-generic-pae [14:18] is a restart request pending? ls /var/run and look for a restart request file [14:18] nope I restarted after install [14:18] im going to restart again though, just in case [14:19] If it's restarting remotely then you *should* be OK [14:20] as soon as it comes back up I'll be ready [14:20] I rebooted it last evening also [14:20] ok, up [14:20] you've got a choice of also using the newer "Natty" kernel build with 2.6.38 [14:21] you said that 2.6.35 is in the lts tree? [14:21] aptitude search linux-image should give you the list of available kernel packages [14:22] LTS has .32, .35, .38 kernel families [14:23] I think I'll go for 2.6.35 [14:23] however I'm making this choice arbitrarily [14:23] I do need 2.6.35 or greater because I'm trying to do usb audio 2.0 [14:23] im worried that I may update my kernel and alsa may need update also [14:24] this a desktop or server? [14:25] server [14:25] I literally use it for smb, mdadm and mpd/alsa [14:26] just got a new dac (schiit bifrost) at this location, they want to play music from the thing via usb 2.0. [14:26] I don't do much with audio devices on servers [14:26] well, I can shoot for 2.6.35 and see if it works [14:26] do I literally just do a: [14:27] sudo apt-get install linux-image-2.6.35-30-generic-pae [14:27] yes [14:27] and everything else works out? [14:27] How can I change the motd so its always the same thing? [14:27] grub regens and such? [14:27] keeps getting regenerated [14:28] yup [14:28] eblow, fix your update-motd script [14:28] lets roll the dice! [14:29] have to thank all of the people that have worked so hard over the years making it so easy. :) [14:30] patdk-wk: I installed update-motd [14:30] now what [14:31] Its not changed anything [14:31] heh [14:31] rebooting! [14:32] Godspeed, man [14:33] elb0w, try man update-motd, and you probably want to UNINSTALL it [14:33] stgraber: could you push http://people.canonical.com/~serge/lxc.debdiff (for oneiric-proposed, fix two SRU bugs for xlyz) [14:37] ninjix, working! [14:37] ninjix, also, alsa picked my usb dac right up [14:37] ninjix, thank you so very much! [14:37] storrgie: excellent [14:48] Suppose I have several PEM X509 certificates and RSA private keys in a directory, and past owners haven't been all that tidy.. is there an openssl or other command that will check whether a given certificate and key match? [15:09] is there anyway I can download a source package from like precise? without having to update all my apt sources? [15:10] hallyn: looking [15:14] patdk-wk: You could try https://launchpad.net/ubuntu/precise/ , using the search. [15:14] ya, that isn't really a command line option :) [15:15] There are command-line web browsers :) [15:16] I was hoping for something like, apt-get source -t percise xxx [15:16] cause I want the source from the other system, but I don't want to screw up my updates [15:38] patdk-wk: did you read the man page for apt-get? [15:40] http://francisaltomare.com/upvotes/ [15:40] lol [15:41] elb0w: go to #ubuntu-offtopic for that stuff [15:41] o [15:41] wrong chan [15:41] my bad [15:53] hello, using qemu for linux kvms, is there a qemu-specific module that is needed? (separate from kvm) [15:54] when trying to start a vm I get an error about the supported vm types: error: internal error unable to start guest: Supported machines are: === SDCoeyer_ is now known as Zhann [16:16] hi all, when I configure ethernet interface with dhcp, who writes /etc/resolv.conf file? [16:27] filo1234: dhclient-script [16:38] Question .. iptables does not have a daemon .. upstart or init.d script. Is this part of the base package? Built into the OS ? [16:41] pdtpatrick1: I think that talks pretty much with the kernel [16:44] why would iptables need a daemon? [16:44] or are you thinking of the rhel iptables startup script to enable default firewall rules? [16:46] right something along those lines [16:46] albeit .. was just curious [16:52] anybody know how i can get cobbler to kickstart with the local squid proxy instead of gb.archive.ubuntu.com? [16:53] Is it possible for temporary downtime (let's say recurring 20 minute gaps in service) to be caused by DNS problems? [16:53] sure [16:54] A server has been unreachable today intermittently by people, whereas AWS, didn't notice any problems [16:54] but how should we know? [16:54] patdk-wk who is that to? [16:54] you know, almost anything can do that :) [16:54] patdk-wk is that directed at me? [16:54] this is the internet, no one said 100% of it is up and running 100% of the time [16:55] jamiemill, na, just to the internet irc channel ghost [16:55] SpamapS : do you happen to be here? [16:56] patdk-wk OK. I just wondered because I'm not sure how DNS works, I know it is cached so I thought it strange that the availability was intermittent. But still I suspet DNS is where the problem lies because a few times recently my browser said "name not resolved" or something, and then magically came back a few mins later [16:56] But I wonder how I can detect and prove a DNS problem [16:56] jamiemill, and the DNS in question is? [16:56] 123-reg [16:56] that isn't a dns, that is random numbers/letters [16:57] fqdn? [16:57] using a CNAME to map to a amazon load balancer [16:57] genii-around: I read right now your answer.. thanks, but can I modify that script for to set a couple of DNS like google dns for example? [16:57] don't tell me your depending on dns search to map hostnames to full names? [16:57] patdk-wk ah sorry, yes it's a XXX.XXX.com which is a CNAME pointing at AWS elastic load balancer [16:58] sorry, if your going X out everything I ask, or not give it, I can't help you [16:58] genii-around: or what I can modify for my goal? :) [16:58] if you dns name is so super secret, maybe you should use it on the internet? [16:58] patdk-wk: calm down, man :) [16:59] if i'm using an external hard disk to act as backup storage space, would it be prudent to throw additional linuxswap onto the external disk to supplement the swap on the drive which the system runs off of? [16:59] i ask because i've got most of my swap and RAM already used [16:59] EvilResistance, what does free -m, say? [17:00] filo1234: Instead of modifying the system scripts, why not instead add post-up directives to your interfaces file? [17:00] patdk-wk: it was hypothetical. its got about 5 VMs on the server [17:00] VPSes [17:00] hence the usage of RAM and SWAP [17:00] :/ [17:00] patdk-wk OK it's not super secret, if it will help you to help me, the record in question is secure.skylightit.com [17:00] genii-around: you mean dns-option? [17:01] its an unorthodox question, i know, but still [17:01] :/ [17:01] hello [17:01] i have installed x11-common but startx doesn't work [17:01] please help [17:01] dare I ask what bus the external's going to be on? the last thing you want to do with swap is add yet another bottleneck [17:01] shauno: USB 2.0 [17:01] jamiemill, on your side, 1day cache for dns, on amazons side, 1 min [17:02] actually wait [17:02] * EvilResistance checks [17:02] so maybe if the dns server that was looking it up, for the client was having timeout issues [17:02] or other internet routing issues, bgp flaps [17:02] noball: startx.. why are you using that? :) what's the error message? [17:02] amazon is defently not failure proof though [17:03] Ursinha: i have installed ubuntu server and i want to run virtualbox to host other operating systems [17:03] genii-around: can you say me an example about post-up directive for dns domains? [17:03] Ursinha: but problem is i cann't start startx or blackbox [17:03] shauno: USB 3.0. I forgot i installed a USB 3.0 card that's compatible with Linux. [17:04] noball: so you might want to install another package that would install all you need instead of installing the packages manually [17:04] patdk-wk Hmm thanks, I see, kind of. The thing is, we had reports from two different countries today that the site was intermittently unavailable - UK and India, so it wasn't just one person. I can't 100% rule out a problem with the app itself, but still I suspect something around DNS. [17:04] I mean, you install evilwm and it installs all it needs to make it work [17:04] filo1234: under iface eth0 inet dhcp in /etc/network/interfaces you could add something like dns-nameservers x.x.x.x if you wanted to specify one there. Or you can also add something like post-up echo "nameserver x.x.x.x" >> /etc/resolv.conf [17:04] Ursinha: thanks [17:05] jamiemill, I wouldn't point my finger at dns too much [17:05] patdk-wk Plus I've seen a DNS failure myself a couple of times, but I put it down to my wireless router. [17:05] patdk-wk OK fair point [17:05] noball: I'd use a minimalist environment for that, like evilwm [17:05] amazon could of had a dns server failure [17:05] but so many other issues are much easier to have issues with :) [17:05] mainly bgp routing, and peering [17:05] Ursinha: evilwm says unable to open display [17:05] noball: that's pretty much access to terminal with graphic windows :) [17:06] patdk-wk So to you there's nothing obviously wrong in the current DNS at least? [17:06] not from what I can see, but I'm in the usa, using amazons usa servers [17:06] noball: so you can try this: see if you are running xorg somehow, if not, run it [17:06] genii-around: ok, I tought about dns-nameservers directives but it run only with resolvconf package installed right? [17:06] uk should be using the ireland amaozon [17:06] and india should be using singapore [17:06] genii-around: I'll try post-up [17:06] noball: then go to another tty and start evilwm pointing to the display where Xorg is (possibly :0.0) [17:07] the scale of amazon makes it really hard for a user to track an issue like that down, cause you can't test all paths [17:07] Ursinha: ok [17:07] patdk-wk Yeah, and the service status page claims everything is hunky dory. [17:08] Ursinha: i am installing xorg [17:08] patdk-wk Anyway I set up pingdom to monitor from all over now, so will see if that sheds any light. [17:08] Ursinha: but i wanted a light weight desktop manager [17:08] lighter than evilwm is hard :P [17:09] jamiemill, hmm, your using the appbalancer? [17:09] I wonder if maybe your app/ec2/... was not responsive and it took it offline for a min or two? [17:09] and it came back when it wasn't overloaded [17:09] I can't say for sure, cause I have never used amazons loadbalancers myself [17:09] Hey mates [17:09] hi dunno if someone can help me i'm making a clean ubuntu 11.10 install with a nvidia quadra nvs 295 but i'm not being able to connect to Xserver [17:10] So I accidentally my entire GNOME shell [17:10] dunno if i'm in the correct place to ask here but no one in #ubuntu could help me [17:10] kints: does it work with the live cd? [17:10] i've blacklisted nouveau and i've tried to install nvidia-current with apt-get and wget the most recent x86_64 drivers with no luck.. [17:10] patdk-wk Yes we are. I suppose it's possible. We currently only have one server behind the balancer and if it was taken out of service there'd be nothnig. But then there'd at least be a 503 message i believe, whereas we've had reports of blank screens. But CPU on the server has been low all day. [17:11] Ursinha: it works with nomodeset and noapic [17:11] My name is in gray, can anybody hear me? [17:11] kints: ugh. [17:11] VivoDePyre: the color of your nick varies according to the irc client people are using :) [17:11] Ah, I see. I'm new to IRC [17:11] what is best version of ubuntu for server ? [17:11] Ursinha: actually it only ubuntu (terminal) only boots if i enable (disable) these 2 boot options [17:11] jamiemill, blank screens? or the unable to locate server? [17:12] blank screens normally means apache segfaulted [17:12] So, I'm very new to ubuntu, booting 11.10 (oneric). I was trying to install some themes in GNOME 3.2 and I sorta deleted my entire shell [17:12] patdk-wk Yes I suppose you're right. If it was DNS they'd at least get a browser error message I think [17:13] Is there anyway I can set all my system files to default settings with a boot-drive? [17:13] patdk-wk But the reason I'm investigating DNS is that's the bit that's a mystery to me and I have personally seen the name not resolving a few times in the last few weeks [17:14] my slowest issue with dns is the 123-reg.co.uk [17:14] but that is expected, since they only have servers in the uk [17:15] jamiemill, if you have dns issue, use, dig +trace xxxx [17:15] that would show you where the issue is at [17:15] No suggestions? [17:17] patdk-wk Ah thanks, didn't know about that. Just ran and saw some output - will it be obvious if there's a problem? [17:17] well, you would have to do it twice, once for your name, and once for the appbalancer [17:17] VivoDePyre: You could try to ask these questions on http://askubuntu.com/. There could even be already a similar question answered. [17:17] but if there is an issue, it should fail at the point of issue [17:18] patdk-wk OK thanks will investigate [17:18] Alrighty then, thanks [17:34] genii-around: thanks post-up is my goal :) [17:38] i buy a vps today , i setup my vps with ubuntu 10.4 LTS , i must change host name or its not matter ? [17:44] Virtual Machine question, would you trust a qcow2 image to host mission critical data if the machine is monitored and guaranteed not to hit max disk usage? [17:44] In other words are the only issues with qcow2 when it runs out of space to allocate? [17:45] Also I believe it's slower, but I'd like someone else to confirm/deny [17:46] iggi__, I'm used to mission critical always getting fully allocated space, not sparse [17:46] mainly cause it's so much easier to HA [17:47] Yeah I thought about that as well [17:48] It doesn't need to be HA necessarily, just a storage location for template VMs and documentation [17:48] if I lost it, it would be hundreds of hours to recreate, so it's kind of valuable, but I was hoping to get away from adding drives when I need more space. [18:02] anybody here with juju/orchestra experience? === RoyK^ is now known as RoyK [18:05] mgw: maybe they can help you in #juju [18:05] :) [18:05] ah, ok…. thanks [18:05] i'll try that [18:05] mgw: howdy! What seems to be your problem? [18:05] oh, hi roaksoax [18:05] how're you doing? [18:06] mgw: I'm good, yourself? [18:06] also well [18:06] 2011-11-03 17:58:04,378 ERROR Could not find any Cobbler systems marked as available and configured for network boot. [18:06] during juju bootstrap [18:06] but i've brought up a couple systems with koan [18:06] i think it's my management classes [18:07] but not sure how to change that on a system that's already up [18:07] mgw: that's one, it is either management classes that should be orchestra-juju-available or the pxe-enabled checkbox [18:07] mgw: sudo cobbler system edit --name your-system-name --netboot-enabled=True --mgmt-classes=orchestra-juju-available [18:07] ok, and then the system should be shut down ? [18:08] mgw: yes, when you bootstraps then you should turn on the system and let it PXE [18:08] ok [18:09] mgw: once installed, juju status should show that the bootstrap is up and running [18:10] mgw: we would be soon testing automatic power on/off with ipmi [18:10] so you wont have to amnually turn one on [18:11] ok, so in virsh, i should shutdown? [18:11] and then run juju bootstrap? [18:11] mgw: oh you are using virsh, so then, shutdown first, then run juju bootstrap, then poweron the machine selected to be the bootstrap node [18:13] hmm, shutdown seems to do nothing [18:13] i did a shutdown now and i'm in single user mode [18:13] though [18:13] mgw: virsh destroy [18:14] ok [18:14] sounds dangerous [18:14] mgw: nah will just force the shutdown as if you pull the plug out of a system [18:15] ok, now i'm getting ssh key not found [18:15] which key do i need where? [18:15] mgw: ssh-keygen -t rsa [18:16] you need to generate a key for it to be used in juju [18:16] ssh key [18:16] on the system that i'm running juju bootstrap from? [18:16] mgw: yes [18:17] ok… is this an intentional feature that it changes class to acquired even if it fails on the ssh key? [18:18] mgw: nope, but good finding [18:18] anyway, looks like i'm bootstrapped and just have some dns issues now [18:18] thanks! [18:18] : Invalid host for SSH forwarding: ssh: Could not resolve hostname vm1: Name or service not known [18:19] mgw: you need to make sure that the place where you are running juju has DNS access to the name of the vms and you can ping the VM's using their dns names [18:19] ok [18:19] figured [18:19] i know how to do dns, so i'll work on that [18:19] thanks! [18:19] mgw: if you want an environment configured for you that's easy to use, you could use cobbler-dev developed by smoser [18:19] mgw: that's what I use for my testing [18:20] i started with that [18:20] mgw: just had to install orchestra on the cobbler server [18:20] but wanted to get a proper system up [18:20] mgw: cool [18:24] i assume i need to put the public key on the vm that's serving the juju env? [18:24] or it copies it for me? [18:24] How would I know if my apache server had reached the max number of connections it could handle? [18:24] Would it log somewhere? === e-D1O-t is now known as e-DIO-t [18:25] mgw: not really, if you use cobbler-devenv or a dhcp server that serves IP's you could just use that [18:26] sorry, i'm not sure i understand…. i'm getting this: [18:26] Cannot connect to machine MTMyMDIwMzQ4MC40Njg2NDc1ODkuMjIwODM (perhaps still initializing): Invalid SSH key [18:26] 2011-11-03 18:26:06,644 ERROR Cannot connect to machine MTMyMDIwMzQ4MC40Njg2NDc1ODkuMjIwODM (perhaps still initializing): Invalid SSH key [18:27] when i run juju status [18:27] the bootstrap succeeded [18:27] and I can ping vm1 [18:27] mgw: so it might still be installing ubuntu on it [18:27] when trying to start a qemu/kvm with virst I get an error about the supported vm types: error: internal error unable to start guest: Supported machines are. is there a module or package I am missing? [18:27] the console is up at the login prompt…. [18:28] i already installed ubuntu [18:28] using koan [18:28] i ran koan —server=x.x.x.x —profile=xxx on the vm host [18:28] when it finished, i used virsh destroy [18:29] then ran juju bootstrap [18:29] mgw: right, but when you bootstrap, you need to allow the machine to PXE and install as it will install some cloud-init stuff that is generated right after you juju bootstrap [18:29] i see [18:29] ok, would that show on the console? [18:29] mgw: nope, that's all done in the preseed file [18:29] or it's in the background? [18:29] ok [18:30] logging somewhere? [18:30] mgw: so right after you juju bootstrap, juju gives cobbler some cloud-init information which is encoded and then later used on the installation [18:30] no? [18:30] nm… found it cloud-init.log [18:31] mgw: that information is stored in cobbler, and when you run the installation, it gets installed into the machine, but since you *first* installed with koan *before* having that information, you dont have that [18:31] ok… so i shouldn't use koan? [18:32] mgw: I would allow the system to PXE boot instead [18:32] ok [18:33] is there a quick tutorial somewhere on using cobbler with VMs? [18:33] mgw: help.ubuntu.com/community/Cobbler [18:33] mgw: help.ubuntu.com/community/Orchestra --> though things need to be updated here [18:35] why do you get errors like this when trying to start a vm? I created this vm on another system and moved it over, defining it here, so I was thinking maybe missing packages / modules, but this seems ok: http://dpaste.com/646846/ [18:36] but those don't seem to give any details on how to set up a vm with virt-inst or something ready to pxe boot... [18:36] why pxe boot vms? [18:36] that seems like an over-engineered solution [18:37] so orchestra can mange them [18:37] ah, is that a VM management app or something? [18:37] more than that [18:38] https://help.ubuntu.com/community/Orchestra [18:38] does orchestra easily allow for a fully redundant setup? [18:38] or better… https://help.ubuntu.com/community/Orchestra/Overview [18:38] * patdk-wk wonders if there is any brass in orchestra, or if it's just strings [18:39] just cobblers [18:39] and squid [18:39] takes a lot of cobblers to shoe a squid [18:39] I can't believe how fast launchpad is [18:40] while everyone is away :) [18:40] build times of 10min instead of 10hours [18:40] where is everyone? [18:40] wow, interesting. I have actually been working on the same vision with puppet, pxebooting and auto/net installs on debian/openbsd [18:40] yeah, we were using puppet before too [18:40] and fabric [18:40] and some other stuff [18:41] but this ties it all together [18:41] check out https://help.ubuntu.com/community/Orchestra/OverviewJuju too [18:42] mgw, they are at UDS [18:42] * RoyK just attended a puppet training course and wonders if that was necessary if orchestra can do the same.... [18:42] i think puppet is more like juju… but juju can actually use puppet [18:42] btw, orchestra seems to exist only on oneiric, I guess that'll just be the management server? [18:43] RoyK: puppet can do a lot more [18:43] and it is os/independent [18:43] did you go to the one in nyc? [18:43] CrazyGir: the OS independency is a very good reason to use it..... [18:43] i expect to use both juju and puppet [18:43] CrazyGir: no, Oslo [18:43] ah [18:43] royk, ya, orchestra is new, and suppost to be cleaned up and big thing for 12.04 [18:43] juju, I'll have to look that up [18:43] but kind of like a demo or whatever you want to say for 11.10 [18:43] I want better vm manangement over vm servers seen as nodes [18:44] I have been waiting for openstack to get their act together [18:44] open nebula perhaps? [18:44] yea, I haven't seen any simplicity from those projects [18:44] (neblua/stack/eucalyptus/etc) [18:44] they are ungodly complicated to deploy [18:45] why do you get errors like this when trying to start a vm? http://dpaste.com/646846/ [18:48] roaksoax, so i just need to have a vm with no os, ready to boot… and have it's MAC configured in cobbler? [18:48] sorry, a bit confused [18:49] someone had pointed me to koan (SpamapS I think)…. so i was working from that direction [19:09] CrazyGir: are you using puppet? [19:11] indeed [19:12] * gnuyoga loves puppet [19:13] indeed [19:22] haven't attempted this yet, but I have 2 hard drives, 1 80GB, 1 1TB. I'd like to use the TB drive for data storage ( app and mysql db ). Will it be easy to install Ubuntu OS on the 80GB and use the 1TB for data? [19:41] tash: why not? [20:28] ciao [20:47] CrazyGir: how many servers? [20:49] I use it for 3 different projects, totally about 50 or so systems (physical + vm) [20:49] I even use it for things like my debian laptops [20:49] once you start using it, it is silly not to [20:50] once you automate the tasks that you used to spend hours fiddling with, it is insane to go back [20:50] RoyK: ^^ [20:50] * CrazyGir yells at the networking deities [20:53] CrazyGir: I'm an old-timer of sorts, pushing 40, and learning about puppet was a bit of a pick-me-up [20:54] CrazyGir: we have everything from old linux machines to solaris 8 and even some Vax boxes - I don't think we'll be able to integrate them all in the puppet setup, but most of them should do [21:23] hallyn: uploaded [21:23] hallyn: just to confirm, these are currently in Oneiric right? [21:23] *Precise [21:25] stgraber: in precise [21:26] right, all good then [21:26] stgraber: cool, thanks :) [21:54] is there a nice lvm manager thing that works/operates/appears like htop or jnettop does? [22:03] <^slacker^> airtonix: are you looking for iotop? [22:03] <^slacker^> airtonix: sounds like it might fit the bill [22:03] ^slacker^: i'll have a look/see [22:03] airtonix: Error: "slacker^:" is not a valid command. [22:03] -_- [22:05] ^slacker^: ok i see why you recommend this(and i think i'd be using iotop), however i was hoping there was somekind of simple management tool to mount, resize, shuffle, etc lvm volumes [22:07] <^slacker^> airtonix: ah I see. system-config-lvm will do some of these things [22:08] <^slacker^> airtonix: it's probably easiest to mount lvm at command line anyway [22:09] ^slacker^ looks like system-config-lvm is a X windows (gtk) application [22:09] ^slacker^ or does it have an ncurses fallback interface? [22:09] <^slacker^> airtonix: oh it's x-based [22:10] <^slacker^> airtonix: it's not the answer you are looking for, but learning the lvm command line tools is the best way to deal with lvm [22:12] <^slacker^> airtonix: this looks like a good howto: http://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/ [22:12] <^slacker^> airtonix: but I would use cfdisk instead of fdisk. fdisk always seemed too hard to me [22:14] <^slacker^> airtonix: good luck === skrewler_ is now known as skrewler [22:32] Just wondering if I may get some information [22:32] << sorry about Cloud service [22:35] What I am looking for is a solution similar to DropBox.com. I have a company where there are many employees that need to share information back and forth and be able to access it from many locations. I am a fan of Ubuntu and wanted to know what might be the best "cloud" solution that it offers. [22:37] RoyK: yea, adding anything to a puppet management stack is wonderful [22:37] my dream is to have a way to deploy full racks at a time [22:37] in hours, not days [22:37] or weeks [22:38] redeploying for security/upgrades/etc [22:38] it would all be a breeze :D [22:38] is there a way to bootstrap an existing vm into cobbler/juju? [22:39] rather than doing a fresh install for every system? [22:54] why doesnt my ssh privatekey work. im using ubuntu server 11.10 on the host side and windows 7 / putty on the client side [22:56] i3luefire: putty requires the keys to be in a special format before it can use them. [22:56] i used puttygen [22:56] should i not have used puttygen? [22:56] No, thats fine [22:57] Hi, I've just setup Ubuntu Server on a small server, and it's main NIC is a Wifi dongle, I couldn't get it to connect on the command line, but managed with Network Manager in Xubuntu Desktop, is there any way to get the configuration for the Wifi to work without the GUI? [23:01] RandomCake: iwconfig or ifconfig lists your wifi card? [23:02] yeah, I can scan and see my network as well [23:02] do you have wpa password? [23:02] CrazyGir: what sort of OSes do you manage? [23:03] yes filo1234 [23:04] RandomCake: ok do you have installed wpasupplicant? [23:05] I think I've got a bug here, my server never unmounts /var on shutdown, saying it is busy [23:06] yes filo1234, in case it's relivant, I'm running 11.10 [23:07] RandomCake: ok look this http://paste.ubuntu.com/727699/ make a file called wpa.conf and configure it with your ssid and password [23:07] I've edited /etc/init.d/umountfs to run lsof and dump the output to a file before unmounting, and nothing is listed in the output for /var [23:08] RandomCake: your wifi card is wlan0 or something else? [23:08] wlan0 [23:09] RandomCake: ok after you configured wpa.conf try : [23:09] sudo wpa_supplicant -Dwext -iwlan0 -c /path_where/is/wpa.conf -B [23:10] and look by sudo iwconfig if it is associated with your AP/router [23:10] after if you use dhcp type sudo dhclient wlan0 [23:19] okay, I'm going to have to brb to do this, I'm currently connected to the server via SSH, luckily it's just upstairs :) [23:20] RandomCake: ok btw if you use static ip, you need to set interface by hand with ifconfig [23:20] and resolv.conf too [23:20] it's DHCP at the moment, but will be static when the server is finished being setup [23:20] it keeps saying server refused our key [23:26] filo1234: I get ioctl[SICSIWENCODEEXT]: Invalid argument, twice when I run the wpa_supplicant command [23:29] wpa_supplicant -Dwext -iwlan0 -c /path_where/is/wpa.conf -B do you have typed this right? [23:29] Pici: do you have any ideas on why i keep getting that error "server refused our key"? [23:31] RandomCake: and do you have modified correctly wpa.conf? [23:32] RandomCake: are you sure that have wpa password or wep?? [23:33] WPA/WPA2 Personal, using AES encyption [23:34] uhm AES gets problem, you have to look man iwconfig for change encrypt on wpa.conf [23:34] that file reports wpa-psk [23:39] RandomCake: run wpa_supplicant command with -dd too for verbosity mode, may help you for debug [23:39] would TKIP be better? I may be able to just change it on the router [23:40] nope but some linux driver gets problems with AES [23:40] RandomCake: you need to try.. [23:41] okay, looks like this cheap router from the ISP doesn't let me configure it anyway... [23:42] RandomCake: man wpa_supplicant help you [23:42] sorry but now I cannot make tests [23:45] I think the problem is that I have a WPA password that is ASCII, and I should be saving the HEX version, is it just a simple case of converting the ASCII to HEX? [23:46] nvm. i got it [23:46] home dir is lvm so keyfile cant be in home === filo1234 is now known as Guest57834 === smw_ is now known as smw