[00:08] <jeeves_moss> how can I install a cisco AIR-CB21AG-A-K9 PCMCIA card?  it won't show up when I run lspci
[03:56] <ping__> tes
[04:12] <ping__> hy
[04:24] <novato> Buenas noches
[04:24] <novato> Alguien me pueden ayudar
[06:03] <Guest24740> Evening. I'm trying to setup apache2 on ubuntu, however there seems to be a problem with accessing subdirectories?
[06:03] <Guest24740> for instance, my CSS file is kept in a subdir (/bend) however I'm unable to access any of the files in subdirectories
[06:04] <Odium_xXx> That's better.
[06:04] <greppy> Odium_xXx: what errors are you seeing in /var/log/apache2?
[06:07] <Odium_xXx> [crit] [client 127.0.0.1] (13)Permission denied: /var/www/bend/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://localhost/
[06:10] <dax> Are the permissions wrong on /var/www/bend/.htaccess?
[06:11] <Odium_xXx> I don't beleive there is a /ver/www/bend/.htaccess
[06:11] <dax> Are the permissions wrong on /var/www/bend/?
[06:11] <Odium_xXx> define 'wrong' ?
[06:11]  * dax blinks
[06:12] <dax> Well, can a process running as www-data:www-data read files in the directory, for starters
[06:12] <Odium_xXx> woah
[06:12] <Odium_xXx> ok, that's way out of my league, sorry.
[06:12] <Odium_xXx> this is my first attempt at linux/ubuntu
[06:12] <dax> Ah.
[06:12] <Odium_xXx> I've just come from windows, trying to setup my server in ubuntu.
[06:13] <dax> Open a terminal, run "ls -ld /var/www/bend/", paste output here
[06:14] <Odium_xXx> it outputs /var/www/bend
[06:14] <dax> It should look something like "drwxr-xr-x 40 username groupname 4096 Jul  8 21:02 /var/www/bend/", if you use the options I said
[06:15] <Odium_xXx> oic
[06:15] <Odium_xXx> drwx------ 3 root root 4096 2012-07-09 15:42 /var/www/bend
[06:16] <Odium_xXx> ^ is that what you're after?
[06:16] <dax> Odium_xXx: yeah
[06:16] <dax> Two things to note there. The directory's owned by user "root" and group "root", and then the drwx------ bit at the start. the d just means it's a directory. The next nine spaces are user, group, and other permissions respectively
[06:17] <Odium_xXx> ah-ha, alrighty.
[06:17] <dax> so what that's telling me is "there's a directory /var/www/bend/ that can be read, written, and browsed by the "root" user, and can't be read, written to, or browsed by other users in the "root" group or other users in general.
[06:17] <dax> and since apache runs as the "www-data" user, that's a problem ;)
[06:17] <Odium_xXx> thus apache is unable to acces anything in said subdirs?
[06:17] <dax> indeed
[06:17] <Odium_xXx> aaah, I see.
[06:18] <Odium_xXx> ok, so I can see the problem.
[06:18] <Odium_xXx> I wonder, am I able to change the folder permission for a new user / group?
[06:18] <dax> two options: 1) change the owner of the directory (and probably the files in it) to www-data, 2) change the permissions so other users can access the files
[06:19] <Odium_xXx> if I change the owner of the dir and containing files, will I still be able to alter them as root?
[06:19] <Odium_xXx> that's a stupid question, I know, just want to be certain :P
[06:19] <dax> yes, root can alter anything, regardless of permission set
[06:19] <Odium_xXx> ah ok, brilliant.
[06:19] <dax> do you know about chmod and chown already, or shall I go through those?
[06:20] <Odium_xXx> I've used chmod before, i'm just googling chown now.
[06:20] <dax> chown is for changing ownership, as the name implies. Similar format to chmod: chown -R www-data:www-data /var/www/bend/ will change the owning user and group on /var/www/bend/ itself and anything inside it to the user "www-data" and group "www-data"
[06:21] <dax> leave out the -R to just change ownership of the directory
[06:21] <Odium_xXx> ah I see, that's fantastic.
[06:21] <Odium_xXx> I think i'll include the recursive flag
[06:21] <Odium_xXx> just to be safe?
[06:22] <dax> I don't know what recommended practice is with permissions and ownership of stuff in /var/www/ these days; someone else in here might know that better. But yeah, if you want to make everything owned by www-data and be done with it, that'd be the easiest way
[06:23] <Odium_xXx> ah look you've given me a fantastic lead for where to go from here.
[06:23] <Odium_xXx> Had me utterly stumped.
[06:23] <Odium_xXx> Thanks so much,I appreciate it. :)
[06:23] <dax> You're welcome :)
[06:30] <greppy> Odium_xXx: in general, unless you specifically need the webserver to be able to write to the data in /var/www, just make sure that it is readable by anyone on the system, chmod 755 for directories and 644 for files.
[06:30] <greppy> ( sorry for the delay, I'm at work and got sidetracked, well, working :) )
[06:33] <Odium_xXx> ah great, thx greppy.
[06:33] <Odium_xXx> i was just having some problems accessing my site files, that's just resolved them, :)
[06:36] <greppy> *nod* just keep in mind, if the files/directories are owned by www-data that means that the webserver can add, modify and delete files, so be mindful of what you run on it :)
[08:37] <Daviey> jamespage: good morning.. Have you seen collide?
[08:42] <jamespage> Daviey, morning - nope
[08:44] <jamespage> Daviey, context?
[08:46] <Daviey> jamespage: http://www.youtube.com/watch?v=8Gq12bLbm54&feature=player_detailpage#t=119s
[08:46] <Daviey> skipped to the good part.
[08:48] <jamespage> Daviey, cool!
[08:49] <Daviey> jamespage: sweet spot between shared gnu/screen and etherpad
[08:50] <jamespage> Daviey, might make pair programming work really nice distributed
[08:52] <Daviey> jamespage: although.. lack of easy debugging seems a flaw
[08:52] <jamespage> Daviey, I guess that is a bit more tricky
[08:52] <Daviey> jamespage: and smoser will moan about lack of vi interface
[08:53] <jamespage> Daviey, I would expect no less
[08:55]  * jamespage last MIR raised for ceph work this cycle
[09:00] <Daviey> jamespage: \o/
[09:00] <jamespage> Daviey, 5 new packages for main
[09:11] <Daviey> jamespage: /o\
[09:16] <RoyK> new day, new job, new possibilities :)
[09:37] <jamespage> Daviey, any chance you might get time to look at the thrift packages in NEW today?
[09:38] <Daviey> RoyK: congrats
[09:38] <Daviey> jamespage: without a doubt
[09:48] <Sadale> I've a question.
[09:48] <Sadale> I wonder whether there is a reliable way to identify a visitor of a website.
[09:53] <_ruben> Sadale: define "identify"
[09:54] <Sadale> hmm
[09:54] <Sadale> something like IP, cookie.
[09:54] <Sadale> It is used to ban bad users.
[09:55] <Sadale> The problem is: IP can be changed. Cookies can be disabled, HTTP header can be spoofed/modified.
[10:47] <thisismyname> got a little problem here: i want to do ip tracing in a vm
[10:47] <thisismyname> soi put the physical interface in prmoisc mode
[10:47] <thisismyname> the bridge in promisc mode
[10:47] <thisismyname> set bridge_agingtime 0
[10:47] <thisismyname> but still... i don't receive every packet in the vm
[10:47] <thisismyname>  i can see the younters climbing up on the physical interface and on the bridge... but not in the vm
[10:47] <thisismyname> (vm is attached to the bridge)
[10:47] <thisismyname> anyone up for some help?
[10:49] <thisismyname> btw, using kvm for virtualisation
[11:15] <jamespage> utlemming, smoser: add-apt-repository/python-software-properties needs some attention in the cloud images for quantal
[11:15] <jamespage> not sure if you are aware or not
[11:23] <Daviey> jamespage: I've assigned smoser the bug.
[11:23] <jamespage> Daviey, marvellous
[11:23] <jamespage> Daviey, whats the bug reference?
[11:25] <Daviey> jamespage: bug 1021418 .. uploaded, but oddly FTBFS
[11:26] <jamespage> Daviey, hmm - must be using an out-of-date image then
[11:26] <Daviey> jamespage: no, the 'fix' failed to build.
[11:27] <Daviey> jamespage: I hit the magic retry button, just to see what it gives
[11:30] <Daviey> jamespage: Are you ready to berate smoser ?
[11:33] <jamespage> "ImportError: No module named setuptools"
[11:33] <jamespage> oopps
[11:55] <Daviey> jamespage: does this make much sense to you? https://jenkins.qa.ubuntu.com/view/Openstack%20Testing/view/Overview/job/quantal_folsom_python-glanceclient_trunk/21/console
[11:56] <jamespage> Daviey, I think the versioning of keystoneclient changed - we probably have a cruft 2012.x version in the local archive
[11:56] <Daviey> jamespage: i suspect we do. :(
[11:57] <jamespage> Daviey, want me to fix? its a quick reprepro remove command
[11:57] <Daviey> jamespage: it was bumped with an epoch.. are our scripts handling that?
[11:57] <jamespage> Daviey, ah - I see
[11:58] <jamespage> no idea - lemme take a look
[11:59] <Daviey> jamespage: quick fix > slow fix.. but we sould probably handle this gracefully
[12:00] <smoser> i'll fix ftbfs
[12:01] <jamespage> Daviey, I think the epoch is not being picked up by the automatic versioning
[12:01] <jamespage> well its definately not as its based on upstream version
[12:02] <jamespage> smoser, \o/
[12:02] <jamespage> morning BTW
[12:04] <Daviey> morning smoser o/
[12:06] <smoser> good morning, mr da
[12:06] <smoser> Daviey,
[12:06] <smoser> i'll fix the ftpfs. i uploaded that friday night at end of my day. wanted to get it in. :-(.
[12:27] <smoser> http://paste.ubuntu.com/1082649/
[12:27] <smoser> does that look like the correct patch, Daviey ? i just would not have thoght i needed to explicitly depend on python-setuptools.
[12:42] <ScottK> smoser: You can drop XS-Python-Version: all while you're there.  It doesn't do anything.
[12:43] <rbasak> smoser: bug 1022101 (cloud-init python-setuptools ftbfs) is an earlier duplicate with a patch and already in the sponsorship queue
[12:44] <smoser> thank you rbasak i'll fix.
[12:44] <ScottK> smoser: That's a correct fix for that (and I see rbasak aready mentioned what I was about to)
[12:45]  * Daviey wonders off.
[12:49] <thisismyname> how can i debug my /etc/network/interfaces configuration??
[12:50] <Cirbri> I was wondering, does anyone know of a good solution for systems graphing? And are there any particularly good ones that plug into Nagios/Icinga?
[12:50] <thisismyname> nagvis
[12:50] <Anomie21> Where can I find mail headers for mail sent out with mail -s?
[12:50] <thisismyname> Cirbri, nagvis
[12:59] <Cirbri> thisismyname: nagvis, eh? Sounds interesting
[12:59]  * Cirbri wonders off to have a look.
[13:00] <Cirbri> thisismyname: Aah, I was thinking more system status graphing, i.e. to keep an eye on trends or resources and such -- rather than network diagram sorta graphs.
[13:01] <Cirbri> Any ideas?
[13:06] <colun> Hello all, I have a problem with my openvpn : in the terminal a obtain on the server : AUTH-PAM: BACKGROUND: user 'xyz' failed to authenticate: Permission denied. This is the pastebin of the different files : http://pastebin.com/qDS3nurN
[13:06] <colun> Thanks
[13:08] <colun> I already tested it with the root user of mysql and I have the same error
[13:09] <colun> I can't understand because active for this user is '1' and the password has been inserted by a php pdo in mysql.
[13:38] <zul> hallyn: ping
[13:40] <hallyn> zul: .
[13:40] <colun> nobody for my bug with openvpn and mysql ?
[13:41] <zul> hallyn: so i have packaged libvirt 0.9.13 and im going to upload it this week but i need someone to do some sniff testing other than myself
[13:41] <hallyn> stgraber: i'd say i got about 2/3 of the work for get_item and clear_item in the api done over the weekend.  hoping to do another hour or two tonight
[13:41] <koolhead11> hi all
[13:41] <zul> hallyn: im still having veth problems with libvirt-lxc problems with it though but thats another topic
[13:42] <hallyn> zul: post me a debdiff and i'll take a quick look
[13:43] <zul> hallyn: ok i need to finish off what im doing here but it will be later this week
[13:43] <zul> just giving you a heads up
[13:43] <hallyn> zul: oh ok, cool.  i thought you had it right now :)  thanks
[13:44] <zul> hallyn: well i do just not a debdiff
[13:44] <hallyn> ok
[13:45] <stgraber> hallyn: cool!
[13:55] <hallyn> smoser: utlemming: could you add setuptools to Build-Depends for cloud-init (see https://launchpadlibrarian.net/109659564/buildlog_ubuntu-quantal-i386.cloud-init_0.7.0%7Ebzr564-0ubuntu1_FAILEDTOBUILD.txt.gz )
[13:55] <hallyn> (sorry, i'm horrid at recalling which of you does cloudinit :)
[13:56] <hallyn> oh hey!  something i have upload rights to!
[13:56] <hallyn> oh well, may as well wait for the experts in this case :)
[14:39] <ubuntucloud956> hello
[14:39] <thisismyname> hi
[14:39] <ubuntucloud956> bye
[14:39] <thisismyname> bye
[14:40] <thisismyname> lol :)
[16:57] <jMCg> I'm trying to run my own repo (with reprepro), but I run into the following problem: I'm rebuilding packages and they end up with the same version number in different distros (lucid, precise, oneiric), so when I run includedeb on new packages, I get:
[16:59] <jMCg> http://dpaste.com/768679/
[17:38] <znull> hello, i'e installed lxc how do i enter in the container
[17:49] <kyle__> Making a kickstart file for the first time.  I notice all the docs on it say some interaction is still needed, to start the install.
[17:50] <kyle__> Are there any recipies out there for making a cd that boots and runs the install without a by-your-leave?
[17:51] <pdtpatrick> kyle__: why not use pressed instead?
[17:51] <pdtpatrick> http://d-i.alioth.debian.org/manual/example-preseed.txt
[17:53] <kyle__> pdtpatrick: No reason I suppose.  Let me look at it.
[17:53]  * glance have bin using fai allot
[17:53] <kyle__> fai?
[17:53]  * pdtpatrick uses the foreman + puppet 
[17:54] <pdtpatrick> kyle__: here's something in the wiki for preseed for ubuntu: https://help.ubuntu.com/11.04/installation-guide/i386/appendix-preseed.html
[17:55] <glance> kyle__: http://fai-project.org/
[18:00] <koolhead17> hi all
[18:00] <adam_g> zul: did you re-enable the nova test suite?
[18:00] <zul> adam_g: yep i was trying to fix the tests
[18:00] <adam_g> zul: ah, any luck?
[18:01] <zul> adam_g: almost
[18:03] <kyle__> OK, I'm reading through the preseed stuff, and I'm a little unsure what it gives me over kickstart.
[18:04] <bitmonk> kyle__: a debian-based distribution. ;)
[18:04]  * bitmonk ducks
[18:05] <kyle__> but 'buntu supports kickstart.
[18:07] <kyle__> And while the preseed doc gives LOTS of information, it never actually explains how to use it.  Bad docs!  Bad.
[18:10] <pdtpatrick> Ubuntu definitely supports kickstart but you need to have more hands in it
[18:10] <pdtpatrick> what are you confused on with regards to the docs?
[18:10] <pdtpatrick> it explains a lot in the docs, https://help.ubuntu.com/11.04/installation-guide/i386/preseed-contents.html#preseed-l10n
[18:11] <pdtpatrick> although partman is probably the confusing part.
[18:13] <kyle__> pdtpatrick: Well, for one it just goes into initrd, but doesn't explain if the process is modifying an existing ubuntu install image, or passing params in.
[18:14] <pdtpatrick> link please
[18:14] <pdtpatrick> i think a good way to get a feel for it would be to run it in a VM and see what it does
[18:14] <pdtpatrick> then you'll understand what is happening as you see it happen.
[18:15] <kyle__> holdon.
[18:16] <kyle__> https://help.ubuntu.com/12.04/installation-guide/amd64/preseed-using.html#preseed-auto
[18:16] <kyle__> There it is.
[18:17] <pdtpatrick> one second, i'll share mine with u
[18:19] <pdtpatrick> http://pastie.org/private/mnjcl3bri1y5qsxiq5u3w
[18:19] <pdtpatrick> so the initrd points to the .gz binary, the auto url points to my preseed file
[18:19] <pdtpatrick> along with some other variables
[18:20] <kyle__> Hum.
[18:21] <kyle__> pdtpatrick: And you do this altering the isolinux boot config on the ISO?
[18:22] <pdtpatrick> here's my tftp directory
[18:22] <pdtpatrick> http://pastie.org/private/wqjk8pxkbfqum5uwqzcg
[18:22] <pdtpatrick> the file i pasted earlier is from 01-00*
[18:23] <kyle__> Ohh ok, you're doing a pxe boot to install.
[18:23] <pdtpatrick> right
[18:25] <RoyK> bug 1010587 is *annoying*
[18:26] <monolive> i would like to provide some info to cloud-init ( specifically the metadata_urls )
[18:26] <monolive> what is the best way ?
[19:07] <qhartman> Having trouble with the default apt repo in AWS images, us-west-1.ec2.archive.ubuntu.com . It's giving me 403 errors on some files once out of every 5 or so times I try to hit it from my servers in us-west-1. Is anyone else seeing this?
[19:08] <qhartman> This happened a couple times last week as well, but then seemed to clear itself up after a bit.
[20:04] <alex88> hi guys, someone is experiencing high cpu usage in mysql? i've just installed mysqld on fresh 12.04 openvz image and it's using 100% cpu..
[20:07] <SpamapS> alex88: perhaps its busy doing things it couldn't do before?
[20:07] <alex88> SpamapS, found the solution, it's in #mysql topic
[20:07] <SpamapS> alex88: 12.04 bumps from 5.1 to 5.5, which includes a lot of concurrency fixes (though they're all related to multiple CPU cores..)
[20:08] <SpamapS> Oh that one
[20:08] <SpamapS> yeah.. weird bug
[20:08] <SpamapS> stupid leap seconds
[20:11] <alex88> SpamapS, i don't understand what that means :) btw, it's fixed now, thanks anyway
[20:50] <henkjan> SpamapS: alex88 was still suffering from the leapsecond bug i guess
[20:50] <SpamapS> yeah
[20:50] <henkjan> ah, you are on #mysql also :)
[20:51] <SpamapS> well only because he suggested it
[20:52] <henkjan> lots of clever mysql people hanging around there
[20:53] <SpamapS> indeed
[20:55] <koolhead17> https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/560839
[20:55] <koolhead17> seems like 12.04 is affected by this bug too
[22:07] <kyle__> A very strange problem: if I hit enter in grub, my systems boot.  If I let it timeout and autoselect, I get a black screen, and nothing.
[22:37]  * nrd chelas time!
[22:37] <SpamapS> kyle__: perhaps there's a race condition...
[22:40] <kyle__> SpamapS: What sort of race condition would cause that?
[22:42] <SpamapS> kyle__: something that is still initializing when you hit enter is causing problems when it is done initiailizing after the timeout
[22:42] <SpamapS> kyle__: you can disprove that easy enough, just lower the timeout to 1s
[22:42] <SpamapS> or even 0 I suppose
[22:43] <kyle__> /boot/grub/grb.cfg or somesuch?
[22:48] <kyle__> Interesting.  Appears to have helped.