[00:01] <swharper> im doing a fresh 11.10 install and configuring RAID 6.  Ive partition each drive with 2 partitions per the advanced install instructions in the admin guide
[00:02] <swharper> when choosing the drives for the md, do i choose the smaller swap size or the other larger partition?
[00:03] <swharper> or do i need to have at least 2 mds?
[00:03] <swharper> one for the swaps and one for the rest?
[00:06] <Daviey> kirkland: around?  If so, can you add a PPA for ~orchestra called "cobbler testing" please?
[00:56] <kirkland> Daviey: howdy!
[00:56] <kirkland> Daviey: sure!
[00:57] <kirkland> Daviey: i'll add you as an admin, too
[00:58] <irvee> what would be a good VM server to install on my ubuntu server that would allow me to control/view the vms from a win 7 machine? 10.04
[01:01] <Daviey> kirkland: Great, thanks!
[01:01] <kirkland> Daviey: honestly, though...
[01:02] <kirkland> Daviey: it would be more discoverable if you used ppa:cobbler/ppa
[01:03] <Daviey> kirkland: there isn't a ~cobbler team.. not sure it's worth creating it, just seems more admin.
[01:03] <kirkland> Daviey: oh?  https://launchpad.net/~cobbler
[01:03] <kirkland> :-)
[01:04] <Daviey> hah, Created On: 2011-11-19
[01:04] <kirkland> Daviey: :-P
[01:04] <Daviey> Which funilly enough, is tomorrow for you - right?
[01:04] <Martyn^> *lol*
[01:04] <Martyn^> Yep
[01:04] <Martyn^> It's in the future!
[01:04] <kirkland> Daviey: yeah, i just got back from the future
[01:04]  * Martyn^ is amazed by Daviey's amazing Doctor-like time travel powers
[01:05] <kirkland> Daviey: itz awzome
[01:05] <kirkland> Daviey: anyway, i really like the pattern of ppa:FOO/ppa
[01:05] <Martyn^> kirkland : Are there 80's themed Ronald Reagan cafes?
[01:05] <kirkland> Martyn^: yeah, funny enough, though, I found the W cafe more entertaining
[01:05] <Daviey> right!  Time for bed, 2 hours ago.  /me whips back in time to get some sleep.
[01:05] <kirkland> good steaks
[01:06] <kirkland> Daviey: adios
[01:06] <Daviey> o/
[01:41] <swharper> doing a fresh RAID install - do I install GRUB on the swap partition or the ext4 partition?
[01:44] <swharper> the ext4 partition has the mount point set at / if that makes a difference
[01:47] <qman__> you install grub to the mbr of the boot disk
[01:47] <qman__> you never install grub to a swap partition
[01:48] <swharper> thanks
[01:49] <swharper> blah
[01:49] <swharper> i tried both md0 and md1 and both are giving me errors
[01:50] <swharper> the OS is being installed on the RAID so there is no boot disk, exactly
[01:55] <swharper> from the help docs
[01:55] <swharper> After a successful install, you should also manually fix 2 shortcomings in the default configuration:
[01:55] <swharper> Install GRUB boot-loader on second drive (this step is not necessary if you use Ubuntu 9.10 or a newer one, which uses Grub2)
[01:55] <swharper> Update the startup script to detect a failed drive
[01:55] <swharper> but i dont think i can complete the install without installing grub?
[01:59] <qman__> you need to choose an actual hard disk, not the raid array
[01:59] <swharper> scratch that - figured out that i can install w/o grub...
[01:59] <qman__> sda is probably the one you want but it could be sdb, sdc, etc
[02:00] <swharper> the first disc is sdb
[02:00] <swharper> well i will revisit that...
[02:00] <qman__> see, the array doesn't exist until after the kernel is booted
[02:00] <qman__> so grub must be somewhere it can be read before that happens
[02:00] <qman__> usually, the mbr of the first hard disk
[02:01] <swharper> now, my question:  the activity lights are blinking like its building the array but the installer is finished
[02:01] <swharper> is it still safe to reboot?
[02:01] <qman__> building the array can take a very long time
[02:01] <swharper> right
[02:01] <qman__> yes, it is safe, it will autmoatically pick up when it starts back up
[02:01] <swharper> ok cool
[02:01] <qman__> cat /proc/mdstat for status
[02:02] <swharper> thanks
[02:05] <swharper> hah..looks like its stuck at "verifying VMI pool data…"….fml
[02:06] <qman__> while strictly speaking you can boot from a raid, I always make a /boot partition on one of the disks just because
[02:07] <qman__> ~512MB
[02:08] <qman__> avoids problems like this that aren't supposed to happen but do
[02:08] <swharper> ack
[02:09] <swharper> so on sdb create a 3rd partition
[02:09] <swharper> ext4
[02:10] <swharper> mount / with bootable flag on
[02:10] <qman__> the way I do it
[02:10] <swharper> at this point ill try anything ;)
[02:10] <qman__> on the first disk, create first /boot ~512MB, then a second for swap (512MB less than the other disks will have), then raid partition
[02:11] <swharper> ok
[02:11] <qman__> and on all the others, create just swap (full size) and raid partition
[02:11] <qman__> so everything lines up
[02:11] <swharper> i was making my swaps 5gb
[02:11] <qman__> that is, if I use swap at all
[02:11] <qman__> that's way too much
[02:11] <swharper> ok
[02:11] <qman__> how much RAM do you have?
[02:11] <swharper> 2gb
[02:11] <qman__> I'd aim for ~2GB total swap then
[02:11] <swharper> ok
[02:12] <qman__> unless you know you will be running lots of memory hungry programs
[02:12] <swharper> naw
[02:12] <qman__> but even then, you should just buy more memory
[02:12] <swharper> this is just a media server
[02:12] <qman__> how many disks in the raid?
[02:12] <swharper> 7
[02:12] <qman__> in taht case
[02:12] <swharper> x1.5tb
[02:12] <qman__> make disk 1 not have a swap
[02:12] <qman__> and make 512MB swaps on all the others
[02:13] <swharper> ok
[02:14] <qman__> some people raid-1 the /boot, but it's entirely unnecessary
[02:15] <qman__> all /boot contains is grub and the kernels, initramfs, and such
[02:15] <qman__> all can be recreated easily in a live environment should that disk fail
[02:15] <mturilli> question about cobbler: is there a way to configure a macvlan + pre-up and post-down instructions in the kickstart (Ubuntu 11.10 with Orchestra)?
[02:15] <qman__> only reason to do it would be a zero-downtime application
[02:16] <qman__> recreating /boot from scratch is about a ten minute process if you know what you're doing, and restoring from a backup is even quicker
[02:17] <swharper> wont let me delete md0 for some reason - saying it may be in use
[02:18] <swharper> but it shouldnt be given im booting from the usb stick
[02:18] <qman__> well, you first have to delete the partitions on md0
[02:18] <qman__> well, the filesystem, ext4, /
[02:18] <qman__> then delete md0, then delete the raid partitions used to create md0
[02:19] <qman__> if you used lvm, you have to delete that too in the correct order
[02:35] <swharper> didnt use lvm
[02:35] <swharper> it was giving me a bazillion errors
[02:36] <swharper> i rebooted and now it is gone
[02:36] <swharper> i have the /boot partition setup
[02:36] <swharper> is there anything special i need to do with that
[02:36] <swharper> i have it set to bootable i believe
[02:36] <swharper> i assume i would install grub on that?
[02:38] <swharper> actually it appears to have resorted back to "do not use"  :-\
[02:41] <swharper> well i formatted it a bootable ext4 mounting /boot
[02:41] <swharper> here goes...
[03:47] <ruben23> hi guys where do i find file .ssh on a ubuntu server..? i tried find command cant see it
[03:47] <ruben23> any idea guys..?
[03:50] <nebajoth> .ssh is usually a directory, not a file, ruben23
[03:50] <nebajoth> it is in your home directory
[03:50] <nebajoth> /home/ruben/.ssh/
[03:51] <nebajoth> or whatever
[03:51] <nebajoth> what are you trying to do?
[03:55] <ruben23> nebajoth: i already tried ls -a and no .ssh there so what i did is i created it
[03:57] <virusuy> do you have openssh-client installed ?
[03:57] <virusuy> should be by default, but, who knows
[04:11] <qman__> IIRC the directory is not created until you SSH in somewhere and accept a key
[04:11] <qman__> or generate a key for yourself
[04:12] <ruben23> guys i tried to used putty to ssh without entering password on my ubuntu server fro the user side only
[04:13] <ruben23> thast why i used ssh key gen and put it on .ssh directory and put authorizede_keys
[04:13] <ruben23> it seems are all set but still the Server refused our key
[04:14] <qman__> ~/.ssh must be chmod 700
[04:14] <qman__> and authorized_keys should be chmod 600
[04:18] <ruben23> qman__: already set but still same error ----> Server refused our key
[04:20] <delerium_> d
[04:24] <qman__> ensure that authorized_keys is formatted correctly and contains the whole key, and all the other information
[04:25] <qman__> one key per line, in the format "ssh-rsa AAAAB3Nz...1238= keycomment"
[04:28] <qman__> also ensure the server is configured to accept key authentication in /etc/ssh/sshd_config
[04:29] <qman__> it's enabled by default but you could have changed it at some point
[04:29] <nebajoth> you're using putty... on windows?
[04:29] <nebajoth> what did you run ssh-keygen on?
[05:16] <Zanzacar> Hi everyone, I use weechat for my IRC needs. That being said I tried to install the latest version 0.3.6 and I messed everything up ( or so I think )
[05:17] <Zanzacar> I downloaded the files from http://www.weechat.org/files/ubuntu/oneiric/0.3.6/i386/ specifically the weechat-curses files. After that I did sudo dpkg -i file.deb
[05:17] <Zanzacar> i got an error saying the old weechat couldnt be installed as well. So I did sudo apt-get remove weechat-curses
[05:20] <Zanzacar> after that I tried sudo dpkg -i file.deb and I got more errors, at this point I dont know what to do so here is the errors I am getting just trying to reinstall weechat-curses
[05:21] <Zanzacar> http://paste.pocoo.org/show/510070/
[05:40] <Zanzacar> weechat
[05:59] <virusuy> :-)
[07:36] <Zanzacar> Does anyone have any recommendations for terminal emulators other then putty?
[07:36] <Zanzacar> for a windows enviroment?
[07:43] <tero> what is wrong with putty?
[07:44] <Zanzacar> I have started using screen so I can come back to my session, and someone mentioned there being a problem with the buffer so I htought I would just ask
[07:44] <Zanzacar> for example if I go into vim and the exit the vim screen is still there
[07:55] <Zanzacar> I figured out what it was I just needed ot use scrollback
[07:57] <smw> Zanzacar, perhaps cygwin?
[07:57] <smw> I used it a long time ago back when I had windows on my computer :-P
[07:57] <smw> it was very useful...
[07:58] <Zanzacar> smw: I believe no mater what emulator I am in it would still be the same problem I would still need to use scrollback in some form
[07:58] <Zanzacar> because I am using screen as well
[07:58] <smw> ah
[07:58] <smw> screen has scrollback
[07:59] <smw> Zanzacar, http://www.samsarin.com/blog/2007/03/11/gnu-screen-working-with-the-scrollback-buffer/
[08:01] <Zanzacar> smw: Thats the exact site I was using to figure it all out
[08:02]  * smw sees he is useless and knows he probably does not understand the problem
[08:02] <smw> Zanzacar, I just use screen when I need a program to stay open after I logout and want to come back to it
[08:09] <Zanzacar> smw: I guess that is probably the best use really, I just learned about it and think it pretty neat
[08:09] <Zanzacar> smw: little combersome but kind of neat at the same time
[08:09] <smw> yep
[08:09] <smw> I mostly use it for rtorrent
[08:10] <Zanzacar> I mainly use it with weechat, and programing things like that right now
[08:10] <smw> ok
[08:10] <tero> heh yes screen.... when i was compiling something for 5 hours
[08:11] <tero> and i forgot to use screen...
[08:11] <tero> and my laptop battery died
[08:11] <tero> :(
[08:11] <Zanzacar> :(
[08:11] <Zanzacar> most my program are short python ones
[08:11] <Zanzacar> I learned python because I was so frustrated with bash
[08:12] <Zanzacar> can you give me an example of a program that would compile for 5 hours?
[08:12] <tero> well i am not a programmer
[08:12] <tero> sometimes i want something compiled from source
[08:12] <tero> some linux software
[08:13] <Zanzacar> oic, I am new to linux in general why compile it from source?
[08:14] <Zanzacar> I often see the option to do that but just dont understand why
[08:14] <tero> hmm that is a more philosophical question :)
[08:15] <tero> for me personally i just wanted a small correction ..
[08:16] <Zanzacar> a correction that you made or a correction that was released in source but not yet in a packaged form?
[08:16] <tero> that i made :)
[08:17] <tero> oh and btw
[08:17] <tero> i am also a linux noob :)
[08:18] <Zanzacar> I have only been on linux for about 3 months now, how about yourself?
[08:20] <tero> a few years more or less
[08:20] <tero> but my primary pc is windows 7 :)
[08:22] <Zanzacar> I have a work laptop ( I need AutoCAD ) and then my home computer is ubuntu, and I have a server at home too ubunutu-server 11.10
[10:33] <Adonai> Satan, El diablo, Shaytan, Sofia Rosengren 32 years, World Class city Göteborg, she lives in protekted adress,
[10:33] <Adonai> her father name is Johansson, adress Westmarksgränd 21, 44435 Nödinge. blond hair, Satan, El diablo, Shaytan,
[10:33] <Adonai> Jesus is Lord, Tsidkenu the lord of rightoutness
[10:43] <jMCg> I don't think anybody really cares..
[15:20] <Dogwater> Howdy, I am trying to install Ubuntu 11.11 on a server and right after it says "writing dhcp stanza" it just hangs forever
[15:21] <Dogwater> anyone know what the dealio is?
[15:21] <qman__> I don't, but try installing without the network plugged in
[15:21] <Dogwater> I'm installing from the network =D
[15:21] <Dogwater> box doesn't have any physical media
[15:21] <Dogwater> except for the hard drives
[15:22] <qman__> well, sounds related
[15:23] <Dogwater> is there a log hidden somewhere during installation that would tell me what it's waiting for?
[15:23] <qman__> unfortuantely I don't know anything about installing from the network, sorry
[15:26] <qman__> if you're only doing one or two machines, I can suggest using a flash drive to install as an alternative
[15:26] <Dogwater> i hit ctrl-c like 5 times and it continued the install
[15:26] <Dogwater> wtf
[15:26] <qman__> if you stick around long enough someone else can probably help with your specific problem though
[15:31] <Dogwater> ah, moot anyway 11.11 doesn't support my adaptec raid controller
[15:31] <Dogwater> crikey
[15:31] <Dogwater> nothing supports my adaptec raid controller =D
[15:31] <RoyK> Dogwater: which controller is that?
[15:31] <Dogwater> 6405
[15:32] <Dogwater> not that new
[15:32] <Dogwater> really
[15:32] <Dogwater> I wish they'd just have an option in the BIOS on these cards for making them appear to be the older model
[15:32] <Dogwater> so you can still buy the good hardware
[15:33] <RoyK> Dogwater: pastebin "lspci -vvv;lspci -vvvn"
[15:33] <Dogwater> I can't because I can't get past the installer =)
[15:33] <Dogwater> can you ssh into the install shell?
[15:34] <Dogwater> or ftp out of it?
[15:34] <RoyK> Dogwater: you can boot up on a live cd
[15:35] <Dogwater> I think I can ftp out from there i'll try it real quick
[15:39] <RoyK> k
[15:39] <Dogwater> ah the server has fedora16 on it since thats the only distro that will install on it atm =D so I'll just do the lspci, etc from there
[15:40] <RoyK> k
[15:41] <Dogwater> http://pastebin.com/HGPyHq9h
[15:49] <RoyK> Dogwater: sec
[15:52] <RoyK> Dogwater: is this the one? 00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
[15:57] <Dogwater> Nope it's an adaptec card
[15:57] <Dogwater> let me find it
[15:57] <Dogwater> 352.02:00.0 RAID bus controller: Adaptec Device 028b (rev 01)
[15:57] <Dogwater> ?
[15:57] <Dogwater> That is most likely the one.
[15:58] <RoyK> Dogwater: could you pastebin -vvvn as well?
[15:59] <RoyK> -n => do not resolv, aka show PCI IDs
[16:01] <Dogwater> I think I posted both
[16:01] <Dogwater> it's 02:00.0 0104: 9005:028b (rev 01) on both lists
[16:01] <Dogwater> 803.02:00.0 0104: 9005:028b (rev 01)
[16:01] <Dogwater> You can tell because at the very bottom it's loading aacraid
[16:08] <RoyK> Dogwater: seems installing ubuntu on that thing won't work too well :(
[16:09] <RoyK> Dogwater: file a bug...
[16:09] <RoyK> Dogwater: or if you're in a hurry, try Precise :þ
[16:11] <Dogwater> Is it just because Ubuntu doesn't have the driver? or what?
[16:12] <RoyK> Dogwater: I guess there's no driver in upstream kernels
[16:14] <RoyK> Dogwater: or if there is, it was added recently
[16:15] <RoyK> doesn't seem to be in 3.2.0rc1 either
[16:18] <RoyK> Dogwater: just file a  bug, please, then it may be fixed soon - the driver source is available from adaptec, and for what I know it may possibly be an easy job to add that card - sometimes it's just the PCI ID that needs adding
[16:22] <Dogwater> ah, weird it's in Fed16 and fed16 is only kernel 3.1
[16:22] <Dogwater> where do I file a bug?
[17:28] <RoyK> !bug
[17:28] <RoyK> Dogwater: see above
[17:41] <mcbaine> hi there
[17:42] <mcbaine> hi there ??
[17:45] <RoyK> hi
[19:47] <RoyK> what would be the 'preferred' disk format for kvm-based VMs? vmdk? qcow? qcow2? raw? fried? boiled?
[20:57] <pangolin> lol @ fried, boiled
[21:02] <Daviey> RoyK: raw takes up as much space as the virtual disk, this is often a genative.  qcow2 does use only the amount of actual disk space as is required, not what is decalred.
[21:02] <Daviey> qcow2 has some overhead compared to raw, but i'd still go for qcow2.
[21:28] <RoyK> Daviey: I went with raw - it's like 30GB on a 6TB system, so it's not much...
[22:36] <kklimonda> tjaalton: hey, we need an updated sssd in precise (abi for ldb modules has changed). Are you working on it, or maybe can I do it? If so is there anything I should take a look at (for example why are we providing a working sssd conf file? Does it break the hell all break loose if we don't?)
[22:42] <storrgie> Has anyone updated the bios of a supermicro board over IPMI?
[22:57] <jasonmsp> hey all..  Anyone know of something that will maintain a graph of top data?  ie something that will monitor the server and then display the information in a graph format?
[23:11] <andol> jasonmsp: munin?
[23:14] <jasonmsp> andol: thanks
[23:38] <Monotoko> I'm trying to set up a web server with FTP access for a few private projects of mine, and a couple of friends, I give each user a local account so they can log into FTP, SSH etc but I'm having an issue with apache because it can't write to the users directory
[23:39] <Monotoko> I know big hosting panels do it... but I just want something small that I'm not paying $30+ per month for, how would I configure it so the apache user (33) can access the users htdocs folder and the user can access it as well
[23:41] <julian_c> Set the permissions on the user's folder to group read/write/execute, and make sure that the apache user is a member of the group that owns the user's folder (usually, same group name as user name).
[23:42] <Monotoko> julian_c, I've tried that... but then how about when the user uploads?
[23:42] <Monotoko> the big panels all have it set as 755...
[23:42] <Monotoko> and I really don't see how
[23:43] <julian_c> I think it would have to be 775 rather than 755.
[23:45] <julian_c> That should not be too much of a security problem, as long as only the user and apache have write access to the user' directory.
[23:45] <Monotoko> julian_c, cPanel uses 755.. probably some black magic in there somewhere... but if I do it your way, how would I get pure-ftpd to upload with 775 permissions?
[23:45] <Monotoko> by default..
[23:49] <julian_c> I think it would be in the pure-ftpd.conf file where permissions would be set. Looking it up to be sure...
[23:53] <Monotoko> julian_c, thank you!
[23:53] <julian_c> Found something that worked?
[23:53] <Monotoko> no... I'm looking though