[01:13] <TheLordOfTime> SpamapS:  alive?
[02:56] <RoyK>  z
[03:15] <TheLordOfTime> i'm trying to wrap my head around why their usernames would have spaces...
[03:15] <TheLordOfTime> (regarding that bug(
[06:38] <btester> fresh ubuntu server 12.04 LTS install on local server has geoip-database-contrib package. Fresh official Ubuntu 12.04 LTS server on Amazon AWS - does not.   ...... Why is that?
[06:46] <LordOfTime> btester:  different images perhaps?
[06:46] <LordOfTime> the AWS images are a little bit different from the server image.
[06:49] <btester> LordOfTime: ghmm. up to the point that that package is not even availabe from repo?
[06:49] <LordOfTime> might be in a different repo than you have enabled by default
[06:49] <LordOfTime> universe or multiverse perhaps
[06:51] <LordOfTime> the AWS stuff doesn't have every repo enabled.
[06:51] <LordOfTime> i'd know, but most of the stuff I need is in main or in PPAs.
[06:54] <LordOfTime>  !info geoip-database-contrib
[06:54] <LordOfTime>  !info geoip-database-contrib precise
[06:55] <LordOfTime> btester:  pastebin the sources.list
[06:57] <btester> LordOfTime: http://pastebin.com/TDSC5Tgp
[06:58] <LordOfTime> lines 33, 34, 35, 36.  uncomment those
[06:58] <LordOfTime> then apt-get update
[06:58] <LordOfTime> and try again to install the package
[06:58] <LordOfTime> since hte package is in multiverse (see ubottu's last messages), and multiverse isnt enabled in your instance
[07:00] <btester> LordOfTime: AHA! well thank you sir! works now.
[07:02] <LordOfTime> you're welcome!
[13:31] <hikenboot> hello I need to remount root file system as rw instead of read only in recovery mode how do i do this?
[13:32] <ironm>  hello. Can you recommend me a tutorial for installing of VMs on ubuntu-server 12.04, please? Thank you in advance for any hints.
[13:33] <yeats> !kvm | ironm
[13:33] <ironm> thanks a lot yeahpla
[13:33] <ironm> thanks a lot yeats
[13:34] <hikenboot> never mind answered my own question thanks
[13:44] <ironm> do I really need to install virtinst even I have chosen the "virtual machines host" tasksel option?
[13:44] <ironm> or is there another way?
[14:42] <AlphaWolf> I've got 2 partitions I'm trying to format and mount. I've put more information (fdisk -lu and more specific information) on Ubuntu Pastebin if anyone can help. I've tried GParted but it just sees the disk and no partitions. http://paste.ubuntu.com/1332125/
[16:06] <ironm>  Does libvirtd listen on ethernet interface per default?
[16:07] <jpds> Not on my host.
[16:08] <ironm> jpds, I try from remote host (my notebook) to connect (virt-manager) to the KVM host but it didn't work
[16:09] <maswan> ironm: I think the way to do that is to go via ssh
[16:09] <jpds> ironm: virt-manager -c qemu+ssh://host/system ?
[16:09] <jpds> maswan: 'lo. o/
[16:09]  * maswan waves a bit to jpds 
[16:10] <ironm> maswan, jpds virt-manager does it via ssh
[16:11] <ironm> my question is on which port number libvirtd should listen on the KVM host
[16:12] <ironm> and if I have to change the default setting for libvirtd on the ubuntu-server 12.04 KVM host
[16:13] <jpds> ironm: That's the thing, it doesn't have a port on mine.
[16:13] <maswan> and certainly not on the ethernet interfaces
[16:13] <ironm> jpds, do you use remote client for virt-manager?
[16:13] <jpds> ironm: Yep.
[16:14] <ironm> hmm .. I can't follow how it could work if libvirtd doesn't listen on ethernet interface
[16:15] <maswan> through ssh
[16:15] <ironm> ok .. ssh
[16:15] <ironm> so I am doing something wrong
[16:16] <jpds> ironm: Is your user in the libvirtd group on the host?
[16:18] <ironm> jpds, yes : root@hvm20:~# grep libvirt /etc/group
[16:18] <ironm> libvirtd:x:111:ironm
[16:18] <jpds> Hmm, not sure then, sorry.
[16:18] <ironm> can I check if the connection works manually ?
[16:18] <ironm> from the command line
[16:18] <jpds> ironm: virsh list ?
[16:19] <ironm> empty output there
[16:19] <ironm> there is no VM defined yet
[16:19] <jpds> $ virsh -c qemu:///system list
[16:19] <jpds> Oh, well...
[16:19] <ironm> it is a fresh installation of ubuntu-server 12.04 (tasksel option "virtual machine host")
[16:20] <ironm> jpds, also empty output of: virsh -c qemu:///system list
[16:20] <jpds> ironm: Well, those would show running VMs.
[16:21] <jpds> ironm: But they don't return an error, so I imagine it's working.
[16:21] <ironm> root@hvm20:~# ps -efa | grep libvirt
[16:21] <ironm> root      2570     1  0 16:57 ?        00:00:00 /usr/sbin/libvirtd -d
[16:22] <jpds> ironm: Remotely: virsh -c qemu+ssh://hvm20/system list ?
[16:23] <jpds> ironm@hvm20*
[16:24] <ironm> jpds, empty output of: ironm@wheezy:~$  virsh -c qemu+ssh://192.168.1.120/system list
[16:24] <ironm> I had to type in a password for ironm
[16:24] <jpds> ironm: Sounds like it's working, so what's the problem?
[16:26] <ironm> jpds. virt-manager can't connect to the KVM host
[16:27] <ironm> jpds: how the exact CLI command for virt-manager should looks like? ... virt-manager -c qemu+ssh://host/system
[16:27] <jpds> ironm: Well, it should be doing what virsh is doing, and yes.
[16:32] <ironm> jpds: error message: virt-manager-connection-error.txt
[16:32] <ironm> http://paste.debian.net/206418/
[16:33] <jpds> ironm: I guess the /s aren't suppose to be missing in the paste?
[16:35] <ironm> how do you mean that?
[16:36] <jpds> ironm: First line: virt-manager -c qemu+ssh:192.168.1.120
[16:36] <jpds> ironm: Instead of virt-manager -c qemu+ssh://192.168.1.120/system
[16:36] <ironm> oOH
[16:40] <jpds> ironm: I guess that worked. :P
[16:41] <ironm> jpds: thank you very much! .. I am blond :/
[16:42] <jpds> ironm: No worries.
[16:58] <ironm> jpds, I am impressed! .. the only one thing one has to do is to add the user to the libvirtd group after installing ubuntu-server 12.04 LTS (virtual machine host)
[16:59] <ironm> and to use the correct syntax for the virt-manager on the remote administration client ;)
[18:50] <hilarie> I've got a folder, with a bunch of folders, and one hidden folder, I want to keep the hidden folder, but none of the rest, how can I do this? rm -r * will delete the hidden one right?
[18:51] <hilarie> did it with -i and it didn't go for the hidden directory, yay!
[19:41] <Aison> how can I synchronize an ubuntu server right at startup
[19:41] <Aison> time sync :P
[19:41] <Aison> ntp uses some kind of step by step adjustment
[19:45] <RoyK> ntpdate
[19:45] <RoyK> ntpdate will fail if ntpd is running, though
[19:53] <ton1c> ;
[20:15] <Aison> RoyK, is there a ntpdate startup script that runs before ntp? :D
[20:30] <RoyK> Aison: not sure, but it wouldn't be very hard to write one
[20:31] <RoyK> Aison: also, using hwclock to reprogram the hardware clock with the current time should save you that effort
[20:40] <Aison> RoyK, I don't think that hwclock works in this case, it's a damn virtual machine
[20:40] <Aison> I start up multiple instances and all instances should be synced
[21:12] <RoyK> Aison: VMs normally sync well with their host as far as I've seen
[21:12] <RoyK> Aison: what hypervisor is this?
[21:13] <Aison> i'm actually working with amazon ec2, so I dont know exactly. It's crap :P
[21:13] <Aison> I guess xen
[21:13] <RoyK> iirc they use xen, yes
[21:14] <RoyK> I don't have a timesync problem with my kvm guests
[21:14] <RoyK> hyper-v I've used in the past, and it sucks sideways
[21:14] <Aison> RoyK, well, maybe I expect too much. I would like a sync around 1ms
[21:15] <Aison> but for that I need a much more accurate setup, and that is going to be too complex
[21:17] <RoyK> google xen timesync
[21:17] <RoyK> there's a lot out there
[23:14] <keithclark> I've added a new usb drive to my server.  I've installed usbmount but I still cannot get to my data..  I see usb>usb7 mounted on /media but nothing is in those directories.
[23:15] <keithclark> I have added a new usb  hard drive to my server and installed usbmount.  I can see usb-usb7 directories added to /media  but nothing is in the directories.  I saved data there on another computer with rsync to this drive.  Is it not available to another computer?
[23:19] <escott> keithclark, nothing should be mounted on /media. it should be in a subdirectory therein
[23:20] <keithclark> escott, yes, it is.  usb>usb7
[23:21] <escott> keithclark, what is the relevant line in the output of "mount" also please dont crosspost
[23:21] <escott> i realize this channel is a bit slower so if you want to switch over thats fine
[23:22] <keithclark> escott, not sure what you are asking about 'mount'
[23:22] <escott> keithclark, open a terminal and type "mount"
[23:22] <keithclark> escott, crosspost advice taken.
[23:23] <escott> anyways "mount" will output all the mounted partitions type and mountpoints
[23:25] <keithclark> escott, http://pastebin.ca/2248393
[23:25] <escott> so that doesn't show the usb mounted anywhere
[23:26] <keithclark> I followed advice here:  https://help.ubuntu.com/community/Mount/USB
[23:26] <escott> keithclark, is the usb plugged in right now
[23:26] <keithclark> escott, yes
[23:27] <escott> keithclark, why dont you (a) remove it (b) put it back in (c) run "dmesg"
[23:27] <escott> the last few lines of dmesg should show events related to the plugging of the disk back in and should list what /dev/sdX# is the usb drive
[23:29] <keithclark> http://pastebin.ca/2248394
[23:30] <escott> keithclark, so the disk is "/dev/sdb" and the partition is "/dev/sdb1" so a command like "sudo mkdir /media/external; sudo mount /dev/sdb1 /media/external" should mount it to /media/external
[23:32] <keithclark> escott, worked like charm.  Thanks a bunch.
[23:33] <keithclark> escott, learned a lot.
[23:33] <escott> keithclark, you can look at the output of mount now and put some of those mount options in your /etc/fstab to avoid having to use sudo in the future
[23:34] <keithclark> escott, I see the output. How to modify fstab?
[23:35] <escott> well what is the output
[23:35] <escott> just the one line mentioning /media/external
[23:35] <keithclark> /dev/sdb1 on /media/movies type ext4 (rw)
[23:36] <escott> excellent
[23:36] <escott> one more command to run as soon as i can remember what it is
[23:36] <escott> sudo blkid
[23:36] <escott> run that and look for the bit that mentions /dev/sdb1
[23:36] <escott> then your /etc/fstab you need to add
[23:37] <escott> UUID=THE_UUID_FROM_SUDO_BLKID /media/external           ext4    defaults        0       2
[23:38] <keithclark> yup, got that info
[23:40] <keithclark> modified
[23:40] <keithclark> I'll try to reboot
[23:41] <escott> keithclark, no need to reboot
[23:41] <escott> this isn't windows
[23:41] <escott> don't have to reboot to save a file
[23:41] <keithclark> Now that is funny!
[23:43] <escott> keithclark, just "sudo umount /media/external" and then verify it is unmounted with "mount" and then "mount /media/external" (no need for root at this point)
[23:44] <keithclark> shoot, I rebooted now the server is unavailable.
[23:45] <escott> keithclark, thats also why you shouldn't reboot. there is probably a typo in /etc/fstab so you need to get console access to fix that typo
[23:46] <keithclark> gotta reboot sometime!
[23:46] <keithclark> Setting up a monitor and keyboard on it now
[23:50] <keithclark> It is stuck at 'mountall:  fsck /boot .....'
[23:51] <keithclark> Ah, trying to boot from it?
[23:51] <escott> its trying to verify that /boot is not corrupted
[23:51] <escott> which would usually be almost instantaneous (as /boot is usually very small)
[23:52] <keithclark> So I do what
[23:53] <escott> keithclark, boot an install cd or install usb and fsck it there
[23:57] <keithclark> trying
[23:58] <keithclark> this is messed up
[23:59] <keithclark> shoot, won't boot from cd