/srv/irclogs.ubuntu.com/2012/11/14/#ubuntu-server.txt

=== n0ts_off is now known as n0ts
delinquentmehey all ... what tool do I use to write into a file?  .. just a plain text file00:10
LifeIsGood169nano00:11
LifeIsGood169vi00:11
delinquentmeLifeIsGood169, I mean to run a command to write it .. and not open it to examine it00:11
LifeIsGood169example:    sudo nano (file name here)00:11
LifeIsGood169oh00:11
sarnoldecho? sed? awk? perl?00:11
LifeIsGood169lol I know nothing00:11
sarnolddepends how you want to modify the file, really.00:11
delinquentmeI want to add a source to  /etc/apt/sources.list  with a single command00:12
sarnoldyou should probably be using /etc/apt/sources.list.d/ _instead_, but you could do that with echo "deb http://blah/ blort foobar" >> /etc/apt/sources.list00:13
delinquentmeecho "something" > file00:13
sarnolddelinquentme: > overwrites. >> appends.00:13
delinquentmesarnold, nice!00:13
sarnolddelinquentme: but _please_ do look at /etc/apt/sources.list.d/, it's there to help make these things easier. :)00:13
sarnold.. echo "foo" > /etc/apt/sources.list.d/deliquent.list    :)00:14
delinquentmesarnold, and those will be available just the same?00:15
LifeIsGood169Where can I go for lvm support? the channel #lvm is unresponsive.00:15
delinquentmeand sarnold do I want a .list or a .list.save?00:16
xnoxLifeIsGood169: here is ok, but the linux-lvm is the holy grail.00:16
sarnoldLifeIsGood169: just try asking? it might work.. :)00:16
xnoxLifeIsGood169: what's up?00:16
sarnolddelinquentme: .list. apt will only use files that end with .list.00:16
sarnolddelinquentme: (that's .list -- ignore my periods that end the sentences...)00:16
delinquentmeecho "deb http://http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu lucid/" > /etc/apt/sources.list.d/R-lang.list00:17
delinquentmeits a new file so dont need to append and I think i look good00:17
sarnolddelinquentme: you've got two "http://" in there -- otherwise looks good.00:18
delinquentmeits telling me permissions denied even with sudo??00:18
delinquentmesudo echo "deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu lucid/" > /etc/apt/sources.list.d/R-lang.list00:18
LifeIsGood169@xnox test00:18
LifeIsGood169how do you reply?00:19
sarnolddelinquentme: that runs the 'echo' as root, but not the > file redirect. hehe.00:19
sarnoldLifeIsGood169: type the name, type :, keep typing :)00:19
sarnoldLifeIsGood169: some clients let you type the first few characters and then hit 'tab', but not all.00:19
LifeIsGood169xnox: hello?00:19
delinquentmeso a sudo after >00:19
LifeIsGood169It doesn't seem to go bold?00:19
* xnox is confused..... LifeIsGood169 just type your question and all of us can ponder about it.00:20
delinquentme> sudo /etc/apt/sources.list.d/R-lang.list     sarnold00:20
LifeIsGood169ok00:20
LifeIsGood169I'd like to setup a single volume group across multiple pv's. My first hd: sda{1,2,5} = linux, extended, linux lvm. My second hd: sdb{1,2,5} = linux, extended, linux swap. How do I set aside the system files & swap space on 1 hdd? & partition everything else as a volume group? I need help understanding the current default partitions. I have no idea why my second hard drive: sdb{1,2,5} = linux, extended, linux swap.00:20
LifeIsGood169I have a picture of 'fdisk -l' if it helps: http://i216.photobucket.com/albums/cc217/lalabby/hdds.png00:20
sarnolddelinquentme: I'd just start a new root shell as "sudo -s", then run the 'echo foo > bar' command as you did before -- then control+D to exit the root shell00:20
shanemeyersyou can't use the sudo after the > in the redirect, you can do the following though:00:20
shanemeyersecho "deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu lucid/" | sudo tee /etc/apt/sources.list.d/R-lang.list00:20
sarnoldLifeIsGood169: presumably xnox sees it bold if he has bothered to configure -- or not unconfigure -- his highlighting. :)00:20
sarnoldshanemeyers: oh, neat.00:20
LifeIsGood169sarnold: ah00:21
xnoxLifeIsGood169: eh.... you actually have only two partitions.00:21
xnoxLifeIsGood169: the 1st one has the / and most of the install.00:21
LifeIsGood169xnox: ah in the picture?00:21
xnoxLifeIsGood169: the 2nd one indicates end of "primary" partitions and start of "logical" partitions.00:21
xnoxLifeIsGood169: the 5th one is actually just your _other_ partition with swap on it.00:22
xnoxLifeIsGood169: see "Disks" app to help visualise this.00:22
xnoxLifeIsGood169: and read about partition tables on wikipedia.00:22
xnoxnote that formating & creating pv's will delete all your data on that space.00:23
LifeIsGood169xnox: so is sdb important? or can I erase it? Only sda1 matters?00:23
xnoxLifeIsGood169: huh. wait. sdb means it's a second HDD, sda is the first HDD.00:23
xnoxLifeIsGood169: I don't know what data you have on them.00:23
LifeIsGood169xeon: idk either. Can you look at this picture of 'fdisk' ? http://i216.photobucket.com/albums/cc217/lalabby/hdds.png00:24
xnoxLifeIsGood169: but what _you_ think is first/second HDD, is not necessarely what your computer (which order) they are in.00:24
LifeIsGood169xnox: that is ok... everything should be 'erased' except the current ubuntu opperating system00:25
xnoxLifeIsGood169: can you show output of $ sudo mount?00:25
xnoxLifeIsGood169: also to paste text from console it's easier to pipe the output to `pastebinit`00:26
LifeIsGood169xnox: no important information was present when I first installed.... I'm just trying to figure out if Ubuntu's default space usage - grabbed some of the second HDD for swap00:26
LifeIsGood169ok00:26
xnoxalso $ sudo lvs and $ sudo pvs00:26
xnoxand $ sudo vgs00:27
xnoxwill help you.00:27
xnoxbut first disk has a primary partition (probably boot partition) a logical partition with lvm pvs.00:27
LifeIsGood169xnox: http://paste.kde.org/606200/00:28
xnoxsecond disk has a primary partition (probably with a linux installation) and a logical partition for swap.00:28
xnoxLifeIsGood169: what I said above is right.00:28
LifeIsGood169xnox: ahhhh... that might be an old ubuntu 9.04 install.... now I understand... I didn't get it00:28
xnoxLifeIsGood169: note that currently you are booted of /dev/sda, which is in LVM.00:28
LifeIsGood169xnox: so it is useless just an old hdd with some data I missed... thought they were all blank00:29
xnoxLifeIsGood169: mount the /dev/sdb1 and see what's that. $ sudo mount /dev/sdb1 /mnt00:29
xnoxI think my job is done here ;-) read lvm2 howto from tldp00:29
* xnox off to sleep00:29
LifeIsGood169xnox: thank you so much00:30
=== n0ts is now known as n0ts_off
smosererichammond, fyi, http://cloud.ubuntu.com/ami works now01:11
uvirtbot`New bug: #1078530 in qemu-kvm (main) "upstart job fails to start under lxc" [Undecided,New] https://launchpad.net/bugs/107853001:11
smoserand its under code that ben and I can change.01:11
smoser(where as before, as you probanbly noticed, i basically said "yeah, that sucks")01:11
erichammondsmoser: yay01:33
erichammondsmoser: How are these rows sorted?  http://cloud-images.ubuntu.com/locator/ec2/  It looks alphabetical by region except for ap-southeast-201:37
erichammondsmoser: This is still missing ap-southeast-2: http://cloud-images.ubuntu.com/precise/current/01:39
cr3is there something that enables me to easily provision different virtual environments (lxc, kvm, virtualbox, etc.) using a common interface?02:01
sarnoldcr3: have you seen juju yet?02:11
sarnoldcr3: https://juju.ubuntu.com/02:12
sarnoldcr3: it provides a nice layer over aws or openstack or lxc or maas and makes deploying services on them straightforward02:12
sarnoldI don't know if they have a kvm+qemu provider interface yet, but it feels like one would make sense02:13
cr3sarnold: I'll have another look at it and consider what it might take to have a kvm+qemu provider interface if it doesn't have one yet, thanks!02:24
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== shantorn__ is now known as shantorn
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== pug_1 is now known as DaveR
=== fenris is now known as Guest99083
=== Guest99083 is now known as ejat
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== kInOzAwA is now known as Guest56697
=== smb` is now known as smb
=== fenris is now known as Guest72215
=== n0ts is now known as n0ts_off
_BuBUHi08:30
_BuBUprobably better place to post my problem :)08:31
_BuBUI've an issue with openssh after upgrading from 11.10 to 12.0408:31
_BuBU2012 Nov 14 09:27:03 srv01 fatal: Read from socket failed: Connection reset by peer [preauth]08:31
balboahcan I mark the root filesystem dirty manually somehow? I want to force a fsck upon boot since I don't have a boot CD and need to fsck the root mount09:09
balboahfound it, tune2fs -C 3809:15
balboahbut that was a cheating fsck with journaling09:15
maxbAnother option is 'touch /forcefsck' IIRC09:16
uvirtbotNew bug: #1078620 in quagga (main) "package quagga 0.99.20.1-0ubuntu0.12.04.2 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/107862009:26
uvirtbotNew bug: #1078633 in keystone (main) "Unable to remove all keystone related files after purging/removing the package" [Undecided,New] https://launchpad.net/bugs/107863309:36
=== mcclurmc_away is now known as mcclurmc
nopzHi there. i'm running ubuntu server 10.04 and I want to know the io usage by process per day, i know I can use Iotop for that but is there any tool that can sort after a day of monitoring the top io usage process?10:10
nopzActually I use iostat -oaP10:11
=== kInOzAwA is now known as Guest79398
RoyKnopz: I don't know any such tool - google led me to http://www.xaprb.com/blog/2009/08/23/how-to-find-per-process-io-statistics-on-linux/10:34
nopzRoyK, thank you, will see10:42
=== mcclurmc is now known as mcclurmc_away
=== n0ts_off is now known as n0ts
uvirtbotNew bug: #1078666 in libunwind (main) "test-async-sig test fails on Ubuntu raring" [Undecided,New] https://launchpad.net/bugs/107866611:16
samba35my ubutnu server is installed on vmware vsphere 5.1 ,how do i get sound install on this server11:30
=== mcclurmc_away is now known as mcclurmc
cloudmanany experts here on white screen of death11:51
obelusHi, my pptpd service is saying "GRE: Bad checksum from pppd." when I try to connect, this isn't a router issue, as I've tried local it from within the same network too.11:52
obelusAnyone able to help?11:52
jamespagehallyn, zul: you guys OK with me uploading a new ipxe snapshot? I'd like to drop our cherry picks12:22
zuljamespage: i dont have a problem with it12:23
jamespagezul: OK - I'll give it a poke locally first and then upload to raring12:23
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
obelus;['BG12:40
bananapieI want to buy stickers, stuffed tuxes and other linux clothing. Other than shop.canonical.com, is there a website where I can buy this and the profits go to ubuntu ?12:40
obelusSorry guys. My cat jumped on the keyboard.12:41
uvirtbotNew bug: #1078699 in samba (main) "winbind won't start at boot" [Undecided,New] https://launchpad.net/bugs/107869912:53
=== cpg is now known as cpg|away
obelus[;p\o0p913:27
hallynjamespage: this is snapshot from upstream right?13:40
hallynjamespage: actually, i'm gonna be slicing and dicing that quite a bit in raring (per ppa:serge-hallyn/crossc) to match the new qemu layout13:40
hallynbut for now it's ok of course13:40
=== kInOzAwA is now known as Guest22114
hallynjamespage: is your upload going to also by chance fix bug 1025239 ?13:42
uvirtbotLaunchpad bug 1025239 in ipxe "kvm-ipxe does not support https" [Medium,Confirmed] https://launchpad.net/bugs/102523913:42
jamespagehallyn, yep13:45
jamespageupstream snapshot and will close that bug13:46
hallynjamespage: \o/13:54
=== niemeyer_ is now known as niemeyer
cloudmananyone had problems with mcrypt causing wsod?14:06
zulwsod?14:09
cloudmanwhite screen of death14:09
cloudmanrestoring my sites, all seems fine but just get wsod14:09
cloudmanbloody annoying14:09
cloudmansure mcrypt is responsible14:10
cloudmangetting an error message is already loaded14:10
cloudmantried commenting out a few but no joy, its all over system14:11
=== Guest22114 is now known as kInOzAwA
dforthmanHowdy. I'm trying to find an opensource monitoring solution for my small business. Is GroundWork the best solution? Or does anyone know of another one that will do a better job? We are running mainly linux (15) and Mac OS X (6) servers, with 4 Windows servers as well.14:19
hallynjdstrand: do you have any objection to libvirt/apparmor always adding rw to "/var/lib/libvirt/**/*.vnc ? (per bug 1069534 )14:28
uvirtbotLaunchpad bug 1069534 in libvirt "libvirt doesn't include *.vnc files with apparmor profiles" [Medium,Triaged] https://launchpad.net/bugs/106953414:28
jdstrandhallyn: what are the contents of that file? all guests would be able to read each other's .vnc files if we allow that (typically we would add something to virt-aa-helper)14:30
hallynjdstrand: my guess is it contains the vnc password14:32
jdstrandconsider me objecting :)14:33
hallynjdstrand: so it should be done in virt-aa-helper with the precise filename?14:33
jdstrandbest thing would be a domain specific rule added via virt-aa-helper14:33
jdstrandyeah14:33
hallynok, thanks.  i'll put a comment there.14:33
=== matsubara is now known as matsubara-lunch
zuljamespage:  something funky is happening https://jenkins.qa.ubuntu.com/job/precise_grizzly_keystone_trunk/21/console15:00
jamespagezul, odd15:46
jamespagemay have been on a restart15:46
jamespageits has alot of jobs now15:46
jamespagehallyn, zul: just uploaded ipxe fyi - looked to work OK (and I could see HTTPS support being advertised on boot in KVM)15:56
hallynjamespage: cool, thx15:57
hallynbtw at some point i'm going to have to send out a call for testing on the new qemu packageset, give it a week, and then push it all into raring15:57
hallynmaybe i'll do that next week.  best not to wait too long15:57
jamespagehallyn, good idea16:00
wmphello16:17
wmpii have problem, i havent new logs in /var/log/auth.log16:17
wmpthis can by cause chmod 700 -R /var/log ?16:18
ScottKYes.16:43
wmpScottK: i give 660 for test and without changes16:45
wmpnginx and lastlog is update, but auth, kern.log or dmesg not16:46
ninjixI'm having a problem with openstack Horizon package install on 12.10. It keeps throwing an Authorization Failed "AttributeError: 'module' object has no attribute 'EmptyCatalog'" exception16:49
=== mcclurmc is now known as mcclurmc_away
=== mcclurmc_away is now known as mcclurmc
zulSpamapS: ping17:57
SpamapSzul: meetings now, then pong later18:07
zulSpamapS: k18:07
ninjixsolved my problem with openstack-dashboard (Horizon), the strange error turned out to actually be a problem with my cinder-api configuration18:14
ninjixlove those python exception call stack dumps :)18:15
zuljamespage: ping ill need an cloud-archive review tomorrow for swift18:25
roaksoaxSpamapS: when you get the change, could you please process sru bug #107882818:26
uvirtbotLaunchpad bug 1078828 in openstack-resource-agents "[SRU] openstack-resource-agents uninstallable due to non-existant dependency" [High,Fix committed] https://launchpad.net/bugs/107882818:26
roaksoaxjamespage: re, by BP spec you mean whiteboard right?18:27
=== peterrus- is now known as peterrus
jamespageroaksoax, yep18:31
=== Ursinha-afk is now known as Ursinha
SpamapSzul: pong now, wassup?19:04
zulSpamapS: there is q python-keystoneclient/nova/quantum SRU that is pending im not sure whats going on with it can you have a peek?19:04
X-Sleepy-Xhi19:12
X-Sleepy-Xwhen connected to an ubuntu 12.04 server and type mysql shouldnt it be asking for a password?19:12
hallynstgraber: allrighty i've got a userns kernel that builds (only with one config option set :) - will take a break then see how badly it breaks boot19:13
hallynuh, not userns,19:13
hallynsyslogns19:13
X-Sleepy-Xi mean when i type mysql -p it wont log me in19:14
X-Sleepy-Xbut when i just type mysql it works19:14
X-Sleepy-Xwithout a password19:14
X-Sleepy-X!!19:14
X-Sleepy-Xdoesn't seem too safe19:15
SpamapSzul: sure, its probably just backed up in the queue. But, lucky you, I"m starting a run through said queue in about 30 minutes.19:15
SpamapSroaksoax: I'll push it to the top of my queue.19:15
zulsweet...yay lucky me!19:15
SpamapSX-Sleepy-X: you can connect, but can you do anything?19:15
SpamapSX-Sleepy-X: type 'show grants'19:15
roaksoaxSpamapS: awesome, thanks!19:15
SpamapSX-Sleepy-X: I believe by default, you will just have 'usage'19:15
stgraberhallyn: nice!19:15
SpamapSX-Sleepy-X: which means you can just connect19:15
X-Sleepy-XGrants for @localhost     GRANT USAGE ON *.* TO ''@'localhost'19:16
X-Sleepy-Xthats what i get19:16
X-Sleepy-XSpamapS: you were right19:18
X-Sleepy-Xthx19:18
X-Sleepy-X:)19:18
=== mcclurmc is now known as mcclurmc_away
DelemasI'm using apt-cacher with Ubuntu 12.10. It keeps downloading the same package to 99% and restarting i.e. openjdk-6-jre-headless amd64 6b24-1.11.5-0ubuntu1~12.10.1. Any ideas why? Are others seeing this?19:35
=== n0ts is now known as n0ts_off
LavvyPlease latest ubuntu ships with openstack, dont understand what it mean?20:19
lifelessI don't understand your question.20:20
LavvyLifeless,  How do i access horizon after installing ubuntu server iso20:22
lifelessLavvy: you need to install python-django-horizon20:22
LavvyLifeless; that is what confuses me, dont really understand what shipping with openstack means.20:25
lifelessit means openstack is available in the Ubuntu archive20:25
LavvySo i have to still install it on my server, with command line?20:27
sarnoldor configure your bootstrapping to install it for you.20:28
sarnoldor see if the maas project's got some easy way to avoid having to type much.20:28
odiv'lo20:34
LavvyThis one is quite tasking unlike the live usb demo we tested, it has good gui and horizon is on http://127.0.0.1, very nice for we windows users. Are they now different ?20:34
=== yofel_ is now known as yofel
=== cpg|away is now known as cpg
SpamapS[A521:04
SpamapSdoh21:04
=== cpg is now known as cpg|away
=== matsubara_ is now known as matsubara
=== mcclurmc_away is now known as mcclurmc
=== cpg|away is now known as cpg
SpamapSzul: looking at the nova SRU right now. All the bugs attached nearly crashed my browser... :p21:56
=== Ursinha is now known as Ursinha-afk
zulSpamapS: sorry about that21:59
SpamapSzul: where's the centralized tracking bug?22:00
SpamapSzul: this is way too big to evaluate as a series of patches22:00
zulSpamapS:  for nova?22:00
SpamapSzul: yes22:01
zulSpamapS: there should be one adam_g did the upload22:01
SpamapSadam_g: ^^22:02
zulhe aint here22:03
zulcrap...there isnt a tracking bug22:03
uvirtbotNew bug: #1078926 in ubuntu "raring instance failed to find EC2 datasource" [High,Confirmed] https://launchpad.net/bugs/107892622:05
=== cpg is now known as cpg|away
PhibsWhen using NFS or SMBD, I get kernel panics with 12.10, any help would be appreciated. http://pastie.org/private/ngsvrewvgmebzx5xj2pq22:19
=== DarkG is now known as TonyL
=== cpg|away is now known as cpg
=== Ursinha-afk is now known as Ursinha

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