/srv/irclogs.ubuntu.com/2011/11/19/#ubuntu-server.txt

swharperim 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 guide00:01
swharperwhen choosing the drives for the md, do i choose the smaller swap size or the other larger partition?00:02
swharperor do i need to have at least 2 mds?00:03
swharperone for the swaps and one for the rest?00:03
Davieykirkland: around?  If so, can you add a PPA for ~orchestra called "cobbler testing" please?00:06
kirklandDaviey: howdy!00:56
kirklandDaviey: sure!00:56
kirklandDaviey: i'll add you as an admin, too00:57
irveewhat 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.0400:58
Davieykirkland: Great, thanks!01:01
kirklandDaviey: honestly, though...01:01
kirklandDaviey: it would be more discoverable if you used ppa:cobbler/ppa01:02
Davieykirkland: there isn't a ~cobbler team.. not sure it's worth creating it, just seems more admin.01:03
kirklandDaviey: oh?  https://launchpad.net/~cobbler01:03
kirkland:-)01:03
Davieyhah, Created On: 2011-11-1901:04
kirklandDaviey: :-P01:04
DavieyWhich funilly enough, is tomorrow for you - right?01:04
Martyn^*lol*01:04
Martyn^Yep01:04
Martyn^It's in the future!01:04
kirklandDaviey: yeah, i just got back from the future01:04
* Martyn^ is amazed by Daviey's amazing Doctor-like time travel powers01:04
kirklandDaviey: itz awzome01:05
kirklandDaviey: anyway, i really like the pattern of ppa:FOO/ppa01:05
Martyn^kirkland : Are there 80's themed Ronald Reagan cafes?01:05
kirklandMartyn^: yeah, funny enough, though, I found the W cafe more entertaining01:05
Davieyright!  Time for bed, 2 hours ago.  /me whips back in time to get some sleep.01:05
kirklandgood steaks01:05
kirklandDaviey: adios01:06
Davieyo/01:06
=== erichammond1 is now known as erichammond
swharperdoing a fresh RAID install - do I install GRUB on the swap partition or the ext4 partition?01:41
swharperthe ext4 partition has the mount point set at / if that makes a difference01:44
qman__you install grub to the mbr of the boot disk01:47
qman__you never install grub to a swap partition01:47
swharperthanks01:48
swharperblah01:49
swharperi tried both md0 and md1 and both are giving me errors01:49
swharperthe OS is being installed on the RAID so there is no boot disk, exactly01:50
swharperfrom the help docs01:55
swharperAfter a successful install, you should also manually fix 2 shortcomings in the default configuration:01:55
swharperInstall 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
swharperUpdate the startup script to detect a failed drive01:55
swharperbut i dont think i can complete the install without installing grub?01:55
qman__you need to choose an actual hard disk, not the raid array01:59
swharperscratch 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, etc01:59
swharperthe first disc is sdb02:00
swharperwell i will revisit that...02:00
qman__see, the array doesn't exist until after the kernel is booted02:00
qman__so grub must be somewhere it can be read before that happens02:00
qman__usually, the mbr of the first hard disk02:00
swharpernow, my question:  the activity lights are blinking like its building the array but the installer is finished02:01
swharperis it still safe to reboot?02:01
qman__building the array can take a very long time02:01
swharperright02:01
qman__yes, it is safe, it will autmoatically pick up when it starts back up02:01
swharperok cool02:01
qman__cat /proc/mdstat for status02:01
swharperthanks02:02
swharperhah..looks like its stuck at "verifying VMI pool data…"….fml02:05
qman__while strictly speaking you can boot from a raid, I always make a /boot partition on one of the disks just because02:06
qman__~512MB02:07
qman__avoids problems like this that aren't supposed to happen but do02:08
swharperack02:08
swharperso on sdb create a 3rd partition02:09
swharperext402:09
swharpermount / with bootable flag on02:10
qman__the way I do it02:10
swharperat 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 partition02:10
swharperok02:11
qman__and on all the others, create just swap (full size) and raid partition02:11
qman__so everything lines up02:11
swharperi was making my swaps 5gb02:11
qman__that is, if I use swap at all02:11
qman__that's way too much02:11
swharperok02:11
qman__how much RAM do you have?02:11
swharper2gb02:11
qman__I'd aim for ~2GB total swap then02:11
swharperok02:11
qman__unless you know you will be running lots of memory hungry programs02:12
swharpernaw02:12
qman__but even then, you should just buy more memory02:12
swharperthis is just a media server02:12
qman__how many disks in the raid?02:12
swharper702:12
qman__in taht case02:12
swharperx1.5tb02:12
qman__make disk 1 not have a swap02:12
qman__and make 512MB swaps on all the others02:12
swharperok02:13
qman__some people raid-1 the /boot, but it's entirely unnecessary02:14
qman__all /boot contains is grub and the kernels, initramfs, and such02:15
qman__all can be recreated easily in a live environment should that disk fail02:15
mturilliquestion 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 application02:15
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 quicker02:16
swharperwont let me delete md0 for some reason - saying it may be in use02:17
swharperbut it shouldnt be given im booting from the usb stick02:18
qman__well, you first have to delete the partitions on md002:18
qman__well, the filesystem, ext4, /02:18
qman__then delete md0, then delete the raid partitions used to create md002:18
qman__if you used lvm, you have to delete that too in the correct order02:19
swharperdidnt use lvm02:35
swharperit was giving me a bazillion errors02:35
swharperi rebooted and now it is gone02:36
swharperi have the /boot partition setup02:36
swharperis there anything special i need to do with that02:36
swharperi have it set to bootable i believe02:36
swharperi assume i would install grub on that?02:36
swharperactually it appears to have resorted back to "do not use"  :-\02:38
swharperwell i formatted it a bootable ext4 mounting /boot02:41
swharperhere goes...02:41
ruben23hi guys where do i find file .ssh on a ubuntu server..? i tried find command cant see it03:47
ruben23any idea guys..?03:47
nebajoth.ssh is usually a directory, not a file, ruben2303:50
nebajothit is in your home directory03:50
nebajoth/home/ruben/.ssh/03:50
nebajothor whatever03:51
nebajothwhat are you trying to do?03:51
ruben23nebajoth: i already tried ls -a and no .ssh there so what i did is i created it03:55
virusuydo you have openssh-client installed ?03:57
virusuyshould be by default, but, who knows03:57
qman__IIRC the directory is not created until you SSH in somewhere and accept a key04:11
qman__or generate a key for yourself04:11
ruben23guys i tried to used putty to ssh without entering password on my ubuntu server fro the user side only04:12
ruben23thast why i used ssh key gen and put it on .ssh directory and put authorizede_keys04:13
ruben23it seems are all set but still the Server refused our key04:13
qman__~/.ssh must be chmod 70004:14
qman__and authorized_keys should be chmod 60004:14
ruben23qman__: already set but still same error ----> Server refused our key04:18
delerium_d04:20
qman__ensure that authorized_keys is formatted correctly and contains the whole key, and all the other information04:24
qman__one key per line, in the format "ssh-rsa AAAAB3Nz...1238= keycomment"04:25
qman__also ensure the server is configured to accept key authentication in /etc/ssh/sshd_config04:28
qman__it's enabled by default but you could have changed it at some point04:29
nebajothyou're using putty... on windows?04:29
nebajothwhat did you run ssh-keygen on?04:29
ZanzacarHi 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:16
ZanzacarI 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.deb05:17
Zanzacari got an error saying the old weechat couldnt be installed as well. So I did sudo apt-get remove weechat-curses05:17
Zanzacarafter 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-curses05:20
Zanzacarhttp://paste.pocoo.org/show/510070/05:21
Zanzacarweechat05:40
virusuy:-)05:59
=== virusuy is now known as virusuy-away
ZanzacarDoes anyone have any recommendations for terminal emulators other then putty?07:36
Zanzacarfor a windows enviroment?07:36
terowhat is wrong with putty?07:43
ZanzacarI 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 ask07:44
Zanzacarfor example if I go into vim and the exit the vim screen is still there07:44
ZanzacarI figured out what it was I just needed ot use scrollback07:55
smwZanzacar, perhaps cygwin?07:57
smwI used it a long time ago back when I had windows on my computer :-P07:57
smwit was very useful...07:57
Zanzacarsmw: 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 form07:58
Zanzacarbecause I am using screen as well07:58
smwah07:58
smwscreen has scrollback07:58
smwZanzacar, http://www.samsarin.com/blog/2007/03/11/gnu-screen-working-with-the-scrollback-buffer/07:59
Zanzacarsmw: Thats the exact site I was using to figure it all out08:01
* smw sees he is useless and knows he probably does not understand the problem08:02
smwZanzacar, I just use screen when I need a program to stay open after I logout and want to come back to it08:02
Zanzacarsmw: I guess that is probably the best use really, I just learned about it and think it pretty neat08:09
Zanzacarsmw: little combersome but kind of neat at the same time08:09
smwyep08:09
smwI mostly use it for rtorrent08:09
ZanzacarI mainly use it with weechat, and programing things like that right now08:10
smwok08:10
teroheh yes screen.... when i was compiling something for 5 hours08:10
teroand i forgot to use screen...08:11
teroand my laptop battery died08:11
tero:(08:11
Zanzacar:(08:11
Zanzacarmost my program are short python ones08:11
ZanzacarI learned python because I was so frustrated with bash08:11
Zanzacarcan you give me an example of a program that would compile for 5 hours?08:12
terowell i am not a programmer08:12
terosometimes i want something compiled from source08:12
terosome linux software08:12
Zanzacaroic, I am new to linux in general why compile it from source?08:13
ZanzacarI often see the option to do that but just dont understand why08:14
terohmm that is a more philosophical question :)08:14
terofor me personally i just wanted a small correction ..08:15
Zanzacara correction that you made or a correction that was released in source but not yet in a packaged form?08:16
terothat i made :)08:16
terooh and btw08:17
teroi am also a linux noob :)08:17
ZanzacarI have only been on linux for about 3 months now, how about yourself?08:18
teroa few years more or less08:20
terobut my primary pc is windows 7 :)08:20
ZanzacarI 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.1008:22
=== ejat- is now known as ejat
AdonaiSatan, El diablo, Shaytan, Sofia Rosengren 32 years, World Class city Göteborg, she lives in protekted adress,10:33
Adonaiher father name is Johansson, adress Westmarksgränd 21, 44435 Nödinge. blond hair, Satan, El diablo, Shaytan,10:33
AdonaiJesus is Lord, Tsidkenu the lord of rightoutness10:33
jMCgI don't think anybody really cares..10:43
=== 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
DogwaterHowdy, I am trying to install Ubuntu 11.11 on a server and right after it says "writing dhcp stanza" it just hangs forever15:20
Dogwateranyone know what the dealio is?15:21
qman__I don't, but try installing without the network plugged in15:21
DogwaterI'm installing from the network =D15:21
Dogwaterbox doesn't have any physical media15:21
Dogwaterexcept for the hard drives15:21
qman__well, sounds related15:22
Dogwateris 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, sorry15:23
qman__if you're only doing one or two machines, I can suggest using a flash drive to install as an alternative15:26
Dogwateri hit ctrl-c like 5 times and it continued the install15:26
Dogwaterwtf15:26
qman__if you stick around long enough someone else can probably help with your specific problem though15:26
Dogwaterah, moot anyway 11.11 doesn't support my adaptec raid controller15:31
Dogwatercrikey15:31
Dogwaternothing supports my adaptec raid controller =D15:31
RoyKDogwater: which controller is that?15:31
Dogwater640515:31
Dogwaternot that new15:32
Dogwaterreally15:32
DogwaterI wish they'd just have an option in the BIOS on these cards for making them appear to be the older model15:32
Dogwaterso you can still buy the good hardware15:32
RoyKDogwater: pastebin "lspci -vvv;lspci -vvvn"15:33
DogwaterI can't because I can't get past the installer =)15:33
Dogwatercan you ssh into the install shell?15:33
Dogwateror ftp out of it?15:34
RoyKDogwater: you can boot up on a live cd15:34
DogwaterI think I can ftp out from there i'll try it real quick15:35
RoyKk15:39
Dogwaterah 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 there15:39
RoyKk15:40
Dogwaterhttp://pastebin.com/HGPyHq9h15:41
RoyKDogwater: sec15:49
RoyKDogwater: 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:52
DogwaterNope it's an adaptec card15:57
Dogwaterlet me find it15:57
Dogwater352.02:00.0 RAID bus controller: Adaptec Device 028b (rev 01)15:57
Dogwater?15:57
DogwaterThat is most likely the one.15:57
RoyKDogwater: could you pastebin -vvvn as well?15:58
RoyK-n => do not resolv, aka show PCI IDs15:59
DogwaterI think I posted both16:01
Dogwaterit's 02:00.0 0104: 9005:028b (rev 01) on both lists16:01
Dogwater803.02:00.0 0104: 9005:028b (rev 01)16:01
DogwaterYou can tell because at the very bottom it's loading aacraid16:01
RoyKDogwater: seems installing ubuntu on that thing won't work too well :(16:08
RoyKDogwater: file a bug...16:09
RoyKDogwater: or if you're in a hurry, try Precise :þ16:09
DogwaterIs it just because Ubuntu doesn't have the driver? or what?16:11
RoyKDogwater: I guess there's no driver in upstream kernels16:12
RoyKDogwater: or if there is, it was added recently16:14
RoyKdoesn't seem to be in 3.2.0rc1 either16:15
RoyKDogwater: 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 adding16:18
Dogwaterah, weird it's in Fed16 and fed16 is only kernel 3.116:22
Dogwaterwhere do I file a bug?16:22
=== Skaag_ is now known as Skaag
RoyK!bug17:28
ubottuIf you find a bug in Ubuntu or any of its derivatives, please file a bug using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.17:28
RoyKDogwater: see above17:28
mcbainehi there17:41
mcbainehi there ??17:42
RoyKhi17:45
uvirtbotNew bug: #892554 in cloud-init (main) "SSH keys summary does not report ECDSA key" [Undecided,New] https://launchpad.net/bugs/89255418:16
=== IdleOne is now known as pangolin
RoyKwhat would be the 'preferred' disk format for kvm-based VMs? vmdk? qcow? qcow2? raw? fried? boiled?19:47
pangolinlol @ fried, boiled20:57
DavieyRoyK: 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
Davieyqcow2 has some overhead compared to raw, but i'd still go for qcow2.21:02
RoyKDaviey: I went with raw - it's like 30GB on a 6TB system, so it's not much...21:28
kklimondatjaalton: 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:36
storrgieHas anyone updated the bios of a supermicro board over IPMI?22:42
jasonmsphey 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?22:57
andoljasonmsp: munin?23:11
jasonmspandol: thanks23:14
MonotokoI'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 directory23:38
MonotokoI 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 well23:39
julian_cSet 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:41
Monotokojulian_c, I've tried that... but then how about when the user uploads?23:42
Monotokothe big panels all have it set as 755...23:42
Monotokoand I really don't see how23:42
julian_cI think it would have to be 775 rather than 755.23:43
julian_cThat 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
Monotokojulian_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
Monotokoby default..23:45
julian_cI think it would be in the pure-ftpd.conf file where permissions would be set. Looking it up to be sure...23:49
Monotokojulian_c, thank you!23:53
julian_cFound something that worked?23:53
Monotokono... I'm looking though23:53

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!