/srv/irclogs.ubuntu.com/2014/06/25/#ubuntu-server.txt

=== veebull is now known as veebull_away
pmatulisget a big one?00:18
=== markthomas is now known as markthomas_away
=== markthomas_away is now known as markthomas
=== markthomas is now known as markthomas_away
=== TDog_ is now known as TDog
Oplexyo, anyone here familiar with moving a website from an apache hostgator to digitalocean running nginx, site is a wordpress site..03:30
DeltaHeavyOplex: Why not just use Apache on the DO server?03:34
abhie2eif 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:04
sarnoldabhie2e: the easiest way to make that happen is to run a geodns service and decide which countries get directed to which server05:06
abhie2e:-o05:06
abhie2eammm????05:06
abhie2esarnold, i already have two vps, both on different cities. i want to redirect user to his nearest vps depending upon his location.05:07
sarnoldabhie2e: 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/geobackend05:09
sarnoldabhie2e: your DNS servers will give different answers to clients based on the IP address they are using05:10
abhie2esarnold, so this dns server need be installed on both of those vps? or only any one of vps?05:10
sarnoldabhie2e: 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
abhie2eyes.05:11
abhie2esarnold, i will read that now. thanks.05:12
sarnoldabhie2e: have fun! :)05:12
abhie2e:-)05:12
e^0which is the best way to update ubuntu-server ?05:35
e^0i did apt-get update and then apt-get upgrade05:35
e^0it is 14.0405:35
jak2000is possible know where a domain was registered? unifrut.com.mx (nic mexico or where?)  thanks05:40
=== kickinz1|away is now known as kickinz1
bluefrogwhois07:19
bluefrogRegistrar:         Terra Networks Mexico07:20
=== veebull is now known as veebull_away
abhie2ehi09:47
abhie2ei setting up bind dns servers but my domain name do not resolve to my website?09:47
abhie2ehelp09:48
jostHi! 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:33
histojost: unprivileged how?10:35
josthisto: its a normal user account, no admin rights10:36
jostno system account10:36
histojost: well you can just kill the pids of the processes10:36
josthisto: an just lock the account using `usermod`?10:36
ogra_jost, if you use password authentication: passwd -l $username10:38
ogra_if oyu use key auth ... just move the key out of the users ~/.ssh/10:38
histojost: what kernel is this box running?10:39
* ogra_ would take the box physically off the network though ... and inspect it offline10:39
jost3.10.13-x86_64-jb110:39
ogra_jb1 ?10:40
jostits a cloud server, the jb1 is from the provider10:40
somedude123hi, can somebody help me with my NFS server config ? I have  problems with uid/gid squashing and reassigning them with anonuid/anonguid10:59
jostOne 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:01
gotchahey guys, when installing ubuntu server using LVM, does it make a difference in term of usuage?11:04
xnoxgotcha: yes, you get lvm features at the expense of performance penalty. nothing comes for free.11:05
xnoxgotcha: but it's mostly transparent.11:05
xnoxgotcha: lvm installation is the default on ubuntu server.11:05
gotchaxnox, so besides little perforamce penalty, everything else works just like any normal ubuntu server install?11:08
xnoxgotcha: well, lvm based one is the normal one =) what abnormal things are you expecting?11:09
xnox=)11:09
gotchaxnox, haha.. i mean, i always install ubuntu server withoug using LVM, its the first time i install it using LVM11:12
gotchaso was just wondering if there is anything i should take care of thats all11:12
xnoxgotcha: 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:13
gotchasounds great11:14
gotchathanks for the info dude11:14
hxmsomeone know how to copy form vim to the systems clipboard?12:20
ujjainMAAS - Metal as a Service supports migration/live migration?12:41
jpdsujjain: That's nothing to do with MAAS.13:00
jpdsujjain: You can deploy a server with MAAS, deploy nova-compute to the nodes in MAAS with Juju, and nova-compute does (live-)migration.13:00
=== alexisb_bbl is now known as alexisb
=== Lcawte|Away is now known as Lcawte
rtgjamespage, 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/ppa13:19
zulrtg:  arrgh...but i dont have a favorite dkms packages13:20
rtgperhaps 'favorite' was an over statement13:21
rtgI'd like to promote 3.16 into the archive early next week.13:21
zulrtg: sl-modem seriously? :)13:22
bigbrovarHi 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-server13:56
ujjainjpds, MAAS is like dedicated-server on-demand, rather than virtualization, right?13:57
jpdsujjain: It's a provisioning service, yes.13:57
bigbrovarinterestingly running the same script on an ubuntu machine with network manager does return the right hostname to the client.. this left me confused13:57
ujjainso that makes me wonder if you can still do live-migrations/migrations, I'd assume not13:58
bigbrovarwhat is the supported way to get systems to request their hostnames from dhcp13:58
bigbrovaranyway figured out the issue.14:11
ddsssso 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:22
=== deegee__ is now known as drussell
ddsssis update-rc.d still necessary with upstart  scripts?14:33
hxmis possible to make a ptr request?14:35
hxmor that is only based in a database records14:35
zorajhi15:27
zorajI've just add some privilege on mysql and the mysqld failed to restart :(15:27
zorajhow can I rollback all privileges ?15:28
zorajI'm using ubuntu 14.0415:28
zorajubuntu server*15:28
=== markthomas_away is now known as markthomas
hxmis vim compiled with external clipboard by default?16:07
jellfhi all16:07
bluefroganyone running fail2ban on 14.04?16:14
DeltaHeavybluefrog: Yup16:33
bluefrogand i guess it's running fine for u. do you have IPv6 AND IPv4?16:37
bluefrogsr DeltaHeavy forgot to mention your name. Do you have both v4 and v6 enabled?16:40
DeltaHeavyI'm just using IPv4 right now16:41
bluefrogthx. my problems may be coming from that in the f irst place (only IPv6)16:55
=== Guest84501 is now known as esde
machstemHey 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 to17:49
machstemhave this sort of scenario setup?17:49
nosleep77hi 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:08
sarnoldmachstem: that's surprising. I'd expect that setup to Just Work.18:11
sarnoldmachstem: do you see anything strange in dmesg? or the system logs?18:11
patdk-wkI think he means he wants install over pxe, but with a selection of different preseeds18:12
patdk-wkI know when I do install over pxe, I just run it just like it was an iso18:12
nosleep77patdk-wk: that's right. so is that the best way to go about it?18:14
patdk-wkbest way?18:14
nosleep77patdk-wk: i know there's cobbler as well but its more of a redhat thing18:14
patdk-wkheh?18:14
sarnoldnosleep77: you might want to check out maas and preseed files: http://maas.ubuntu.com/docs1.5/configure.html#altering-the-preseed-file18:16
sarnoldnosleep77: or look into using cloud-init with maas and avoid the preseed stuff: https://maas.ubuntu.com/docs/troubleshooting.html18:17
nosleep77sarnold: thanks i dont know much about MAAS. I'll check it out18:18
nosleep77sarnold: the one I was looking at before was this article: https://help.ubuntu.com/community/PXEInstallServer18:19
sarnoldnosleep77: I've done something very similar to that before but didn't bother doing any kickstart kinds of things.18:20
MACscrok, 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:32
nosleep77sarnold: so the maas with preseed is what you used?18:34
sarnoldnosleep77: I've used maas with no changes at all, and I've used plain pxebooting without a pressed ;) hehe18:36
=== sander is now known as sander^home
toyotapieIs there a script that I can run that will tell me if the network config in /etc/network/interfaces is different from reality?19:42
kajeCan 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/281566121:09
kajenevermind. I simply did an apt-get remove linux-server and then reinstalled it and everything is fixed.21:24
=== matsubara is now known as matsubara-afk
bluefrog'lo any1 gandi vps ubuntu 14.04 (gandi image) by  chance?22:20
bekksWhats gandi?22:21
bluefrogserver provider22:21
=== Lcawte is now known as Lcawte|Away
bekksAnd whats your actual question? :)22:22
bluefrogtrying to find find someone running the same instance as me. their ubuntu image is driving me crazy22:22
bekksWhy does it drive you crazy?22:22
bluefrogbasic stuff not installed22:23
bluefrogsuch as netbase and so on22:23
bluefrogmeaning no /etc/services22:23
bekksNever heard of "netbase".22:23
bekksAnd why do you need a /etc/services, actually?22:24
bluefrognmd22:24
bluefrognevermind22:24
bluefrogcould do me a favor bekks and  hit my server at least twice, pls?  ssh test@2001:4b98:dc0:51:216:3eff:fee0:de5d22:25
bekksWhy?22:25
bluefrogtrying to have fail2ban to work22:25
bekksI'd need IPv6 to do so, which I dont have (and dont want until now) :)22:26
bluefrogok ok22:27
sarnoldheh, crazy, netbase at this point really just supplies /etc/{protocols,services,rpc,network/}22:31
sarnoldand /etc/network/ may be an oversight? :)22:31
bekksTIL :)22:32

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!