/srv/irclogs.ubuntu.com/2012/01/29/#ubuntu-server.txt

meerkatsor, how should I forward UDP to any given port?00:04
n0cturnalhope someone can help me here.. at my wits end.. I upgraded from lucid to maverick last week, and my dhcp server has stopped working. I tried upgrading again (as was my plan anyway) to natty and oneiric.. but still doesn't work.. I see DHCPDISCOVER and DHCPOFFERs in logs, BOOTP works, but nothing via DHCP.. using isc-dhcp-server01:05
MTecknologyI had kvm working on my system and had to reinstall, I apparently didn't keep all the data i needed and didn't grab an xml dump from the systems. Is there anywhere on the system that the data may have existed that I could still get?02:03
MTecknologyI have the machines and a partial fs backup, but i can't seem to find the vm config02:04
MTecknologyI thought maybe /etc/qemu* but there's nothing there :(02:10
n0cturnalMTecknology: /var/lib possibly?02:13
MTecknologyn0cturnal: just found it! /etc/libvirt/qemu/*.xml :D02:14
n0cturnalnice, cool!02:15
MTecknologyn0cturnal: looks like i _almost_ have this thing back up and runnig the way i want...02:58
MTecknologyjust can't get virt-manager to connect02:58
MTecknologyn0cturnal: any ideas on this one?.. libvirtError: End of file while reading data: sh: nc: not found: Input/output error03:05
MTecknologytrying to run the shell command nc, but i'm not seeing what provides that03:06
MTecknologyman... I feel like libvirt has fallen out of support; no docs or support or anything it seems03:33
chelzMTecknology: i was just looking for docs on xen, which supposedly is all supported in later stuff, hardly any03:34
chelzthere don't seem to be many non-kvm virt docs :P03:34
MTecknologychelz: i see kvm docs, not libvirt or xen docs03:35
MTecknologychelz: I feel like I'm hitting problem after problem... I know I'm close03:35
MTecknologyI have to fix one vm before I can move on, but I have to get virt-manager working before I can do that much03:36
chelzeh google for the problem then. i mean libvirt's site should have docs03:36
MTecknologyI've been searching quite a bit for this one03:37
MTecknologyI see a few people that had the issue without any posted solutions03:37
chelztime to do some diving perhaps03:39
MTecknologyHAHA!03:39
MTecknologychelz: So.... it wanted netcat to be on the system; now that netcat is on the host, I'm seeing End of file while reading data: nc: invalid option -- 'U'03:40
MTecknologync -h for help: Input/output error03:40
MTecknologyApparently debian being the host and ubuntu being the workstation isn't going to work!?.... irunno03:41
chelzeh03:41
chelzwell bugs are likely to crop up, but that sounds pretty odd03:41
MTecknologychelz: worse here... that was easy to figure out... I needed netcat-openbsd installed, netcat-traditional wasn't good enough03:42
chelzMTecknology: End of file while reading data: nc: invalid option -- 'U'03:42
chelzah yeah03:42
chelzer03:42
chelzthat was meant to be netcat-openbsd03:42
chelzhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=61429103:42
uvirtbotDebian bug 614291 in virt-manager "Unable to establish qemu+ssh connection" [Important,Fixed]03:42
chelzfound that, which you probably saw03:42
MTecknologysame bug - debian #51648203:43
uvirtbotDebian bug 516482 in virt-manager "libvirt0: qemu+ssh requires netcat-openbsd" [Minor,Open] http://bugs.debian.org/51648203:43
chelzsounds almost like it should be fixed03:43
chelzfoobar# ln -s /usr/bin/netcat /usr/bin/nc03:44
chelzheh03:44
chelzno activity on 516482 since jul 201003:45
MTecknologyi guess I'm happy enough that it's working now - i'll stop complaining :D03:45
chelzbug 614291 says closed as of 15 Jan 2012 in Source-Version: 0.9.0-503:45
uvirtbotLaunchpad bug 614291 in policykit "PolicyKit authentication does not work over X forwarding" [Undecided,New] https://launchpad.net/bugs/61429103:46
chelzMTecknology: oh, you didn't say it was working03:46
chelzpsh03:46
chelzi was trying to fix a problem that wasn't there03:46
MTecknologychelz: sorry - as soon as i saw it depended on netcat-openbsd it started working03:46
chelzah03:47
chelzthat's easy enough03:47
MTecknologychelz: thanks for the help :D03:47
chelzerror msg should be better03:47
chelzhaha np03:47
MTecknologyI might file a bug to make it trap that error and make a nice message instead of that :)03:48
MTecknologyI have to rebuild my router now that I can talk to it... bbiab03:48
MTecknologychelz: that was super fun! you believe me?03:52
MTecknologychelz: Only other issue I've been having is trying to use virt-manager to actually work on the machines, but it's a huge pain because I use dvorak and when I type in there it wants to use qwerty03:54
chelzMTecknology: yeah filing a bug is a good idea03:56
chelzoh03:56
chelzheathen03:56
chelzi didn't know something like virt-manager would care, that's weird03:56
chelzcould file a bug about that too. really should be agnostic about that kind of thing03:56
MTecknologyI figured it would be... but I imagine it sends the key id (before the system realizes it's not qwerty)03:58
chelzshould be getting input some different way then i'd think03:58
chelzalthough i don't know how dvorak is setup usually. there might be a better way to set it than the way you've set it up03:58
MTecknologydpkg-reconfigure keyboard-configuration03:59
MTecknologyfrom there i just selected the layout and it worked04:00
chelzMTecknology: http://blog.garion.org/2011/04/26/using-virt-manager-on-macosx-with-dvorak-keyboard-layout/04:00
chelzblowin minds right and left right here04:00
chelzseems it's a qemu thing04:00
MTecknologyI remember trying to change that before and setting the keymap didn't help any04:02
chelzwell you do that plus the keymap file for qemu04:03
MTecknologyyup- I found someone that made a dvorak keymap file, i had no complaints from qemu or anything, but never managed to get it working04:04
chelzi'd try what that blogpost says then go from there04:06
chelzas in, do it, do it now04:06
MTecknologyi did it04:06
chelzno change?04:07
MTecknologynope04:07
chelzhttps://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/49658704:09
uvirtbotLaunchpad bug 496587 in virt-manager "vnc keymap breaks non-us layouts" [Undecided,Fix released]04:09
chelzi take it you're interacting with the guests through the vnc? or ssh?04:09
MTecknologyvnc04:09
MTecknologyssh works great04:09
chelzright04:09
chelzcheck if virt-manager added en-US04:10
chelzbug says "When creating a guest, virt-manager adds "keymap='en-us'" to the created vnc option."04:10
chelzchange to en-dv04:11
MTecknologyif i omit that part (actually, it has to be left out for the qemu-kvm in debian stable), then i have the same issue04:11
MTecknologysetting to en-dv, you need to create the keymap04:11
MTecknologymaybe I just didn't find the right keymap file...04:11
chelzcould symlink qemu's en-us to en-dv04:13
chelz/usr/share/qemu/keymaps/en-dv \04:13
chelzdisregard \04:13
chelzsince yeah, my first guess is you didn't follow the blog post closely enough04:14
MTecknologyTo make it work the way it's supposed to... I'd need to copy to /usr/share/qemu/keymaps/en-dv and then edit that file until i got it right, then it might work04:14
chelzwell that blog post linked to a place with a premade en-dv04:15
MTecknologythat's the one i tried04:15
MTecknologychelz: sorry if I seem to be difficult on thise :( ... I didn't just run in to this issue, I just happen to be completely rebuilding the box and am running into it again04:17
chelznp04:19
chelzactually04:19
MTecknologyactually? .. you're mad and going to hurt me?04:20
chelzyes, but before that04:20
chelzMTecknology: https://bugzilla.redhat.com/show_bug.cgi?id=244787#c404:20
uvirtbotbugzilla.redhat.com bug 244787 in python-virtinst "incorrect default keymaps" [Low,Closed: errata]04:20
MTecknologyOOOH04:21
chelzi am the law04:26
chelzMTecknology: any change?04:27
MTecknologychelz: dunno... I'm wondering if I need a complete reboot for it to get noticed04:28
MTecknologyI'm gonna do the reboot now04:29
chelzeh, sysconfig/keymap might be just a redhat/fedora/centos thing. this page has a few ways to set a keymap, just put in your "en-dv" or "dvorak" or w/e for where it says "dvp": http://www.kaufmann.no/roland/dvorak/linux.html04:32
chelzhttp://ubuntu-tutorials.com/2008/01/31/changing-the-system-keyboard-mapping-on-ubuntu-dvorak-vs-qwerty/04:33
MTecknologyI just tryied dpkg-reconfigure console-data; console-setup seems to have nothing to do with the layout04:35
MTecknologyI can't get the mapping to stick on the console....04:36
MTecknologychelz: I betcha when I get it to stick, it's going to work like magic because you're smart and google abilities kick butt :)04:37
chelzehh04:39
chelznot working so far. sounds like you need to see the light of qwerty pretty soon here04:39
chelzMTecknology: yeah i'd look over those last few links04:39
MTecknologychelz: nah.... I won't claim I'm faster because I'm using dvorak, but I definitely type better and more efficiently and I actually look like I know what I'm doing at the keyboard now04:40
chelzpsh yeah yeah yeah :P. gotta get it working first04:41
MTecknologyindeed....04:41
MTecknologyI was never able to actually type correctly or decent on a qwerty board. I just couldn't make my head learn it. Then comes many years later... dvorak and i just kinda clicked after about the first month of what i'd like to call typing hell.04:43
qman__been typing qwerty since I was four years old, I know it was designed specifically to be less efficient, but there's no changing that kind of history04:51
qman__next step is direct brain interface04:51
MTecknologyqman__: they did that already05:07
MTecknologyi think the guy that did it was called something like somebody duvorack or something05:07
chelzMTecknology: setxkbmap05:12
MTecknologychelz: I think I managed to get the console working with dvorak now, but I think I might also need a reboot before I can know for sure whether it worked or not05:16
chelzneeding to reboot seems a bit odd05:17
chelzone config thing i saw actually looked like you gave the kernel a line05:17
MTecknologychelz: oh... got to a point where i could reboot - same thing happening06:25
MTecknologyOOOH!!!!!!06:26
MTecknologyYAY!!!!!!!06:26
chelzMTecknology: eh?06:37
MTecknologychelz: Working!!06:37
chelzMTecknology: i take it it's working, any idea what the fix was?06:37
MTecknologymultiple things... finally got console set up to use dvorak on boot, then had to set the VM's to use en-us, then had to turn the systems completely off06:38
MTecknologyand.... shazam06:38
chelzhuh06:39
chelzso setting up the console made everything else work with en-us06:39
chelzMTecknology: how'd you set the console?06:39
MTecknologyuhm.... i'm not sure06:40
chelzheh06:40
chelzwell06:40
chelzundo stuff until it breaks again :P06:40
chelzor in a vm06:40
MTecknologydpkg-reconfigure keyboard-configuration; dpkg-reconfigure console-data; dpkg-reconfigure console-setup; also installed kbd06:40
MTecknologyand...06:40
MTecknologyloadkeys dvorak06:41
MTecknologynot sure which part fixed it.. there was something else too....06:41
MTecknologysetupcon?06:42
MTecknologysetupcon *06:42
chelzah06:42
chelzwell, with all that one is bound to work i suppose06:43
=== fenris is now known as Guest25296
=== Guest25296 is now known as ejat
BogscitzMoin13:19
BogscitzIch versuche auf einem Ubuntu Server (11.10 x86_64) meine WLAN-Karte (Intel Wireless 4965AGN / iwl4965 geladen) zum AP zu machen. Leider mag hostapd nicht, obwohl es laut eigentlich out-of-the-box laufen sollte. Die Ausgabe von hostapd und dessen Config: http://pastebin.com/F3ZwzSuK13:25
Bogscitz*laut allen Quellen ;)13:25
Bogscitzwlan0 existiert auch: 6: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 100013:27
BogscitzHat vielleicht noch jemand ne Idee?13:27
oCean!de13:28
ubottuIn den meisten Ubuntu-Kanälen wird nur Englisch gesprochen. Für deutschsprachige Hilfe besuche bitte #ubuntu-de, #kubuntu-de, #edubuntu-de oder #ubuntu-at. Einfach "/join #ubuntu-de" eingeben. Danke für Dein Verständnis!13:28
BogscitzOops, sorry13:28
BogscitzThanks13:28
oCeanheh, welcome :)13:28
Bogscitz:)13:29
BogscitzBasically, Im trying to run my Intel Wireless 4965AGN / iwl4965 in ap mode. But hostapd fails to put it in master mode: http://pastebin.com/F3ZwzSuK (incl. config). wlan0 exists though13:38
BogscitzIts a 11.10 x86_64 box13:39
BogscitzOh, iw list doesnt show me supported AP or AP/VLAN modes for the device13:42
Bogscitzgrml13:42
Womkes!basic ubuntu server14:58
ubottuWomkes: I am only a bot, please don't think I'm intelligent :)14:58
WomkesDoes anybody know what packages are included in hte "basic ubuntu server" tasksel option ?14:58
SpamapSWomkes: you can see that by looking at the task data ..16:01
SpamapSWomkes: but I don't see the "task" basic ubuntu server16:02
maxagazhi16:38
maxagazi have just installed ubuntu-server16:38
maxagazwhen I type ifconfig, I have just lo16:38
maxagazmy eth is not in the list16:38
maxagazhow to get it in the list16:38
maxagazfelipe_: hi16:43
felipe__hi16:45
maxagazfelipe__: hi16:45
maxagazfelipe__: how are you ?16:46
felipe__max16:46
felipe__maxagaz: dsgsdkjh16:47
nancy--what are the most famous control panels for web hosting ?19:03
onrefamous for good or bad things?19:04
nancy--good19:04
nancy--ofcourse19:05
JanCdoes Ubuntu server have something like this: http://www.daemonology.net/blog/2012-01-16-automatically-populating-ssh-known-hosts.html ?21:06
itguruI'm building a webserver using ubuntu, and I've run into an issue. I thought I had php working, as he site in /var/www renders php, but sites in /user/public_html do not - Where shall I start to fix this problem?21:14
guntbertitguru: did you see the !serverguide already?21:15
itguru...21:16
* itguru says serverguide ?21:16
itguruI must google harder21:16
itguru!serverguide21:16
ubottuThe Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/21:16
itguruThanks for the tip, I usually build servers on centos21:17
itgurublashphemy in here, I know :)21:17
itguruAh! Yes, I have gone through that page!21:17
blkperlitguru: did you tell apache to look in /user/public_html?21:19
itguruoops! wrong config file!21:19
blkperl:)21:19
itgurublkperl - yes, it does, at the moment, it just downloads the php file, I've updated the file /etc/apache2/mods-enabled/php5.conf - and commented out  php_admin_value engine Off - but still no php site :(21:27
uvirtbotNew bug: #923491 in mysql-5.1 (universe) "package mysql-server-5.1 (not installed) failed to install/upgrade: új pre-installation szkript alfolyamat 1 hibakóddal kilépett" [Undecided,New] https://launchpad.net/bugs/92349121:45
itguruWooHoo! It's working ? but I made like 6 config changes, and 2 cache reloads, so I can't pin down what did it! But anyway, I think from here on in, I'm sticking to CCM methods - hacking ubuntu is fun, and there are many guides, and the community is great :)21:46
KristianDKIs this the correct channel to ask about vmbuilder?22:02
itguruI've got some sites sitting in public_html for a few users, I want some domain names to point to some of the sites, what's the best practice way to do this? I was thinking virtual hosts, but then, doesn't that configure the site twice? once for the public_html, and once for the domain name?22:02
andolitguru: Well, assuming you want the vhost domain to be the new actual url I'd say the proper thing would be sitting up 301 redirects from the ~username url:s.22:08
itguruI want users who type www.domain.com to go to ~/webdevguy but still see www.domain.com in the heading. I could just create a vhost and user the absolute path, which is easier, but if the user deletes the direcrory apache will fail a reload, right?22:12
andolitguru: You know, that really isn't such a hard thing to test and find out by yourself...22:15
itguruandol - I did, and I got it working, I just wanted to know if there is a best practice way f doing it22:25
itguruF means of! by the way, not any other f word :)22:33
wmphello, i have problem with curl: /usr/lib/libcurl.so.4: no version information available23:32

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