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

uvirtbotNew 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/107477700:06
=== furian is now known as shantorn
=== cpg|away is now known as cpg
TheLordOfTimeSpamapS:  alive?01:13
=== n0ts_off is now known as n0ts
RoyK z02:56
uvirtbotNew bug: #1074798 in openssh (main) "ssh-copy-id cannot handle spaces in usernames" [Undecided,New] https://launchpad.net/bugs/107479803:11
TheLordOfTimei'm trying to wrap my head around why their usernames would have spaces...03:15
TheLordOfTime(regarding that bug(03:15
=== 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
btesterfresh 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:38
LordOfTimebtester:  different images perhaps?06:46
LordOfTimethe AWS images are a little bit different from the server image.06:46
btesterLordOfTime: ghmm. up to the point that that package is not even availabe from repo?06:49
LordOfTimemight be in a different repo than you have enabled by default06:49
LordOfTimeuniverse or multiverse perhaps06:49
LordOfTimethe AWS stuff doesn't have every repo enabled.06:51
LordOfTimei'd know, but most of the stuff I need is in main or in PPAs.06:51
LordOfTime !info geoip-database-contrib06:54
ubottugeoip-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 kB06:54
LordOfTime !info geoip-database-contrib precise06:54
ubottugeoip-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 kB06:54
LordOfTimebtester:  pastebin the sources.list06:55
btesterLordOfTime: http://pastebin.com/TDSC5Tgp06:57
LordOfTimelines 33, 34, 35, 36.  uncomment those06:58
LordOfTimethen apt-get update06:58
LordOfTimeand try again to install the package06:58
LordOfTimesince hte package is in multiverse (see ubottu's last messages), and multiverse isnt enabled in your instance06:58
btesterLordOfTime: AHA! well thank you sir! works now.07:00
LordOfTimeyou're welcome!07:02
=== 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
hikenboothello I need to remount root file system as rw instead of read only in recovery mode how do i do this?13:31
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:32
yeats!kvm | ironm13:33
ubottuironm: kvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM13:33
ironmthanks a lot yeahpla13:33
ironmthanks a lot yeats13:33
hikenbootnever mind answered my own question thanks13:34
ironmdo I really need to install virtinst even I have chosen the "virtual machines host" tasksel option?13:44
ironmor is there another way?13:44
=== n0ts is now known as n0ts_off
AlphaWolfI'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/14:42
=== n0ts_off is now known as n0ts
ironm Does libvirtd listen on ethernet interface per default?16:06
jpdsNot on my host.16:07
ironmjpds, I try from remote host (my notebook) to connect (virt-manager) to the KVM host but it didn't work16:08
maswanironm: I think the way to do that is to go via ssh16:09
jpdsironm: virt-manager -c qemu+ssh://host/system ?16:09
jpdsmaswan: 'lo. o/16:09
* maswan waves a bit to jpds 16:09
ironmmaswan, jpds virt-manager does it via ssh16:10
ironmmy question is on which port number libvirtd should listen on the KVM host16:11
ironmand if I have to change the default setting for libvirtd on the ubuntu-server 12.04 KVM host16:12
jpdsironm: That's the thing, it doesn't have a port on mine.16:13
maswanand certainly not on the ethernet interfaces16:13
ironmjpds, do you use remote client for virt-manager?16:13
jpdsironm: Yep.16:13
ironmhmm .. I can't follow how it could work if libvirtd doesn't listen on ethernet interface16:14
maswanthrough ssh16:15
ironmok .. ssh16:15
ironmso I am doing something wrong16:15
jpdsironm: Is your user in the libvirtd group on the host?16:16
ironmjpds, yes : root@hvm20:~# grep libvirt /etc/group16:18
ironmlibvirtd:x:111:ironm16:18
jpdsHmm, not sure then, sorry.16:18
ironmcan I check if the connection works manually ?16:18
ironmfrom the command line16:18
jpdsironm: virsh list ?16:18
ironmempty output there16:19
ironmthere is no VM defined yet16:19
jpds$ virsh -c qemu:///system list16:19
jpdsOh, well...16:19
ironmit is a fresh installation of ubuntu-server 12.04 (tasksel option "virtual machine host")16:19
ironmjpds, also empty output of: virsh -c qemu:///system list16:20
jpdsironm: Well, those would show running VMs.16:20
jpdsironm: But they don't return an error, so I imagine it's working.16:21
ironmroot@hvm20:~# ps -efa | grep libvirt16:21
ironmroot      2570     1  0 16:57 ?        00:00:00 /usr/sbin/libvirtd -d16:21
jpdsironm: Remotely: virsh -c qemu+ssh://hvm20/system list ?16:22
jpdsironm@hvm20*16:23
ironmjpds, empty output of: ironm@wheezy:~$  virsh -c qemu+ssh://192.168.1.120/system list16:24
ironmI had to type in a password for ironm16:24
jpdsironm: Sounds like it's working, so what's the problem?16:24
ironmjpds. virt-manager can't connect to the KVM host16:26
ironmjpds: how the exact CLI command for virt-manager should looks like? ... virt-manager -c qemu+ssh://host/system16:27
jpdsironm: Well, it should be doing what virsh is doing, and yes.16:27
ironmjpds: error message: virt-manager-connection-error.txt16:32
ironmhttp://paste.debian.net/206418/16:32
jpdsironm: I guess the /s aren't suppose to be missing in the paste?16:33
ironmhow do you mean that?16:35
jpdsironm: First line: virt-manager -c qemu+ssh:192.168.1.12016:36
jpdsironm: Instead of virt-manager -c qemu+ssh://192.168.1.120/system16:36
ironmoOH16:36
jpdsironm: I guess that worked. :P16:40
ironmjpds: thank you very much! .. I am blond :/16:41
jpdsironm: No worries.16:42
ironmjpds, 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:58
ironmand to use the correct syntax for the virt-manager on the remote administration client ;)16:59
=== 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
hilarieI'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:50
hilariedid it with -i and it didn't go for the hidden directory, yay!18:51
=== cpg is now known as cpg|away
Aisonhow can I synchronize an ubuntu server right at startup19:41
Aisontime sync :P19:41
Aisonntp uses some kind of step by step adjustment19:41
RoyKntpdate19:45
RoyKntpdate will fail if ntpd is running, though19:45
ton1c;19:53
AisonRoyK, is there a ntpdate startup script that runs before ntp? :D20:15
RoyKAison: not sure, but it wouldn't be very hard to write one20:30
RoyKAison: also, using hwclock to reprogram the hardware clock with the current time should save you that effort20:31
AisonRoyK, I don't think that hwclock works in this case, it's a damn virtual machine20:40
AisonI start up multiple instances and all instances should be synced20:40
RoyKAison: VMs normally sync well with their host as far as I've seen21:12
RoyKAison: what hypervisor is this?21:12
Aisoni'm actually working with amazon ec2, so I dont know exactly. It's crap :P21:13
AisonI guess xen21:13
RoyKiirc they use xen, yes21:13
RoyKI don't have a timesync problem with my kvm guests21:14
RoyKhyper-v I've used in the past, and it sucks sideways21:14
AisonRoyK, well, maybe I expect too much. I would like a sync around 1ms21:14
Aisonbut for that I need a much more accurate setup, and that is going to be too complex21:15
RoyKgoogle xen timesync21:17
RoyKthere's a lot out there21:17
=== cpg|away is now known as cpg
keithclarkI'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:14
keithclarkI 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:15
escottkeithclark, nothing should be mounted on /media. it should be in a subdirectory therein23:19
=== cpg is now known as cpg|away
keithclarkescott, yes, it is.  usb>usb723:20
escottkeithclark, what is the relevant line in the output of "mount" also please dont crosspost23:21
escotti realize this channel is a bit slower so if you want to switch over thats fine23:21
keithclarkescott, not sure what you are asking about 'mount'23:22
escottkeithclark, open a terminal and type "mount"23:22
keithclarkescott, crosspost advice taken.23:22
escottanyways "mount" will output all the mounted partitions type and mountpoints23:23
keithclarkescott, http://pastebin.ca/224839323:25
escottso that doesn't show the usb mounted anywhere23:25
keithclarkI followed advice here:  https://help.ubuntu.com/community/Mount/USB23:26
escottkeithclark, is the usb plugged in right now23:26
keithclarkescott, yes23:26
escottkeithclark, why dont you (a) remove it (b) put it back in (c) run "dmesg"23:27
escottthe 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 drive23:27
=== pug_1 is now known as DaveR
keithclarkhttp://pastebin.ca/224839423:29
escottkeithclark, 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/external23:30
keithclarkescott, worked like charm.  Thanks a bunch.23:32
keithclarkescott, learned a lot.23:33
escottkeithclark, 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 future23:33
keithclarkescott, I see the output. How to modify fstab?23:34
escottwell what is the output23:35
escottjust the one line mentioning /media/external23:35
keithclark/dev/sdb1 on /media/movies type ext4 (rw)23:35
escottexcellent23:36
escottone more command to run as soon as i can remember what it is23:36
escottsudo blkid23:36
escottrun that and look for the bit that mentions /dev/sdb123:36
escottthen your /etc/fstab you need to add23:36
escottUUID=THE_UUID_FROM_SUDO_BLKID /media/external           ext4    defaults        0       223:37
keithclarkyup, got that info23:38
keithclarkmodified23:40
keithclarkI'll try to reboot23:40
escottkeithclark, no need to reboot23:41
escottthis isn't windows23:41
escottdon't have to reboot to save a file23:41
keithclarkNow that is funny!23:41
escottkeithclark, 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:43
keithclarkshoot, I rebooted now the server is unavailable.23:44
escottkeithclark, 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 typo23:45
keithclarkgotta reboot sometime!23:46
keithclarkSetting up a monitor and keyboard on it now23:46
keithclarkIt is stuck at 'mountall:  fsck /boot .....'23:50
keithclarkAh, trying to boot from it?23:51
escottits trying to verify that /boot is not corrupted23:51
escottwhich would usually be almost instantaneous (as /boot is usually very small)23:51
keithclarkSo I do what23:52
escottkeithclark, boot an install cd or install usb and fsck it there23:53
keithclarktrying23:57
keithclarkthis is messed up23:58
keithclarkshoot, won't boot from cd23:59

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