[00:18] <pmatulis> get a big one?
[03:30] <Oplex> yo, anyone here familiar with moving a website from an apache hostgator to digitalocean running nginx, site is a wordpress site..
[03:34] <DeltaHeavy> Oplex: Why not just use Apache on the DO server?
[05:04] <abhie2e> if i have two vps, running a webserver serving same website, how can i redirect users visiting www.mysite.com to nearest vps to user ? is this possible via apache geoip? or i need bind geoip?
[05:06] <sarnold> abhie2e: the easiest way to make that happen is to run a geodns service and decide which countries get directed to which server
[05:06] <abhie2e> :-o
[05:06] <abhie2e> ammm????
[05:07] <abhie2e> sarnold, i already have two vps, both on different cities. i want to redirect user to his nearest vps depending upon his location.
[05:09] <sarnold> abhie2e: this README is now a bit old, but it should describe roughly what you're trying to accomplish: https://github.com/PowerDNS/pdns/tree/master/modules/geobackend
[05:10] <sarnold> abhie2e: your DNS servers will give different answers to clients based on the IP address they are using
[05:10] <abhie2e> sarnold, so this dns server need be installed on both of those vps? or only any one of vps?
[05:11] <sarnold> abhie2e: it should probably be hosted on both VPS systems -- you need two DNS servers in glue for your domains anyway and if one VPS goes down you'd like the other to be able to continue functioning, right?
[05:11] <abhie2e> yes.
[05:12] <abhie2e> sarnold, i will read that now. thanks.
[05:12] <sarnold> abhie2e: have fun! :)
[05:12] <abhie2e> :-)
[05:35] <e^0> which is the best way to update ubuntu-server ?
[05:35] <e^0> i did apt-get update and then apt-get upgrade
[05:35] <e^0> it is 14.04
[05:40] <jak2000> is possible know where a domain was registered? unifrut.com.mx (nic mexico or where?)  thanks
[07:19] <bluefrog> whois
[07:20] <bluefrog> Registrar:         Terra Networks Mexico
[09:47] <abhie2e> hi
[09:47] <abhie2e> i setting up bind dns servers but my domain name do not resolve to my website?
[09:48] <abhie2e> help
[10:33] <jost> Hi! I've got an infected server, 12.04.4 LTS. An unprivileged account has been broken into, the attacker has gained SSH access and started about 50 processes. How do I properly lock the account and kill those processes? For now, of course.
[10:35] <histo> jost: unprivileged how?
[10:36] <jost> histo: its a normal user account, no admin rights
[10:36] <jost> no system account
[10:36] <histo> jost: well you can just kill the pids of the processes
[10:36] <jost> histo: an just lock the account using `usermod`?
[10:38] <ogra_> jost, if you use password authentication: passwd -l $username
[10:38] <ogra_> if oyu use key auth ... just move the key out of the users ~/.ssh/
[10:39] <histo> jost: what kernel is this box running?
[10:39]  * ogra_ would take the box physically off the network though ... and inspect it offline
[10:39] <jost> 3.10.13-x86_64-jb1
[10:40] <ogra_> jb1 ?
[10:40] <jost> its a cloud server, the jb1 is from the provider
[10:59] <somedude123> hi, can somebody help me with my NFS server config ? I have  problems with uid/gid squashing and reassigning them with anonuid/anonguid
[11:01] <jost> One of the running processes has this as command: "sshd: username [priv]", and runs as user root. Does that mean the attacker has gained root access?
[11:04] <gotcha> hey guys, when installing ubuntu server using LVM, does it make a difference in term of usuage?
[11:05] <xnox> gotcha: yes, you get lvm features at the expense of performance penalty. nothing comes for free.
[11:05] <xnox> gotcha: but it's mostly transparent.
[11:05] <xnox> gotcha: lvm installation is the default on ubuntu server.
[11:08] <gotcha> xnox, so besides little perforamce penalty, everything else works just like any normal ubuntu server install?
[11:09] <xnox> gotcha: well, lvm based one is the normal one =) what abnormal things are you expecting?
[11:09] <xnox> =)
[11:12] <gotcha> xnox, haha.. i mean, i always install ubuntu server withoug using LVM, its the first time i install it using LVM
[11:12] <gotcha> so was just wondering if there is anything i should take care of thats all
[11:13] <xnox> gotcha: if you choose to repartition, you should be aware of the layer in between your hard-drive and ext4 filesystem - the LVM. that's about it.
[11:14] <gotcha> sounds great
[11:14] <gotcha> thanks for the info dude
[12:20] <hxm> someone know how to copy form vim to the systems clipboard?
[12:41] <ujjain> MAAS - Metal as a Service supports migration/live migration?
[13:00] <jpds> ujjain: That's nothing to do with MAAS.
[13:00] <jpds> ujjain: You can deploy a server with MAAS, deploy nova-compute to the nodes in MAAS with Juju, and nova-compute does (live-)migration.
[13:19] <rtg> jamespage, zul; y'all ought to have a look at build problems with your favorite DKMS packages against 3.16. openafs, openswan, and openvswitch are failing to build. See https://jenkins.qa.ubuntu.com/view/DKMS/view/U%20KT-PPA%20-generic/. The 3.16 kernel can be found in https://launchpad.net/~canonical-kernel-team/+archive/ppa
[13:20] <zul> rtg:  arrgh...but i dont have a favorite dkms packages
[13:21] <rtg> perhaps 'favorite' was an over statement
[13:21] <rtg> I'd like to promote 3.16 into the archive early next week.
[13:22] <zul> rtg: sl-modem seriously? :)
[13:56] <bigbrovar> Hi guys.. I have been trying to get our server (ubuntu 14.04 & 12.04 servers)  to get its hostnames from dhcpserver .. by putting this script http://paste.ubuntu.com/7700556/ in /etc/dhcp/dhclient-exit-hook.d/  however when I run a dhclient the hostname returned is "no" which is not the hostname set for this machine on the dhcp-server
[13:57] <ujjain> jpds, MAAS is like dedicated-server on-demand, rather than virtualization, right?
[13:57] <jpds> ujjain: It's a provisioning service, yes.
[13:57] <bigbrovar> interestingly running the same script on an ubuntu machine with network manager does return the right hostname to the client.. this left me confused
[13:58] <ujjain> so that makes me wonder if you can still do live-migrations/migrations, I'd assume not
[13:58] <bigbrovar> what is the supported way to get systems to request their hostnames from dhcp
[14:11] <bigbrovar> anyway figured out the issue.
[14:22] <ddsss> so if I write an upstart script - I only have to copy it into /etc/init.d - right? no need to link it to /etc/rc.d dirs?
[14:33] <ddsss> is update-rc.d still necessary with upstart  scripts?
[14:35] <hxm> is possible to make a ptr request?
[14:35] <hxm> or that is only based in a database records
[15:27] <zoraj> hi
[15:27] <zoraj> I've just add some privilege on mysql and the mysqld failed to restart :(
[15:28] <zoraj> how can I rollback all privileges ?
[15:28] <zoraj> I'm using ubuntu 14.04
[15:28] <zoraj> ubuntu server*
[16:07] <hxm> is vim compiled with external clipboard by default?
[16:07] <jellf> hi all
[16:14] <bluefrog> anyone running fail2ban on 14.04?
[16:33] <DeltaHeavy> bluefrog: Yup
[16:37] <bluefrog> and i guess it's running fine for u. do you have IPv6 AND IPv4?
[16:40] <bluefrog> sr DeltaHeavy forgot to mention your name. Do you have both v4 and v6 enabled?
[16:41] <DeltaHeavy> I'm just using IPv4 right now
[16:55] <bluefrog> thx. my problems may be coming from that in the f irst place (only IPv6)
[17:49] <machstem> Hey all.  Just installed 14.04 and I am setting up avahi to do some mDNS to allow Bonjour traffic between VLANs at work.  I setup 4 interfaces (eth0, eth1, eth2, eth3) and each has a static assignment set in /etc/network/interfaces including gateway and DNS info.  At first when I boot the system, I can ping 1 of the 4 IPs and eventually not even the server can ping out.  What is the best method to
[17:49] <machstem> have this sort of scenario setup?
[18:08] <nosleep77> hi everyone. I am looking at creating custom images of ubuntu to install via pxe.I was googling and found PXEInstallServer. Is this the best way to go with a kickstart answer file ?
[18:11] <sarnold> machstem: that's surprising. I'd expect that setup to Just Work.
[18:11] <sarnold> machstem: do you see anything strange in dmesg? or the system logs?
[18:12] <patdk-wk> I think he means he wants install over pxe, but with a selection of different preseeds
[18:12] <patdk-wk> I know when I do install over pxe, I just run it just like it was an iso
[18:14] <nosleep77> patdk-wk: that's right. so is that the best way to go about it?
[18:14] <patdk-wk> best way?
[18:14] <nosleep77> patdk-wk: i know there's cobbler as well but its more of a redhat thing
[18:14] <patdk-wk> heh?
[18:16] <sarnold> nosleep77: you might want to check out maas and preseed files: http://maas.ubuntu.com/docs1.5/configure.html#altering-the-preseed-file
[18:17] <sarnold> nosleep77: or look into using cloud-init with maas and avoid the preseed stuff: https://maas.ubuntu.com/docs/troubleshooting.html
[18:18] <nosleep77> sarnold: thanks i dont know much about MAAS. I'll check it out
[18:19] <nosleep77> sarnold: the one I was looking at before was this article: https://help.ubuntu.com/community/PXEInstallServer
[18:20] <sarnold> nosleep77: I've done something very similar to that before but didn't bother doing any kickstart kinds of things.
[18:32] <MACscr> ok, so im running 12.04 as my host and using LXC for my guests and some are 12.04 and some were updated to 13.10 (i havent used them in months). Unfortunately it appears the 13.10 ones wont boot and i dont seem to have any useful debug info to go on besides this http://pastie.org/pastes/9323694/text?key=i0cym4wzhu1oi8eswbhvga. Any suggestions?
[18:34] <nosleep77> sarnold: so the maas with preseed is what you used?
[18:36] <sarnold> nosleep77: I've used maas with no changes at all, and I've used plain pxebooting without a pressed ;) hehe
[19:42] <toyotapie> Is there a script that I can run that will tell me if the network config in /etc/network/interfaces is different from reality?
[21:09] <kaje> Can someone please help me with my apt-get problem? /boot ran out of space and screwed up a kernel update. Here's a pastebin: http://pastebin.ca/2815661
[21:24] <kaje> nevermind. I simply did an apt-get remove linux-server and then reinstalled it and everything is fixed.
[22:20] <bluefrog> 'lo any1 gandi vps ubuntu 14.04 (gandi image) by  chance?
[22:21] <bekks> Whats gandi?
[22:21] <bluefrog> server provider
[22:22] <bekks> And whats your actual question? :)
[22:22] <bluefrog> trying to find find someone running the same instance as me. their ubuntu image is driving me crazy
[22:22] <bekks> Why does it drive you crazy?
[22:23] <bluefrog> basic stuff not installed
[22:23] <bluefrog> such as netbase and so on
[22:23] <bluefrog> meaning no /etc/services
[22:23] <bekks> Never heard of "netbase".
[22:24] <bekks> And why do you need a /etc/services, actually?
[22:24] <bluefrog> nmd
[22:24] <bluefrog> nevermind
[22:25] <bluefrog> could do me a favor bekks and  hit my server at least twice, pls?  ssh test@2001:4b98:dc0:51:216:3eff:fee0:de5d
[22:25] <bekks> Why?
[22:25] <bluefrog> trying to have fail2ban to work
[22:26] <bekks> I'd need IPv6 to do so, which I dont have (and dont want until now) :)
[22:27] <bluefrog> ok ok
[22:31] <sarnold> heh, crazy, netbase at this point really just supplies /etc/{protocols,services,rpc,network/}
[22:31] <sarnold> and /etc/network/ may be an oversight? :)
[22:32] <bekks> TIL :)