[00:06] New bug: #1074777 in openldap (main) "package libldap-2.4-2 2.4.31-1ubuntu2 failed to install/upgrade: trying to overwrite shared '/etc/ldap/ldap.conf', which is different from other instances of package libldap-2.4-2:i386" [Undecided,New] https://launchpad.net/bugs/1074777 === furian is now known as shantorn === cpg|away is now known as cpg [01:13] SpamapS: alive? === n0ts_off is now known as n0ts [02:56] z [03:11] New bug: #1074798 in openssh (main) "ssh-copy-id cannot handle spaces in usernames" [Undecided,New] https://launchpad.net/bugs/1074798 [03:15] i'm trying to wrap my head around why their usernames would have spaces... [03:15] (regarding that bug( === cheez0r_ is now known as cheez0r === cpg is now known as cpg|away === cpg|away is now known as cpg === kInOzAwA1 is now known as kInOzAwA [06:38] 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] btester: different images perhaps? [06:46] the AWS images are a little bit different from the server image. [06:49] LordOfTime: ghmm. up to the point that that package is not even availabe from repo? [06:49] might be in a different repo than you have enabled by default [06:49] universe or multiverse perhaps [06:51] the AWS stuff doesn't have every repo enabled. [06:51] i'd know, but most of the stuff I need is in main or in PPAs. [06:54] !info geoip-database-contrib [06:54] geoip-database-contrib (source: geoip-database-contrib): GeoLite binary database (downloader). In component multiverse, is optional. Version 1.8 (quantal), package size 10 kB, installed size 63 kB [06:54] !info geoip-database-contrib precise [06:54] geoip-database-contrib (source: geoip-database-contrib): GeoLite binary database (downloader). In component multiverse, is optional. Version 1.5 (precise), package size 9 kB, installed size 62 kB [06:55] btester: pastebin the sources.list [06:57] LordOfTime: http://pastebin.com/TDSC5Tgp [06:58] lines 33, 34, 35, 36. uncomment those [06:58] then apt-get update [06:58] and try again to install the package [06:58] since hte package is in multiverse (see ubottu's last messages), and multiverse isnt enabled in your instance [07:00] LordOfTime: AHA! well thank you sir! works now. [07:02] you're welcome! === n0ts is now known as n0ts_off === acidflash__ is now known as acidflash === n0ts_off is now known as n0ts === remix_auei is now known as remix_tj === 5EXAADXDZ is now known as nome === cpg is now known as cpg|away === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === Ursinha-afk is now known as Ursinha === dendrobates is now known as dendro-afk === yofel_ is now known as yofel [13:31] hello I need to remount root file system as rw instead of read only in recovery mode how do i do this? [13:32] 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] !kvm | ironm [13:33] ironm: kvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM [13:33] thanks a lot yeahpla [13:33] thanks a lot yeats [13:34] never mind answered my own question thanks [13:44] do I really need to install virtinst even I have chosen the "virtual machines host" tasksel option? [13:44] or is there another way? === n0ts is now known as n0ts_off [14:42] 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/ === n0ts_off is now known as n0ts [16:06] Does libvirtd listen on ethernet interface per default? [16:07] Not on my host. [16:08] jpds, I try from remote host (my notebook) to connect (virt-manager) to the KVM host but it didn't work [16:09] ironm: I think the way to do that is to go via ssh [16:09] ironm: virt-manager -c qemu+ssh://host/system ? [16:09] maswan: 'lo. o/ [16:09] * maswan waves a bit to jpds [16:10] maswan, jpds virt-manager does it via ssh [16:11] my question is on which port number libvirtd should listen on the KVM host [16:12] and if I have to change the default setting for libvirtd on the ubuntu-server 12.04 KVM host [16:13] ironm: That's the thing, it doesn't have a port on mine. [16:13] and certainly not on the ethernet interfaces [16:13] jpds, do you use remote client for virt-manager? [16:13] ironm: Yep. [16:14] hmm .. I can't follow how it could work if libvirtd doesn't listen on ethernet interface [16:15] through ssh [16:15] ok .. ssh [16:15] so I am doing something wrong [16:16] ironm: Is your user in the libvirtd group on the host? [16:18] jpds, yes : root@hvm20:~# grep libvirt /etc/group [16:18] libvirtd:x:111:ironm [16:18] Hmm, not sure then, sorry. [16:18] can I check if the connection works manually ? [16:18] from the command line [16:18] ironm: virsh list ? [16:19] empty output there [16:19] there is no VM defined yet [16:19] $ virsh -c qemu:///system list [16:19] Oh, well... [16:19] it is a fresh installation of ubuntu-server 12.04 (tasksel option "virtual machine host") [16:20] jpds, also empty output of: virsh -c qemu:///system list [16:20] ironm: Well, those would show running VMs. [16:21] ironm: But they don't return an error, so I imagine it's working. [16:21] root@hvm20:~# ps -efa | grep libvirt [16:21] root 2570 1 0 16:57 ? 00:00:00 /usr/sbin/libvirtd -d [16:22] ironm: Remotely: virsh -c qemu+ssh://hvm20/system list ? [16:23] ironm@hvm20* [16:24] jpds, empty output of: ironm@wheezy:~$ virsh -c qemu+ssh://192.168.1.120/system list [16:24] I had to type in a password for ironm [16:24] ironm: Sounds like it's working, so what's the problem? [16:26] jpds. virt-manager can't connect to the KVM host [16:27] jpds: how the exact CLI command for virt-manager should looks like? ... virt-manager -c qemu+ssh://host/system [16:27] ironm: Well, it should be doing what virsh is doing, and yes. [16:32] jpds: error message: virt-manager-connection-error.txt [16:32] http://paste.debian.net/206418/ [16:33] ironm: I guess the /s aren't suppose to be missing in the paste? [16:35] how do you mean that? [16:36] ironm: First line: virt-manager -c qemu+ssh:192.168.1.120 [16:36] ironm: Instead of virt-manager -c qemu+ssh://192.168.1.120/system [16:36] oOH [16:40] ironm: I guess that worked. :P [16:41] jpds: thank you very much! .. I am blond :/ [16:42] ironm: No worries. [16:58] 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] and to use the correct syntax for the virt-manager on the remote administration client ;) === n0ts is now known as n0ts_off === remix_auei is now known as remix_tj === openbsdnoob is now known as bsdgeek === remix_auei is now known as remi_tj === remi_tj is now known as remix_tj === remix_tj is now known as remix_auei === remix_auei is now known as remix_tj === cpg|away is now known as cpg [18:50] 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] did it with -i and it didn't go for the hidden directory, yay! === cpg is now known as cpg|away [19:41] how can I synchronize an ubuntu server right at startup [19:41] time sync :P [19:41] ntp uses some kind of step by step adjustment [19:45] ntpdate [19:45] ntpdate will fail if ntpd is running, though [19:53] ; [20:15] RoyK, is there a ntpdate startup script that runs before ntp? :D [20:30] Aison: not sure, but it wouldn't be very hard to write one [20:31] Aison: also, using hwclock to reprogram the hardware clock with the current time should save you that effort [20:40] RoyK, I don't think that hwclock works in this case, it's a damn virtual machine [20:40] I start up multiple instances and all instances should be synced [21:12] Aison: VMs normally sync well with their host as far as I've seen [21:12] Aison: what hypervisor is this? [21:13] i'm actually working with amazon ec2, so I dont know exactly. It's crap :P [21:13] I guess xen [21:13] iirc they use xen, yes [21:14] I don't have a timesync problem with my kvm guests [21:14] hyper-v I've used in the past, and it sucks sideways [21:14] RoyK, well, maybe I expect too much. I would like a sync around 1ms [21:15] but for that I need a much more accurate setup, and that is going to be too complex [21:17] google xen timesync [21:17] there's a lot out there === cpg|away is now known as cpg [23:14] 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] 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] keithclark, nothing should be mounted on /media. it should be in a subdirectory therein === cpg is now known as cpg|away [23:20] escott, yes, it is. usb>usb7 [23:21] keithclark, what is the relevant line in the output of "mount" also please dont crosspost [23:21] i realize this channel is a bit slower so if you want to switch over thats fine [23:22] escott, not sure what you are asking about 'mount' [23:22] keithclark, open a terminal and type "mount" [23:22] escott, crosspost advice taken. [23:23] anyways "mount" will output all the mounted partitions type and mountpoints [23:25] escott, http://pastebin.ca/2248393 [23:25] so that doesn't show the usb mounted anywhere [23:26] I followed advice here: https://help.ubuntu.com/community/Mount/USB [23:26] keithclark, is the usb plugged in right now [23:26] escott, yes [23:27] keithclark, why dont you (a) remove it (b) put it back in (c) run "dmesg" [23:27] 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 === pug_1 is now known as DaveR [23:29] http://pastebin.ca/2248394 [23:30] 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] escott, worked like charm. Thanks a bunch. [23:33] escott, learned a lot. [23:33] 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] escott, I see the output. How to modify fstab? [23:35] well what is the output [23:35] just the one line mentioning /media/external [23:35] /dev/sdb1 on /media/movies type ext4 (rw) [23:36] excellent [23:36] one more command to run as soon as i can remember what it is [23:36] sudo blkid [23:36] run that and look for the bit that mentions /dev/sdb1 [23:36] then your /etc/fstab you need to add [23:37] UUID=THE_UUID_FROM_SUDO_BLKID /media/external ext4 defaults 0 2 [23:38] yup, got that info [23:40] modified [23:40] I'll try to reboot [23:41] keithclark, no need to reboot [23:41] this isn't windows [23:41] don't have to reboot to save a file [23:41] Now that is funny! [23:43] 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] shoot, I rebooted now the server is unavailable. [23:45] 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] gotta reboot sometime! [23:46] Setting up a monitor and keyboard on it now [23:50] It is stuck at 'mountall: fsck /boot .....' [23:51] Ah, trying to boot from it? [23:51] its trying to verify that /boot is not corrupted [23:51] which would usually be almost instantaneous (as /boot is usually very small) [23:52] So I do what [23:53] keithclark, boot an install cd or install usb and fsck it there [23:57] trying [23:58] this is messed up [23:59] shoot, won't boot from cd