[00:01] 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] when choosing the drives for the md, do i choose the smaller swap size or the other larger partition? [00:03] or do i need to have at least 2 mds? [00:03] one for the swaps and one for the rest? [00:06] kirkland: around? If so, can you add a PPA for ~orchestra called "cobbler testing" please? [00:56] Daviey: howdy! [00:56] Daviey: sure! [00:57] Daviey: i'll add you as an admin, too [00:58] 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] kirkland: Great, thanks! [01:01] Daviey: honestly, though... [01:02] Daviey: it would be more discoverable if you used ppa:cobbler/ppa [01:03] kirkland: there isn't a ~cobbler team.. not sure it's worth creating it, just seems more admin. [01:03] Daviey: oh? https://launchpad.net/~cobbler [01:03] :-) [01:04] hah, Created On: 2011-11-19 [01:04] Daviey: :-P [01:04] Which funilly enough, is tomorrow for you - right? [01:04] *lol* [01:04] Yep [01:04] It's in the future! [01:04] 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] Daviey: itz awzome [01:05] Daviey: anyway, i really like the pattern of ppa:FOO/ppa [01:05] kirkland : Are there 80's themed Ronald Reagan cafes? [01:05] Martyn^: yeah, funny enough, though, I found the W cafe more entertaining [01:05] right! Time for bed, 2 hours ago. /me whips back in time to get some sleep. [01:05] good steaks [01:06] Daviey: adios [01:06] o/ === erichammond1 is now known as erichammond [01:41] doing a fresh RAID install - do I install GRUB on the swap partition or the ext4 partition? [01:44] the ext4 partition has the mount point set at / if that makes a difference [01:47] you install grub to the mbr of the boot disk [01:47] you never install grub to a swap partition [01:48] thanks [01:49] blah [01:49] i tried both md0 and md1 and both are giving me errors [01:50] the OS is being installed on the RAID so there is no boot disk, exactly [01:55] from the help docs [01:55] After a successful install, you should also manually fix 2 shortcomings in the default configuration: [01:55] 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] Update the startup script to detect a failed drive [01:55] but i dont think i can complete the install without installing grub? [01:59] you need to choose an actual hard disk, not the raid array [01:59] scratch that - figured out that i can install w/o grub... [01:59] sda is probably the one you want but it could be sdb, sdc, etc [02:00] the first disc is sdb [02:00] well i will revisit that... [02:00] see, the array doesn't exist until after the kernel is booted [02:00] so grub must be somewhere it can be read before that happens [02:00] usually, the mbr of the first hard disk [02:01] now, my question: the activity lights are blinking like its building the array but the installer is finished [02:01] is it still safe to reboot? [02:01] building the array can take a very long time [02:01] right [02:01] yes, it is safe, it will autmoatically pick up when it starts back up [02:01] ok cool [02:01] cat /proc/mdstat for status [02:02] thanks [02:05] hah..looks like its stuck at "verifying VMI pool data…"….fml [02:06] while strictly speaking you can boot from a raid, I always make a /boot partition on one of the disks just because [02:07] ~512MB [02:08] avoids problems like this that aren't supposed to happen but do [02:08] ack [02:09] so on sdb create a 3rd partition [02:09] ext4 [02:10] mount / with bootable flag on [02:10] the way I do it [02:10] at this point ill try anything ;) [02:10] 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] ok [02:11] and on all the others, create just swap (full size) and raid partition [02:11] so everything lines up [02:11] i was making my swaps 5gb [02:11] that is, if I use swap at all [02:11] that's way too much [02:11] ok [02:11] how much RAM do you have? [02:11] 2gb [02:11] I'd aim for ~2GB total swap then [02:11] ok [02:12] unless you know you will be running lots of memory hungry programs [02:12] naw [02:12] but even then, you should just buy more memory [02:12] this is just a media server [02:12] how many disks in the raid? [02:12] 7 [02:12] in taht case [02:12] x1.5tb [02:12] make disk 1 not have a swap [02:12] and make 512MB swaps on all the others [02:13] ok [02:14] some people raid-1 the /boot, but it's entirely unnecessary [02:15] all /boot contains is grub and the kernels, initramfs, and such [02:15] all can be recreated easily in a live environment should that disk fail [02:15] 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] only reason to do it would be a zero-downtime application [02:16] 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] wont let me delete md0 for some reason - saying it may be in use [02:18] but it shouldnt be given im booting from the usb stick [02:18] well, you first have to delete the partitions on md0 [02:18] well, the filesystem, ext4, / [02:18] then delete md0, then delete the raid partitions used to create md0 [02:19] if you used lvm, you have to delete that too in the correct order [02:35] didnt use lvm [02:35] it was giving me a bazillion errors [02:36] i rebooted and now it is gone [02:36] i have the /boot partition setup [02:36] is there anything special i need to do with that [02:36] i have it set to bootable i believe [02:36] i assume i would install grub on that? [02:38] actually it appears to have resorted back to "do not use" :-\ [02:41] well i formatted it a bootable ext4 mounting /boot [02:41] here goes... [03:47] hi guys where do i find file .ssh on a ubuntu server..? i tried find command cant see it [03:47] any idea guys..? [03:50] .ssh is usually a directory, not a file, ruben23 [03:50] it is in your home directory [03:50] /home/ruben/.ssh/ [03:51] or whatever [03:51] what are you trying to do? [03:55] nebajoth: i already tried ls -a and no .ssh there so what i did is i created it [03:57] do you have openssh-client installed ? [03:57] should be by default, but, who knows [04:11] IIRC the directory is not created until you SSH in somewhere and accept a key [04:11] or generate a key for yourself [04:12] guys i tried to used putty to ssh without entering password on my ubuntu server fro the user side only [04:13] thast why i used ssh key gen and put it on .ssh directory and put authorizede_keys [04:13] it seems are all set but still the Server refused our key [04:14] ~/.ssh must be chmod 700 [04:14] and authorized_keys should be chmod 600 [04:18] qman__: already set but still same error ----> Server refused our key [04:20] d [04:24] ensure that authorized_keys is formatted correctly and contains the whole key, and all the other information [04:25] one key per line, in the format "ssh-rsa AAAAB3Nz...1238= keycomment" [04:28] also ensure the server is configured to accept key authentication in /etc/ssh/sshd_config [04:29] it's enabled by default but you could have changed it at some point [04:29] you're using putty... on windows? [04:29] what did you run ssh-keygen on? [05:16] 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] 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] i got an error saying the old weechat couldnt be installed as well. So I did sudo apt-get remove weechat-curses [05:20] 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] http://paste.pocoo.org/show/510070/ [05:40] weechat [05:59] :-) === virusuy is now known as virusuy-away [07:36] Does anyone have any recommendations for terminal emulators other then putty? [07:36] for a windows enviroment? [07:43] what is wrong with putty? [07:44] 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] for example if I go into vim and the exit the vim screen is still there [07:55] I figured out what it was I just needed ot use scrollback [07:57] Zanzacar, perhaps cygwin? [07:57] I used it a long time ago back when I had windows on my computer :-P [07:57] it was very useful... [07:58] 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] because I am using screen as well [07:58] ah [07:58] screen has scrollback [07:59] Zanzacar, http://www.samsarin.com/blog/2007/03/11/gnu-screen-working-with-the-scrollback-buffer/ [08:01] 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] 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] smw: I guess that is probably the best use really, I just learned about it and think it pretty neat [08:09] smw: little combersome but kind of neat at the same time [08:09] yep [08:09] I mostly use it for rtorrent [08:10] I mainly use it with weechat, and programing things like that right now [08:10] ok [08:10] heh yes screen.... when i was compiling something for 5 hours [08:11] and i forgot to use screen... [08:11] and my laptop battery died [08:11] :( [08:11] :( [08:11] most my program are short python ones [08:11] I learned python because I was so frustrated with bash [08:12] can you give me an example of a program that would compile for 5 hours? [08:12] well i am not a programmer [08:12] sometimes i want something compiled from source [08:12] some linux software [08:13] oic, I am new to linux in general why compile it from source? [08:14] I often see the option to do that but just dont understand why [08:14] hmm that is a more philosophical question :) [08:15] for me personally i just wanted a small correction .. [08:16] a correction that you made or a correction that was released in source but not yet in a packaged form? [08:16] that i made :) [08:17] oh and btw [08:17] i am also a linux noob :) [08:18] I have only been on linux for about 3 months now, how about yourself? [08:20] a few years more or less [08:20] but my primary pc is windows 7 :) [08:22] 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 === ejat- is now known as ejat [10:33] Satan, El diablo, Shaytan, Sofia Rosengren 32 years, World Class city Göteborg, she lives in protekted adress, [10:33] her father name is Johansson, adress Westmarksgränd 21, 44435 Nödinge. blond hair, Satan, El diablo, Shaytan, [10:33] Jesus is Lord, Tsidkenu the lord of rightoutness [10:43] I don't think anybody really cares.. === Skaag_ is now known as Skaag === Skaag_ is now known as Skaag === RudyValencia- is now known as RudyValencia === virusuy-away is now known as virusuy [15:20] 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] anyone know what the dealio is? [15:21] I don't, but try installing without the network plugged in [15:21] I'm installing from the network =D [15:21] box doesn't have any physical media [15:21] except for the hard drives [15:22] well, sounds related [15:23] is there a log hidden somewhere during installation that would tell me what it's waiting for? [15:23] unfortuantely I don't know anything about installing from the network, sorry [15:26] if you're only doing one or two machines, I can suggest using a flash drive to install as an alternative [15:26] i hit ctrl-c like 5 times and it continued the install [15:26] wtf [15:26] if you stick around long enough someone else can probably help with your specific problem though [15:31] ah, moot anyway 11.11 doesn't support my adaptec raid controller [15:31] crikey [15:31] nothing supports my adaptec raid controller =D [15:31] Dogwater: which controller is that? [15:31] 6405 [15:32] not that new [15:32] really [15:32] 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] so you can still buy the good hardware [15:33] Dogwater: pastebin "lspci -vvv;lspci -vvvn" [15:33] I can't because I can't get past the installer =) [15:33] can you ssh into the install shell? [15:34] or ftp out of it? [15:34] Dogwater: you can boot up on a live cd [15:35] I think I can ftp out from there i'll try it real quick [15:39] k [15:39] 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] k [15:41] http://pastebin.com/HGPyHq9h [15:49] Dogwater: sec [15:52] 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] Nope it's an adaptec card [15:57] let me find it [15:57] 352.02:00.0 RAID bus controller: Adaptec Device 028b (rev 01) [15:57] ? [15:57] That is most likely the one. [15:58] Dogwater: could you pastebin -vvvn as well? [15:59] -n => do not resolv, aka show PCI IDs [16:01] I think I posted both [16:01] it's 02:00.0 0104: 9005:028b (rev 01) on both lists [16:01] 803.02:00.0 0104: 9005:028b (rev 01) [16:01] You can tell because at the very bottom it's loading aacraid [16:08] Dogwater: seems installing ubuntu on that thing won't work too well :( [16:09] Dogwater: file a bug... [16:09] Dogwater: or if you're in a hurry, try Precise :þ [16:11] Is it just because Ubuntu doesn't have the driver? or what? [16:12] Dogwater: I guess there's no driver in upstream kernels [16:14] Dogwater: or if there is, it was added recently [16:15] doesn't seem to be in 3.2.0rc1 either [16:18] 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] ah, weird it's in Fed16 and fed16 is only kernel 3.1 [16:22] where do I file a bug? === Skaag_ is now known as Skaag [17:28] !bug [17:28] If you find a bug in Ubuntu or any of its derivatives, please file a bug using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [17:28] Dogwater: see above [17:41] hi there [17:42] hi there ?? [17:45] hi [18:16] New bug: #892554 in cloud-init (main) "SSH keys summary does not report ECDSA key" [Undecided,New] https://launchpad.net/bugs/892554 === IdleOne is now known as pangolin [19:47] what would be the 'preferred' disk format for kvm-based VMs? vmdk? qcow? qcow2? raw? fried? boiled? [20:57] lol @ fried, boiled [21:02] 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] qcow2 has some overhead compared to raw, but i'd still go for qcow2. [21:28] Daviey: I went with raw - it's like 30GB on a 6TB system, so it's not much... [22:36] 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] Has anyone updated the bios of a supermicro board over IPMI? [22:57] 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] jasonmsp: munin? [23:14] andol: thanks [23:38] 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] 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] 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] julian_c, I've tried that... but then how about when the user uploads? [23:42] the big panels all have it set as 755... [23:42] and I really don't see how [23:43] I think it would have to be 775 rather than 755. [23:45] 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] 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] by default.. [23:49] I think it would be in the pure-ftpd.conf file where permissions would be set. Looking it up to be sure... [23:53] julian_c, thank you! [23:53] Found something that worked? [23:53] no... I'm looking though