[00:01] <twb> Sigh.  So if you have a 1GB server and unattended upgrades, and ubuntu kernels weigh even more than Debian ones (128MB each), you use up a quarter of your disk in a month :-/
[01:25] <zul> adam_g: you are evil
[01:28] <zul> adam_g: while you are still here can you have a look at http://paste.ubuntu.com/775687/
[01:31] <adam_g> zul: one sec
[01:39] <adam_g> zul: its been so long since ive messed with that  stuff. isn't the userspace daemon required by the initiator utliities?
[01:41] <zul> no
[01:41] <zul> i dont think so
[01:41] <adam_g> ah, i remember now.. iscsid is only used to establish preconfigured sessions
[01:44] <adam_g> zul: that diff looks good as long as its been tested.  im curious to know if the tgt off-by-one error you guys were looking at was caused by a split brain between nova and iscsiadm?
[01:45] <zul> adam_g: yeah basically iscsadm wanting one thing while tgtadm wanting another
[01:45] <zul> but yeah that patch has been tested
[01:46] <adam_g> zul: has it been tested after removing iscsid? what i meant was, iscsid restablishing a connection, bumping the lun index before nova had chance
[01:47] <zul> adam_g: ill test tomorrow first thing its getting late here
[01:48] <adam_g> cool
[04:53] <kaushal> Hi
[04:53] <kaushal> is there a way to know list of modules loaded or enabled in apache2 using CLI
[04:54] <kaushal> I can see it in /etc/apache2/mods-enabled/
[04:54] <kaushal> Server version: Apache/2.2.14 (Ubuntu)
[04:55] <kaushal> on 10.04 LTS
[05:11] <shauno> kaushal: that's essentially it.  or "apache2ctl -M"
[05:12] <kaushal> shauno: thanks
[05:13] <kaushal> shauno: what is static vs shared module ?
[05:14] <shauno> I believe static are built-in at compile-time, shared are loadable modules you'll find in mods-available / mods-enabled
[05:18] <kaushal> oh ok
[05:18] <kaushal> Thanks shauno
[08:39] <osmosis> anyone know how to troubleshoot a failing domain resolution?
[08:39] <osmosis> $ host btcnearme.com
[08:39] <osmosis> Host btcnearme.com not found: 1(FORMERR)
[09:04] <koolhead11> hi all
[10:57] <philipballew> where would i look in my logs to see if someone was messing with my server? or trying to gain access to it
[11:01] <drt24> philipballew: /var/log/auth.log, in general many automated bots will be trying to gain access
[11:02] <drt24> fail2ban will ban them after a few trys if you have that installed.
[11:02] <philipballew> alright, im looking now. Yeah. I might wanna change ssh from 22 sometime
[11:02] <drt24> philipballew: changing the port won't really add much security, disabling password based ssh and using key based instead and using fail2ban will provide much better security than changing the prot
[11:03] <philipballew> alright. I need to just set up rsa keys again.
[11:03] <philipballew> that isnt hard at all
[11:03] <drt24> indeed
[11:04] <philipballew> Thank you for the help
[11:23] <angelete2> hi
[11:24] <angelete2> i'm trying to install server 10.04 from a usb stick
[11:25] <angelete2> but it breaks because "can't mount cd drive"
[11:25] <angelete2> what can i do?
[11:29] <drt24> angelete2: is this breaking in the BIOS or later? if in the bios is the boot order set to boot from USB before CD?
[11:29] <angelete2> BIOS boot order is only from USB
[11:29] <angelete2> it has no cd drive
[11:30] <angelete2> installation begins, but it tries to mount cd, so it fails
[11:30] <uksysadmin> angelete2, I've experience in the past that some USB sticks simply aren't bootable
[11:30] <angelete2> i've installed on same server with same usbs stick ubuntu 11.04
[11:30] <angelete2> but i need to downgrade it
[11:41] <ikonia> angelete2: down grade what ?
[11:42] <angelete2> ubuntu server
[11:55] <philipballew> angelete2, try installing from a cd
[13:52] <zul> good morning
[14:57] <alex88> hi guys, i'm trying to use ovh failover ip, actually putting ip in browser i see the sites on the server, i need to route that ip to a vm, how can i do that?
[14:58] <alex88> should i add before an interface alias?
[15:23] <zul> hallyn: around?
[15:24] <hallyn> zul: yup
[15:24] <hallyn> (but not for long)
[15:24] <zul> hallyn: is it cool to use lxc-attach with libvirt if you want to attach a block device to a lxc container
[15:25] <hallyn> zul: I haven't looked at the blockdev support in libvirt-lxc at all
[15:25] <hallyn> zul: but i shoudl think so
[15:25] <zul> im thinking about getting euca-attach-volume to work
[15:25] <dkn> can i decrypt an lvm in a script? i want to put a drive in, have the UUID trigger a script that will load the vg, load the lvm, decrypt the lvm, mount, and start a program
[15:25] <zul> hallyn: the attach device stuff is non-existant in libvirt-lxc
[15:26] <hallyn> well you could always use qemu-nbd and copy the device nodes for it into the container
[15:27] <hallyn> (and add a cgroup whitelist entry)
[15:28] <zul> hallyn: ooh....thats a good idea
[15:28] <hallyn> for persistent libvirt vms that'd be harder, but for one-time euca-attach...
[15:31] <zul> hallyn: yeah
[15:31] <zul> thanks!
[15:32] <hallyn> np, cool, can't wait to see it now :)
[15:33] <SpamapS> dkn: you could probably do that with udev rules
[15:33] <dkn> ya?
[15:34] <hallyn> decrypt the lvm in what way?
[15:34] <hallyn> is it dmcrypted?
[15:37] <dkn> i don't recall the exact method, i actually cheat and use the GUI disk utility and just press "unlock volume" since it remembers the passphrase, then the device shows up in /dev/mapper/HERE
[15:41] <dkn> basically, right now i 1.vgimport -a 2.lvchange -a y /dev/mapper/HERE 3.unlock 4. mount /dev/mapper/udisks-luks-uuid-yada /mnt/HERE
[15:42] <dkn> once i'm done with the drive ~1hr i do the reverse to take it out and put in the next one, i'd just like to have some scripts to do it, idealy they'd run when i pop the drive in
[15:49] <hallyn> like SpamapS said, you can do that from a udev script.  Take a look under /lib/udev/rules.d and /etc/udev/rules.d for examples
[15:51] <dkn> :) thanks
[16:06] <PedroGomes> Hi, semi-noob here. I' seeing a lot info about Ubuntu thin clients booting trough PXE, but what I aiming for is to boot a Ubuntu server image from a remote pre configured image in a way similar to a preseed installation.
[16:07] <PedroGomes> any way to do this
[16:18] <TeTeT> PedroGomes: works via pxe as well, think help.ubuntu.com contains some pages on it
[16:20] <PedroGomes> TeTeT: can have, for example, a installed and configured image that as software X, Y and Z and you can boot it ate the same time on machine 1,2,3 and 4 ?
[16:20] <PedroGomes> *can I have
[16:24] <SpamapS> PedroGomes: there's a suite of tools in Ubuntu 11.04 and 11.10 called "Ubuntu Orchestra" that help setting up netboot automated installations
[16:25] <SpamapS> PedroGomes: It centers a lot around 'cobbler', which has power control and pxe/dhcp configuration built in.
[16:25] <PedroGomes> SpamapS: already have foreman doing that…
[16:26] <PedroGomes> SpamapS: looking for a direct network boot, not a installation
[16:31] <PedroGomes> btw, can someone find the link to download the tftp config files for Ubuntu, my google skills are not helping me....
[16:31] <Tribaal> Hi folks, I have a litle question regarding vmbuilder - is this the right place to ask?
[16:37] <SpamapS> PedroGomes: OH
[16:37] <SpamapS> PedroGomes: you may want to look at LTSP
[16:37] <SpamapS> PedroGomes: https://help.ubuntu.com/community/UbuntuLTSP
[16:42] <PedroGomes> SpamapS: mhh thanks, but isn't LTSP for thin clients only?, making every client depend on a single server. I'm looking for something where I can download the installed image from the server and boot it like it was a installed natively.
[16:44] <smoser> anyone want to do a quick merge proposal?
[16:44] <smoser> https://code.launchpad.net/~smoser/ubuntu/precise/rsyslog/lp905419/+merge/86429
[16:44] <PedroGomes> SpamapS: truth is that I feel like chasing a ghost, I remember seeing a similar systems years ago "Rembo", but the license fees…
[16:45] <SpamapS> PedroGomes: that sounds a lot like how cloud computing works
[16:46] <SpamapS> smoser: I'll take a look
[16:46] <PedroGomes> SpamapS: yep I have a OpenStack installation also, but I was looking for a bare metal solution
[16:51] <SpamapS> smoser: +1'd
[16:52] <Vagisil> anyone here ever built an SFTP server on 10.10?  I'm rather new to ubuntu server and need some documentation
[17:03] <SpamapS> PedroGomes: openstack is looking at integrating cobbler as a bare metal option
[17:03] <SpamapS> PedroGomes: though its more for things like ARM that have no good virtualization support
[17:04] <PedroGomes> SpamapS: guided install and puppet was enough for me, but people are pressing me to find a way to deploy installed images
[17:05] <PedroGomes> SpamapS: truth is, that systems existed, I just cant find something actual or open source
[17:06] <SpamapS> PedroGomes: whats so bad about sticking kvm between the metal and the installed image?
[17:08] <smoser> PedroGomes, sorry to jump in, but there is clonezilla and partition image that are (for lack of a better term) "ghost clones"
[17:08] <PedroGomes> SpamapS: some people want the system to deploy images where they can test Xen appliances and such
[17:09] <PedroGomes> SpamapS: its a cluster for distributed system experiments, some people want Vms other want bare metal….
[17:09] <smoser> there is nothing in cobbler that will do "p2p". those solutions may be a faster than cobbler preseed installs, but cobbler could do what you want.
[17:09] <smoser> ie, you could create preseed files for each of your "images", then when you install that fully automated preseed the end result is the same.
[17:12] <PedroGomes> smoser: I have that, not trough cobbler but foreman, but I have people that want more… thanks anyway
[17:13] <SpamapS> PedroGomes: so a pre-seeded install takes, what, 10 minutes at worst? I bet a pre-installed image laying down on disk will take 5.
[17:14] <SpamapS> PedroGomes: for test iteration, the openstack QA guys did something clever with LVM snapshots and kexec() that is pretty cool... you might want to talk to them.
[17:14] <jhobbs_> preinstalled image you can multicast serve though ;)
[17:15] <PedroGomes> SpamapS: the question is not time, its the personal configuration that you can achieve easily with personal images,
[17:15] <PedroGomes> SpamapS: ok I will ask there
[17:15] <PedroGomes> jhobbs: ah?
[17:18] <SpamapS> PedroGomes: um, you can get that "personal" configuration easily with an install too.
[17:19] <SpamapS> PedroGomes: you may not have noticed, but cloud-init works with local seed data now. :)
[17:19] <SpamapS> PedroGomes: or you're saying they want golden-image support.
[17:19] <SpamapS> PedroGomes: another option is system-imager/sisuite
[17:19] <SpamapS> PedroGomes: though I don't know how  well maintained that is.
[17:19] <PedroGomes> SpamapS: som	ething like that
[17:20] <PedroGomes> SpamapS: another thing to check then
[17:23] <Daviey> zul: thanks for driving the meeting, that was perfect.
[17:23] <zul> Daviey: no worries
[17:23] <SpamapS> PedroGomes: I've used sisuite in the past, and it was really quite good actually.
[17:23] <SpamapS> We had a meeting? cripes.
[17:24]  * SpamapS wonders if its worth requesting it be moved back 1 hour for DST :-P
[17:24] <Daviey> SpamapS: yeah, it's that weekly thing we do; whilst you slack off. :)
[17:24] <SpamapS> Daviey: I cherish every minute of slack off time you all provide me, thx. :)
[17:25] <Daviey> heh
[17:25] <Daviey> SpamapS: I wouldn't object to bumping it forward 1hr, during DST.
[17:25] <zul> that creates a conflict for me
[17:26] <Daviey> zul: conflict you say?  I think we need to turn the conflict into a death match with SpamapS.
[17:27] <zul> obviously i would win
[17:27] <Daviey> winner gets the time of their choice.
[17:27] <Daviey> loser gets to rest.
[17:28] <Daviey> adam_g: How are the charms looking for openstack?
[17:28] <SpamapS> I'm fine with it being at 0800 PDT .. I just never seem to be at my keyboard at that time, so I miss the pop-up reminder and then get distracted otherwise. :p
[17:29] <adam_g> Daviey: keystones working great, still cracking on horizon
[17:33] <mainerror> bug 893926
[17:33] <mainerror> Is here someone that can answer my question in the bug comment?
[17:34] <adam_g> Daviey: FYI bug #905286 is currently making things a bit awkward to get installed via orchestra without manually work
[17:37] <Daviey> mainerror: hey
[17:37] <Daviey> adam_g: Good to hear, have you dicussed the issue with the juju team?
[17:38] <Daviey> ah, it's a cobbler bug?
[17:38] <adam_g> Daviey: yes
[17:39] <mainerror> Hello Daviey.
[17:39] <SpamapS> mainerror: basically the packages are "branded" as "Ubuntu Enterprise Cloud" or "UEC" .. and they should just be called "Eucalyptus" now.
[17:39] <Daviey> mainerror: replied
[17:40] <mainerror> Awesome, thanks.
[17:40] <mainerror> That should be an easy fix.
[17:40] <Daviey> mainerror: Something you fancy driving?
[17:41] <koolhead17> hoi all
[17:41] <mainerror> Daviey: I'm sorry?
[17:42] <Daviey> mainerror: If it's something you want to work on.. There is a uec branding patch which can be dropped (should remove the css)... and there are other goodies in debian/* which can be dropped.  If you want any pointers, please feel free to ask!
[17:44] <mainerror> Well I have already fetched what is in the repository and greped for "UEC" and "Ubuntu Enterprise Cloud" so find out which files I should look at but if you have more accurate information for me it would be great. :)
[17:44] <Daviey> SpamapS: have you seen 905286?
[17:45] <Daviey> mainerror: Have you used quilt before?
[17:46] <Daviey> mainerror: If you have used quilt and bzr before, if you wanted to propose a branch with a first scratch - we can walk through what is left to go?
[17:47] <mainerror> I have used bzr before, although not to fix a bug- I have not heard of quilt yet.
[17:52] <Daviey> mainerror: Maybe this is of help, http://developer.ubuntu.com/packaging/html/patches-to-packages.html
[17:52] <Daviey> mainerror: quilt and bzr make for really messy changesets, but ho hum. :)
[17:52] <Daviey> mainerror: If you do, /something/ - we'll work through it to get it sorted :)
[17:54] <mainerror> Right. I'll read through that and start fixing the files up then I'll get back to you. :)
[17:55] <mainerror> Should I mark the bug as "In Progress" and assign it to me?
[17:58] <Daviey> mainerror: sounds great :)
[17:59] <Daviey> mainerror: in debian/* there are some files which refer to avahi, they can also go. :)
[18:14] <mainerror> Daviey: There are source files that contain "uec" in their name, like "uec_component_listener.c" for example. Do we want to change the file names too?
[18:34] <SpamapS> Daviey: yeah I thought fwereade_ was workign on it
[18:36] <fwereade_> SpamapS, Daviey: I've only had a chance to give it a short look I'm afraid, I've been trying to get the groundwork for the machine constraints feature down
[18:37] <SpamapS> I suspect a trivial workaround might be in order. :P
[18:37] <fwereade_> SpamapS, Daviey: and I don't really know anything yet: *something* in between CobblerClient and cobbler itself is doing something different with xmlrpc
[18:38] <fwereade_> SpamapS, I think it might be a little trickier... if the format we get nested dicts in has changed, it seems reasonable to suspect that the send format has changed too
[18:38] <fwereade_> SpamapS, which then means we need to be able to characterise the critical difference between environments it shows up in and ones it didn't
[18:39] <fwereade_> SpamapS, I can imagine a dirty workaround, but I'm not sure I could get one merged :/
[19:01] <elb0w> how do I update repos from shell?
[19:02] <elb0w> nvm apt-get update did it
[20:31] <mainerror> Daviey: There is quite a lot of avahi stuff going on in debian/*
[21:27] <mustafa> I am having a problem with a PHP project which connects to mysql database, the site gives me error that the database is down. While it worked flawlessly on windows machine running xamp. Any ideas?
[21:27] <mainerror> Is the database down?
[21:28] <mustafa> However normal PHP files, which  doesn't use mysql databases work fine.
[21:29] <mustafa> mysql-server is running. And I created the database through phpmyadmin. When I tried using mysql-admin -h host_ip I got an error that mysql couldn't read hostname.
[21:30] <EvilResistance> mustafa:  where is the mysql-server instance?  on a windows machine or a linux machine?
[21:30] <EvilResistance> ...
[21:30] <EvilResistance> i know your current issue
[21:31] <mustafa> Linux, Ubuntu.
 EvilResistance: No, it was already setup. I did change the bind-address to localhost. I'll check the skip-networking now.
[21:31] <EvilResistance> if its only binding to localhost it'll only accept connections from itself
[21:31] <mustafa> On the windows machine it was already setup. But I'm trying now to configure it on my Ubuntu machine.
[21:32] <EvilResistance> mustafa:  you need to make sure skip-networking is commented out or removed in the conf file
[21:32] <mainerror> Uh? Did I miss that line somehow?
[21:32] <EvilResistance> mainerror:  he's violating the guidelines...
[21:32] <EvilResistance> getting help in #Ubuntu and here
[21:32] <EvilResistance> i'm moving my support for him to here ;P
[21:32] <mainerror> Oh!
[21:33] <mustafa> EvilResistance: there is a comment "Instead of skip-networking the default is now to listen only on localhost"
[21:33] <EvilResistance> then tell it to not listen on localhost
[21:33] <EvilResistance> rather listen on your IP
[21:34] <EvilResistance> whatever your system's IP might be
[21:34] <mustafa> EvilResistance: no uncommented #skip-networking
[21:34] <EvilResistance> mustafa:  read my last 3 messages
[21:34] <mustafa> EvilResistance: which is 127.0.0.1 right?
[21:34]  * EvilResistance facedesks
[21:34] <EvilResistance> mustafa:  no
[21:34] <EvilResistance> mustafa:  127.0.0.1 is the *localhost*
[21:34] <EvilResistance> if you're on a router, it'd be something like 192.168.1.1 or something
[21:35] <EvilResistance> or if its directly internet facing, the public IP (which you should know if its internet facing)
[21:35] <mustafa> EvilResistance: Ah 192.168.1.20
[21:35] <EvilResistance> use that for now then
[21:35] <EvilResistance> note that you might run into some occasional breakage if you eventually want this to be useable on the internet
[21:36] <mustafa> EvilResistance: OK, I have changed the bind-address. Then restarted mysql and apache and still the error is there.
[21:38] <mustafa> I installed the apache2, php5, mysql-cleint then mysql-server and finally the phpmyadmin. All using apt-get. I'll really appreciate your help, I have a discussion tomorrow at college on this project using my laptop.
[21:43] <mustafa> EvilResistance: Are you still there?
[21:44] <EvilResistance> nope, kinda busy atm
[21:44] <EvilResistance> dealing with some abuse@ emails for my group
[21:44] <mustafa> Take your time, I'll be waitting :)
[21:50] <drt24> mustafa: so if you try to access mysql from the command line on the box which php is running on, can you?
[21:56] <mustafa> drt24: How can I know?
[21:58] <drt24> run the "mysql" command with the relevant options and see if it works, if not change things until it does, then the configuration specified by the opitions to mysql should also work from php using the relevant php function
[22:01] <mustafa> drt24: I am little bit lost. The server is running, but when I use mysql-admin -h host_ip I get that error "Could not connect to host '192.168.1.20'.
[22:01] <mustafa> MySQL Error Nr. 1130
[22:01] <mustafa> And that the host isn't allowed to connect to mysql-server
[22:02] <drt24> so firewalls or similar?
[22:02] <mustafa> Not that I know of, I'm running Ubuntu 11.10 Desktop edition.
[22:02] <drt24> or the mysql-server is not listening correctly?
[22:03] <drt24> sorry, going to sleep now.
[22:04] <mustafa> OK, if you could wait little more 5 min. I'll appreciate it I a project discussion tomorrow at college and I have been searching and asking for 6 hours now with no luck.
[22:04] <mustafa> If not I'll understand..
[22:07] <alex_joni> mustafa: so you have 2 pc's?
[22:08] <alex_joni> or is everything on one pc?
[22:12] <mustafa> alex_joni: One PC. I tried it earlier today on a friends PC. Just moved the site files to the apropriate folder and imported the database from phpmyadmin
[22:14] <mustafa> alex_joni: I am using a custom path for enabled sites if that helps.
[22:52] <koolhead17> in /etc/mysqlmy.cnf  bind-address            = 0.0.0.0 would have solved it
[22:52] <koolhead17>  
[22:53] <TheEvilPhoenix> true, but that would have bound it to * basically, no?
[22:56] <koolhead17> well as far as i understand this enables the server accept connection from any external host
[23:48] <wmp> hello
[23:48] <wmp> i use ubuntu server 10.04 and i have route configured on ip command, how to save this and restore on boot?
[23:49] <wmp> i havent in 10.04 ip route save/restore