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