/srv/irclogs.ubuntu.com/2009/09/15/#ubuntu-server.txt

BookmanIs there a LPI exam prep available online that is free/low cost?00:04
=== erichammond1 is now known as erichammond
aeubuntu 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:46
thiagocrepaldihello, 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 edition01:50
mathiazthiagocrepaldi: 9.04 doesn't use slapd.conf. It uses the cn=config backend by default instead.01:51
mathiazae: hardy will probably never move up to 5.1.01:51
mathiazae: you could try to get a backport at https://help.ubuntu.com/community/UbuntuBackports.01:52
aemathiaz: Thanks - I thought that might be the case but couldn't be sure.01:52
dockoi 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
aemathiaz: ahhh backports... good call01:52
thiagocrepaldimathiaz, how can i see all configguration now ?01:53
mathiazthiagocrepaldi: do a ldapsearch on the cn=config tree01:53
mathiazthiagocrepaldi: https://help.ubuntu.com/9.04/serverguide/C/openldap-server.html01:54
thiagocrepaldimathiaz, i am in this link already, but it's configuration to authenticate my console with ldap cited there do not work01:55
thiagocrepaldiadditionally,  ldapscripts throws errors when i try to execute them. It's logs are too superficial, so it's not useful to debug =/02:03
fbc-mxMy hosting company is giving me a choice of quad core opteron or xeon. Which would give me the best performance under ubuntu server?02:47
KurtKrautfbc-mx, if anyone that offer you a answer, it will be based on pure witchcraft.02:49
KurtKrautfbc-mx, I tend to prefer the processor with the biggest cache built in.02:49
fbc-mxKurtKraut, Intel Xeon DP E5405 or AMD Opteron 2344 HE?02:50
KurtKrautfbc-mx, I suggest you reading about them on Wikipedia.02:51
fbc-mxKurtKraut,  I have however the articles do not tell me about performance under ubuntu.02:52
KurtKrautfbc-mx, there is nothing specifically on Ubuntu that would differ performance on those processors.02:55
fbc-mxKurtKraut, 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?02:58
qman__fbc-mx, if the Xeon is i7-based (Nehalem) it will outperform the Opteron03:00
qman__otherwise, they will be fairly similar in performance per clock03:00
qman__historically, Xeons usually have the performance edge, where Opterons have the power efficiency edge03:01
qman__though there are plenty of exceptions03:01
fbc-mxqman__,  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
qman__no, they will be very similar in performance03:03
qman__the nehalems are the only ones with any significant performance advantage03:03
qman__go with number of cores, amount of cache, and clock speed as your judges in this case03:03
fbc-mxqman__, 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
qman__they're both equally compatible03:04
fbc-mxqman__,  wow.. hard decision to make then... it sounds like a flip of a coin situation.03:05
qman__pretty much03:05
qman__I'd go with the opteron, but that's just because I'm an AMD fanboy, there's not an obvious choice03:06
qman__one probably is faster than the other, but not enough that you'll notice03:07
KurtKrautfbc-mx, ... remember what I said about witchcraft?03:07
KurtKraut:P03:07
qman__they're definitely in the same bracket03:07
qman__normally the deciding factor would be power consumption and cost03:07
fbc-mxhmm.. thanks guys... it appeared to be an exercise in futility03:07
qman__but since you've alluded that those are irrelevant, that makes the choice harder03:08
fbc-mxHeads XEON, tails Opteron.03:10
fbc-mxOK, it's XEON.03:10
twbi7 would make me nervous for a Linux system right now03:12
twbSince I haven't actually seen a Linux system handling e.g. the PCIE replacement03:13
fbc-mxtwb, 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
twbfbc-mx: PCIE is what the previous generation uses between the CPU and the I/O controller.03:23
twbfbc-mx: in i7, it has been replaced with a new thing (quicksomething?)03:23
twbQuickPath Interconnect03:24
twbI 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.03:26
amitesAny 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/m2f2b58bf04:45
jmarsdenamites: as I just said in #ubuntu, log out and back in so your user is really in the www-data group04:45
jmarsdenBut why are you doing that in the first place?04:46
jmarsdenYou shouldn't need to chmod the public_html directory for it to work...04:46
amitesI logged out and logged back in - working now, thank you04:47
qman__your own public_html shouldn't need to belong to www-data04:47
qman__it should belong to the user04:48
amitesapache runs as www-data04:48
qman__yes04:48
amitesI use that dir to host all the sites on the server04:48
amitesnot just personal04:48
qman__standard practice is to put non-personal sites in /var/www/site-name04:49
qman__putting them in your own public_html is generally a bad idea04:49
qman__because that inherently breaks the automagic user site04:50
NCommanderDoes anyone know if Ubuntu supports dhcpv6 out of the box?05:38
twbWhat is DHCPv6?05:55
twbDo you mean DHCP over IPv6?05:55
twbAh, apparently "DHCPv6" is a recognized term for that.05:56
twbDebian 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:57
twbhttp://packages.ubuntu.com/dhcpv6 indicates that WIDE DHCPv6 has been in Ubuntu for some time.05:58
jmarsdentwb: rmadison shows it as being present only as a source package, though, which seems odd.06:06
twbShrug06:07
twbI've never tried rmadison with Ubuntu06:07
twbMaybe universe packages aren't listed?06:07
twbjmarsden: nope, it's simply that the wide-dhcpv6 package doesn't produce a binary of that name.06:08
jmarsdenAh, OK.06:08
=== zul_ is now known as zul
uvirtbotNew bug: #303882 in vm-builder (universe) "python-vm-builder --raw doesn't set size correctly" [Medium,Fix committed] https://launchpad.net/bugs/30388207:56
uvirtbotNew bug: #429872 in tcpdump (universe) "/sbin/apparmor_parser: ... Profile doesn't conform to protocol" [Undecided,New] https://launchpad.net/bugs/42987208:10
error404notfoundusing "mail" command, how can i send out an email with a tgz attached?08:33
twbYou need something that can talk MIME08:41
twbI don't know if mail can.08:41
jmarsdenerror404notfound: It would be easier to install mpack and use that08:41
jmarsdenmpack file.tar.gz user@example.com08:41
error404notfoundhmmm, twb yup, MIME...08:41
error404notfoundjmarsden, i see....08:41
error404notfoundlemme check08:41
jmarsdensudo apt-get install mpack    # then  mpack file.tgz user@example.com    should work08:42
twbI still need to debug MIME attachments in my mbox.py plugin for roundup...08:42
_rubeni tend to use mutt instead of mail when i need to send attachments08:43
twb_ruben: even from a cron job?08:43
_rubenyes08:43
twbHm.08:43
_rubenits pretty much a drop-in replacement for nail, which is a mail variant that does support attachments .. -a filename08:44
twbYeah, I just never considered that mutt would work without a pty08:44
_rubenecho blaat | mutt -s subject -a file to@some.one08:44
twbIf SHELL=/bin/bash, you can <<<blaat, btw08:44
twbherestrings ftw08:44
error404notfoundi get sendmail: fatal: root(0): message file too big :D08:45
jmarsdenSo try it with a smaller file :)08:45
_rubenmail isnt best suited for transfering large files08:45
twbA nickel says error404notfound is doing this from PHP08:45
error404notfoundtwb, nope, commandline08:46
twbDarn08:46
JanCyou can always try telnet/nc  :P08:46
twbsocat!08:46
error404notfoundtwb, postdrop: warning: uid=0: File too large08:46
error404notfoundsee, sending file from root account08:46
twbI'm usually lazy and use tar c | ssh tar x instead of nc08:46
twbWho cares if it takes a couple more days08:47
JanCerror404notfound: that sounds like the mail is too large for your postfix settings ?08:49
error404notfoundJanC, lemme see...08:49
error404notfoundanyone rememer how much large attachments gmail support? :P08:49
error404notfoundgot set one value which would last for ages08:50
JanCerror404notfound: it looks like 'postdrop' issued the error/warning, not gmail?08:51
error404notfoundJanC, yes, but i wana make both allowed attachment sizes equal as i use postfix +sasl + gmail08:51
* soren goes for coffee08:59
Jeeves_Hey, where did kvm-pxe in hardy go?10:09
sorenJeeves_: It was never there.10:28
sorenetherboot (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 +020010:29
Jeeves_soren: ok, etherboot it is :)10:31
sorenNg: Ok, test building new Eucalyptus snapshot. If it works, I'll upload. ETA 15 in.12:17
sorenmin, even.12:17
Ngsoren: excellent :)12:18
zulmorning12:37
heath|workI'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:53
pmatulisheath|work: sounds like your PAM config is not optimized12:54
heath|workhmm. would that be a common-auth issue?12:55
pmatulisheath|work: look inside /etc/pam.d/sudo12:56
heath|workah that would make sense. I didn't even see that one13:01
heath|worklol... well that says @include common-auth @include common-account13:03
pmatulisheath|work: yup13:03
pmatulisheath|work: maybe pastebin common-auth13:04
* soren takes a break13:04
heath|workpmatulis, http://pastie.org/61730513:05
sorenNg: Eucalyptus is building, by the way: https://edge.launchpad.net/ubuntu/+source/eucalyptus/1.6~bzr746-0ubuntu113:05
pmatulisheath|work: did you edit this file by hand?13:06
heath|workcommon-account is a single line: account requiredpam_unix.so13:06
heath|workpmatulis, no virtualmin13:06
heath|workis it jacked up?13:06
Ngsoren: cool thanks, I'll watch that13:07
pmatulisheath|work: yeah13:07
heath|workoh great.13:07
pmatulisheath|work: to begin, common-auth should only have lines beginning with auth13:12
pmatulissomeone else may want to corroborate13:12
pmatulisheath|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
heath|workpmatulis, correct. The only concern there is making sure virtualmin can still perform system tasks13:15
heath|workThis looks very understandable. I will backup what I have and start here: https://help.ubuntu.com/community/LDAPClientAuthentication13:17
pmatulisheath|work: ok13:17
heath|workpmatulis, thanks for the help13:17
pmatulisheath|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 them13:19
pmatulisin /etc/pam.d/sudo13:19
pmatulisheath|work:13:20
heath|workI can try that first. It looks like virtualmin just dumps everything in the common-auth file instead of breaking it up across the normal three13:21
pmatulisheath|work: note that you should have a root shell in another terminal when you're messing with pam to prevent locking yourself out13:21
heath|workwill do.13:22
uvirtbotNew bug: #429083 in eucalyptus (main) "axis2c segfaulting, causing CC to crash  (dup-of: 428060)" [Undecided,New] https://launchpad.net/bugs/42908313:26
* soren dogfoods and does an upgrade13:41
heath|workpmatulis, after cleaning everything up following the guide it appears all is well14:03
pmatulisheath|work: can you paste your /etc/pam.d/{sudo,common-auth} again14:04
heath|workpmatulis, I'm going to put the sudo back to the orig next and check it out: http://pastie.org/61735514:07
heath|workI'm not sure why my password one has anything about smb in there, but I left it14:08
pmatulisheath|work: you must have samba installed14:08
heath|workor auth for that matter14:08
heath|workThat's just it, I don't. Not even the client14:09
pmatulisheath|work: maybe virtualmin up to its tricks again?14:09
heath|workI 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
pmatulisheath|work: ok.  your pam configs look good to me14:11
heath|workand sudo is cooperating! :)14:12
heath|workpmatulis, thanks again for the help.14:12
pmatulisheath|work: np, pass it on14:12
heath|workthat's my motto. Pay It Forward14:12
heath|workIt 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:14
pmatulisheath|work: probably b/c that user is not in ldap14:15
heath|workyep14:16
heath|workso to disable the root password again: sudo passwd -d root ?14:16
pmatulisheath|work: doesn't look right14:16
heath|workfrom 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
pmatulisheath|work: ok, i'm used to another way14:17
pmatulis(usermod -p '!' root14:17
pmatulis)14:17
heath|workweird, I will look into that14:18
garymcAnyone got a softphone they could do a quick voip test to my server for me?14:46
zulhi mathiaz14:54
zulmathiaz: puppet issues have been fixed with the testsuite and your bug has been fixed14:57
mathiazzul: great - so the MIR has been acceptedÉ15:00
mathiazzul: ?15:00
zulill let kees now today15:00
ttxmathiaz: 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 though15:06
mathiazttx: yop - I'll take over for today :)15:07
* mathiaz loves 20 hour long days15:07
ttxmathiaz: I pushed a new ServerTeam/Roadmap btw, let me know if it doesn't make sense15:08
mathiazttx: great - did you generate the first table by hand?15:10
ttxmathiaz: yes. I wish there was a way to find those blueprints. Or to tag them.15:11
mathiazttx: we should be able to use LP for that15:11
ttxyes, we should.15:12
mathiazttx: https://blueprints.launchpad.net/~ubuntu-server/+specworkload15:12
mathiazttx: ^^ that may be the best option we have - but it times out for me now15:12
oversizehi, 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? thx15:13
mathiazttx: anyway - we should look into that later or for the next release cycle15:13
uvirtbotNew bug: #429636 in apache2 (main) "ubuntu 8.04 cannot install apache2-prefork-dev" [Undecided,Incomplete] https://launchpad.net/bugs/42963615:31
uvirtbotNew bug: #430075 in ubuntu (main) "eucalyptus-nc fail to upgrade to 1.6~bzr746-0ubuntu1" [Undecided,New] https://launchpad.net/bugs/43007515:46
uvirtbotNew bug: #429106 in vm-builder (universe) "kernel and initramfs should be available for uec" [Medium,New] https://launchpad.net/bugs/42910615:56
smoserman /join #ubuntu-meeting15:58
* smoser joins #ubuntu-meeting, for anyone who missed that :)15:58
zulsure you did16:02
=== lamont` is now known as lamont
agussmanAccording 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:17
szczymhelo 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:18
geniiszczym: For eth1, yes16:19
szczymthanx genii16:19
geniinp16:19
szczymauto eth116:20
szczymiface eth1 inet dhcp16:20
szczym?16:20
geniiszczym: Looks good16:20
szczymthanx16:20
geniiszczym: You can then bring it up manually with something like:  sudo ifconfig eth1 up && sudo dhclient eth116:20
szczymhow i could find out if i have dhcp client running ?16:20
szczymi know, just type dhclient ;)16:21
szczymthanx16:21
orudiehi. i need help with vhosts16:22
orudiei moved my site from /var/www to /var/www/mysite.com , and i am having trouble making it to work16:24
qman__pastebin your site configuration file16:26
KeizerSup homies16:28
geniiI'm not sure "somewhere.com" as a directoryname in which to put content works that great16:28
sorenWe're not homies.16:28
sorenWe're geeks.16:29
soren:)16:29
KeizerWhat 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
KeizerBeen staring at the screen too long so my eyes are unhappy16:29
sorenKeizer: What is the use case?16:29
qman__what exactly do you mean16:30
KeizerThe RHEL network init scripts are awesome but I've decided to rawk out ubuntu16:30
Keizerqman__: I need to setup a VPN connection and I don't want all traffic on the machine going out that interface16:30
qman__that's a simple flag in openvpn16:30
qman__on or off16:30
qman__;push "redirect-gateway"16:32
qman__uncomment to funnel all traffic through VPN, leave commented to split it16:33
orudieqman__-> about to paste it16:33
orudieqman__-> http://pastebin.com/d3970b9da16:35
qman__orudie, ok, first thing, is mod_rewrite installed and enabled?16:35
qman__a2enmod rewrite   I think16:35
orudieumm16:36
orudiewhat does it do ?16:37
orudieredirects from domain.com to www.domain.com ? if yes than its enabled16:37
qman__you are using rewrite in your site configuration16:37
qman__so, you need the rewrite module enabled in apache16:37
qman__it's not there by default16:37
orudieits enabled16:38
qman__ok16:38
qman__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 say16:41
qman__does apache throw any errors, or can you simply not access the site?16:41
KeizerThanks qman__16:42
Keizerhttp://www.youtube.com/watch?v=R-Yjlx4MRUQ <--- laff16:44
Keizerqman__: OpenVPN is the defacto VPN correct? I'm used to OpenBSD VPN configuration16:47
qman__Keizer, it's pretty common, at least, I don't really know of any other full VPN solutions16:47
KeizerOpenSwan was one back in the day16:50
subThought everyone just used ipsec for site-to-site and PPTP for client access16:50
Keizersub: Right16:58
=== zul_ is now known as zul
jjohansen1smoser: hey you around for the kernel meeting17:13
smoserhere17:14
smoserjjohansen1, here17:15
erichammondsmoser: Over in #ubuntu-kernel17:15
rtgjjohansen1, moving.17:17
jjohansen1here17:17
erichammondher17:17
erichammonde17:17
smoser==== ec2 kernel meeting =====17:17
smoseri'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 kernel17:18
smoserso that will mark bug 418130 as done17:18
uvirtbotLaunchpad bug 418130 in Ubuntu Karmic "Karmic EC2 images don't use a karmic kernel" [High,In progress] https://launchpad.net/bugs/41813017:18
rtgsmoser, when will you be ready for the config updates?17:18
rtgshall I wait until after A6?17:19
jjohansen1rtg: we should test the config updates before committing them17:19
smoserfor 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
uvirtbotLaunchpad bug 428692 in ubuntu "ec2 kernel needs CONFIG_BLK_DEV_LOOP=y and other config changes" [Medium,Confirmed] https://launchpad.net/bugs/42869217:19
rtgjjohansen1, I've pushe3d them, so feel free17:19
jjohansen1rtg: right I will start a kernel build17:20
smosergood 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
smoserthe other kernel related bug is bug 42916917:20
uvirtbotLaunchpad bug 429169 in vm-builder "ec2: Include kernel modules in AMIs" [Medium,Triaged] https://launchpad.net/bugs/42916917:20
rtgsmoser, its getting pretty late for A617:21
smoserrtg, i agree. so no big deal. we use the previous ones.17:21
rtgsmoser, so, what you have in the archive right now is what's going out with A617:21
smoserfine.17:22
lukehasnonameclear17:22
rtgerichammond, any issues from you?17:23
erichammondI think everything is being tracked in LP17:23
smoserso 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
uvirtbotLaunchpad bug 427658 in Ubuntu Karmic "Main Inclusion Request: linux-ec2" [High,Fix released] https://launchpad.net/bugs/42765817:24
smoserfor 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
smosersorry if this is all obvious to everyone else17:24
rtgsmoser, yeah, I need to do a meta package. I'll get that today17:25
Steve[work]morning everyone17:25
smoserrtg. great.17:25
rtgsmoser, incidentally, the MIR is complete and the package is accepted17:26
Steve[work]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-017:26
rtgjjohansen1, anything else ec2 related?17:27
jjohansen1nothing I can think of17:27
Steve[work]I do see a /dev/mapper/*LONGSTRINGOFSTUFF* entry however17:27
rtgjjohansen1, when do you leave for ATL ?17:27
jjohansen1friday17:27
rtgok, I suggest you suspend these meetings Friday-Fri since you're on the road.17:28
jjohansen1rtg: good idea, I will send a mail out, also include moving them to #ubuntu-server17:28
rtgk, is that a wrap for today?17:29
erichammondI thought these were already canceled on Fridays because of the Karmic status meeting?17:29
rtgerichammond, could be.17:29
jjohansen1I think we should, unless people want to move the time17:30
rtgwell, for the next 2 fridays its a moot point17:30
jjohansen1rtg: true, really wed,thurs,friday next week too17:31
rtgwhich is why I suggested Friday through Friday.17:31
rtgcover it in an email.17:31
jjohansen1will do17:31
erichammondAnd perhaps update http://kernelcalendar.notlong.com17:32
jjohansen1erichammond: yes, thanks17:32
erichammondI guess the EC2 kernel status meeting is adjourned.17:37
jjohansen1yes sorry,  EC2 kernel meeting adjourned17:37
=== clusty_ is now known as clusty
uvirtbotNew bug: #241949 in kvm (universe) "computer freeze on kvm startup" [High,Fix released] https://launchpad.net/bugs/24194917:41
uvirtbotNew bug: #251480 in kvm "X hangs in Intrepid in KVM" [High,Confirmed] https://launchpad.net/bugs/25148017:41
uvirtbotNew bug: #286101 in kvm (universe) "kvm guests not using virtio for networking lose network connectivity" [High,Fix released] https://launchpad.net/bugs/28610117:41
uvirtbotNew 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/25449217:46
uvirtbotNew bug: #316861 in kvm (universe) "Virtio not working in Hardy 64bit" [Medium,Fix released] https://launchpad.net/bugs/31686117:46
uvirtbotNew bug: #359447 in kvm "kvm segfaults" [High,Fix released] https://launchpad.net/bugs/35944717:46
kansani'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:08
qman__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't18:10
kansanqman__, yes its running18:11
qman__and 'sudo /etc/init.d/mysql stop' fails?18:11
kansanyes18:14
qman__was the current instance of mysqld started with the init script, or manually18:14
qman__you could try to give it a friendly exit signal manually, 'sudo kill -1 1234' where 1234 is the PID for the process18:15
qman__that sends a HUP, -15 sends a TERM, and -9 sends a KILL18:16
szczymhelo 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:28
qman__ /var/www belongs to root on all my systems18:30
qman__did you change it?18:30
mathiazkees: hi!18:30
qman__also, /var/www is 755, so only the owner can write to it, not group owner18:31
qman__you'd have to change that to 77518:31
mathiazkees: do you have some time to conduct a review of the image-store-proxy (bug 429894)?18:31
uvirtbotLaunchpad bug 429894 in image-store-proxy "MIR for image-store-proxy" [High,New] https://launchpad.net/bugs/42989418:31
szczymthat is example dir where i cant write drwxrwxrwx 2 www-data www-data 4096 2009-09-08 07:37 includes18:32
mathiazkees: it's a python daemon that is required for the image store on UEC18:32
szczymhigher dir also belongs to www-data18:32
qman__since the permissions are 777 you don't even need to be in www-data to write there18:34
szczymyes but i can`t ...18:34
szczymbtw i just added new user via useradd and i do it as that user18:35
szczymthat user belongs to www-data but not to sudoers18:35
qman__you don't need to be in sudoers or www-data to write there18:37
qman__the problem must be elsewhere18:37
szczymls18:40
keesmathiaz: sure, was going to look at that today19:04
mathiazkees: great - thanks!19:04
keesmathiaz: could it be made to run its tests during the build?19:08
mathiazkees: I could look into that - I just received the code yesterday19:09
mathiazkees: gutsavo said the test suite almost covered everything19:10
mathiazkees: one of the goal would be to get it on the -server iso for alpha619:10
keesmathiaz: yup, which is why I'd love to see it enabled in the build.19:10
mathiazkees: would that be a blocker for main promotion?19:10
mathiazkees: I can commit to enable it in the build for karmic19:11
mathiazkees: may be not in time for alpha6 though19:11
keesmathiaz: let me make note in the bug19:12
kansanhaving trouble loading up mysql on ubuntu hardy; heres my error message when attempting to start mysql: http://pastie.org/61772019:16
Hypnozdoes this file exist /etc/mysql/debian.cnf19:18
Hypnozand permissions look ok etc19:19
kansanHypnoz, huh?19:20
Hypnoznot sure how else to phrase that. Does that file exist?19:20
kansanno it doesnt19:24
kansanHypnoz, how do i create it19:24
HypnozI think its supposed to be created when mysql is installed19:24
Hypnozbut it looks like mysql is checking that file before it starts19:24
keesmathiaz: I can't do promotions (you'll need an archive admin for that), but I have approved it in the bug report.19:26
mathiazkees: thanks!19:27
keesnp :)19:27
kansanHypnoz, so what to do19:28
Hypnozdid you have anything in your mysql database or is this a new install?19:28
mathiazkees: should the status of bug 429894 be set to In Progress?19:29
uvirtbotLaunchpad bug 429894 in image-store-proxy "MIR for image-store-proxy" [High,Incomplete] https://launchpad.net/bugs/42989419:29
keesmathiaz: probably, yes19:31
* mathiaz updates the status19:31
=== erichammond1 is now known as erichammond
mathiazsoren: where is the image store UI located? in the eucalyptus-cloud package?19:35
mathiazsoren: I'm looking where to image-store-proxy should be added as a dependency19:36
mathiazsoren: https://code.launchpad.net/~mathiaz/eucalyptus/image-store-proxy-recommends/+merge/1181919:43
mathiazsoren: I've added python-image-store-proxy as a recommends on eucalyptus-cloud19:43
kirklandmathiaz: howdy20:23
mathiazkirkland: yo!20:24
kirklandmathiaz: do you still need that package reviewed?20:24
kirklandmathiaz: sorry i'm just getting to it now20:24
mathiazkirkland: nope - it's already in the archive20:24
mathiazkirkland: MIR accepted and promoted to main20:24
kirklandmathiaz: sorry about the delay, man20:24
axisyswhere can I get the netboot image for ubuntu 7.10 sparc version20:24
mathiazkirkland: np20:24
axisys?20:24
kirklandmathiaz: i've been swamped20:24
kirklandmathiaz: okay, question for you ....20:24
axisysi dont see it here http://old-releases.ubuntu.com/releases/7.10/20:24
mathiazkirkland: sure20:25
kirklandmathiaz: how would preseed the debconf questions for moodle image built by vmbuilder?20:25
mathiazkirkland: hm - I don't know how vmbuilder support preseeds?20:25
mathiazkirkland: does it support preseeds?20:25
kirklandsoren: ?20:26
kirklandhmm, okay another question ...20:26
kirklandis it legit to "run" an image once, to fix up a few things, before making it an appliance image?20:26
mathiazkirkland: hm - I would guess so20:27
mathiazkirkland: It's like rebundling an image in EC220:27
kirklandsmoser: have you done this before?20:27
mathiazkirkland: it's just that it's very reproducable20:27
sorenkirkland: It doesn't, no.20:27
mathiazkirkland: given the time frame I would do this for the moodle appliance20:28
kirklandmathiaz: gotcha20:28
mathiazkirkland: and since vmbuilder doesn't support preseeds20:28
smoseri've somewhat rebundled.20:28
smoseri dont knwo what sort of doc we have for it.20:28
mathiazkirkland: it seems that's the only option for now20:28
kirklandmathiaz: gotcha20:28
smoserand personally i expect that its not perfectly bug free20:28
kirklandokay, next question ... suggestions on what to do about this FQDN question?20:29
smoserwhat is the FQDN question , for those of us who haven't been playing along at home20:29
kirklandsmoser: it's the one question I can't just choose a sane default for, in the moodle image20:29
kirklandsmoser: FQDN = fully qualified domain name20:29
kirklandsmoser: moodle's debconf uses this for the apache config, seeding the database, etc.20:30
kirklandideally, the user would choose this appropriately on first login to the system20:30
smoseri'm guessing you've already tried and failed with localhost.localdomain or for some reason that isn't sufficient, right?20:30
kirklandsmoser: can't really point a web browser at that20:31
kirklandsmoser: after you do this, you just point a web browser at the hostname, and you work through a web-based setup utility20:31
kirklandsmoser: to customize your instance20:31
mathiazkirkland: hm - so you're trying to provide a default answer to the debconf question when the admin logs in?20:32
kirklandmathiaz: there are about 5-6 questions20:32
kirklandmathiaz: most of which we can "just pick"20:32
kirklandmathiaz: do you want to use http or https?  we'll select http for this appliance20:33
kirklandmathiaz: do you want to be able to access this from outside of localhost?  yes, of course20:33
smoserbut if you select localhost.localdomain, does it not listen then on all ip addresses ?20:33
kirklandmathiaz: what is your FQDN, this is a critical question...?  ermmm, i was picking "moodle.local" and installing avahi-daemon20:33
kirklandsmoser: i don't think so... i'll try again, though20:34
kirklandsmoser: i think the apache conf sets it up to match only on this name20:34
mathiazkirkland: don't you have the remote hostname when the user logs in via ssh?20:34
mathiazkirkland: hm - well nevermind20:34
smoserif it doesn't listen on all ips and you have to give it one (the *right* one) then i have no solution20:35
kirklandsmoser: okay, thanks for playing20:35
mathiazkirkland: well - my point being that the end user already knows what the FQDN of the appliance is20:35
mathiazkirkland: since he uses it to ssh into the vm20:36
mathiazkirkland: could it be possible to get that information automagically?20:36
kirklandmathiaz: that's what I'm asking :-)20:36
mathiazkirkland: right - I don't how to do that.20:36
mathiazkirkland: so just ask the question on first login20:37
kirklandmathiaz: okay20:37
mathiazkirkland: well20:37
mathiazkirkland: hm - if you need the fqdn for the apache virtualhost20:37
mathiazkirkland: you can configure the default virtualhost to server the moddle install20:37
mathiazkirkland: then you can also configure the db connection to use localhost20:38
mathiazkirkland: for what else is the FQDN needed?20:38
kirklandmathiaz: i'm not sure20:38
smoserwait20:39
mathiazkirkland: if it's just needed for the DB connection and the apache virtual host then you're good to go20:39
smoseri'm sorry20:39
smoseri misunderstood the question20:39
smoseri thought you were wanting to provide an IP address at *build* time20:39
smoseris that wrong ?20:39
smoserif 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:40
kirklandsmoser: well, i can put a script in the image to run on first boot20:44
smoseri'm confused . how were you trying to find the info ?20:44
smoseror when did you want it ?20:45
kirklandsmoser: okay ... ideally, i think, the user would deploy this image20:45
smoseryou 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
kirklandsmoser: and just point a web browser at a hostname or ip address20:45
kirklandsmoser: and just configure it from the web20:45
kirklandsmoser: never actually logging in over ssh20:45
kirklandmathiaz: okay, here's a question i think you probably can answer ...20:46
kirklandmathiaz: i'd like to write a script to set some debconf values, and then pass it to dpkg-reconfigure20:46
kirklandmathiaz: that should be pretty doable, i think20:47
kirklandhmm, that's kinda how d-i works....20:47
mathiazkirkland: yes - look at debconf-set-selections20:47
kirklandmathiaz: thanks20:47
mathiazkirkland: right - I'm not sure that you'd actually need to run such a script20:48
mathiazkirkland: depending on what the FQDN is used for, you could just install a moodle in a vm20:48
mathiazkirkland: and rebundle it20:48
kirklandmathiaz: hmm, i don't think i can have vmbuilder install the moodle package in the image for me20:48
kirklandmathiaz: right, so i was going to use vmbuilder to create a jeos appliance20:49
mathiazkirkland: right - if that's the case, then you need to install the package manually20:49
kirklandmathiaz: then run the image, install moodle20:49
kirklandmathiaz: in debconf there, I would set all of the selections to sane defaults20:49
kirklandmathiaz: then, i was going to leave a script to run at first boot20:50
kirklandmathiaz: that would autodetect FQDN, and debconf-set-selection to that detected value20:50
mathiazkirkland: well - I'd investigate first what the FQDN is used for20:50
mathiazkirkland: 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 host20:51
* kirkland is looking at the source now20:51
kirklandmathiaz:  Moodle will be configured to use this system's Fully Qualified Domain Name20:53
kirkland (FQDN). This must be correct, and you cannot easily change this after your20:53
kirkland Moodle installation is complete.20:53
kirklandmathiaz: okay, so i don't have to provide that as input into moodle debconf...20:54
kirklandmathiaz: its just that the system's hostname *must* be set correctly when moodle's debconf runs20:54
MK-ubuntuhi, i was wondering20:58
MK-ubuntuon my vps I was assigned 2 IPs ..20:58
MK-ubuntubut, I cant seem to get the 2nd one to work.20:59
MK-ubuntucan you guys help me?20:59
MK-ubuntuanyone here at the moment?21:00
uvirtbotNew bug: #430226 in eucalyptus "modify image attribute (launch perms) always displays image as public" [Undecided,New] https://launchpad.net/bugs/43022621:01
MK-ubuntuquiet everytime i come in21:03
mushroomtwoMK-ubuntu: lurk moar21:09
MK-ubuntupardon?21:09
MK-ubuntumushroomtwo, ?21:11
apacheI 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
apache192.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)"21:13
=== MK-ubuntu is now known as MK-BB
geniiapache: Spoofing?21:26
geniiapache: 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.21:28
=== mushroomtwo is now known as mushroomblue
LeChacalhello, 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:39
geniiLeChacal: They are loaded in the order listed21:45
LeChacalgenii: so i just change those two files and I am good, no where else?21:45
geniiLeChacal: If you have some list in /etc/modules  maybe21:46
LeChacalgeniiL i don't have anything in there, ok thank you I will try changing the orders21:47
=== monteith is now known as monteith_afk
thrillybhello #ubuntu-server22:00
domashello thrillyb22:01
thrillybdo people talk a lot on irc anymore these days?22:02
thrillybor is it better to go to forums for help / discussion?22:02
thrillyblots of idlers?22:05
Slimu_Hello22:06
Slimu_Can anyone help? my hardy server wont go back online after a pwoer outage22:06
Slimu_*power22:06
thrillybhow far does it get?22:07
thrillybdoes it post video at all?22:07
Slimu_It boots, and starts apache22:07
Slimu_, and when i run ifconfig i can see the router22:07
Slimu_but the networking directory has gone!22:08
thrillyboh!22:08
Slimu_I looked in /etc/networking, and got: no such file or directrory22:08
Slimu_erm - i mean /etc/network22:08
thrillybhehe22:08
thrillybwas about to say22:08
Slimu_Im still learning, but i got it all up and running for over 3 months before the power cut22:09
thrillybhave you ever done a reboot successfully?22:09
Slimu_thats one of the 1st things I tried, but no joy22:10
Slimu_this is ODD: this time the /etc/interface directory is there, but the interfacces file is empty!22:11
thrillybbefore the power outage were you able to reboot though?22:11
Slimu_yes22:11
thrillybk22:11
Slimu_but i only rebooted after an update22:11
thrillybhave you tried rerunning anything like this guide: http://www.ubuntugeek.com/ubuntu-networking-configuration-using-command-line.html22:11
Slimu_I'll check that out now22:12
thrillybif the device is there that should work22:12
Slimu_thanks for the pointer22:12
thrillybbut if you had a power surge maybe something got toasted in your nic card22:12
kirklandsoren: what's the state of vmbuilder in LP and in karmic?22:14
kirklandsoren: i'm generating images, but they're not bootable22:14
kirklandsoren: at least not under kvm22:14
mathiazsoren: from karmic?22:14
Slimu_my router and server are on a surge protected cable and live behind a ups22:14
mathiazkirkland: do you know that karmic is broken right now?22:14
kirklandmathiaz: yes, the image is jaunty22:14
thrillybk, you should be good then! :)22:14
Slimu_brb22:15
mathiazkirkland: hm ok. if you're building an jaunty guest, then I don't know22:15
frojndDoes anyone here connects with a phone using java MIDP 2.0 to a ssh and if so what java app do you use?22:17
rickspencer3kirkland: 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 UI22:21
rickspencer3is there such a think already, or should he roll his own?22:21
kirklandrickspencer3: possibly elasticfox22:22
rickspencer3kirkland: what a name!22:22
rickspencer3sounds like a plugin22:22
kirklandrickspencer3: heh22:22
rickspencer3I think he wants to render web pages22:22
kirklandrickspencer3: its a firefox plugin22:22
rickspencer3is there a project for that, I guess aws web interface?22:23
kirklandrickspencer3: hmm, i might have misunderstood the question ...22:23
erichammondrickspencer3: What exactly are you looking for22:23
erichammond?22:23
kirklandrickspencer3: what sort of aws commands?22:23
rickspencer3kirkland: create instance, etc...22:23
rickspencer3describe instance22:23
rickspencer3I think just so you can do it via a web ui instead of command line22:24
rickspencer3hi erichammond :)22:24
erichammondAWS is a (W)eb (S)ervice so all of the functionality is available through web APIs.22:24
erichammond(programmable)22:24
kirklandrickspencer3: people have put frontends around it ... eg elasticfox, rightscale22:25
rickspencer3erichammond: right, but I think he wants to make his own that do specific tasks22:25
Slimu_thrillyb: DAMIT: I went through the link that you posted, but i still cant get it online!22:25
rickspencer3kirkland: erichammond - thanks!22:26
rickspencer3I'll check those out22:26
kirklandrickspencer3: no problem; come back if you get some specific questions ;-)22:26
erichammondrickspencer3: 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:26
thrillybslimu_: what's your ifconfig say now?22:27
rickspencer3erichammond: right22:27
Slimu_thrillyb: it shows ip of 192.168.1.11, so ther router has assigned the ip address22:27
thrillybslimu_: can you ping the router and vice versa?22:28
Slimu_thrillyb:the router conf page (on other desktop) shows the server as connected, but it wont let me ping22:28
thrillybhey everyone else... anyone have any experience setting up directory service with ec2? is it reasonable to even try?22:28
Slimu_thrillyb: scap that. just refreshed the page and is says disconnected22:29
MK-BBon 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:30
thrillyberichammond: btw thanks for all your work with ec2 amis. I have used a handful and they're lovely22:31
thrillybslimu_: that's pretty effed up sounding22:33
erichammondthrillyb: Glad to hear they're working for you.22:33
Slimu_thrillyb: :-(22:33
thrillybslimu_: what does your /etc/interfaces look like?22:34
Slimu_one mo22:34
Slimu_its blank!22:34
Slimu_i dont remember whats supposed to go in there anymore22:35
thrillyberichammond: 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 someone22:35
thrillybSlimu_: read the example for some good help > file less /usr/share/doc/ifupdown/examples/network-interfaces.gz22:38
Slimu_thrillyb: ok. many thanks for that. sounds like i've found the problem22:38
thrillybSlimu_: no problem! access to the internet is probably pretty important for your server :)22:39
erichammondthrillyb: What do you mean by "multiple users"?22:40
Slimu_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 it22:40
erichammondthrillyb: i.e., ssh accounts?  client web sites? ...?22:40
thrillyberichammond: admins and such. yeah ssh accounts mainly22:43
thrillyberichammond: i've been messing around with the idea of setting up LDAP to authenticate but the idea seems a lot simpler than the implementation22:44
erichammondthrillyb: 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:44
erichammondthrillyb: 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:45
thrillyberichammond: exactly. centrally stored usernames, passwords, home directories etc22:46
thrillyberichammond: and thanks for the note on the kernel vulnerability - that's frightening22:47
erichammondthrillyb: 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
erichammondthrillyb: Adding users to existing instances could be done with chef/puppet/... or simple automated ssh scripts or cron jobs.22:48
erichammondthrillyb: 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
erichammondthrillyb: This approach may help with the last issue: http://alestic.com/2009/06/ec2-elastic-ip-internal22:49
thrillyberichammond: i've thought about a cronjob/rsync type situation, it sounds more legit the way you described it22:51
erichammondthrillyb: I'm a fan of clean, simple, understandable systems. In many cases chef/puppet/et.al. is just complicating things.22:53
thrillyberichammond: LDAP or any of it's brethren are probably over kill22:53
thrillyberichammond: thanks for the guidance. i'll see give this a try.22:55
kirklandmathiaz: smoser: \o/ moodle configurable by ip address alone22:58
ahekirkland: so does it work?23:22
kirklandahe: i'm getting there....23:25
ahecool23:25
ahei'm always interested in modifications, escpecially if there is something you couldn't do before23:26
dayohow do i use something like `passwd -l` for users with ldap authenticated nfs home directories?23:43
uvirtbotNew bug: #430266 in eucalyptus "Failures in image registration should be reported as HTTP error codes" [Critical,Confirmed] https://launchpad.net/bugs/43026623:46

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