ziggles | hi all, i am having problems using vmbuilder -- "domain is undefined and host has no domain set" could someone point me in the right direction as to how i define a domain? thx | 00:14 |
---|---|---|
agentk | ziggles: What is the command and options you are trying to use? | 00:17 |
ziggles | agentk: just following a tutorial right now, but here is the line: | 00:18 |
ziggles | sudo vmbuilder kvm ubuntu --suite intrepid --flavour virtual --arch i386 -o --libvirt qemu:///system --ip 192.168.0.100 | 00:18 |
agentk | ziggles: As your specifying an ip address manually you may need to specify the netmask and domain. For now try adding: --hostname YOURHOSTNAME --domain YOUDOMAIN | 00:21 |
agentk | ziggles: Also you'll find if you dont specify a hostname too vmbuilder will always call the domain ubuntu and you will have to manually rename it each time. | 00:21 |
ziggles | agentk: thanks i will give it a shot, but according to https://help.ubuntu.com/8.10/serverguide/C/jeos-and-vmbuilder.html there are defaults and domain is not required | 00:22 |
ziggles | ah i see | 00:22 |
ziggles | agentk: It accepted: sudo vmbuilder kvm ubuntu --suite intrepid --flavour virtual --arch i386 -o --libvirt qemu:///system --ip 192.168.0.100 --hostname HOSTNAME --domain shiz.com | 00:23 |
ziggles | (just testing) :) | 00:24 |
agentk | ziggles: Sounds like your on your way now. I have put all my common options into ~/.vmbuilder.cfg and now to create a host use: | 00:25 |
agentk | ziggles: sudo vmbuilder kvm ubuntu --hostname <HOSTNAME> --mem <MEM> --dest /svr/shared/libvirt/<HOSTNAME/ | 00:26 |
* agentk <3 vmbuilder | 00:26 | |
ziggles | thats so much more pretty :) | 00:26 |
ziggles | agentk, looking through the docs it looks like you can up with some pretty hairy/long option strings | 00:27 |
ziggles | so that sounds very nice. | 00:27 |
ziggles | agentk: one other question.... How do you setup your partitions? i'm thinking that if i setup another partition or even different drive to house all of the VMs, back up will be a snap (we will only use about 3-4 vms, nothing crazy) | 00:28 |
agentk | ziggles: you'll also find the ubuntu / kvm specific help in vmbuilder by using `vmbuilder kvm ubuntu --help` instead of just `vmbuilder --help` | 00:28 |
agentk | root 8000 swap 4000 | 00:29 |
agentk | My vm's are fairly simple. I prefer to keep things consistant and documented. | 00:30 |
ziggles | agentk, actually i mean non-vm partitions, like for example your /svr/shared/..... | 00:31 |
jmedina | dont forget to send this comments to the documentation proyect, I think is it worth | 00:32 |
jmedina | like the hostname/domain and that ~/.vmbuilder.cfg | 00:32 |
agentk | jmedina: Yes, I am looking forward to doing that too. Should I send them to the ubuntu-server mailing list | 00:33 |
agentk | ziggles: I basically only have /svr/shared as a nfs mountpoint for keeping my vm images. stored on a one of the vm hosts. and thats about the only change I have made. | 00:35 |
ziggles | got u | 00:38 |
Netham46 | "[notice caught SIGWINCH, shutting down gracefully" I'm getting that in my Apache error log, and nothing works. Anyone know how I can fix this? | 00:38 |
ziggles | agentk do these perms look right to you? this is the newly created HOSTNAME.xml (from my test run) in /etc/libvirt/qemu/ | 00:39 |
ziggles | -rw------- 1 root root 828 2009-01-16 16:32 HOSTNAME.xml | 00:39 |
agentk | ziggles: Yes. Same on my system here too. Security first. | 00:42 |
ziggles | agentk: thank you for checking | 00:44 |
agentk | ziggles: np | 00:49 |
MatBoy | when you setup a dir and make it available for nfs, another server connects to that folder as root... you will have a problem I think? | 01:03 |
agentk | MatBoy: only if you use norootsquash | 01:05 |
agentk | And nfs shares should be restricted by hostname or ip address in exports and iptables if you want to go that far too | 01:06 |
alexb2283 | hi again | 01:08 |
alexb2283 | i'll ask my thing again :P my udev is looking for it's /etc/udev/rules.d directory before dm-crypt asks me for the / password. is there a way to make it wait until after the root partition is decrypted ? | 01:09 |
MatBoy | agentk: mhh | 01:09 |
MatBoy | can't write in a strange way | 01:09 |
PC_Nerd | Hi, When ubuntu states that the servers are "compatable" does that imply that other servers arent compatable and will not work with ubuntu? | 01:15 |
MatBoy | agentk: yep I have them restricted | 01:16 |
MatBoy | agentk: I thought root was not able to use from external as it's also not with other things from time to time in ubuntu | 01:20 |
agentk | MatBoy: Your are correct. I cant remember what permission I changed, i think i set the folder setuid with group permissions set for root only to be able to access it. | 01:34 |
MatBoy | agentk: ok ! | 01:37 |
MatBoy | agentk: maybe it's easier to use debian for nfs :S | 01:39 |
luckyone | anyone know how to set up a streaming media server? | 01:39 |
luckyone | I want to be able to stream media, videos as flash, music to my wii | 01:39 |
=== tonyyarusso is now known as Guest24518 | ||
=== tonyyarusso is now known as Guest12575 | ||
=== tonyyarusso is now known as Guest5946 | ||
ziggles | agentk: thanks for the help earlier | 01:58 |
ziggles | i had to rush out, but wanted to say thanks | 01:59 |
agentk | ziggles: Not a prob. I was having the same trouble as you when I started too. | 02:24 |
ziggles | agentk: sorry, one more question... do you normally run virsh as root? | 02:24 |
=== MatBoy is now known as MatGirl | ||
ziggles | using sudo was the only way i was able to define | 02:24 |
agentk | Nope. As unprivliged user. | 02:25 |
ziggles | Really? when i was doing this as an unpriv user, i got this error: Failed to open file 'HOSTNAME.xml': Permission denied | 02:25 |
ziggles | I also double checked that i was added to the correct groups | 02:25 |
=== MatGirl is now known as MatBoy | ||
agentk | add yourself to the libvirtd group and logout and back in | 02:26 |
agentk | Hmmm. and make sure your connecting to qemu:///system | 02:26 |
agentk | virsh -c qemu:///system start HOSTNAME | 02:27 |
ziggles | oh shit, worked | 02:28 |
ziggles | :) | 02:28 |
ziggles | i also added myself to the KVM group | 02:28 |
ziggles | should have tried one thing at a time | 02:28 |
hads | Language please :) | 02:30 |
ziggles | hads, sorry! sometimes the s word comes out in periods of sheer joy | 02:31 |
ziggles | does vmbuilder have a default user/pw when it creates a virtual vm? | 02:37 |
agentk | ziggles: default/default | 02:38 |
ziggles | agentk: hmmm tried that one, and ubuntu/ubuntu but no luck. ubuntu/ubuntu is what is listed in the docs | 02:38 |
agentk | I added passwd to my first login script and specified --username myname when building | 02:39 |
agentk | ziggles: try ubuntu/default | 02:39 |
ziggles | nope, lol | 02:39 |
ziggles | i can ssh to it... so close :) | 02:40 |
agentk | then when i first login i login with password=default and get prompted to change it | 02:40 |
agentk | in my ~/.vmbuilder.cfg: user = kbowden\n name = Karl Bowden\n pass = default | 02:41 |
agentk | ziggles: maybe you should specify a username and rebuild it | 02:43 |
ziggles | agentk, that's a great idea. I will do so now. | 02:43 |
ziggles | its a good thing this server has sata and a quadcore xeon. my personal PC would be dieing. :) | 02:44 |
=== Guest5946 is now known as tonyyarusso | ||
agentk | ziggles: LOL. I bought 2cpu quadcore amd servers just because my laptop was amd and I wanted to make sure I could migrate the images between my laptop and the servers live. | 02:47 |
agentk | and now I dont even use live migration | 02:47 |
ziggles | hahaha that's great. | 02:47 |
ziggles | agentk: so, are you using virtualization for your own personal stuff or for biz purposes? | 02:48 |
agentk | ziggles: both. A couple of windows and linux vms at work and at home. mainly for application isolation at work. at home for testing and playing around | 02:50 |
ziggles | cool | 02:52 |
ziggles | agentk: are you happy using kvm? | 02:52 |
agentk | More than. It's great for the servers. I still use virtual box for using windows guests for upgrading phone firmware via usb though. | 02:54 |
* hads likes KVM | 02:54 | |
agentk | Just because I know it works and i've never tried it in kvm. Anybody done this with KVM successfully yet? | 02:55 |
* agentk high fives hads | 02:55 | |
hads | :D | 02:55 |
agentk | ziggles: home or work use? | 02:57 |
ziggles | agentk: well, i lost my job recently, so im working on it @ home lol... but its for a client | 02:58 |
ziggles | setting up a few VMs for him to work in | 02:58 |
agentk | ziggles: Yip keep your mind learning new things. Life can be an intense expletive at times. | 02:59 |
=== jmarsden_ is now known as jmarsden | ||
kj-victory | how do I uninstall the gui on Ubuntu server? I installed ubuntu-desktop, but an uninstall of that does not rid me of the gui. | 04:24 |
uzair | hey all. quick question in regards to running some windows-only apps w/ a linux server | 05:38 |
uzair | is it possible to just have a dedicated client that the server will allow access to somehow for the use of those apps while the linux server takes care of everything else (PDC, mail, etc) | 05:39 |
uzair_ | sorry back | 05:42 |
uzair_ | anyone happen to reply to that? | 05:42 |
Pupeno | How do I get the Bacula MySQL database created on Ubuntu? | 10:50 |
nijaba | kirkland: https://code.launchpad.net/~nijaba/screen-profiles/configure-keybindings proposed for merging | 11:54 |
zhaozhou | Hey guys. | 12:13 |
sergevn | Hi | 12:21 |
uvirtbot` | New bug: #318154 in mysql-dfsg-5.1 (universe) "Cannot install mysql-server-5.1 on PPC 'cause service won't start" [Undecided,New] https://launchpad.net/bugs/318154 | 13:40 |
=== ivoks__ is now known as ivoks | ||
lwizardl | hi | 15:18 |
lwizardl | is there anyway to keep my hostname just a local name only? example "compaq" not "compaq.ispname.tld" | 15:18 |
maxb | lwizardl: define what you mean by hostname. The output of the 'hostname' command is or should be just the local name | 15:24 |
uvirtbot` | New bug: #318179 in apache2 (main) "Please merge apache2(2.2.11-2)(main) from debian unstable(main)" [Undecided,Confirmed] https://launchpad.net/bugs/318179 | 15:25 |
lwizardl | maxb, ok last time i did a server install and configure the hostname of my server i entered compaq and after the install it seemed to become compaq.gateway.2wire.net | 15:27 |
lwizardl | 2wire was used by my ISP (AT&T U-Verse used 2wire modem/router) | 15:28 |
=== MohammadBoozary is now known as Mohammad[B] | ||
maxb | Again, I have to ask: define what you mean by hostname? | 15:30 |
lwizardl | when i get the logon prompt its compaq.gateway.2wire.net, inside my hosts file its compaq.gateway.2wire.net | 15:31 |
lwizardl | anyone? | 16:04 |
dinsdale07 | I have a security problem on my server, I find rogue perl processes and I find the following in my apache access log which is unusual. | 18:10 |
dinsdale07 | http://paste.org/4881 Can someone assist me please in deciphering what's going on? | 18:10 |
dinsdale07 | the SRC is actually given as 127.0.0.1 which means my server makes these weired requests. Is it possible that it scans other servers for vulnerabilities. | 18:13 |
dinsdale07 | which is a good channel to attend on freenode to learn about webserver security - people who know about php, perl, apache exploits. | 20:10 |
_Cid | dinsdale07: ther eis a #security | 20:18 |
dinsdale07 | Thank you very much _Cid | 20:19 |
_Cid | dinsdale07: dont get your hope up though, its pretty inactive :/ | 20:19 |
dinsdale07 | well, you're in it :-) | 20:20 |
_Cid | dinsdale07: hehe | 20:30 |
owh | apachelogger, did you just comment on bug #238444? I'm Onno. | 20:44 |
uvirtbot` | Launchpad bug 238444 in kdebase-runtime "Index building for initial launch is overly complex" [Undecided,Invalid] https://launchpad.net/bugs/238444 | 20:44 |
apachelogger | owh: I did | 20:46 |
apachelogger | aloha | 20:46 |
owh | Hiya. | 20:46 |
owh | So, I've been thinking about this. Wouldn't it mean that khelpcentre should depend on kubuntu-default-settings? | 20:47 |
apachelogger | owh: you get a vanilla KDE without k-d-s, which is pretty much the idea of that package (+ of course it is more maintainable to everything in one place) | 20:48 |
owh | apachelogger: I don't understand your point. I just installed task-juggler and got bombarded with index requests from khelpcentre. | 20:49 |
apachelogger | owh: when opening taskjuggler itself? | 20:49 |
owh | Yup | 20:50 |
owh | apachelogger: I was running task-juggler, selected help and all hell broke loose. | 20:50 |
apachelogger | hm | 20:50 |
owh | I just wanted to RTFM :) | 20:50 |
apachelogger | owh: well the design flaw is in upstream khelpcenter and is supressed in kubuntu setups | 20:51 |
owh | apachelogger: I'm not running kubuntu, so khelpcentre had never been run. | 20:51 |
apachelogger | yeah, figured | 20:51 |
apachelogger | I actually consider deactivating the whole indexing upstream because it is only working in 0.1% of setups | 20:51 |
owh | apachelogger: So, what happens if a ubuntu user installs k-d-s? | 20:52 |
apachelogger | owh: the popup ought to be supressed | 20:52 |
owh | apachelogger: So, would there be other side-effects? | 20:52 |
apachelogger | nope | 20:53 |
apachelogger | doesn't even have extra deps | 20:53 |
owh | apachelogger: I'm suspecting that it also changes icons and templates, or does it not? | 20:53 |
owh | apachelogger: Or is k-d-s, specifically for khelpcentre only? | 20:53 |
apachelogger | that depends if taskjuggler is KDE 3 or KDE 4 ;-) | 20:53 |
owh | One mo. | 20:53 |
apachelogger | in genearl it is kubuntu branding + kubuntu settings ... less of the former really | 20:54 |
owh | Crap, it appears that I installed this when I was running gutsy - since upgraded to intrepid. | 20:54 |
owh | Uhm, that should be "freshly installed" | 20:54 |
owh | I should try this again - needed to look at task-juggler anyway. BRB | 20:55 |
sektor1952 | I keep getting a tsig error when I start my dhcp server I have verified the keys | 20:57 |
owh | apachelogger: I'm about to install it again and it's installing khelpcentre and khelpcentre4 - does that answer your question? | 20:57 |
apachelogger | no | 20:57 |
apachelogger | owh: we should move this to #kubuntu-devel | 20:57 |
owh | Cool | 20:57 |
sektor1952 | I can't figure out why I keep getting the error related to the rndckey | 21:10 |
Zombie_Gaz | Having trouble getting identd to work... I've tried every package I can find with no luck. At one point (last weekish) oidentd worked on and off (mostly on). Any ideas (I have 113 open). | 21:23 |
sektor1952 | This is the error I keep getting when I try to start my dhcp server | 21:39 |
sektor1952 | unknown key rndckeykey | 21:39 |
sektor1952 | anubody have any suggestions? | 21:46 |
Bizzeh | hey | 21:53 |
Bizzeh | has anyone had any experiance setting up pureftpd with mysql as an auth-method? | 21:53 |
=== NCommander is now known as mcasadevall | ||
=== mcasadevall is now known as NCommander |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!