[00:06] <hallyn> zul: jamespage: any recommendations for getting wider testing of the qemu-kvm proposed packages in ppa?  I may just put up a blog post, wait 1 week, then push to raring...
[00:22] <halvors1> Anyone got experience with roundcube on ubuntu 12.04
[00:23] <halvors1> Ran into some problems configuring roundcube with apache...
[00:32] <paco11> hello masters!
[00:33] <paco11> i search to know if it exist a version of openldap for 12.04, more recent than the version openldap (2.4.28) package
[00:33] <paco11> thanks very much!
[00:35] <Danawar> What is a good way to trouble shoot why certain people cannot connect to my server some can connect others cannot
[00:35] <sarnold> paco11: 2.4.28-1.1ubuntu4.2 looks like the most recent for 12.04 LTS; a newer version is in 12.10
[00:35] <sarnold> Danawar: define "connect"
[00:36] <Danawar> Teamspeak clients and minecraft clients some cannot resolve lagcraft.co.uk
[00:36] <Danawar> Im gussing
[00:37] <Danawar> Im not sure if it is a propergation problem or a setup problem
[00:37] <sarnold> do your clients tell you the error message is "cannot resolve"? Or is their error message vague enough that you don't know what the real problem is?
[00:37] <paco11> sarnold: can i install the 12.10 version (2.4.31-1ubuntu2: amd64 i386) on my 12.04 server?
[00:38] <sarnold> paco11: check to see if -backports has a newer version compiled for the LTS release available, first
[00:38] <Danawar> sarnold: minecraft doesnt give good error messages sadly =[
[00:38] <sarnold> paco11: maybe it'd work no trouble, maybe it would be no end of trouble. :(
[00:38] <sarnold> Danawar: ouch :(
[00:39] <Danawar> Im wondering if .cloudflare. which i signed up to and added to my name servers today
[00:39] <Danawar> Might be intercepting and droping the legit traffic
[00:39] <sarnold> Danawar: how long was your dns cache time on your old dns hosting?
[00:39] <Danawar> As it has had a good part of the day to propergate and people were using the teamspeak 2 hours ago
[00:40] <Danawar> How would i find that out sarnold i use .cloudflare. freedns and brought the domain on 123-reg#
[00:40] <paco11> sarnold: precise-updates: 2.4.28-1.1ubuntu4.2: amd64 i386 | precise-backports: Sorry, your search gave no results  :(
[00:40] <sarnold> Danawar: do you have your old zonefiles?
[00:42] <Danawar> sarnold: Sorry i wouldnt even know how to get these i am new to hosting websites and all these name servers =p
[00:42] <sarnold> paco11: if you've got a problem with the 12.04 LTS version, you may wish to file a bugreport with your reason for wanting the newer one...
[00:42] <sarnold> Danawar: ah. :) well, allowed cache times are quite often less than a day...
[00:43] <paco11> sarnold: no, i don't have any problem, also, i want to use 'mdb' instead of 'hdb' backend
[00:43] <Danawar> sarnold: i will wait a day so it has more time to propigate with cloadflare luckly the site is not mission critical just play about =D but i hope it doesnt take this long in the future because we have a dynamic ip :*(
[00:44] <sarnold> paco11: that sounds like a reasonable enough problem :) the amount of effort to do an SRU may be more than you're willing to do, but still, filing a wishlist bug report won't take too long
[00:45] <sarnold> Danawar: oh -- then make sure your current dns cache timeout is something short, like ten minutes or less.. it'll increase the load on your dns servers, but may save your users some real hassle in the future
[00:47] <paco11> sarnold: a bug report to ask for the creation of the package 2.4.33 of openldap for 12.04 to use mdb?
[00:47] <Danawar> sarnold: when you say my dns cache where is this located local machine or on my hosting company?
[00:48] <sarnold> paco11: sure. it might be rejected, but if you provide a reasonable reason, it might yet start the SRU process rolling..
[00:49] <sarnold> Danawar: they're located all over the world, at ISPs and in every end user's phone, laptop, desktop, etc. :)
[01:01]  * Patrickdk wonders why people think dns *propigates*
[01:02] <Patrickdk> I think dns is the only thing google hasn't started indexing
[01:07] <sarnold> Patrickdk: I've been content to let that slight misconception sit, since it seems to do no real harm, and it's not too far from the truth anyhow
[01:08] <Patrickdk> truth/how it's observed
[01:09] <Patrickdk> but propigates also implies when the *master* is down, changes won't go away, but if ns servers go down, it will go away :)
[01:38] <paco11> sarnold: i'm testing install openldap-2.4.31 from quantal, because i anylized that the depends packages are the same.....
[01:40] <paco11> sarnold: libldap-2.4-2 is installed.....but to complete openldap-2.4.31 package, it's saying me libldap-2.4-2 is required.....it's crazy.....
[01:40] <patdk-lap> did you insteall the -dev package?
[01:41] <sarnold> patdk-lap: a package would depend upon the -dev?
[01:41] <paco11> of libldap?
[01:41] <patdk-lap> hmm
[01:42] <Zal> Hi all. How can I get apt-get to non-interactively deal with this? http://bpaste.net/show/xQUhXWNFR019nMn4qYoO/
[01:42] <Zal> (this is output from "apt-get upgrade -y"
[01:46] <paco11> Zal: DEBIAN_FRONTEND=noninteractive aptitude safe-upgrade?
[01:46] <Zal> ok, I've tried that environment variable, but not with aptitude, just with apt-get.
[01:47] <Zal> Funny thing is, the script worked fine until today (I guess there was not an upgrade available until today?)
[01:47] <sarnold> .. an upgrade that changed a configuration file that you had also changed
[01:48] <sarnold> there's a simple dpkg --force-confnew or --force-confold but I don't know how to send thoes command line options through from apt-get ..
[01:48] <Zal> aha, thank you sarnold. I tried force-confold too, no dice. I'll have to revisit those, maybe I did something wrong.
[01:52] <TheGuy> Hey everyone
[01:52] <Zal> Well, now that I understand the exact nature of the change in behavior, I can at least work around it if I don't find a direct solution.
[01:53] <Zal> (basically by modifying that file *after* upgrade)
[01:54] <Zal> thanks again sarnold, big relief. And thanks paco11.
[01:55] <TheGuy> Got soem trouble with apache2 here, trying to set up 2 virtual hosts to host two sites on one machine and one IP, however the guides that all seem to say basicallyt the same thing for setup, do not result in working sites or configs for some reason
[01:57] <tarvid> Do you have a stanza for each in sites-eneabled?
[01:57] <TheGuy> Im wondering if there is something really basic im missing that i should do before these configurations are supposed to work
[01:58] <TheGuy> I have a file in sites available, and used the a2ensite function to add them both, i imagine they should be there
[01:58] <tarvid> could be but you did not answer my question
[01:58] <TheGuy> because i hadnt read it yet lol
[01:59] <tarvid> you should have two files one for each site
[01:59] <TheGuy> corrrect
[02:00] <TheGuy> whats the quick way to check files in the present directory
[02:00] <tarvid> and they include a <VirtualHost 173.14.xxx.xxx>
[02:00] <tarvid> ls
[02:00] <tarvid> check sites enabled for sym links back to sites-available
[02:01] <TheGuy> ok in sites eneabled i have 3 pages one is 000-default
[02:01] <TheGuy> the other 2 are the ones i set up
[02:02] <TheGuy> i better check on the virtual host thing, last time i tried supllying it with the WAN ip it errored out
[02:02] <tarvid> And you have a NameVirtualHost 173.14.101.201:80 line in default
[02:02] <TheGuy> now is that IP supposed to the servers specific lan IP or the WAN ip]
[02:03] <tarvid> ooooooooooo now you are saying this machine is a router too
[02:03] <tarvid> on my machine that is a public address
[02:03] <tarvid> not really a WAN address
[02:03] <TheGuy> now, its a regular server with a network card, the sites are to the WAN Ip and forwarded to the server
[02:04] <TheGuy> via a router
[02:05] <tarvid> Ah. And you want these visible on the outside (public)
[02:06] <TheGuy> of course
[02:06] <tarvid> then you have a router problem first
[02:06] <TheGuy> im just wondering if server sidei t should be the network card's IP or the WAN ip
[02:07] <TheGuy> idk about that, but you could be right, i navigate to the default site fine
[02:08] <tarvid> netstat -an and see what the deault server is listening on
[02:08] <TheGuy> lets just try this part out to see if it works, ive changed the virtualhost files to include the IP instead of a *:80
[02:08] <tarvid> *:80 should have worked
[02:09] <sarnold> I'd expect *:80 to work better...
[02:09] <tarvid> simpler at least
[02:10] <tarvid> you do jhave to use the fqdn of the sites to get apache to go to them
[02:10] <tarvid> that is what name virtual host means
[02:10] <tarvid> you may to rig some entries in hosts
[02:10] <TheGuy> i have registered domain names, where would i add that to?
[02:11] <Danawar> sarnold: with regards to my issue earlier i asked a guy to connect to he server and he was unable to also he tryed the website and that worked! O.o
[02:11] <tarvid> where does dns point too?
[02:11] <tarvid> to
[02:12] <TheGuy> the WAN ip, my router basically, and that forwards traffic to the server
[02:12] <tarvid> for the two added domain names?
[02:12] <TheGuy> yes
[02:13] <sarnold> Danawar: it's a real shame that minecraft mangles the error messages. it'd almost be worth writing a little tool that tries to connect to the same port that minecraft uses to try to get a real error message back.
[02:13] <tarvid> and you can ping those fqdns
[02:13] <TheGuy> i can double check but i set those up hours ago, i had to change the addreess as i moved physical locations, but both addreess or domain names should point o he current IP
[02:13] <TheGuy> WAN ip that is
[02:13] <Danawar> Indeed, port scanning the server returns the open port and other people are conncting some not which is relly strange
[02:14] <tarvid> dig the domain names
[02:15] <TheGuy> when i enter the doman name for eiher, it brings me to a default apache page, but not the respectful index.html files i set up for the specific virtual host directories
[02:15] <tarvid> you could have the old IPs in cache, they could be stale on your dns server
[02:15] <TheGuy> otherwise it would give me an error, as there is no server running apache at the old wan IP
[02:16] <tarvid> http://superuser.com/questions/330586/apache-virtualhost-isnt-serving-a-page
[02:17] <tarvid> I think you know what your are doing
[02:18] <tarvid> just one detail off
[02:18] <TheGuy> yeah, I mean its very strange that this is not working, im very confused abotu why it is not
[02:18] <TheGuy> whats that?
[02:19] <tarvid> wish I knew
[02:21] <tarvid> I have 50 or so virtual sites running on Ubuntu 12.04
[02:21] <tarvid> I don't mind sharing my config files
[02:22] <TheGuy> that would be awesome
[02:22] <TheGuy> ive been frustrated with what to do about this lol
[02:23] <tarvid> send me an email - tarvid@ls.net, I'll reply with my config
[02:23] <sarnold> TheGuy: .. have you reloaded the apache config?
[02:23] <tarvid> good point service apache2 restart
[02:25] <TheGuy> reloadied it twice, once after each change, i can try reloading it again though, wont hurt if it doesnt work
[02:25] <sarnold> hehe, okay..
[02:25] <tarvid> might loook in the log files to see if there were errors on the restart
[02:26] <TheGuy> ahh, forgot to include the namevirtualhost directive, im not sure where that goes though
[02:26] <TheGuy> said the two virtual hosts overlap and one takes precedence
[02:27] <TheGuy> i set that in the 000-default conf right?
[02:27] <tarvid> we are getting somewhere
[02:27] <tarvid> 000-default is in sites-enabled, you should put it in sites-available
[02:28] <tarvid> sites-available/default
[02:28] <TheGuy> and what should i set for it, is there some special conf for have the two sites?
[02:29] <tarvid> only one per IP in default
[02:29] <tarvid> then there is an entry in each stanza
[02:30] <tarvid> <VirtualHost 173.14.xxx.yyy:80>
[02:30] <TheGuy> ok, so under the virtuahost *:80 i  set it, or do i replace that with namevirtualserver ?
[02:31] <TheGuy> or do i set up two copies of this for each site in the default ? like have two complete virtual host  entires in the file
[02:31] <tarvid> and then of course which file are we in - NameVirtualHost goes in default <VirtualHost goes in each stanza
[02:32] <TheGuy> i am currently in the default of sites available
[02:32] <TheGuy> and i see the default page i had copied and edited for the new siet configurations
[02:33] <tarvid> I am downloading and sending you some files
[02:33] <TheGuy> alrighty
[02:34] <TheGuy> been quite a while trying to get this to work, i have a 3rd site for a non-profit to put up but i dont want to mess with it untill i can reliably run it lol
[02:34] <TheGuy> and pardon me for a minute, smoke, you guys want some coffee?
[02:36] <tarvid> check your mail
[02:37] <TheGuy> go it
[02:37] <tarvid> can I just delete the old kernels in /boot
[02:39] <TheGuy> ok, isee how hats set up, list he ' NameVirutalHos direcives at he op first
[02:39] <tarvid> In default, I use a few for obscure and not entirely rational reasons
[02:40] <tarvid> Then there are two key lines in the domain stanza <virtual... and servername
[02:41] <TheGuy> are these if mods going o be something necessary?
[02:41] <GH0> How would I be able to add a mainline kernel to my build? https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1077547/comments/43
[02:42] <GH0> Is there a specific repo or ppa that needs to be added? Or do I have to download the files manually and do everything that way?
[02:42] <tarvid> Just one line in default and two in the domain stanza (three if you want to alias www
[02:44] <TheGuy> i should specifiy the document roo though as well correct?
[02:45] <tarvid> Yes
[02:45] <tarvid> and the Directory
[02:45] <GH0> Asking this in here due to: Linux server 3.5.0-18-generic Otherwise, I would as in the main ubuntu channel
[02:45] <TheGuy> as well as the directory, changed to the directory that the files for each site are contained in respectfully to the files they are configured by
[02:46] <tarvid> Apache will look for index.* in the document root
[02:46] <tarvid> the options are overrides to those in default
[02:49] <TheGuy> hmmm, it seems to be doing the same thing as before... strange, although you use a different directory for the files, mine are in var both e virtual site directories
[02:50] <tarvid> I have no idea what that means but they need to be in user space
[02:51] <tarvid> readable from apache and where you say they are
[02:52] <tarvid> all rather real
[02:52] <tarvid> like in /var/www?
[02:52] <TheGuy> alright, i changed the default again, to have the namevirtualhost ip:80   and then i changed in the virutahost part just under it to the IP:80 and it gave me an error when reloading
[02:53] <TheGuy> yes. they are in /var/www/example.com sort of format
[02:53] <TheGuy> as the directories
[02:54] <tarvid> I think the virtual part is right
[02:54] <tarvid> /var/www/example.com is part of the directory for default
[02:54] <tarvid> I'd put them in your home directory
[02:55] <TheGuy> its warning that the name or service is not known, failed to resolve the servername for ..IP..  (check dns)  also, namevirutalhost *:80 has no virtual hosts (though i should have this part changed already
[02:55] <TheGuy> hmmm, i have my raid set up to be accessed on the var direcory lol
[02:55] <tarvid> /var/www is the document root for default
[02:55] <tarvid> * is fine for virtuals
[02:56] <tarvid> I think /var/www is good only for an info page for the server
[02:56] <TheGuy> you know what, ill give that a go, i may have to reload the OS and mount the raid on the home directory, but im not sure why that would cause an issue in /var/ww/
[02:57] <tarvid> /var/www is the default document root
[02:57] <TheGuy> i had a single site fully functional on the direcory last week, but since ive been trying to figure this out it wont work wih a second virtual host for some reason
[02:58] <TheGuy> i hate clearing the disks on my raid, takes hours lol
[02:58] <tarvid> I keep copying a sites-available stanza that works
[02:58] <tarvid> I hate RAID
[02:59] <tarvid> Had a mirror array, one drive died and RAID would not switch automatically
[02:59] <tarvid> then the other drive died
[02:59] <TheGuy> yeah, i dont really need it for back up, since i can on my personal computer, but its an older server so i am testing a striped raid for faster reads/writes
[02:59] <tarvid> bad idea
[02:59] <tarvid> new hardware is cheap
[03:00] <TheGuy> oh wow, i did have one disk go bad on me once, but i rebooted the server, got into the raid config and copied it over no problems
[03:00] <TheGuy> bought this server for $100
[03:00] <tarvid> $500 with an SSD
[03:00] <tarvid> $105 too much
[03:00] <TheGuy> where did you get yours?
[03:00] <tarvid> I was given the RAID server
[03:00] <tarvid> It over heated.
[03:00] <TheGuy> all the ones im looking at would cost me over a $1000
[03:01] <tarvid> Bought an expensive fan
[03:01] <tarvid> Thanked the donor profusely. She smiled and said "free as in free cats".
[03:02] <tarvid> In the bargain basement I pick up an old desktop from scottsbargains.com
[03:02] <TheGuy> Ahh i see
[03:02] <tarvid> for new kit newegg, cheap barebones, lots of RAM but I am about to switch to SSD
[03:03] <TheGuy> yeah, webhosting isnt very demanding on hardware from what i can tell, most likely a bandwidth issue rather then hardware speeds
[03:03] <tarvid> A new hudson in a book  sized case with RAM is well under $200
[03:03] <tarvid> You are correct
[03:03] <TheGuy> yeah thats where i was shopping, a server set up was looking to be about $1200, more with a barebone, and $600 more to fully fit out to my desire lol
[03:04] <tarvid> give up your desires, all you need to do is shovel bytes from hard disk to Ethernet port
[03:04] <TheGuy> but im looking into game hosting down the road, or similar functions, planning on running VMs, but one step at a time
[03:05] <tarvid> You can stuff 8GB on a hudson for about $40
[03:05] <tarvid> SSD will cure your disk transfer desires
[03:06] <TheGuy> yes but will not cure my wallets butt hurt
[03:06] <TheGuy> those are getting cheaper, but its something i have to consider heavily, as i do need disk space, im storing videos for one of mysite
[03:07] <tarvid> stick the videos on Amazon, let the customer pay
[03:08] <tarvid> http://washingtondc.craigslist.org/nva/syd/3376788154.html
[03:08] <tarvid> But it is a mistake
[03:08] <TheGuy> deffinately an option, got a flash player and videos all ready to go though, not hard to set that up on my site, but a youtube or amazon type of deal might be a good option
[03:09] <tarvid> And YouTube is free
[03:09] <sarnold> tarvid: heh, that's probably less than 1/10th the original price...
[03:09] <tarvid> load average on my hudson is about 0.2
[03:09] <tarvid> sarnold,
[03:10] <TheGuy> huh, that is exceptionally priced
[03:10] <tarvid> sarnold, and he has tons of big iron, all a mistake
[03:10] <sarnold> tarvid: bought amd instead of intel?
[03:10] <sarnold> tarvid: or .. how is it a mistake? :)
[03:11] <zul> hallyn: emailing ubuntu-server/ubuntu-devel?
[03:11] <tarvid> I bought AMD for the memory capacity
[03:12] <tarvid> It is not a religion for me
[03:12] <tarvid> I'd actually like to try some ARM arrays
[03:13] <tarvid> massive arrays of CPUs excite me more than massive CPUs
[03:13] <tarvid> and redundance beats RAID
[03:13] <TheGuy> I had thought about buying a mostly consumer grade computer that supported ECC memory, Im not sure if thats really a viable option though
[03:14] <tarvid> Consumer grade has generally fewer SPOFs and better reliability
[03:14] <tarvid> Besides two are cheap
[03:14] <tarvid> ECC never got me anything
[03:15] <TheGuy> yeah, i've heard its mostly applicable to large databases and such
[03:15] <TheGuy> but not worth it for smaller scale
[03:16] <TheGuy> do the server cpus offer anythign extra in the areas of virtualization? (VMs? )
[03:16] <hallyn> zul: ?
[03:16] <tarvid> It takes a lot of bullshit and gullible customers to make money in the business
[03:16] <tarvid> IBM is the historic example
[03:16] <hallyn> i emailed ubuntu-server last week
[03:16] <tarvid> but HP whores too
[03:17] <tarvid> VMs are a processor feature
[03:17] <TheGuy> hyper threading and hyper-V sort of thing, i think consumer grade procs can do this
[03:18] <TheGuy> I ran VMware, VirtualBox etc. on a consumer comp
[03:18] <tarvid> run LXC
[03:18] <TheGuy> though i can't say my comp liked it much
[03:18] <tarvid> still rough but more rational
[03:20] <TheGuy> Im thinking using the VM method i may be better able to set up the sites lol, though it still baffles me why it isnt curently working
[03:21] <tarvid> And you will have too, most of your VMs will consume resources and sit idle
[03:21] <TheGuy> i suppose ic ould plug in the second ethernet cord for it, but im not sure that would be any easier
[03:23] <tarvid> Centerton looks promising
[03:27] <tarvid> it's been fun guys but time for me to get my feet up
[03:27] <hallyn> zul: did you get the email i sent last week about qemu-kvm test pkgs?
[03:49] <Danawar> sarnold: can dig lagcraft.co.uk +trace and let me know if there is any thing wrong with the name resolution?
[03:50] <Danawar> or any one if sarnold is not arround i think i am having problems with my dns but dont know where :/
[04:29] <hallyn> stgraber: so if we have an lxc-instance upstart job for each container, i wonder if it should respawn.
[04:29] <hallyn> the problem with not doing so is that if it gets shut down and the admin does 'lxc-start' to restart it, then upstart won't now shut it down at reboot
[04:33] <stgraber> hallyn: well, respawn would be a problem if you do a halt/poweroff from within the container
[04:35] <hallyn> stgraber: lol
[04:35] <hallyn> good point
[04:35] <hallyn> then i think i'm ready to push this
[04:36] <hallyn> no wait
[04:39] <SpamapS> hallyn: lxc-start will still be sent a TERM then KILL at shutdown
[04:39] <hallyn> sigh if we go this route i could see a bug coming in a few months saying lxc-start should check if the container is autostart, and use upstart if so
[04:40] <hallyn> SpamapS: seems to be getting the sigPWR i asked for it to be sent
[04:40] <stgraber> well, I really see it as a distro thing, we'll now manage our auto started containers with upstart
[04:41] <hallyn> stgraber: it's jsut that hand-starting the lxc-instance job is a lot more annoying typing
[04:41] <stgraber> if someone wants to have an upstart managed container post-boot, they'll need to do: initctl start lxc-container NAME=container-name
[04:41] <hallyn> SpamapS: but you're saying at the last moment.  right
[04:42] <hallyn> stgraber: right (or just 'start lxc-container NAME=name' :)
[04:42] <SpamapS> stgraber: perhaps have a 'lxc-start-auto' job that starts all the instances marked for auto
[04:42] <hallyn> yeah i think we'll need something like that
[04:42] <stgraber> well, don't we have that anyway (our main lxc job)?
[04:42]  * SpamapS prefers assertions to instructions
[04:42] <hallyn> stgraber: but we dont' want to shut down the still-runnign ones
[04:43] <stgraber> hmm, right
[04:43] <SpamapS> right, you want to say "make sure all the ones that should be started, are.
[04:43] <hallyn> but, this sounds solvable later?  may as well push the lxc-instance job now?
[04:44] <stgraber> yeah, that sounds like minor implementation details for a limited set of our users, so we can deal with it later
[04:44] <hallyn> thanks guys.  good night.
[04:45] <stgraber> ideally we'd have some way to allow for someone to "start" the lxc job again without having to stop it first, in which case it'd just start whatever containers aren't started yet. But I can't think of a way to do that with upstart.
[04:45] <stgraber> and last I checked we don't have a reload/restart stanza we could use for that (restart does stop+start and reload does SIGHUP on the tracked pid)
[04:46] <SpamapS> status lxc-instance NAME=container-name | grep -q '^start' || start lxc-instance NAME=container-name
[04:49] <hallyn> SpamapS: that's not the question.  the question is where do we put such a command
[04:49] <hallyn> such that "<someaction> lxc" would have upstart trigger them
[04:50] <hallyn> where someaction==restart and someaction==reload wont' work
[04:52] <SpamapS> hallyn: that seems like the main script portion of a task that is specifically meant to start auto containers
[04:53] <hallyn> SpamapS: and how do we then trigger it?
[04:53] <hallyn> oh
[04:53] <hallyn> right, another separate task to do that.  that's what i was saying above...  not ideal, but...
[04:54] <SpamapS> I don't see why its not ideal
[04:54] <SpamapS> such is the way of upstart.. to every task, its own conf
[04:54] <SpamapS> very zen
[04:55] <hallyn> oh hey!  while hyou're here,
[04:55] <hallyn> IIUC we should avoid using /etc/default/foo,
[04:55] <hallyn> and instead put envs in /etc/init/foo.conf right?
[04:55] <hallyn> how does dpkg handle conflicts then on pkg upgrades?
[04:56] <SpamapS> its a conffile
[04:56] <SpamapS> if you want it to be generated (and thus not subject to conffile handling) you can do that by generating it in postinst
[04:58] <hallyn> no, ideally what i probably want is customizatoins to be done in .overrides, but ok, i just wanted to make sure i wasn't goin gto make a faux-pas in qemu
[04:59] <hallyn> thanks, good night again :)
[05:18] <lvmer> Anyone got a recommendation for a JOBODs card? (just a bunch of disks). So I can sw raid 10 sata hdds on a 6port motherboard. I'm lost in the choices. & I want to make sure it's ubuntu compatible.
[05:23] <SpamapS> lvmer: LONG ago, I had great luck with 3ware for the cheap side
[05:24] <SpamapS> lvmer: its a "real" RAID and you can get them in the highest and lowest bus speeds.
[05:29] <lvmer> ok I'll check them out. I'm going to be doing sw = software raid, so I'd like to avoid hardware pci-e raid costs if possible. or limit them.
[05:30] <lvmer> I know I can 90% of the time - turn them off and run in JBOD mode but why get it in the first place xD. But idk if I can do jbod on a port multiplier card. It's all just so complicated & this tiny part is the only thing holding me back from putting up my 3rd (much larger) file server
[05:35] <lvmer> spamaps: does something like this make sense?: http://www.amazon.com/SAS9211-8I-8PORT-Int-Sata-Pcie/dp/B002RL8I7M/ref=pd_cp_pc_0
[05:48] <lvmer> well I'm sorry I'm so lost. But google / forums aren't getting me anywhere. So I've got to ask - what would be a problem with something like this: http://www.newegg.com/Product/Product.aspx?Item=N82E16816124028       it's like $200 cheaper? Would sw raid still be ok?
[05:49] <lvmer> I have no plans to boot off of it. I keep the OS separate from the RAID file server. If that helps.
[05:49] <noliverh> how to change an ip address using terminal?
[05:51] <wutamidoin> need halp
[05:55] <chilicuil> noliverh: you can use $ sudo ifconfig ethX IP
[05:56] <wutamidoin> trying to setup apache2 with ssl on amazon EC2
[05:57] <noliverh> chilicuil: how about their dns and gateways?
[05:57] <noliverh> how can i put them in?
[05:58] <chilicuil> noliverh: for the gw, you can use: $ sudo route add default gw IP # and for the dns, you can edit $ sudo vim /etc/resolv.conf
[05:59] <wutamidoin> (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
[05:59] <chilicuil> noliverh: that's just for testing purposes, you may want to edit $ sudo vim /etc/network/interfaces # to set permanent values
[06:01] <noliverh> chilicuil: how can see my gateway using ifconfig?
[06:01] <noliverh> i mean... i cant see my gateway
[06:01] <noliverh> im installing a ubuntu server now
[06:02] <noliverh> i want it to be my PDC
[06:03] <chilicuil> noliverh: you can see it by running $ route
[06:03] <wutamidoin> anyone?
[06:03] <noliverh> wow! thanks
[06:04] <noliverh> do i have to put a dns in my server since this already its ip address?
[06:05] <chilicuil> noliverh: I'd suggest to do it
[06:07] <noliverh> what is vim?
[06:07] <noliverh> is this an editor?
[06:07] <chilicuil> noliverh: yep, it's an editor, use $ nano instead if you had never heard about vim
[06:08] <noliverh> chilicuil: im already in vim... how to get out of it?
[06:08] <noliverh> :D
[06:08] <noliverh> ok... how can i save it?
[06:08] <chilicuil> noliverh: type ":wq"
[06:09] <chilicuil> noliverh: if you're already editing u'll need to press <Esc> before trying to enter ":wq"
[06:09] <noliverh> chilicuil: how to save in nano?
[06:09] <noliverh> :D
[06:10] <chilicuil> Ctrl-s , but I'm not sure, you should be able to see the shortcuts at the bottom of your screen
[06:10] <noliverh> there's no save here...
[06:10] <noliverh> ill try
[06:11] <noliverh> why is it error writing: permission denied
[06:12] <TheLordOfTime> noliverh, are you trying to write to a super-user-protected area?
[06:12] <TheLordOfTime> say, /etc/ ?
[06:13] <noliverh> yup
[06:13] <noliverh> aws... i forgot the sudo
[06:13] <TheLordOfTime> did you open it with sudo?
[06:13] <TheLordOfTime> :P
[06:13] <noliverh> okies
[06:13] <noliverh> :D
[06:14] <noliverh> then, how to show my dns?
[06:15] <noliverh> chilicuil: what you mean by permanent values?
[06:15] <noliverh> i want this to be my pdc
[06:15] <noliverh> so i set up a dns here?
[06:16] <noliverh> what should be done next?
[06:19] <chilicuil> noliverh: the values u set up with $ ifconfig, route and editing /etc/resolv wont survive a reboot, if you want permanent values, so your server get the same ip/gw/dns on every restart, you can edit /etc/network/interfaces https://help.ubuntu.com/12.10/serverguide/network-configuration.html
[06:20] <chilicuil> noliverh: once you confirm the values u've just tested works for you, I'd suggest write them in /etc/network/interfaces
[06:22] <noliverh> chilicuil: okies... matsalams... :D
[06:23] <chilicuil> noliverh: (=, gl, I'm leaving
[06:40] <sarnold> Danawar: http://paste.ubuntu.com/1393796/
[09:30] <caribou> jamespage: morning
[09:31] <jamespage> morning caribou
[09:31] <caribou> jamespage: I got a noob question for you regarding walinuxagent SRU
[09:31] <caribou> jamespage: how should I go about backporting the fix ? Here is my theory :
[09:32] <caribou> jamespage: get the diff from raring-proposed, try to apply the diff to both P & Q
[09:32] <caribou> jamespage: or manually modify if needed
[09:32] <caribou> jamespage: does that make sense ?
[09:33] <jamespage> caribou, personally I would branch the version in raring; and then backport it in full to precise and quantal
[09:33] <jamespage> using ~ubuntu12.04.1 and ~ubuntu12.10.1 respectively to deal with upgrades
[09:34] <jamespage> caribou, we need the new version of walinuxagent in those two releases anyway for HE
[09:34] <jamespage> (Hardware Enablement)
[09:34] <caribou> jamespage: interesting, I was instructed otherwise on another SRU I did with smoser & utlemming
[09:34] <caribou> jamespage: but this was for grub2 which can't simply be retrofitted to earlier versions
[09:34] <jamespage> caribou, let me check what I did for the last SRU for this package
[09:36] <caribou> jamespage: I'm still familiarizing myself to doing the actual SRU backport effort
[09:38] <caribou> jamespage: Precise already has a -proposed branch with one of your merge :
[09:39] <caribou> jamespage: Backport for enablement of Windows Azure IaaS platform in
[09:39] <caribou> Ubuntu 12.04 (LP: #1014864)
[09:39] <jamespage> caribou: yeah - I was just looking for that
[09:39] <jamespage> we did a straight backport to 12.04 of the version from 12.10
[09:40] <jamespage> using the ~12.04.1 suffix in the changelog
[09:41] <jamespage> zul: cinder branch fixed up in distro now
[09:43] <caribou> jamespage: so doing a straight backport from raring to 12.04 & 12.10 would sync up all releases
[09:43] <jamespage> caribou, yep
[09:45] <caribou> jamespage: ok, precise-updates & precise-proposed branches are identical
[09:47] <jamespage> caribou, good
[09:52] <caribou> jamespage: bear with me as I'm not sure if I get the bzr cuisine right :
[09:53] <caribou> jamespage: Am I right to consider that it is only a matter of doing  a "bzr branch" of the raring-proposed tree, fix the changelog, test and if ok, do a merge proposal ?
[09:53]  * jamespage thinks
[09:54] <jamespage> caribou, I'd branch the precise branch and then merge in the raring branch so that you keep the changelog history for precise
[09:54] <jamespage> and then add a new backport entry for the SRU
[09:55] <caribou> jamespage: ok, I'll try that
[12:31] <jamespage> adam_g, roaksoax: so I spent some time this morning reviewing the haproxy/openstack API server approach
[12:31] <jamespage> it feels really clunky with an external haproxy instance and very complex/fragile
[12:31] <jamespage> I think I prefer adam's original suggestion that we should embed haproxy into each of the charms
[12:32] <jamespage> using keepalived + haproxy in that configuration will provide a nice lightweight solution to this problem with closer configuration to the parent service
[12:32] <jamespage> without requiring additional units....
[12:43] <lexo_> hi all
[12:43] <lexo_> i've a problem on software raid
[12:43] <FauxFaux> Cool!
[12:44] <lexo_> Unable to boot degraded RAID-1 array from second disk (sdb) if fisrt disk is unplugged (sda)
[12:44] <FauxFaux> Do you have boot_degraded enabled?
[12:44] <lexo_> sda must be change of course
[12:44] <lexo_> yes
[12:44] <lexo_> i've grub menu
[12:44] <FauxFaux> So what error do you get?
[12:45] <lexo_> no error, server reboot
[12:45] <FauxFaux> Immediately after the grub menu?
[12:45] <lexo_> grub menu -> wait 1s -> server reboot
[12:45] <lexo_> yes
[12:46] <lexo_> if i re-plug sda, boot work fine
[12:46] <lexo_> on ubuntu 12.04 LTS
[12:46] <FauxFaux> That sounds odd, /me has no idea.
[12:46] <lexo_> :(
[12:47] <lexo_> partitions are GPT
[12:53] <Danawar> Can any one give me the locations of 2 easy to follow guides for updating both php and mysql?
[12:54] <FauxFaux> What upgrades are you thinking of that aren't caught by your normal upgrades?
[12:56] <Danawar> I ran a nexpose and it said my php and mysql were both not the newest versions with a lot of critical vulnerabilities on both!
[12:57] <FauxFaux> Sounds like you're not doing normal upgrades.
[12:57] <lexo_> for PHP 5.4 ppa:ondrej/php5
[12:57] <FauxFaux> Danawar: Have you ever run "sudo apt-get update && sudo apt-get upgrade"?
[12:57] <Danawar> I run both those
[12:57] <Danawar> and i have just added ppa:ondrej!
[12:58] <Danawar> Before i asked about it
[12:58] <Danawar> Mysql seems more complicated
[12:58] <Danawar> acording to guides i have found :/
[12:58] <FauxFaux> apt-cache policy mysql-server #?
[12:59] <Danawar>   Installed: 5.5.28-0ubuntu0.12.04.2
[13:00] <Danawar> Im novice with server administration which is why i am trying to learn =D
[13:00] <FauxFaux> That's the latest released version of mysql.
[13:00] <FauxFaux> http://dev.mysql.com/downloads/mysql/ "MySQL Community Server 5.5.28".
[13:00] <caribou> jamespage: Regarding walinuxagent, should I use version 1.1-0ubuntu2~12.04.1 (current is 1.1-0ubuntu2) or 1.1-0ubuntu3~12.04.1 ?
[13:00] <FauxFaux> So whatever is warning you is looking in the wrong place.
[13:01] <Danawar> FauxFaux: Thanks i will recheck with tester see if some of those warnings disapear
[13:01] <Danawar> I added a few ppas so that might have solved it without me knowing!
[13:24] <jamespage> caribou, 1.1-0ubuntu2~12.04.1
[13:25] <jamespage> that ensures that people upgrading get the new package when they move to quantal or folsom
[13:34] <Danawar> I had added for PHP 5.4 ppa:ondrej/php5 and did my update and upgrade but still it is using old php not the new one! any reason why this could be ? :D
[13:44] <Danawar> When trying to update it says this - http://pastebin.com/J9wnFcfz
[14:00] <caribou> jamespage: ok, thanks
[14:10] <caribou> jamespage: does this looks ok to you ? http://paste.ubuntu.com/1394506/
[14:10] <caribou> jamespage: the only thing that bugs me a bit are the references to rarring/quantal in the changelog.
[14:10] <caribou> jamespage: should I worry about that ?
[14:11] <caribou> jamespage: oh, but you won't see that in the pastebin
[14:19] <Daviey> jamespage: around?
[14:43] <caribou> Daviey: he was earlier today. I'm also looking for him
[14:46] <Daviey> yeah
[14:58] <smoser> caribou, what did i do wrong?
[14:59] <smoser> or what did i advise wrong?
[14:59] <tga> greetings, anyone here running Cherokee?
[14:59] <tga> for some reason I can't get it to serve php out of vdirs
[14:59] <caribou> smoser: ? oh, must must refer to my question to jamespage earlier
[14:59] <jamespage> Daviey, am now
[14:59] <smoser> oh. i see.
[14:59] <caribou> smoser: it wasn't wrong, but I was asking about how to backport the latest walinuxagent modifications to precise/quantal
[15:00] <caribou> smoser: you had suggested to only backport the one fix that utlemming had made but this was for grub2
[15:00] <caribou> smoser: jamespage proposed to merge the whole walinuxagent from raring, since there was a version upgrade + a fix
[15:01] <jamespage> I did indeed
[15:01] <smoser> ah. yeah. that is possibly acceptable for walinuxagent
[15:01] <smoser> but would not have been appropriate for grub
[15:01] <caribou> smoser: in the previous case, I suppose that avoiding a complete backport of the whole grub2 was in our best interest
[15:02] <caribou> jamespage: please ping me when you're done with Daviey
[15:07] <Daviey> jamespage: too late :)
[15:15] <caribou> jamespage: I have a question regarding the Pre-depend for walinuxagent-data-saver when you have a minute
[15:20] <Daviey> jamespage: did that SRU get processed btw?
[15:20] <Daviey> caribou: just ask, you'l get a quicker response
[15:20] <caribou> Daviey: you mean the walinuxagent SRU ?
[15:20] <Daviey> caribou: yeah
[15:20] <caribou> Daviey: I'm working on it
[15:21] <caribou> jamespage: here is what I get when I test on Azure : http://paste.ubuntu.com/1394634/
[15:21] <Daviey> ugh
[15:21] <Daviey> doesn't look good
[15:21] <caribou> dpkg complains about the Pre-depend, but apparently the walinuxagent gets installed correctly
[15:22] <invariant> Is there a HOWTO for setting up a postfix server which explains every step about the dpkg-reconfigure postfix process?
[15:22] <caribou> Daviey: yeah, I know,but I don't get that when testing on Raring
[15:22] <invariant> I find the Ubuntu server documentation to be very lacking.
[15:22] <Daviey> At least you found it invariant :)
[15:23] <invariant> I am considering to just build postfix from source and not use any of the management tools.
[15:23] <Daviey> invariant: did you see https://help.ubuntu.com/community/PostfixBasicSetupHowto
[15:23] <invariant> I don't like magic.
[15:23] <Daviey> erm, building from source will not make your life any easier
[15:23] <Daviey> It will be harder, and less secure
[15:23] <invariant> Daviey, then I can use the official documentation.
[15:24] <Daviey> invariant: if you think that is the best way, ok.. But i strongly discourage it.  Have you worked out how you will keep security updates done?
[15:24] <invariant> Daviey, one person told me that I needed both Postfix as a MTA and also a separate MDA.
[15:25] <invariant> Daviey, it now appears that Postfix can be both.
[15:25] <invariant> Daviey, in short, there are a lot of people who say conflicting things.
[15:25] <invariant> It would be nice if there would be some source that actually contained the truth.
[15:27] <greppy> invariant: if you want to use more than just a local mailbox, you will need an MDA, like dovecot or uw-imap
[15:27] <hallyn> zul: hey
[15:27] <zul> hallyn: whats up
[15:27] <hallyn> zul: wondering what you meant last night by emailing ubuntu-server and ubuntu-devel
[15:28] <zul> hallyn: about your qemu-kvm testing wasnt it
[15:28] <hallyn> zul: ok (wasn't sure)  i did email ubuntu-server last week though
[15:28] <hallyn> maybe i should send anohter to ubuntu-devel
[15:28] <zul> hallyn: ah i dont remember seeing it
[15:29] <hallyn> well crud
[15:30]  * hallyn checks archives to make sure
[15:31] <hallyn> d'oh!  it's not there!
[15:31] <hallyn> ok, resending.  crap.  thanks
[15:31] <Daviey> hallyn: what are you looking for?
[15:31] <jamespage> caribou, you have to install then in order when using dpkg - the pre-depends only works when installing using apt from the archive
[15:32] <hallyn> Daviey: an email which apparently was eaten by a grue
[15:32] <hallyn> zul: do you think is hould email ubuntu-devel as well then?
[15:32] <caribou> jamespage: yeah, I sort of suspected that. I tested on raring and didn't get the error
[15:32] <zul> hallyn: yeah since users other than server users use qemu-kvm :)
[15:32] <Daviey> hallyn: eek
[15:33] <hallyn> zul: ok, thx
[15:34] <caribou> jamespage: one last question; does that changelog looks ok to you : http://paste.ubuntu.com/1394506/
[15:34] <caribou> jamespage: wait, sorry wrong pastebin
[15:34] <hallyn> all right, (re-?)sent
[15:35] <caribou> jamespage: here is the proper one : http://paste.ubuntu.com/1394679/
[15:36] <caribou> 1st of all, is the new section correct ? 2nd whould we keep references to raring in to the precise changelog ?
[15:37] <caribou> jamespage: if all that is ok, I'll push the merge proposal for P & Q
[15:42] <hallyn> mdeslaur: is there a way that i haven't found to specify in virt-manager that a VM should be backed by hugepages?
[15:42] <hallyn> i assume not, just making sure...
[15:45] <mdeslaur> hallyn: I don't think so
[15:45] <hallyn> thanks
[15:46] <jamespage> caribou, not quite; I'd leave the latest raring changelog entry intact and add a new one for the backport as I did for 1.0~git20120606.c16f5e9-0ubuntu2~12.04.1
[15:46] <caribou> jamespage: ok, will look at that
[15:46] <jamespage> we can include the raring changes in the .changes source file when its uploaded so the SRU team can see the full history
[15:51] <hallyn> stgraber: hm, i do see a regression inadvertently reintroduced in lxc github by my seccomp commit.  bad manual cherrypick it looks like
[15:51] <stgraber> hallyn: that or I screwed up the rebase, either way, would be nice if you could push the fix again :)
[15:53] <hallyn> stgraber: coming :)
[15:55] <ruben231> guys any idea on this error when i try to install with php5-dev  on ubuntu-server 12.04 LTS ---------> http://pastebin.com/u7xKTB0x
[15:59] <caribou> jamespage: For precise, which branch should I propose the merge to ? precise-proposed or precise-updates ?
[15:59] <jamespage> caribou, either
[15:59] <hallyn> pushed to staging
[16:00] <ruben231> any idea guys
[16:00] <ruben231> ..???
[16:05] <caribou> jamespage: ok, both Merge Proposal are now done. What do I need to do next?
[16:06] <hallyn> stgraber: hm, the fix in our package (different from the upstream one) is wrong though - it assumes lxc.mount always is the fstab, but will delete the lxc.mount.entries
[16:07] <hallyn> ruben231: sudo apt-get update; sudo apt-get install -f should work hopefully
[16:08] <hallyn> oh i see, and that explains fstab showing up in the guy's clone.  now it makes sense
[16:11] <jamespage> caribou: point me at them
[16:12] <caribou> jamespage: precise : https://code.launchpad.net/~louis-bouchard/ubuntu/precise/walinuxagent/walinuxagent-lp1079897/+merge/136698
[16:12] <caribou> jamespage: Quantal : https://code.launchpad.net/~louis-bouchard/ubuntu/quantal/walinuxagent/walinuxagent-lp1079897/+merge/136699
[16:12] <rober> Hi, can l install ubuntu server on a HP- L-360   via SmartStart??
[16:13] <ruben231> hallyn: still the same
[16:15] <TheGuy> hmmm, well i got my multiple site configuration set up, its a workaround for the virtualhosts config as that wasnt working
[16:27] <hallyn> ruben231: just worked for me in a fresh uptodate precise container.  maybe try 'sudo apt-get dist-upgrade' in there too?
[16:28] <hallyn> otherwise, start digging itno why libssl-dev doesn't want to install.
[16:29] <hallyn> maybe 'apt-cache policy libssl-dev'
[16:30] <ruben231> http://pastebin.com/yEMZuc6F
[16:30] <ruben231>  hallyn: i can install php5-dev and this one ---> apt-get install libmysqlclient15-dev --->apt-get install libncurses5-dev
[16:31] <hallyn> you *can*?
[16:31] <ruben231> i mean i cant
[16:31] <hallyn> what happens when you apt-get install libssl-dev ?
[16:34] <ruben231> http://pastebin.com/TSA2EEcM
[16:34] <ruben231> thats the output
[16:37] <roaksoax> Daviey: howdy!
[16:37] <roaksoax> Daviey: so I'm preparing the SRU of yui3 to precise (which would make it a new package)
[16:37] <hallyn> stgraber: zul: libvirt is introducing libvirt-lxc code for shutdown initiated over /dev/initctl
[16:37] <Daviey> roaksoax: Hey
[16:38] <Daviey> roaksoax: ok
[16:38] <hallyn> in case you wanted to take a look
[16:38] <zul> hallyn: yeah i saw yesterday right?
[16:38] <roaksoax> Daviey: should I just file a nomral SRU bug, adapt version to 3.5.1-1ubuntu3~12.04.2?
[16:38] <ruben231>  hallyn: any idea.?
[16:38] <roaksoax> Daviey: and upload?
[16:38] <Daviey> roaksoax: err, .1
[16:39] <hallyn> zul: showed up in my mbox only today
[16:39] <roaksoax> Daviey: alright, then thanks :)
[16:39] <Daviey> roaksoax: sounds good.  Make sure the version is lower than release+1.. and no conflicts required
[16:39] <hallyn> ruben231: no.  do you ahve some ppa's installed?  that pkg installs fine for me...  i mean yes, the idea is keep trying to manually install the package it says it won't install until you get more info
[16:40] <hallyn> (i.e. next try apt-get install zlib1g-dev)
[16:41] <roaksoax> Daviey: will do. just wanted to make sure there were no other procedures needed to be followed since this is introducing a 'new' source to precise
[16:41] <Daviey> roaksoax: TBH, it's such a rare thing.. the process isn't exactly documented
[16:41] <stgraber> hallyn: because using our change in the kernel would have been way too easy?
[16:42] <Daviey> roaksoax: I'd need to check myself, about publishing directly to main.
[16:42] <hallyn> stgraber: no they support that too.  maybe not correctly, not sure.
[16:42] <hallyn> oh, well rhel is on older kernels, maybe they want to support those
[16:42] <roaksoax> Daviey: indeed! The SRU policy does cover hardware enablement for new packages, so i guess it would indeed a similar process
[16:43] <ruben231> hallyn: still the same ------->http://pastebin.com/tPqCZhkb
[16:44] <hallyn> ruben231: keep going until you get something different.  though i suspect you'll learn more in the next step, when you try to apt-get instll libc6-dev
[16:50] <hallyn> stgraber: any other changes to queue up right now to lxc?
[16:51] <ruben231> still error---------------->http://pastebin.com/ydXbJJgd
[16:53] <stgraber> hallyn: can you add an explicit apparmor deny for /sys/firmware/efi/efivars/**?
[16:53] <stgraber> hallyn: read access isn't a good idea, so I'd prefer we block everything for now
[16:54] <hallyn> stgraber: ok
[17:18] <hallyn> stgraber: (following a comment in #juju) do you think it would be worthwhile to add a LXC_DEFAULT_POLICY to /etc/default/lxc so admins could select undefined as the default?
[17:19] <hallyn> i dont' want to add needless complexity just to make things fragile though...
[17:19] <roaksoax> Daviey: ok, just uploaded yui3 and raphael to precise-proposed
[17:19] <stgraber> hallyn: I'd rather not encourage people to turn off apparmor
[17:20] <roaksoax> Daviey: when you have the time, could you also process isc-dhcp (precise-proposed), python-tx-tftp (quantal-proposed), and django (precise-proposed) which have all been verified
[17:23] <Daviey> roaksoax: remind me in 1hr? :)
[17:23] <roaksoax> Daviey: sure thing
[17:23] <roaksoax> :)
[17:38] <adam_g> jacalvo: wondering what you found fragile about doing load balancing externally vs 'locally'. i agree teh current haproxy charm is clunky in the way it gets configured
[17:38] <adam_g> er
[17:38] <adam_g> jamespage: ^
[17:39] <jamespage> adam_g, maybe fragile was not the right word - complex might be more appropriate
[17:39] <jamespage> clunky is good as well
[17:39] <jamespage> adam_g, I nearly have a working keystone charm using haproxy and keepalived internally to provide ha
[17:42] <adam_g> jamespage: okay, cool. if thats the approach we take ill adapt the others to fit that model
[17:42] <jamespage> adam_g, ack
[17:55] <hallyn> smb: stgraber: JINKEYS!  ran into the netdev freeeing problem on uptodate raring!
[17:56] <roaksoax> jamespage: hold on... i was writting a keepalived charm
[17:56] <roaksoax> :)
[17:56] <roaksoax> jamespage: and the hacluster charm also supports haproxy
[17:56] <jamespage> roaksoax, w00t!
[17:56] <jamespage> roaksoax, otp - give me 5
[17:56] <roaksoax> jamespage: the reason why I decided to go for hacluster instead of keepalived is because keepalived won't scale, so if you'd like to have 2 standby nodes, it won't work
[18:00] <roaksoax> jamespage: and the ha stuff i thought that the stuff I was working on included haproxy apart from quantum
[18:01] <jamespage> jamespage, yeah - its does; I just wanted to get closer to the issues this week so I understood in more detail
[18:01] <jamespage> roaksoax, rather ^^
[18:01] <hallyn> i'll try the mainline kernel build
[18:01] <roaksoax> jamespage: i think we should catch up and decide who's gonna work in what so we don't duplicate work
[18:02] <jamespage> roaksoax, lets do that now then
[18:03] <roaksoax> jamespage: alrgith
[18:03] <roaksoax> jamespage: g+ or something?
[18:03] <jamespage> roaksoax, yep
[18:04] <roaksoax> jamespage: can you send me the link?
[18:04] <roaksoax> it rings on my phone :)
[18:10] <hallyn> oh maybe it wasn't the latest kernel - grub was fooling me.  well we'll see if upstream does it anyway
[18:19] <Danawar> Hey if apache shows a directory listing instead of my zpanel page there is the problem most likly to be?
[18:21] <RoyK> Danawar: php not installed?
[18:22] <Danawar> RoyK: good point let me check: no, but i think you are close because i updated to php 5.4.9-1
[18:23] <RoyK> check if the apache php module is activated (if you're running apache, that is)
[18:23] <RoyK> oh, you are...
[18:23] <Danawar> Are you looking at the site RoyK?
[18:24] <RoyK> erm - no - what site?
[18:24] <RoyK> I just saw you wrote 'apache shows...'
[18:24] <Danawar> "RoyK: oh, you are..." :P
[18:24] <Danawar> confused me a bit
[18:24] <RoyK> AFAICT you haven't posted a URL ;)
[18:25] <Danawar> Just thought you looked at my ip or somthing :P
[18:25] <RoyK> no, I just missed what you said in the first place
[18:25] <Danawar> Just trying to google the command to enable php on apache
[18:25] <RoyK> check /etc/apache2/mods-enabled/
[18:26] <RoyK> a2enmod btw
[18:26] <RoyK> that simply makes a symlink from /etc/apache2/mods-available/ to /etc/apache2/mods-enabled/
[18:26] <Danawar> Does not exist
[18:26] <RoyK> and probably does a apache2ctl graceful
[18:26] <Danawar> php5 conf and lib exists
[18:26] <Danawar> ohh yse
[18:27] <Danawar> a2enmod forgot all about that :D
[18:27] <Danawar> but i think it is already loaded any way
[18:27] <RoyK> make a test.php with '<?php phpinfo(); ?>' and try to view it
[18:27] <Danawar> as there are the 2 files in there
[18:27] <RoyK> i mean - try to access that test.php from a browser
[18:28] <RoyK> should show you information about the php version installed
[18:28] <Danawar> ohh wait
[18:28] <Danawar> i just removed www folder
[18:28] <Danawar> because that was my old web stuff
[18:28] <Danawar> and now i get page not found
[18:28] <Danawar> instead of my zpanel domain
[18:28] <Danawar> so apache is no using zpanel !
[18:28] <Danawar> i dont think it is php related but i will do info now!
[18:28] <RoyK> probably some references to that dir in the apache config, then
[18:29] <Danawar> i added the included they asked me to at the bottom
[18:30] <Danawar> The php info works
[18:31] <RoyK> create a test dir with an index.php file - check if that index file is used
[18:31] <RoyK> the test.php file will work
[18:31] <RoyK> just rename it
[18:32] <Danawar> It gives directory listing
[18:32] <Danawar> I lie
[18:32] <Danawar> i put a capital I my bad
[18:32] <Danawar> It works with index.php
[18:32] <RoyK> ok
[18:33] <Danawar> Must be the damn apache config got broke when apache updated
[18:33] <Danawar> So it doesnt see zpanel
[18:33] <Danawar> Luckly
[18:33] <Danawar> i think it made a back up, which doesnt work
[18:34] <RoyK> is this a separate virtualhost?
[18:34] <RoyK> if so, just change its DocumentRoot
[18:34] <Danawar> Sorry im not to savy :D
[18:34] <Danawar> but yes i think it is somthing to do with document root
[18:34] <Danawar> as thats rings bells
[18:35] <Danawar> where is the setting for document root? in apache.conf?
[18:35] <RoyK> very little is in apache.conf on ubuntu
[18:35] <RoyK> most of it is in /etc/apache2/sites-enabled/000-default or in other virtualhosts
[18:35] <RoyK> that is, very much is in apache.conf, but little you will need to change
[18:36] <Danawar> I can only find #ServerRoot "/etc/apache2"
[18:36] <Danawar> In the apache config whil looking for root
[18:37] <RoyK> well, there's no point in removing /var/www - it doesn't take up much space anyway
[18:37] <Danawar> I just removed it for testing
[18:37] <Danawar> The new config
[18:37] <Danawar> Has Include sites-enabled/ which the old one did not should i remove it?
[18:38] <Danawar> The other one that is in both is Include /etc/zpanel/configs/apache/httpd.conf
[18:38] <RoyK> sorry - I don't know zpanel
[18:38] <Danawar> Also if i try to use the old config it fails trying to find Include httpd.conf
[18:38] <RoyK> !zpanel
[18:38] <Danawar> as i think it was removed in the new apache
[18:40] <roaksoax> Daviey: Don't forget to process isc-dhcp (precise-proposed), python-tx-tftp (quantal-proposed), and django (precise-proposed) which have all been verified
[18:41] <Danawar> RoyK: All i can see its doing is instead of going to /var/zpanel/####/website/index.html it is going to /var/www
[18:42] <RoyK> then you probably need an Alias directive in the apache config
[18:42] <Danawar> How do i go about doing that? :P
[18:42] <RoyK> probably in /etc/apache2/sites-enabled/000-default
[18:43] <RoyK> look in there :)
[18:43] <COrdel^> i am gay and need spiritual advice
[18:43] <RoyK> COrdel^: is it related to an ubuntu server? ;)
[18:43] <COrdel^> nah
[18:43] <patdk-wk> reverse trap?
[18:44] <COrdel^> i am going to win powerball tonight and wont need ubuntu server
[18:56] <roaksoax> jamespage: https://code.launchpad.net/~andreserl/charms/quantal/haproxy/hacluster-support
[18:56] <roaksoax> jamespage: https://code.launchpad.net/~andreserl/charms/quantal/haproxy/hacluster-support
[18:56] <roaksoax> err
[18:56] <roaksoax> jamespage: https://code.launchpad.net/~andreserl/charms/quantal/quantum/hacluster-support
[18:57] <roaksoax> jamespage: https://code.launchpad.net/~andreserl/charms/quantal/hacluster/trunk
[18:57] <roaksoax> this is before refactoring
[18:58] <Danawar> I get this when i restart apache now xD http://pastebin.com/TVQcdih3
[18:58] <Danawar> Im terrified that im going to have to start from scratch again :P
[19:00] <Danawar> I wish i knew a better free panel other than zpanel
[19:03] <RoyK> Danawar: I beleive you should look into how Apache is configured on ubuntu - it looks like you added a new alias for one already in /etc/zpanel/configs/apache/httpd.conf, and you may have done something funny in /etc/apache2/sites-enabled/000-default
[19:03] <jamespage> roaksoax, adam_g: lp:~james-page/charms/quantal/keystone/haproxy-support
[19:06] <roaksoax> jamespage: cool thanks
[19:12] <Danawar> RoyK: i followed my old install guide
[19:12] <Danawar> and it says 	edit /etc/httpd/conf/httpd.conf change Docroot to: 	DocumentRoot "/etc/zpanel/panel"
[19:12] <Danawar> But i never found where this was
[19:12] <RoyK> sounds like it was written for redhat
[19:13] <RoyK> ubuntu/debian and redhat/centos/fedora are quite different in the terms of placing config files
[19:13] <RoyK> or naming them...
[19:15] <roaksoax> jamespage: ok, I get it now. SO I can simply integrate hacluster as a subordinate and pass all the info over the ha relation
[19:15] <roaksoax> jamespage: i'll work on it tomorrow and see what happens
[19:16] <adam_g> jamespage: deploying the ceph charm to precise requires a cloud archive version to integrate with openstack?
[19:17] <halvors> What excactly is postfix chroot?
[19:19] <RoyK> halvors: chrooting the whole postfix installation so to make it harder to mess up a system in case of a buffer overflow etc
[19:35] <adam_g> zul: http://people.canonical.com/~agandelman/keystone_2012.2-0ubuntu1.2~cloud0/
[19:35] <adam_g> jamespage: ^
[19:35] <RoyK> Danawar: if this machine (or vm) is only for zpanel, I'd suggest you start over, either with docs on installing zpanel on ubuntu, or by using centos or something
[19:35] <adam_g> for upload to staging
[19:35] <Danawar> Hey RoyK thanks for all your help
[19:35] <Danawar> I followed the setup guide and there is a small php script
[19:35] <Danawar> That does some stuff i didnt actulary look into
[19:35] <Danawar> And it fixed it :)
[19:35] <Danawar> GG =]
[19:36] <zul> adam_g: looks good to me
[19:36] <RoyK> Danawar: goodie ;)
[19:36] <Danawar> Now just to fix everything else i broke O:-)
[19:36] <RoyK> you'll probably learn a bit of that ;)
[19:39] <jamespage> adam_g, it does yes
[19:41] <adam_g> ty
[19:49] <Daviey> roaksoax: Are these things you want released to -updates ?
[19:50] <roaksoax> Daviey: yes
[19:53] <Daviey> roaksoax: I would be more comfortable if someone else published to updates at this stage..
[19:56] <roaksoax> Daviey: sure, though django and python-tx-tftp are pretty straight forward
[19:57] <Danawar> Hey guys i have 4 minecraft servers running on my server and i want to connect to them using sub domains how would i go about doing this as i cant figure out how to point subdomains to a port?
[19:58] <sarnold> Danawar: 'subdomains' cannot have ports.
[19:58] <sarnold> ports are a property of an IP address.
[19:58] <FauxFaux> Unless your client supports SRV records.  (hint: it doesn't)
[19:59] <Danawar> So there is no way of doing this without SRV records or hosting the servers at different ip addresses
[19:59] <TheLordOfTime> Danawar, ports are the property of the IP address, you would still need to do the port directive for Minecraft, such that ipORdomain:PORT
[19:59] <FauxFaux> If the servers have started, then they already have different ports.
[20:00] <TheLordOfTime> mhm
[20:00] <sarnold> Danawar: you could ask your users to connect to example.com:4444, example.com:4445, example.com:4446, example.com:4447, or something like that.
[20:00]  * FauxFaux wonders if any resolvers will cope with numeric srv records; probably not for optimisation reasons.
[20:00] <sarnold> it's way cheaper than renting another three IPs for your machine each month. :)
[20:01] <Danawar> sarnold: that is currently what i do :5000 - 5008 just would have prefered to use ###.example.com but i may launch them to different dedicated servers on the internet then i can easly use subdomains :)
[20:02] <FauxFaux> Danawar: It's worth giving the users the subdomains, anyway, because then you are free to move them.
[20:02] <TheLordOfTime> mhm
[20:04] <sarnold> FauxFaux: oh, one.example.com:4444, two.example.com:4445, three.example.com:4446, four.example.com:4447?
[20:04] <FauxFaux> Yes.
[20:05] <sarnold> it's potentially confusing, because so long as they all reserve to the same IP, someone could interchange names and ports at will and they'd all work..
[20:05] <sarnold> but I see your point, it'd be easier to run 2+2 or 1+1+1+1 or whatever you want in the future..
[20:05] <FauxFaux> Yeah, people optimising is acceptable, but if they violate your public interface then it's their problem when you fix stuff without violating your interface.
[20:06] <sarnold> :)
[20:06] <roaksoax> Daviey: who do you think i should contact though?
[20:07] <yolanda> hi, i need some help. I upgraded boto package, and now i cannot connect to canonistack, i'm receiving that error: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
[20:08] <yolanda> do you know what can be causing that?
[20:12] <yolanda> that is a pastebin of the problems i'm having: http://paste.ubuntu.com/1395326/
[20:13] <Daviey> roaksoax: is this seriously urgent?
[20:13] <roaksoax> Daviey: python-tx-tftp yes
[20:14] <roaksoax> Daviey: the rest is for maas SRU really
[20:14] <sarnold> yolanda: is that AWSAccessKeyId supposed to remain private?
[20:16] <hallyn> stgraber: is our ifup just smart enough to know not to run dhcp if the NIC already has an address?
[20:16] <hallyn> (thinking bug 1080681)
[20:17] <yolanda> sarnold, sorry, i didn't notice the key there, i should have pasted only the last lines with the CERT probelm
[20:18] <Daviey> roaksoax: wait out.
[20:18] <yolanda> i can't figure why the certs have stopped working, i've been looking at that problem and googling that, and haven't found anything
[20:21] <stgraber> hallyn: nope, dhclient will just overwrite whatever's there
[20:21] <capitaninsaneoh> Hello
[20:22] <stgraber> hallyn: if you don't want ifupdown to reconfigure your interface, you need to mark it as manual in /etc/network/interfaces
[20:22] <capitaninsaneoh> If I create Iptables input rules do I have to create corresponding output rules?  Like iptables -A OUTPUT -j ACCEPT -p tcp -i eth0 and then one for UDP?
[20:22] <stgraber> hallyn: and my guess is that the Debian template doesn't have a fixed mac address, causing that bug to begin with...
[20:23] <RoyK> in debuntu, the mac address is set in /etc/udev/rules.d/70-persistent-net.rules
[20:24] <hallyn> stgraber: if i add a lxc.network.ipv4 = x.y.z.a for an ubuntu container, the nic keeps that address
[20:24] <hallyn> even with /etc/network/interfaces specifying dhcp
[20:24] <stgraber> hallyn: oh, that's interesting, maybe ifupdown is being more clever than I thought it would :)
[20:25] <stgraber> hallyn: any error message in /var/log/upstart/network* in a container with lxc.network.ipv4 set?
[20:25] <stgraber> maybe it's just some ifupdown hook failing that's preventing dhclient from reconfiguring the interface :)
[20:27] <hallyn> stgraber: just 'start/running' and 'stop/waitin'g, no other msgs
[20:34] <stgraber> hallyn: hmm, ok, so maybe ifupdown is way more clever than I thought it was :)
[20:35] <yolanda> jdstrand, i added some comments to that bug: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/945177 - i was able to build the package for grizzly and test it
[20:35] <yolanda> do you want me to do some cleanup?
[20:37] <jdstrand> yolanda: well, it would be nice, yes, but perhaps coordinate with zul or adam_g-- they might have more info
[20:37] <yolanda> ok
[21:12] <halvors> RoyK: Do you know why i can't connect using port 25 when using the mail-stack-delivery package?
[21:14] <RoyK> no idea what that package contains...
[21:16] <yolanda> bye all
[21:51] <nikolaj_basher> Hi, How would you take a completa backup of a lamp, and courier server?
[21:51] <RoyK> some backup software
[21:51] <RoyK> or rsync
[21:52] <RoyK> backing up mysql usually requires either a database dump or stopping mysql
[21:52]  * RoyK uses bacula
[21:53] <nikolaj_basher> RoyK, but how du I find the lib, which contains all the users inbox
[21:53] <nikolaj_basher> or how do I find where to get the right lib to backup?
[21:54] <sarnold> 'lib'?
[21:55] <RoyK> the user's mailbox in courier is a directory
[21:55] <RoyK> courier uses maildir, so it's all in one dir, one dir for the user's mailbox, one dir per message (iirc)
[21:56] <sarnold> maildir++
[21:56] <RoyK> or was that one file per message - think so
[21:58] <sarnold> one file per message, yeah :)
[21:58] <nikolaj_basher> RoyK, is there a way to find the right lib. to backup
[21:58] <RoyK> you don't need a library
[21:58] <RoyK> it's just files
[22:00] <sarnold> nikolaj_basher: lsof can show you the files a program has open
[22:00] <RoyK> you need helpers to backup complex stuff like databases, unless you dump them
[22:00] <nikolaj_basher> I ment library
[22:00] <RoyK> if you dump a database, you can backup the dump
[22:00] <sarnold> nikolaj_basher: of course, catching courier with an open mail file might be a bit difficult... but the alternative is reading it's configuration file. So.
[22:00] <nikolaj_basher> sarnold, thanks
[22:00] <RoyK> in 99% of the cases, a file backup of everything (excluding mysql) will do
[22:00] <sarnold> s/it's/its/
[22:01] <RoyK> mysql will need a dump
[22:01] <sarnold> yeah, I'd just use rsync on maildir; maildir works with nfs, it ought to work with rsync too :)
[22:01] <nikolaj_basher> RoyK, I'm allready make a dump of my db
[22:01] <RoyK> well, then all you need is an rsync backup or something more fancy like bacula
[22:04] <RoyK> nikolaj_basher: rsync will do well, bacula will work better if you want to go back a week or two in case the shit hits the fan
[22:06] <nikolaj_basher> RoyK, but i can't find the library where corrior save the users inbox
[22:06] <nikolaj_basher> not even i the etc/courier/ files
[22:06] <RoyK> nikolaj_basher: it's just maildir - there's no need for a library
[22:07] <nikolaj_basher> a file
[22:07] <RoyK> nikolaj_basher: iirc courier saves the users' mailboxes under /var/lib/courier
[22:07] <nikolaj_basher> thanks sorry if am I little to slow to catch it
[22:08] <RoyK> a mailbox isn't stored under /etc
[22:08] <RoyK> try to find /var -type d -name courier
[22:08] <RoyK> you'll find it
[22:08] <nikolaj_basher> found it
[22:09] <RoyK> well, time's up - need sleep - nite guys (or girls)
[22:10] <sarnold> RoyK: night :)
[22:14] <nikolaj_basher> RoyK, sleep well and thanks
[23:31] <stgraber> hallyn: got a few simple template changes sent to lxc-devel for your review
[23:32] <hallyn> stgraber: ok, running out any minute, may not get to them until later  tonight.
[23:32] <stgraber> that's fine, I'm also done for the day
[23:33] <hallyn> good night