[03:02] <ruben23> hi guys anyone cna help how to add additonal ssh-keys on an existing ubuntu server -i have na existing one and its pretty working ok..
[04:42] <ruben23> hi guys when i ssh-keygen -t rsa on  my ubuntu server it generates my public key and copy this to my authorized_keys but how do i ssh putty on the server after..?
[05:04] <electricfred_> Newbie with a prob.  Installing ubuntu server 12.4 onto ausu eeebox 1030 (reused machine) installs, but does not seem to boot  screen goes off, no keyboard or power switch function.  ISO created using ubuntu startup creator.  Anyone have suggestions?
[05:16] <electricfred_> seems a common problem on forums, but no one seems to have a solution.
[08:58] <lordievader> Good morning.
[09:45] <Alina-malina> any tools to identify browsers of clients for ubuntu?
[09:58] <lordievader> Alina-malina: Doesn't Apache already note that?
[09:59] <Alina-malina> it mess the user_agent
[09:59] <Alina-malina> and cant determine
[10:00] <Alina-malina> i need something like fingerprints or something like that
[10:00] <lordievader> Alina-malina: That is what the browser itself sends out...
[10:00] <Alina-malina> yes, well i thought maybe some additonal things that can inject into browser
[10:00] <Alina-malina> anyways
[10:00] <Alina-malina> thanks for help
[11:21] <Arkns> hi to everyone. I have a acer one with ubuntu server, no gui/desktop just terminal/console. does anyone knows something like teamviewer to share terminal? This computer is behind NAT so I cannot use a ssh.
[12:15] <xperia> hi all. small question how can i increase the memory allocation for iptables ? at the moment i am getting this error message whenever i try to add a iptables rule to a specific chain => iptables: Memory allocation problem
[12:46] <lnxmen> hello
[12:47] <lnxmen> What I need to set up in domain to configure mail server on CDN? CDN has a different IP than productive server.
[12:48] <adsc> xperia: do you have a multi-cpu system?
[12:49] <adsc> xperia: because afaik iptables makes a copy of the ruleset for each cpu, so it's possible you simply run out of system memory whith really large rulesets on a multicpu machine
[12:50] <xperia> adsc: yes i have a quad core cpu. the people at netfilter said i should switch to a 64 Bit Kernel because => "i.e. 1GB limit for kernel memory. moreover, iptables uses vmalloc area which is limited to 128mbyte on 32bit kernel"
[12:52] <xperia> i ahve also hughe problems with setting up ipset. it looks like ipset is not availble anymore or does not work with ubuntu. at least i am not able to rebuild it anymore on ubuntu.
[12:54] <adsc> xperia: and you can't switch to a 64bit kernel?
[12:56] <xperia> adsc: well this will need a total revision of the server as everything need to be switched to 64 Bit i think or i am wrong ? if it is only the kernel it would be easy. guess need a full new install of a new server.
[12:56] <adsc> yeah, it would be best if you could do a new install
[12:58] <xperia> adsc: more new additional work ohhhhh ! thank you lot for your replys and answers.  appreciate it.
[13:18] <coreycb> jamespage, glance systemd updates - https://code.launchpad.net/~corey.bryant/glance/systemd
[14:16] <jamespage> coreycb, no templating?
[14:17] <coreycb> jamespage, I just went with what Debian had
[14:17] <coreycb> jamespage, I can take a stab at templates if you prefer
[14:17] <jamespage> coreycb, +1
[14:17] <jamespage> it should be a rename of the files and stripping out most of the content
[14:18] <coreycb> jamespage, ok I'll work up some templates
[14:20] <Stuxnet> Hi all. Quick question. I know this isn't a security channel but in the context of SSH'ing to a headless server with PuTTY, is there a way to revoke a private/public key pair generated in puttygen (I don't see the option) or is shredding the private and public key files sufficient?
[14:20] <Stuxnet> (Redoing keys due to accidentally not saving the passphrase)
[14:25] <maswan> Stuxnet: it is sufficient to destroy the copies of the private key
[14:25] <lordievader> Stuxnet: Remove it from the authorized keys file?
[14:25] <maswan> Stuxnet: you might want to take it out from authorized_keys, that's roughly equivalent to revoking it
[14:25] <maswan> (if you remember all of them)
[14:28] <Stuxnet> Okay, I did that first. I'm just going to shred the key file that was saved from puttygen. Thanks guys!
[14:54] <bananapie> is there a parameter for the dhclient command that allows me to get an IP but ignore all other options OR simply display the IP received by dhclient but not actually set it?
[15:02] <rbasak> bananapie: you might be able to replace dhclient-script with -sf with a trivial wrapper that just prints arguments and environment. I'm not sure if that'll work but hopefully that's a start if you can't find anything else.
[15:11] <jamespage> coreycb, hmm horizon - do you have a kilo-1 mp for that?
[15:13] <coreycb> jamespage, I didn't create an mp yet but I can.  It's waiting on python-pint getting to main.
[15:13] <jamespage> coreycb, create it now - I'll review and upload
[15:13] <jamespage> it can sit in the queue and then as soon as the MIR lands, it goes in
[15:13] <coreycb> jamespage, https://code.launchpad.net/~corey.bryant/horizon/2015.1-b1/+merge/246314
[15:39] <hxm> hello, i keep getting errors like this datatec named[495]: error (unexpected RCODE REFUSED) resolving 'datatec.es/A/IN': 213.251.188.153#53
[15:40] <hxm> i was looking in named.conf.* but i dont see anything
[15:48] <jamespage> coreycb, I can see the pint dependency
[15:49] <coreycb> jamespage, can't see it?
[15:49] <jamespage> coreycb, in the upstream requirements files?
[15:50] <jamespage> coreycb, oh wait I'm being dumb
[15:51] <coreycb> jamespage, ok
[16:25] <jamespage> coreycb, horizon uploaded
[16:25] <jamespage> coreycb, it will build just fine and pull in a runtime dep on pint
[16:26] <coreycb> jamespage, great, thanks
[16:26] <jamespage> coreycb, I rebased the download juju env file patch as well
[16:26] <jamespage> fairly trivial
[16:28] <coreycb> jamespage, thanks, I must have missed that it was disabled
[16:28] <jamespage> coreycb, np
[16:45] <jamespage> smb, talking of kernel problems, we seem to be seeing issues with partition table freshness on vivid
[16:45] <jamespage> our ceph and swift testing scrubs existing partitions and reformats but we are seeing: http://paste.ubuntu.com/9731880/
[16:46] <jamespage> 100% of the time
[16:46] <jamespage> raising a bug now
[16:46] <smb> jamespage, I was about to ask about lp bugs :)
[16:46] <smb> jamespage, Also that is with 3.16 or 3.18 already
[16:46] <jamespage> smb, we only switched on vivid testing today as kilo-1 is nearly done
[16:46] <jamespage> 3.18 I think
[16:46] <jamespage> just re-deploying to make sure
[16:47] <smb> could be if you set up recently
[16:47] <coreycb> jamespage, glance updated - jamespage, https://code.launchpad.net/~corey.bryant/glance/systemd/+merge/246227
[16:48] <smb> jamespage, the kernel team ppa has also 3.19 for early testing. If that is of help
[16:54] <jamespage> smb, 1410363
[16:54] <jamespage> bug 1410363
[16:54] <jamespage> rather
[16:54] <smb> jamespage, oh and btw... was there not a similar thing at some point err last year...
[16:55] <jamespage> smb, apparently so - beisner remembers
[16:56] <smb> Hmmm something with umount removing the mount but not releasing the partition...
[16:56] <jamespage> coreycb, uploaded - thanks!
[16:56] <smb> which went away at some point...
[17:06] <nico___> good day all, been googling for an answer wihtout luck, hoping to find some knowledgable assistance on an issue I'm having with my local repository
[17:07] <nico___> looking for a way to include the packages in a PPA in my local repo.  We use our local repo to host custom versions of packages, for example to have the most up to date zsh available on our servers
[17:07] <nico___> I'd like to include the packages in a PPA, as opposed to building the packages on my repo.
[17:08] <nico___> specifically, I want to get the latest build of duplicity on a 12.04 server from my local repo.
[17:08] <nico___> I can build a duplicty package and make it avialable in my repo, but I'd like to be able to just use packages in the official PPA without having to build the package myself and include it in my repo
[17:10] <nico___> reason being that I don't wan't to add a PPA to all my servers.  We manage our boxes via chef, so I COULD add the PPA and ensure that the latest duplicty is installed, but that seems havy handed when I've already got a repo on my lan specifically to avoid that kind of PPA proliferation
[17:19] <apw> jamespage, that error "2015-01-13 16:50:09 INFO mon-relation-changed mkfs.xfs: cannot open /dev/vdb1: Device or resource busy" doesn't that imply the partition is open excl already ?  which would also block the reread ioctl?
[17:19] <jamespage> apw, the block device gets unmounted, re-paritioned, re-formatted and then re-mounted
[17:19] <jamespage> it's failing on the re-formatting bit
[17:19] <jamespage> so its likely the unmount was foo-bar I guess
[17:20] <apw> jamespage, yes, it is failing in a way that implies it is not unmounted
[17:20] <apw> so the first things to do is to check that the umount is working
[17:21] <apw> jamespage, as saking to change partition sizes which are in use will fail, with that reboot required thing, and the subsequent format fails too
[17:21] <apw> jamespage, and the error handling is non-existant for it to get that far one presumes
[17:22] <jamespage> apw, the block device does not appear in 'mount' output or the content of /proc/mounts
[17:23] <apw> could udev be playing with it perhaps
[17:24] <apw> jamespage, does lsof say anything at that point, also if you do the proceedure by hand, does it work
[17:24] <apw> as you are mounting it with a vfat or something in it, unmounting, changing the partition tables, (and by here it has gone wrong)
[17:24] <smb> jamespage, I cannot remember the bug number but a state of where umount would seem to work btu not release the partition... thats was what I remember from last time
[17:24] <jamespage> apw, smb: http://paste.ubuntu.com/9732538/
[17:25] <jamespage> that feels familiar
[17:25] <jamespage> apw, ext4
[17:25] <jamespage> then switching to xfs
[17:25] <jamespage> also mbr->gpt
[17:25] <smb> though I think oh right the jbd process was involved there
[17:26] <jamespage> smb, I seem to remember this from before
[17:26] <apw> jamespage, ok so that implies that the journaling block device is holding on to it?
[17:26] <jamespage> apw: probably
[17:27] <nico___> found a work around, though I'm still interested in my original question re: mirroring packages from a PPA in my personal apt repo
[17:27] <smb> apw, Yeah that was the weird state I remember.
[17:27] <apw> jamespage, so, is it possible to perform these steps on an instance by hand
[17:27] <apw> to see what happens?
[17:27] <smb> apw, Which IIRC I could not reproduce locally
[17:31] <jamespage> apw, so if I just unmount /mnt (where cloud-init put it) I see the vdb parition in lsof
[17:31] <jamespage> apw, for reference its not partitioned - just /dev/vdb
[17:32] <apw> jamespage, are you mounting it r/o or r/w ?
[17:33] <jamespage> e/w
[17:33] <jamespage> r/w
[17:34] <jamespage> smb, apw: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1371526
[17:34] <apw> jamespage, might be interesting to try mounting it r/o, to see how that fares
[17:35] <smb> jamespage, Oh right that was the bug
[17:35] <jamespage> yeah
[17:36] <jamespage> apw, if I unmount it and then remount it ro, it fails
[17:36] <jamespage> rw is OK
[17:36] <apw> fails how ?
[17:38] <smb> apw, could be trying a second jbd which cannot get exclusive lock
[17:38] <apw> jamespage, this partition is being mkfs'd "outside" the instance i assume, what version is that space running
[17:38] <jamespage> apw, trusty
[17:39] <smb> apw, I wonder whether this might be a race as in when cloud-init does the mount relative to startup...
[17:42] <apw> jamespage, where can i find the code which prepares this disk outside
[17:42] <apw> jamespage, or ... can we get a dd of the partition without mounting it
[17:43] <smb> apw, I would propose I try to try to repro tomorrow with a cloud-image and data on ext4
[17:43] <apw> smb, sounds reasonable
[17:43] <apw> smb, i would think just preparing the fs outside, and then trying to mount it in the instance, bear in mind the instance boot has done a resize too
[17:43] <smb> apw, http://cloud-images.ubuntu.com/
[17:44] <apw> just done a resize on vda
[17:46] <smb> apw, Yeah, I think you can dd the cloud-image on any bigger vda and it resizes itself on first boot
[17:47] <smb> apw, Oh and cloud-localeds might be the tool for the data
[17:47] <smb> apw, Just from my memory that was restricted to isofs
[17:48] <apw> smb, yeah we need to know exactly how that things is made, as i suspect it is relevant, note in jamespage's original bug a second vdc disk was not affected when mounted and unmounted from inside, so there likely is a correlation to the outside creation
[17:49] <smb> apw, Either outside creation or when all that stuff is done relative to the boot sequence
[17:49] <jamespage> apw, smb: https://github.com/openstack/nova/blob/master/nova/utils.py#L794
[18:20] <lnxmen> hello
[18:20] <lnxmen> I installed ispconfig
[18:20] <lnxmen> And I tried to configure mail server
[18:20] <lnxmen> I clicked somewhere in ispconfig panel
[18:20] <lnxmen> and whole site is broken
[18:20] <lnxmen> server even shows php code.... wtf
[18:21] <lnxmen> There is no helpful information in log.
[19:25] <superboot> Hi all. What is the current kernel for Ubuntu serve 14.04 (fully updated install)?
[19:25] <lordievader> !info linux-image-generic trusty
[19:26] <lordievader> superboot: ^
[19:28] <superboot> lordievader: Thanks a lot. :)
[19:34] <collizion> I feel like I'm out of date. Is update-rc.d still the way to handle service automatic start/stop?
[20:02] <fandi> hi all
[20:02] <fandi> i install apache2 and php5
[20:04] <fandi> the problem if script cannot parse by php, the webserver will reply respond 500 ?
[20:04] <fandi> thanks
[20:07] <lordievader> fandi: Yes, if php crashes Apache will most likely report a  500 error.
[20:09] <fandi> lordievader: ok .. how to make error not 500 :)
[20:10] <fandi> lordievader: because i only change simple script and all vhost and all my cluster server respond 500 :)
[20:10] <fandi> also my varnish :)
[20:11] <lordievader> fandi: Write non crashing code?
[20:12] <fandi> lordievader: ok .. :)
[20:12] <fandi> lordievader: do you familliar with varnish :)
[20:12] <fandi> lordievader: how to increase hit rate on varnish ?
[20:12] <lordievader> No, I don't know varnish.
[20:13] <fandi> lordievader: ok thanks
[21:13] <Guest1_> I want to compile a library and an app that uses it and have few questions relating to that. How do I update? Do I just compile the new version normally and everything is replaced and leaves no unneeded trash? Also if there're any possible problems when compiling one part (library) and installing other things from repos?
[22:52] <Aison> after installation of ubuntu server, I end up in initramfs console
[22:52] <Aison> during installation, the drive was sdb1
[22:52] <Aison> now it is sda1
[22:52] <Aison> can I change that somehow in initramfs console
[22:52] <Aison> cat /proc/cmdline shows the wrong command line