[00:04] Is there a LPI exam prep available online that is free/low cost? === erichammond1 is now known as erichammond [01:46] ubuntu hardy is currently using mysql server 5.0.x, intrepid+ are using 5.1.x - will hardy ever move up to 5.1? how can I find out about these policies? [01:50] hello, dears, i just installed slapd (openldap server) and executed sudo dpkg-reconfigure slapd to configure ldap server. it's done and working. However, i can't find slapd.conf anywhere. Where does ubuntu store it ? I am using a brand new ubuntu 9.04 server edition [01:51] thiagocrepaldi: 9.04 doesn't use slapd.conf. It uses the cn=config backend by default instead. [01:51] ae: hardy will probably never move up to 5.1. [01:52] ae: you could try to get a backport at https://help.ubuntu.com/community/UbuntuBackports. [01:52] mathiaz: Thanks - I thought that might be the case but couldn't be sure. [01:52] i have a software raid1, a fail event has been detected on /dev/sdb1 and /dev/sdb2. then /dev/sdb just disappeared, how is it possible? [01:52] mathiaz: ahhh backports... good call [01:53] mathiaz, how can i see all configguration now ? [01:53] thiagocrepaldi: do a ldapsearch on the cn=config tree [01:54] thiagocrepaldi: https://help.ubuntu.com/9.04/serverguide/C/openldap-server.html [01:55] mathiaz, i am in this link already, but it's configuration to authenticate my console with ldap cited there do not work [02:03] additionally, ldapscripts throws errors when i try to execute them. It's logs are too superficial, so it's not useful to debug =/ [02:47] My hosting company is giving me a choice of quad core opteron or xeon. Which would give me the best performance under ubuntu server? [02:49] fbc-mx, if anyone that offer you a answer, it will be based on pure witchcraft. [02:49] fbc-mx, I tend to prefer the processor with the biggest cache built in. [02:50] KurtKraut, Intel Xeon DP E5405 or AMD Opteron 2344 HE? [02:51] fbc-mx, I suggest you reading about them on Wikipedia. [02:52] KurtKraut, I have however the articles do not tell me about performance under ubuntu. [02:55] fbc-mx, there is nothing specifically on Ubuntu that would differ performance on those processors. [02:58] KurtKraut, ok the wikipedia article tells me that the xeon has 2x6mb L2 cache and the AMD has L1-Cache: 64 + 64 KB (Data + Instructions) per core L2-Cache: 512 KB, fullspeed per core L3-Cache: 2048 KB, shared. If I had to decide just by L2 cache it would appear the xeon has more, but the way they break it out makes it confusing. Which on would you pick? [03:00] fbc-mx, if the Xeon is i7-based (Nehalem) it will outperform the Opteron [03:00] otherwise, they will be fairly similar in performance per clock [03:01] historically, Xeons usually have the performance edge, where Opterons have the power efficiency edge [03:01] though there are plenty of exceptions [03:03] qman__, it says 5400 "harpertown" series . does nto appear to be nehalem series. So if it's not nahelem based the AMD should outperform right? [03:03] no, they will be very similar in performance [03:03] the nehalems are the only ones with any significant performance advantage [03:03] go with number of cores, amount of cache, and clock speed as your judges in this case [03:04] qman__, ok, then since they are similar in performance then my only consideration would fall back on compatability.. opteron or xeon more compatible with ubuntu? [03:04] they're both equally compatible [03:05] qman__, wow.. hard decision to make then... it sounds like a flip of a coin situation. [03:05] pretty much [03:06] I'd go with the opteron, but that's just because I'm an AMD fanboy, there's not an obvious choice [03:07] one probably is faster than the other, but not enough that you'll notice [03:07] fbc-mx, ... remember what I said about witchcraft? [03:07] :P [03:07] they're definitely in the same bracket [03:07] normally the deciding factor would be power consumption and cost [03:07] hmm.. thanks guys... it appeared to be an exercise in futility [03:08] but since you've alluded that those are irrelevant, that makes the choice harder [03:10] Heads XEON, tails Opteron. [03:10] OK, it's XEON. [03:12] i7 would make me nervous for a Linux system right now [03:13] Since I haven't actually seen a Linux system handling e.g. the PCIE replacement [03:23] twb, well, its for a dedicated server colocated server.. I'm not gonna be putting cards into it. Just using the stuff on the motherboard. [03:23] fbc-mx: PCIE is what the previous generation uses between the CPU and the I/O controller. [03:23] fbc-mx: in i7, it has been replaced with a new thing (quicksomething?) [03:24] QuickPath Interconnect [03:26] I mean, maybe the kernel doesn't need to understand such things, and they will Just Work. But I'd still want to SEE it working before I laid down a couple grand for an i7 server. [04:45] Any idea what I'm missing to access a directory? The steps I'm taking are add user to group and set directory permissions? http://pastebin.com/m2f2b58bf [04:45] amites: as I just said in #ubuntu, log out and back in so your user is really in the www-data group [04:46] But why are you doing that in the first place? [04:46] You shouldn't need to chmod the public_html directory for it to work... [04:47] I logged out and logged back in - working now, thank you [04:47] your own public_html shouldn't need to belong to www-data [04:48] it should belong to the user [04:48] apache runs as www-data [04:48] yes [04:48] I use that dir to host all the sites on the server [04:48] not just personal [04:49] standard practice is to put non-personal sites in /var/www/site-name [04:49] putting them in your own public_html is generally a bad idea [04:50] because that inherently breaks the automagic user site [05:38] Does anyone know if Ubuntu supports dhcpv6 out of the box? [05:55] What is DHCPv6? [05:55] Do you mean DHCP over IPv6? [05:56] Ah, apparently "DHCPv6" is a recognized term for that. [05:57] Debian has an ongoing goal to support IPv6 throughout, so Ubuntu should have/get DHCPv6. I don't know whether it's supported in any existing releases. [05:58] http://packages.ubuntu.com/dhcpv6 indicates that WIDE DHCPv6 has been in Ubuntu for some time. [06:06] twb: rmadison shows it as being present only as a source package, though, which seems odd. [06:07] Shrug [06:07] I've never tried rmadison with Ubuntu [06:07] Maybe universe packages aren't listed? [06:08] jmarsden: nope, it's simply that the wide-dhcpv6 package doesn't produce a binary of that name. [06:08] Ah, OK. === zul_ is now known as zul [07:56] New bug: #303882 in vm-builder (universe) "python-vm-builder --raw doesn't set size correctly" [Medium,Fix committed] https://launchpad.net/bugs/303882 [08:10] New bug: #429872 in tcpdump (universe) "/sbin/apparmor_parser: ... Profile doesn't conform to protocol" [Undecided,New] https://launchpad.net/bugs/429872 [08:33] using "mail" command, how can i send out an email with a tgz attached? [08:41] You need something that can talk MIME [08:41] I don't know if mail can. [08:41] error404notfound: It would be easier to install mpack and use that [08:41] mpack file.tar.gz user@example.com [08:41] hmmm, twb yup, MIME... [08:41] jmarsden, i see.... [08:41] lemme check [08:42] sudo apt-get install mpack # then mpack file.tgz user@example.com should work [08:42] I still need to debug MIME attachments in my mbox.py plugin for roundup... [08:43] <_ruben> i tend to use mutt instead of mail when i need to send attachments [08:43] _ruben: even from a cron job? [08:43] <_ruben> yes [08:43] Hm. [08:44] <_ruben> its pretty much a drop-in replacement for nail, which is a mail variant that does support attachments .. -a filename [08:44] Yeah, I just never considered that mutt would work without a pty [08:44] <_ruben> echo blaat | mutt -s subject -a file to@some.one [08:44] If SHELL=/bin/bash, you can << herestrings ftw [08:45] i get sendmail: fatal: root(0): message file too big :D [08:45] So try it with a smaller file :) [08:45] <_ruben> mail isnt best suited for transfering large files [08:45] A nickel says error404notfound is doing this from PHP [08:46] twb, nope, commandline [08:46] Darn [08:46] you can always try telnet/nc :P [08:46] socat! [08:46] twb, postdrop: warning: uid=0: File too large [08:46] see, sending file from root account [08:46] I'm usually lazy and use tar c | ssh tar x instead of nc [08:47] Who cares if it takes a couple more days [08:49] error404notfound: that sounds like the mail is too large for your postfix settings ? [08:49] JanC, lemme see... [08:49] anyone rememer how much large attachments gmail support? :P [08:50] got set one value which would last for ages [08:51] error404notfound: it looks like 'postdrop' issued the error/warning, not gmail? [08:51] JanC, yes, but i wana make both allowed attachment sizes equal as i use postfix +sasl + gmail [08:59] * soren goes for coffee [10:09] Hey, where did kvm-pxe in hardy go? [10:28] Jeeves_: It was never there. [10:29] etherboot (5.4.3+dfsg-0.1ubuntu2) intrepid; urgency=low * Add kvm-pxe package containing the PXE ROM's kvm needs to pxeboot. -- Soren Hansen < soren@ubuntu.com> Fri, 04 Jul 2008 15:22:12 +0200 [10:31] soren: ok, etherboot it is :) [12:17] Ng: Ok, test building new Eucalyptus snapshot. If it works, I'll upload. ETA 15 in. [12:17] min, even. [12:18] soren: excellent :) [12:37] morning [12:53] I'm having to type my password twice in order to sudo. This didn't start happening until I installed and configured an LDAP server on the system. Any ideas as to what might be happening? [12:54] heath|work: sounds like your PAM config is not optimized [12:55] hmm. would that be a common-auth issue? [12:56] heath|work: look inside /etc/pam.d/sudo [13:01] ah that would make sense. I didn't even see that one [13:03] lol... well that says @include common-auth @include common-account [13:03] heath|work: yup [13:04] heath|work: maybe pastebin common-auth [13:04] * soren takes a break [13:05] pmatulis, http://pastie.org/617305 [13:05] Ng: Eucalyptus is building, by the way: https://edge.launchpad.net/ubuntu/+source/eucalyptus/1.6~bzr746-0ubuntu1 [13:06] heath|work: did you edit this file by hand? [13:06] common-account is a single line: account required pam_unix.so [13:06] pmatulis, no virtualmin [13:06] is it jacked up? [13:07] soren: cool thanks, I'll watch that [13:07] heath|work: yeah [13:07] oh great. [13:12] heath|work: to begin, common-auth should only have lines beginning with auth [13:12] someone else may want to corroborate [13:15] heath|work: having to enter your p/w twice may indicate that authentication with ldap is failing, you probably don't want to use ldap with sudo right? [13:15] pmatulis, correct. The only concern there is making sure virtualmin can still perform system tasks [13:17] This looks very understandable. I will backup what I have and start here: https://help.ubuntu.com/community/LDAPClientAuthentication [13:17] heath|work: ok [13:17] pmatulis, thanks for the help [13:19] heath|work: i haven't tried it myself but it seems you could just take the auth lines from common-auth (minus the ldap line) and replace the include common-auth line with them [13:19] in /etc/pam.d/sudo [13:20] heath|work: [13:21] I can try that first. It looks like virtualmin just dumps everything in the common-auth file instead of breaking it up across the normal three [13:21] heath|work: note that you should have a root shell in another terminal when you're messing with pam to prevent locking yourself out [13:22] will do. [13:26] New bug: #429083 in eucalyptus (main) "axis2c segfaulting, causing CC to crash (dup-of: 428060)" [Undecided,New] https://launchpad.net/bugs/429083 [13:41] * soren dogfoods and does an upgrade [14:03] pmatulis, after cleaning everything up following the guide it appears all is well [14:04] heath|work: can you paste your /etc/pam.d/{sudo,common-auth} again [14:07] pmatulis, I'm going to put the sudo back to the orig next and check it out: http://pastie.org/617355 [14:08] I'm not sure why my password one has anything about smb in there, but I left it [14:08] heath|work: you must have samba installed [14:08] or auth for that matter [14:09] That's just it, I don't. Not even the client [14:09] heath|work: maybe virtualmin up to its tricks again? [14:11] I guess so. I choose virtual cause from what I read it doesn't jack up your configs with proprietary crap. You can uninstall virtualmin and still have a working system. (unlike others I have tried) [14:11] heath|work: ok. your pam configs look good to me [14:12] and sudo is cooperating! :) [14:12] pmatulis, thanks again for the help. [14:12] heath|work: np, pass it on [14:12] that's my motto. Pay It Forward [14:14] It even resoled not being able to log in virtualmin as administrator! I had to enable the root account (which I hate) in order to use virtualmin. [14:15] heath|work: probably b/c that user is not in ldap [14:16] yep [14:16] so to disable the root password again: sudo passwd -d root ? [14:16] heath|work: doesn't look right [14:17] from the man page: 'Delete a user's password (make it empty). This is a quick way to disable a password for an account' [14:17] heath|work: ok, i'm used to another way [14:17] (usermod -p '!' root [14:17] ) [14:18] weird, I will look into that [14:46] Anyone got a softphone they could do a quick voip test to my server for me? [14:54] hi mathiaz [14:57] mathiaz: puppet issues have been fixed with the testsuite and your bug has been fixed [15:00] zul: great - so the MIR has been acceptedÉ [15:00] zul: ? [15:00] ill let kees now today [15:06] mathiaz: I pushed your MIR for image-store-proxy and pinged the MIR team about it... You might want to ping again at one point in your Tuesday though [15:07] ttx: yop - I'll take over for today :) [15:07] * mathiaz loves 20 hour long days [15:08] mathiaz: I pushed a new ServerTeam/Roadmap btw, let me know if it doesn't make sense [15:10] ttx: great - did you generate the first table by hand? [15:11] mathiaz: yes. I wish there was a way to find those blueprints. Or to tag them. [15:11] ttx: we should be able to use LP for that [15:12] yes, we should. [15:12] ttx: https://blueprints.launchpad.net/~ubuntu-server/+specworkload [15:12] ttx: ^^ that may be the best option we have - but it times out for me now [15:13] hi, i am new to kvm and try to read through al that whats avail to read. now there are documents talking about python-vmbuilder while others (as the ubuntu server guied) use virt-install, are these the same with different names (versions), which should i get to know when i am just starting with kvm? thx [15:13] ttx: anyway - we should look into that later or for the next release cycle [15:31] New bug: #429636 in apache2 (main) "ubuntu 8.04 cannot install apache2-prefork-dev" [Undecided,Incomplete] https://launchpad.net/bugs/429636 [15:46] New bug: #430075 in ubuntu (main) "eucalyptus-nc fail to upgrade to 1.6~bzr746-0ubuntu1" [Undecided,New] https://launchpad.net/bugs/430075 [15:56] New bug: #429106 in vm-builder (universe) "kernel and initramfs should be available for uec" [Medium,New] https://launchpad.net/bugs/429106 [15:58] man /join #ubuntu-meeting [15:58] * smoser joins #ubuntu-meeting, for anyone who missed that :) [16:02] sure you did === lamont` is now known as lamont [16:17] According to this my ec2 instance might be vulnerable to "proxy request attacks": http://tiny.cc/BrgSh . How do I a) test if I am vulnerable and b) prevent apache from forwarding url? [16:18] helo i have eth0 confugured as static at external ip in /etc/network/interfereces , now i added next net card with link to localnet/dhcp how i could initialize new card ? just add new entry to /etc/network/interfereces ? [16:19] szczym: For eth1, yes [16:19] thanx genii [16:19] np [16:20] auto eth1 [16:20] iface eth1 inet dhcp [16:20] ? [16:20] szczym: Looks good [16:20] thanx [16:20] szczym: You can then bring it up manually with something like: sudo ifconfig eth1 up && sudo dhclient eth1 [16:20] how i could find out if i have dhcp client running ? [16:21] i know, just type dhclient ;) [16:21] thanx [16:22] hi. i need help with vhosts [16:24] i moved my site from /var/www to /var/www/mysite.com , and i am having trouble making it to work [16:26] pastebin your site configuration file [16:28] Sup homies [16:28] I'm not sure "somewhere.com" as a directoryname in which to put content works that great [16:28] We're not homies. [16:29] We're geeks. [16:29] :) [16:29] What is the best way to go about setting up a VPN connection on ubuntu server that only goes out that interface if those resources are requested? [16:29] Been staring at the screen too long so my eyes are unhappy [16:29] Keizer: What is the use case? [16:30] what exactly do you mean [16:30] The RHEL network init scripts are awesome but I've decided to rawk out ubuntu [16:30] qman__: I need to setup a VPN connection and I don't want all traffic on the machine going out that interface [16:30] that's a simple flag in openvpn [16:30] on or off [16:32] ;push "redirect-gateway" [16:33] uncomment to funnel all traffic through VPN, leave commented to split it [16:33] qman__-> about to paste it [16:35] qman__-> http://pastebin.com/d3970b9da [16:35] orudie, ok, first thing, is mod_rewrite installed and enabled? [16:35] a2enmod rewrite I think [16:36] umm [16:37] what does it do ? [16:37] redirects from domain.com to www.domain.com ? if yes than its enabled [16:37] you are using rewrite in your site configuration [16:37] so, you need the rewrite module enabled in apache [16:37] it's not there by default [16:38] its enabled [16:38] ok [16:41] well, I don't see anything wrong with it, unless there's something wrong with the rewrite rules, I don't know enough about them to say [16:41] does apache throw any errors, or can you simply not access the site? [16:42] Thanks qman__ [16:44] http://www.youtube.com/watch?v=R-Yjlx4MRUQ <--- laff [16:47] qman__: OpenVPN is the defacto VPN correct? I'm used to OpenBSD VPN configuration [16:47] Keizer, it's pretty common, at least, I don't really know of any other full VPN solutions [16:50] OpenSwan was one back in the day [16:50] Thought everyone just used ipsec for site-to-site and PPTP for client access [16:58] sub: Right === zul_ is now known as zul [17:13] smoser: hey you around for the kernel meeting [17:14] here [17:15] jjohansen1, here [17:15] smoser: Over in #ubuntu-kernel [17:17] jjohansen1, moving. [17:17] here [17:17] her [17:17] e [17:17] ==== ec2 kernel meeting ===== [17:18] i'm planning on later today publishing the karmic kernels to eu-west-1, and getting ec2-version-query updated so that it will be the current karmic kernel [17:18] so that will mark bug 418130 as done [17:18] Launchpad bug 418130 in Ubuntu Karmic "Karmic EC2 images don't use a karmic kernel" [High,In progress] https://launchpad.net/bugs/418130 [17:18] smoser, when will you be ready for the config updates? [17:19] shall I wait until after A6? [17:19] rtg: we should test the config updates before committing them [17:19] for bug 428692, if you want to try something we can. and i'd love it if it had less drivers (ie, more like -virtual than -server) [17:19] Launchpad bug 428692 in ubuntu "ec2 kernel needs CONFIG_BLK_DEV_LOOP=y and other config changes" [Medium,Confirmed] https://launchpad.net/bugs/428692 [17:19] jjohansen1, I've pushe3d them, so feel free [17:20] rtg: right I will start a kernel build [17:20] good deal. that'd be great if we could get that for alpha6, but if not, i dont think its the end of the world. [17:20] the other kernel related bug is bug 429169 [17:20] Launchpad bug 429169 in vm-builder "ec2: Include kernel modules in AMIs" [Medium,Triaged] https://launchpad.net/bugs/429169 [17:21] smoser, its getting pretty late for A6 [17:21] rtg, i agree. so no big deal. we use the previous ones. [17:21] smoser, so, what you have in the archive right now is what's going out with A6 [17:22] fine. [17:22] clear [17:23] erichammond, any issues from you? [17:23] I think everything is being tracked in LP [17:24] so for 429169, after the MIR takes place (bug 427658) there will be a 'linux-ec2' metapackage in the archive that depends on the latest linux-image-... ? [17:24] Launchpad bug 427658 in Ubuntu Karmic "Main Inclusion Request: linux-ec2" [High,Fix released] https://launchpad.net/bugs/427658 [17:24] for 429619, i'd like to have that so vmbuilder can just know it needs to get 'linux-ec2' rather than knowing what version that is. [17:24] sorry if this is all obvious to everyone else [17:25] smoser, yeah, I need to do a meta package. I'll get that today [17:25] morning everyone [17:25] rtg. great. [17:26] smoser, incidentally, the MIR is complete and the package is accepted [17:26] I have a minbor issue with the multipath-tools package on 9.04 64bit. It picks up the paths and seems to be handling it properly, however will not create a /dev/dm-0 [17:27] jjohansen1, anything else ec2 related? [17:27] nothing I can think of [17:27] I do see a /dev/mapper/*LONGSTRINGOFSTUFF* entry however [17:27] jjohansen1, when do you leave for ATL ? [17:27] friday [17:28] ok, I suggest you suspend these meetings Friday-Fri since you're on the road. [17:28] rtg: good idea, I will send a mail out, also include moving them to #ubuntu-server [17:29] k, is that a wrap for today? [17:29] I thought these were already canceled on Fridays because of the Karmic status meeting? [17:29] erichammond, could be. [17:30] I think we should, unless people want to move the time [17:30] well, for the next 2 fridays its a moot point [17:31] rtg: true, really wed,thurs,friday next week too [17:31] which is why I suggested Friday through Friday. [17:31] cover it in an email. [17:31] will do [17:32] And perhaps update http://kernelcalendar.notlong.com [17:32] erichammond: yes, thanks [17:37] I guess the EC2 kernel status meeting is adjourned. [17:37] yes sorry, EC2 kernel meeting adjourned === clusty_ is now known as clusty [17:41] New bug: #241949 in kvm (universe) "computer freeze on kvm startup" [High,Fix released] https://launchpad.net/bugs/241949 [17:41] New bug: #251480 in kvm "X hangs in Intrepid in KVM" [High,Confirmed] https://launchpad.net/bugs/251480 [17:41] New bug: #286101 in kvm (universe) "kvm guests not using virtio for networking lose network connectivity" [High,Fix released] https://launchpad.net/bugs/286101 [17:46] New bug: #254492 in kvm (universe) "kvm guests randomly freeze when using SMP, start again when key pressed in vnc console" [Medium,Fix released] https://launchpad.net/bugs/254492 [17:46] New bug: #316861 in kvm (universe) "Virtio not working in Hardy 64bit" [Medium,Fix released] https://launchpad.net/bugs/316861 [17:46] New bug: #359447 in kvm "kvm segfaults" [High,Fix released] https://launchpad.net/bugs/359447 [18:08] i'm trying to shut down mysql server and i'm getting a [fail] message ... any ideas on how i can fix? also is it ok to reboot a server with "sudo reboot" ... if mysql is running and apache is running too? [18:10] kansan, are you sure mysqld is running? in any case, a sudo reboot will attempt to stop them cleanly, then kill them if it can't [18:11] qman__, yes its running [18:11] and 'sudo /etc/init.d/mysql stop' fails? [18:14] yes [18:14] was the current instance of mysqld started with the init script, or manually [18:15] you could try to give it a friendly exit signal manually, 'sudo kill -1 1234' where 1234 is the PID for the process [18:16] that sends a HUP, -15 sends a TERM, and -9 sends a KILL [18:28] helo i setup webdev server, i would like to write and read all in /var/www/ - its all belonging to www-data:www-data so i added my self to group www-data and still cant write there, what is wrong ? [18:30] /var/www belongs to root on all my systems [18:30] did you change it? [18:30] kees: hi! [18:31] also, /var/www is 755, so only the owner can write to it, not group owner [18:31] you'd have to change that to 775 [18:31] kees: do you have some time to conduct a review of the image-store-proxy (bug 429894)? [18:31] Launchpad bug 429894 in image-store-proxy "MIR for image-store-proxy" [High,New] https://launchpad.net/bugs/429894 [18:32] that is example dir where i cant write drwxrwxrwx 2 www-data www-data 4096 2009-09-08 07:37 includes [18:32] kees: it's a python daemon that is required for the image store on UEC [18:32] higher dir also belongs to www-data [18:34] since the permissions are 777 you don't even need to be in www-data to write there [18:34] yes but i can`t ... [18:35] btw i just added new user via useradd and i do it as that user [18:35] that user belongs to www-data but not to sudoers [18:37] you don't need to be in sudoers or www-data to write there [18:37] the problem must be elsewhere [18:40] ls [19:04] mathiaz: sure, was going to look at that today [19:04] kees: great - thanks! [19:08] mathiaz: could it be made to run its tests during the build? [19:09] kees: I could look into that - I just received the code yesterday [19:10] kees: gutsavo said the test suite almost covered everything [19:10] kees: one of the goal would be to get it on the -server iso for alpha6 [19:10] mathiaz: yup, which is why I'd love to see it enabled in the build. [19:10] kees: would that be a blocker for main promotion? [19:11] kees: I can commit to enable it in the build for karmic [19:11] kees: may be not in time for alpha6 though [19:12] mathiaz: let me make note in the bug [19:16] having trouble loading up mysql on ubuntu hardy; heres my error message when attempting to start mysql: http://pastie.org/617720 [19:18] does this file exist /etc/mysql/debian.cnf [19:19] and permissions look ok etc [19:20] Hypnoz, huh? [19:20] not sure how else to phrase that. Does that file exist? [19:24] no it doesnt [19:24] Hypnoz, how do i create it [19:24] I think its supposed to be created when mysql is installed [19:24] but it looks like mysql is checking that file before it starts [19:26] mathiaz: I can't do promotions (you'll need an archive admin for that), but I have approved it in the bug report. [19:27] kees: thanks! [19:27] np :) [19:28] Hypnoz, so what to do [19:28] did you have anything in your mysql database or is this a new install? [19:29] kees: should the status of bug 429894 be set to In Progress? [19:29] Launchpad bug 429894 in image-store-proxy "MIR for image-store-proxy" [High,Incomplete] https://launchpad.net/bugs/429894 [19:31] mathiaz: probably, yes [19:31] * mathiaz updates the status === erichammond1 is now known as erichammond [19:35] soren: where is the image store UI located? in the eucalyptus-cloud package? [19:36] soren: I'm looking where to image-store-proxy should be added as a dependency [19:43] soren: https://code.launchpad.net/~mathiaz/eucalyptus/image-store-proxy-recommends/+merge/11819 [19:43] soren: I've added python-image-store-proxy as a recommends on eucalyptus-cloud [20:23] mathiaz: howdy [20:24] kirkland: yo! [20:24] mathiaz: do you still need that package reviewed? [20:24] mathiaz: sorry i'm just getting to it now [20:24] kirkland: nope - it's already in the archive [20:24] kirkland: MIR accepted and promoted to main [20:24] mathiaz: sorry about the delay, man [20:24] where can I get the netboot image for ubuntu 7.10 sparc version [20:24] kirkland: np [20:24] ? [20:24] mathiaz: i've been swamped [20:24] mathiaz: okay, question for you .... [20:24] i dont see it here http://old-releases.ubuntu.com/releases/7.10/ [20:25] kirkland: sure [20:25] mathiaz: how would preseed the debconf questions for moodle image built by vmbuilder? [20:25] kirkland: hm - I don't know how vmbuilder support preseeds? [20:25] kirkland: does it support preseeds? [20:26] soren: ? [20:26] hmm, okay another question ... [20:26] is it legit to "run" an image once, to fix up a few things, before making it an appliance image? [20:27] kirkland: hm - I would guess so [20:27] kirkland: It's like rebundling an image in EC2 [20:27] smoser: have you done this before? [20:27] kirkland: it's just that it's very reproducable [20:27] kirkland: It doesn't, no. [20:28] kirkland: given the time frame I would do this for the moodle appliance [20:28] mathiaz: gotcha [20:28] kirkland: and since vmbuilder doesn't support preseeds [20:28] i've somewhat rebundled. [20:28] i dont knwo what sort of doc we have for it. [20:28] kirkland: it seems that's the only option for now [20:28] mathiaz: gotcha [20:28] and personally i expect that its not perfectly bug free [20:29] okay, next question ... suggestions on what to do about this FQDN question? [20:29] what is the FQDN question , for those of us who haven't been playing along at home [20:29] smoser: it's the one question I can't just choose a sane default for, in the moodle image [20:29] smoser: FQDN = fully qualified domain name [20:30] smoser: moodle's debconf uses this for the apache config, seeding the database, etc. [20:30] ideally, the user would choose this appropriately on first login to the system [20:30] i'm guessing you've already tried and failed with localhost.localdomain or for some reason that isn't sufficient, right? [20:31] smoser: can't really point a web browser at that [20:31] smoser: after you do this, you just point a web browser at the hostname, and you work through a web-based setup utility [20:31] smoser: to customize your instance [20:32] kirkland: hm - so you're trying to provide a default answer to the debconf question when the admin logs in? [20:32] mathiaz: there are about 5-6 questions [20:32] mathiaz: most of which we can "just pick" [20:33] mathiaz: do you want to use http or https? we'll select http for this appliance [20:33] mathiaz: do you want to be able to access this from outside of localhost? yes, of course [20:33] but if you select localhost.localdomain, does it not listen then on all ip addresses ? [20:33] mathiaz: what is your FQDN, this is a critical question...? ermmm, i was picking "moodle.local" and installing avahi-daemon [20:34] smoser: i don't think so... i'll try again, though [20:34] smoser: i think the apache conf sets it up to match only on this name [20:34] kirkland: don't you have the remote hostname when the user logs in via ssh? [20:34] kirkland: hm - well nevermind [20:35] if it doesn't listen on all ips and you have to give it one (the *right* one) then i have no solution [20:35] smoser: okay, thanks for playing [20:35] kirkland: well - my point being that the end user already knows what the FQDN of the appliance is [20:36] kirkland: since he uses it to ssh into the vm [20:36] kirkland: could it be possible to get that information automagically? [20:36] mathiaz: that's what I'm asking :-) [20:36] kirkland: right - I don't how to do that. [20:37] kirkland: so just ask the question on first login [20:37] mathiaz: okay [20:37] kirkland: well [20:37] kirkland: hm - if you need the fqdn for the apache virtualhost [20:37] kirkland: you can configure the default virtualhost to server the moddle install [20:38] kirkland: then you can also configure the db connection to use localhost [20:38] kirkland: for what else is the FQDN needed? [20:38] mathiaz: i'm not sure [20:39] wait [20:39] kirkland: if it's just needed for the DB connection and the apache virtual host then you're good to go [20:39] i'm sorry [20:39] i misunderstood the question [20:39] i thought you were wanting to provide an IP address at *build* time [20:39] is that wrong ? [20:40] if you want to find out the IP address of the running system at runtime, then thats easy. and also the fqdn at that time. [20:44] smoser: well, i can put a script in the image to run on first boot [20:44] i'm confused . how were you trying to find the info ? [20:45] or when did you want it ? [20:45] smoser: okay ... ideally, i think, the user would deploy this image [20:45] you can't possibly know it at image build time (other than by using localhost or some canned IP and then doing some magic at boot to make that IP work like the real one) [20:45] smoser: and just point a web browser at a hostname or ip address [20:45] smoser: and just configure it from the web [20:45] smoser: never actually logging in over ssh [20:46] mathiaz: okay, here's a question i think you probably can answer ... [20:46] mathiaz: i'd like to write a script to set some debconf values, and then pass it to dpkg-reconfigure [20:47] mathiaz: that should be pretty doable, i think [20:47] hmm, that's kinda how d-i works.... [20:47] kirkland: yes - look at debconf-set-selections [20:47] mathiaz: thanks [20:48] kirkland: right - I'm not sure that you'd actually need to run such a script [20:48] kirkland: depending on what the FQDN is used for, you could just install a moodle in a vm [20:48] kirkland: and rebundle it [20:48] mathiaz: hmm, i don't think i can have vmbuilder install the moodle package in the image for me [20:49] mathiaz: right, so i was going to use vmbuilder to create a jeos appliance [20:49] kirkland: right - if that's the case, then you need to install the package manually [20:49] mathiaz: then run the image, install moodle [20:49] mathiaz: in debconf there, I would set all of the selections to sane defaults [20:50] mathiaz: then, i was going to leave a script to run at first boot [20:50] mathiaz: that would autodetect FQDN, and debconf-set-selection to that detected value [20:50] kirkland: well - I'd investigate first what the FQDN is used for [20:51] kirkland: you may be able to by pass it completely if it's not used for anything else than the DB connection and the apache virtual host [20:51] * kirkland is looking at the source now [20:53] mathiaz: Moodle will be configured to use this system's Fully Qualified Domain Name [20:53] (FQDN). This must be correct, and you cannot easily change this after your [20:53] Moodle installation is complete. [20:54] mathiaz: okay, so i don't have to provide that as input into moodle debconf... [20:54] mathiaz: its just that the system's hostname *must* be set correctly when moodle's debconf runs [20:58] hi, i was wondering [20:58] on my vps I was assigned 2 IPs .. [20:59] but, I cant seem to get the 2nd one to work. [20:59] can you guys help me? [21:00] anyone here at the moment? [21:01] New bug: #430226 in eucalyptus "modify image attribute (launch perms) always displays image as public" [Undecided,New] https://launchpad.net/bugs/430226 [21:03] quiet everytime i come in [21:09] MK-ubuntu: lurk moar [21:09] pardon? [21:11] mushroomtwo, ? [21:13] I have this entry on my Apache 2 access.log file but I have not 192.168.23.13 machine on my LAN. How is this possible? [21:13] 192.168.23.13 - - [15/Sep/2009:19:41:25 +0200] "GET /virtual/ HTTP/1.1" 200 12294 "http://my.host.name/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)" === MK-ubuntu is now known as MK-BB [21:26] apache: Spoofing? [21:28] apache: If you have some unsecured wifi router, someone can manually put an IP address for themself that is on same segment and specify the router as gateway, etc all manually so no dhcp records get left. === mushroomtwo is now known as mushroomblue [21:39] hello, i need to change the order in which certain modules are loaded so that one is loaded before the other, if i change the order of the lines in /lib/modules/2.6.28-15-server/modules.dep and /lib/modules/2.6.28-15-server/modules.order is that all i need to do? [21:45] LeChacal: They are loaded in the order listed [21:45] genii: so i just change those two files and I am good, no where else? [21:46] LeChacal: If you have some list in /etc/modules maybe [21:47] geniiL i don't have anything in there, ok thank you I will try changing the orders === monteith is now known as monteith_afk [22:00] hello #ubuntu-server [22:01] hello thrillyb [22:02] do people talk a lot on irc anymore these days? [22:02] or is it better to go to forums for help / discussion? [22:05] lots of idlers? [22:06] Hello [22:06] Can anyone help? my hardy server wont go back online after a pwoer outage [22:06] *power [22:07] how far does it get? [22:07] does it post video at all? [22:07] It boots, and starts apache [22:07] , and when i run ifconfig i can see the router [22:08] but the networking directory has gone! [22:08] oh! [22:08] I looked in /etc/networking, and got: no such file or directrory [22:08] erm - i mean /etc/network [22:08] hehe [22:08] was about to say [22:09] Im still learning, but i got it all up and running for over 3 months before the power cut [22:09] have you ever done a reboot successfully? [22:10] thats one of the 1st things I tried, but no joy [22:11] this is ODD: this time the /etc/interface directory is there, but the interfacces file is empty! [22:11] before the power outage were you able to reboot though? [22:11] yes [22:11] k [22:11] but i only rebooted after an update [22:11] have you tried rerunning anything like this guide: http://www.ubuntugeek.com/ubuntu-networking-configuration-using-command-line.html [22:12] I'll check that out now [22:12] if the device is there that should work [22:12] thanks for the pointer [22:12] but if you had a power surge maybe something got toasted in your nic card [22:14] soren: what's the state of vmbuilder in LP and in karmic? [22:14] soren: i'm generating images, but they're not bootable [22:14] soren: at least not under kvm [22:14] soren: from karmic? [22:14] my router and server are on a surge protected cable and live behind a ups [22:14] kirkland: do you know that karmic is broken right now? [22:14] mathiaz: yes, the image is jaunty [22:14] k, you should be good then! :) [22:15] brb [22:15] kirkland: hm ok. if you're building an jaunty guest, then I don't know [22:17] Does anyone here connects with a phone using java MIDP 2.0 to a ssh and if so what java app do you use? [22:21] kirkland: I have a buddy who is starting a business, and thinks he is going to need to wrap some of the aws commands into a web UI [22:21] is there such a think already, or should he roll his own? [22:22] rickspencer3: possibly elasticfox [22:22] kirkland: what a name! [22:22] sounds like a plugin [22:22] rickspencer3: heh [22:22] I think he wants to render web pages [22:22] rickspencer3: its a firefox plugin [22:23] is there a project for that, I guess aws web interface? [22:23] rickspencer3: hmm, i might have misunderstood the question ... [22:23] rickspencer3: What exactly are you looking for [22:23] ? [22:23] rickspencer3: what sort of aws commands? [22:23] kirkland: create instance, etc... [22:23] describe instance [22:24] I think just so you can do it via a web ui instead of command line [22:24] hi erichammond :) [22:24] AWS is a (W)eb (S)ervice so all of the functionality is available through web APIs. [22:24] (programmable) [22:25] rickspencer3: people have put frontends around it ... eg elasticfox, rightscale [22:25] erichammond: right, but I think he wants to make his own that do specific tasks [22:25] thrillyb: DAMIT: I went through the link that you posted, but i still cant get it online! [22:26] kirkland: erichammond - thanks! [22:26] I'll check those out [22:26] rickspencer3: no problem; come back if you get some specific questions ;-) [22:26] rickspencer3: What I'm saying is that he would put a human-usable web interface and interact with the AWS API on the back end, probably through one of the many programming language APIs. If you know what programming language, we can point you in the right direction there, too. [22:27] slimu_: what's your ifconfig say now? [22:27] erichammond: right [22:27] thrillyb: it shows ip of 192.168.1.11, so ther router has assigned the ip address [22:28] slimu_: can you ping the router and vice versa? [22:28] thrillyb:the router conf page (on other desktop) shows the server as connected, but it wont let me ping [22:28] hey everyone else... anyone have any experience setting up directory service with ec2? is it reasonable to even try? [22:29] thrillyb: scap that. just refreshed the page and is says disconnected [22:30] on my vps I was assigned 2 IPs ..but i got the 1st ip working but cant seem to set the second one up. can u help? [22:31] erichammond: btw thanks for all your work with ec2 amis. I have used a handful and they're lovely [22:33] slimu_: that's pretty effed up sounding [22:33] thrillyb: Glad to hear they're working for you. [22:33] thrillyb: :-( [22:34] slimu_: what does your /etc/interfaces look like? [22:34] one mo [22:34] its blank! [22:35] i dont remember whats supposed to go in there anymore [22:35] erichammond: we just updated to your 9.04s a month or so ago. currently trying to figure out a way to get multiple users on all our amis without updating them everytime we wanna add someone [22:38] Slimu_: read the example for some good help > file less /usr/share/doc/ifupdown/examples/network-interfaces.gz [22:38] thrillyb: ok. many thanks for that. sounds like i've found the problem [22:39] Slimu_: no problem! access to the internet is probably pretty important for your server :) [22:40] thrillyb: What do you mean by "multiple users"? [22:40] thrillyb: yea, I've been rendering some animations and wanted to add them to my site, and found the problem while trying to ssh into it [22:40] thrillyb: i.e., ssh accounts? client web sites? ...? [22:43] erichammond: admins and such. yeah ssh accounts mainly [22:44] erichammond: i've been messing around with the idea of setting up LDAP to authenticate but the idea seems a lot simpler than the implementation [22:44] thrillyb: You should be aware that the current Amazon 2.6.21 kernel has a bug which allows normal users to gain root access. It is possible to close this by downgrading to their latest 2.6.18 kernel or upgrading to Canonical's 2.6.27 kernel. [22:45] thrillyb: So the problem you're trying to solve is having users be able to log in to new instances started from your private AMI? [22:46] erichammond: exactly. centrally stored usernames, passwords, home directories etc [22:47] erichammond: and thanks for the note on the kernel vulnerability - that's frightening [22:48] thrillyb: Got it. Lots of ways to do this, I suppose, depending on your requirements. Also consider: (1) passing in user-data script which creates all accounts at instance boot, (2) startup script which downloads list of users to create from S3, possibly using private URL. [22:48] thrillyb: Adding users to existing instances could be done with chef/puppet/... or simple automated ssh scripts or cron jobs. [22:49] thrillyb: But if the list changes a lot, central service sounds like a good approach. You just have to keep it running and solve the problem of having all instances talk to the correct master, especially if it needs to be replaced. [22:49] thrillyb: This approach may help with the last issue: http://alestic.com/2009/06/ec2-elastic-ip-internal [22:51] erichammond: i've thought about a cronjob/rsync type situation, it sounds more legit the way you described it [22:53] thrillyb: I'm a fan of clean, simple, understandable systems. In many cases chef/puppet/et.al. is just complicating things. [22:53] erichammond: LDAP or any of it's brethren are probably over kill [22:55] erichammond: thanks for the guidance. i'll see give this a try. [22:58] mathiaz: smoser: \o/ moodle configurable by ip address alone [23:22] kirkland: so does it work? [23:25] ahe: i'm getting there.... [23:25] cool [23:26] i'm always interested in modifications, escpecially if there is something you couldn't do before [23:43] how do i use something like `passwd -l` for users with ldap authenticated nfs home directories? [23:46] New bug: #430266 in eucalyptus "Failures in image registration should be reported as HTTP error codes" [Critical,Confirmed] https://launchpad.net/bugs/430266