[01:22] <dork> what do people typically use for wan failover on an ubuntu router, basically just need to swing the default gateway to a slave if the router can't hit an ip via icmp
[01:22] <dork> or anyone know if keepalived can do that
[01:24] <patdk-lap> heh?
[01:24] <patdk-lap> I thought keepalived died awhile ago
[01:24]  * patdk-lap just uses ospf
[01:31] <dork> patdk-lap: you using quagga?
[01:32] <dork> i wasn't sure if ospf was the right protocol to use for this since i only have a border router and nothing routing downstream in my network, i just need failover for a multihomed ubuntu router stack that uses keepalived for lvs/vrrp so that the local network has a floating vip for its default gateway
[01:33] <dork> so wasn't sure if keepalived could handle that as well
[01:33] <dork> but originally i was thinking of ospf for this just didn't know if it was overkill
[01:35] <patdk-lap> well, depends on what you need
[01:35] <patdk-lap> vrrp is the simple way
[01:35] <patdk-lap> but as soon as you add in any kind of firewall, it will get complex
[01:36] <dork> how so
[02:50] <kteckca> Hello?
[06:00] <lordievader> Good morning.
[08:06] <skylite> how can I mount an nfs by giving the username and password in one command?
[08:07] <lordievader> Since when does nfs require a username and password?
[08:08] <skylite> lordievader since: mount.nfs: access denied by server while mounting .....
[08:09] <jelly> skylite: is your client's IP or hostname allowed to mount?
[08:09] <skylite> jelly yes
[08:10] <lordievader> skylite: Look in the server's logs why it is denying you. That is not due to a username or password since nfs doesn't use that.
[08:11] <skylite> ah ok
[08:14] <skylite> lordievader got it thanks
[08:15] <lordievader> skylite: ;)
[08:41] <ubuntugeek> hi all unable to install the zenoss core on ubuntu 14 on an aws ec2 instance
[08:42] <KlausedSource> Good Morning, I have ubuntu-server 14.04 LTS installed on my arm7 machine. On top of that runs an owncloud server which I want to use php-apcu 4.0.7 with. The problem is it is not in the repositories. So I downloaded it manually.
[08:43] <KlausedSource> when trying to install the .deb with dpkg i get the following output "php5-apcu depends on phpapi-20131226, ; however:  Package phpapi-20131226 is not installed."
[08:44] <ubuntugeek>  hi all unable to install the zenoss core on ubuntu 14 on an aws ec2 instance   i followed this link but 8080 port is not running http://idroot.net/tutorials/how-to-install-zenoss-on-ubuntu-14-04/
[08:44] <ubuntugeek> please help me out
[08:44] <KlausedSource> So when I try to install phpapi-20131226 I get: "Package phpapi-20131226 is not available, but is referred to by another package."
[08:44] <KlausedSource> How can I resolve this "the ubuntu way" without messing something up?
[08:49] <ubuntugeek>  hi all unable to install the zenoss core on ubuntu 14 on an aws ec2 instance   i followed this link but 8080 port is not running http://idroot.net/tutorials/how-to-install-zenoss-on-ubuntu-14-04/
[08:49] <ubuntugeek> is der anybody
[08:49] <ubuntugeek> to answer i
[08:49] <ubuntugeek> it*
[08:57] <lordievader> ubuntugeek: Is anything listening to that port?
[09:02] <ubuntugeek> lordievader   no
[09:02] <lordievader> Read the script they gave you and try to figure out why there ain't anything listening to it.
[09:03] <ubuntugeek> actually aws ec2 instance having 2 ip's 1)private 2)public so it is configuring at private ip so how can i acess zenoss dashboard?
[09:04] <ubuntugeek> do i ned to install apache2 and liten set it to 8080 port lordievader
[09:07] <lordievader> I suppose the program runs its own web server. I don't know the program.
[09:10] <ubuntugeek> can u check zenoss installation please?
[09:10] <ws2k3> does the sshd server has an error log? sshd is installed but when i restart it it says unknown instandse and ssh is not reachable
[09:11] <lordievader> ubuntugeek: No, the script looks rather ugly.
[09:13] <ubuntugeek> can u make google research
[09:14] <jelly> ws2k3: if you're using debian, then ask only in #debian.  service startup can differ a lot.
[09:14] <lordievader> ubuntugeek: You can ;)
[09:15] <jelly> (ws2k3 said they were using wheezy, in #debian, after being warned they asked exactly the same question in both channels)
[09:38] <jamespage> smb, good morning
[09:38] <jamespage> smb, how goes dpdk?
[09:40] <smb> jamespage, morning. it goes here and there... making progress, I am about to put a new revision with some updates to my ppa
[09:46] <jamespage> smb, I'm going to push a ovs 2.4 snapshot sans the dpdk support to wily today (pending some successful local testing)
[09:47] <jamespage> smb, as I'm away from end of thurs and want to get my new upstream rev's in before I go
[09:47] <jamespage> :-)
[09:47] <smb> jamespage, not sure we handle all the MIR/optional FFE in time but we try
[09:48] <jamespage> smb, well if we could get it in the queue for the 20th (uploaded, MIR raised) that would give us a fighting chance!
[09:49] <smb> jamespage, yeah, that kind of is this weeks plan since I also will be somewhere else next week
[09:50] <jamespage> smb, ack
[09:50] <jamespage> smb, I think we can enable the dpdk bits post freeze ok
[09:50] <jamespage> its not the 'default' - just an option
[09:51] <smb> option and completely new package, so I also think the enabling is not that big of an issue.
[09:51] <smb> jamespage, but since I have not yet gone through a MIR handling that is more the unknown lands
[10:58] <jamespage> smb, https://launchpad.net/ubuntu/+source/openvswitch/2.4.0~git20150810.97bab95-0ubuntu1
[10:58] <jamespage> I really hate powerpc sometimes
[11:04] <smb> jamespage, not sure what makes you think I am a lover. :)
[11:04] <jamespage> smb, oh it was just a passing comment :-)
[11:04] <jamespage> lol
[11:04] <smb> :)
[11:16] <arcsky> Guys where do i add dns servers from CLI ?
[11:20] <ogra_> man resolvconf
[11:23] <arcsky> I have added dns-nameservers 192.168.1.254 8.8.8.8 in /etc/network/interfaces and restarted it but nothing works
[11:26] <patdk-lap> that assumes your using resolvconf
[11:27] <ogra_> which all ubuntu installs do by default ... usually :)
[11:28] <arcsky> patdk-lap: where do i add it then?
[11:29] <patdk-lap> only if he didn't upgrade from an installal prior to resolvconf
[11:29] <TJ-> arcsky: what does "/etc/resolv.conf" contain?
[11:29] <arcsky> # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
[11:29] <arcsky> #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
[11:30] <TJ-> arcsky: OK, so resolvconf hasn't added the "nameserver ..." line(s)
[11:31] <arcsky> ok what can i do then?
[11:31] <arcsky> for ages i have only used resolv.conf. where to add it?
[11:33] <TJ-> arcsky: Is it still a symbolic link?  /etc/resolv.conf -> ../run/resolvconf/resolv.conf
[11:33] <arcsky> yeah
[11:33] <jelly> arcsky: it depends, how is your network configured?
[11:34] <arcsky> /etc/network/interfaces
[11:34] <jelly> iface ... inet static?
[11:34] <arcsky> yeah
[11:35] <TJ-> arcsky: what does this report? "resolvconf --updates-are-enabled && echo Yes"
[11:35] <arcsky> output YES
[11:36] <TJ-> arcsky: Is this interface enabled automatically, aside from the dns-nameservers being ignored? ... can you pastebin "/etc/network/interfaces"
[11:37] <jelly> arcsky: add a "dns-nameservers your.dns.recursor.ip another.dns.recursor.ip" to the iface stanza, if it's not there.  There's an example in "man resolvconf"
[11:37] <arcsky> this is wierd feature Ubuntu has made
[11:37] <arcsky> keep the classic way
[11:38] <arcsky> http://pastebin.com/uRcuG17W
[11:40] <jelly> so you already have a dns-nameservers line
[11:40] <arcsky> yes but it doesng work to ping google.com
[11:41]  * jelly wonders where arcsky's loopback iface definition has gone
[11:41] <TJ-> arcsky: any clues from "sudo ifup --verbose --no-act"
[11:41] <arcsky> jelly: my lo0 is up dont worry
[11:42] <jelly> (also, resolvconf comes from Debian, it's not an Ubuntu-specific weird feature)
[11:42] <arcsky> resolv.conf i work with gentoo,slackware,debian,(old ubuntu),redhat,centos
[11:42] <TJ-> jelly: loopback is an internal i/f; ipfup -a brings it up
[11:43] <TJ-> s/ipfup/ifup/
[11:45] <jelly> TJ-: maybe, but the "iface lo inet loopback" it's still present in my trusty interfaces file
[11:45] <arcsky> ok i delete this shitty symlink and run the old classic way. thanks anyway guys
[11:47] <TJ-> arcsky: I'd guess the problem is you've got something preventing resolvconf from doing it's thing (writing the correct entry to "/etc/resolv.conf") when the boot scripts call "ifup -a"
[11:48] <TJ-> arcsky: see https://wiki.debian.org/NetworkConfiguration#Defining_the_.28DNS.29_Nameservers
[11:51] <TJ-> arcsky: I suspect your issue is you haven't *indented* the lines in "/etc/network/interfaces" below the "iface eth0 " - indentation is required for the parser to figure out which statements belong to the interface
[11:54] <lordievader> arcsky: Is /etc/resolv.conf still a symlink to /run/resolvconf/resolv.conf?
[11:58] <arcsky> i did delete it. did create a new one.  and chmod -x /etc/ini.t/resolvconf
[11:58] <arcsky> works like a charm
[12:38] <JanC> TJ-: according to interfaces(5) “Options are usually indented for clarity (as in the example above) but are not required to be.”
[12:47] <freezevee> is anyone using Chef ?
[12:57] <TJ-> JanC: I know, but the Debian guide states "Place the line indented within an iface stanza, e.g., right after the gateway line. Enter the IP addresses of the nameservers you need to use after dns-nameservers."
[13:07] <JanC> TJ-: so there is a bug somewhere then?  :)
[13:22] <dman777_alter> when I ssh into my ubuntu server and do env, I get TERM=rxvt-unicode. But when I ssh into my gentoo server I get TERM=rxvt-unicode-256color. This is from the same client pc that I am using to ssh. How can I make the ubuntu server TERM=rxvt-unicode-256color?
[13:25] <TJ-> JanC: I'm looking at the code of ifupdown: config.c:get_line() does "while (isspace((*result)[first]) && (*result)[first]) { ..." so it skips over any space-like characters
[13:26] <JanC> so that would mean that Debian guide is wrong?  :)
[13:29] <jelly> JanC: it's not wrong, but it's not exhaustive and complete either
[13:31] <TJ-> The indentation is optional not required, so not a cause for a failure
[13:31] <JanC> to be honest, making indentation mandatory would probably have been better...
[13:31] <jelly> whitespace as syntax is for crazy people.  And pythonistas.
[13:31] <JanC> but changing that now would be impossible
[13:31] <TJ-> jelly: fully agreed :D
[13:32] <ogra_> systemd-networkd will make that discussion moot anyway :P
[13:32] <JanC> pretty much every programming language uses whitespace as part of its syntax ;)
[13:33] <TJ-> JanC: but most do not enforce a type or quantity of white-space, as long as it is 1+
[14:14] <cofo> Hi
[14:14] <cofo> I setup LAMP in ubuntu usin digitalocean and I don't know how to add tables
[14:15] <teward> add tables...?
[14:15] <teward> oh., you mean to mysql?
[14:15] <cofo> yes
[14:15]  * teward forgot what LAMP meant for a moment :P
[14:15] <cofo> I don't remember my password.
[14:15] <cofo> People referer me to here from #ubuntu, #ubuntu-offtopic and #mysql
[14:17] <teward> cofo: usually i just `dpkg-reconfigure mysql-server-VERSION` (where VERSION is the version of mysql installed), but i've become a postgres convert :P
[14:17] <jrwren> cofo: if you used dpkg to set the root password, its in a file: /etc/mysql/debian.cnf
[14:17] <cofo> i think i found my password thanks god
[14:17] <cofo> i don't know how to add table
[14:17] <cofo> like in webhost
[14:18] <teward> cofo: typically the web applications you're installing will set up the database/tables for you
[14:18] <teward> or, you provide the database and credentials and it sets up the tables
[14:18] <teward> so i'm not sure what you're trying to do/achieve
[14:19] <cofo> I don't understand
[14:19] <cofo> Im creating an app
[14:19] <teward> cofo: OK that's what you left out
[14:19] <cofo> the thing is to create table and put their information like user an password
[14:29] <cofo> https://www.irccloud.com/pastebin/Y37N7C5T/
[14:29] <cofo> Any help?
[14:29] <cofo> mysqld --console
[14:30] <jrwren> cofo: you likely need to run that as the mysql user.
[14:30] <cofo> https://www.irccloud.com/pastebin/l0b0Vd17/
[14:30] <cofo> I tried
[14:32] <cofo> I should reinstall ubuntu?
[14:33] <cofo> jwren:
[14:33] <jrwren> cofo: no, never. reinstall is for folks who cannot learn.
[14:33] <cofo> Please assit me
[14:33] <jrwren> cofo: sudo -u mysql mysql
[14:33] <cofo> assist*
[14:33] <cofo> https://www.irccloud.com/pastebin/jxwC6Zxk/
[14:34] <jrwren> cofo: read this: https://help.ubuntu.com/stable/serverguide/mysql.html
[14:34] <cofo> sudo /usr/bin/mysql_secure_installation i able to login
[14:34] <cofo> but i dont know
[14:34] <maxb> You should learn how to use MysQL
[14:34] <maxb> * MySQL
[14:35] <cofo> I don't know
[14:35] <cofo> yeah
[14:35] <cofo> i able to do it
[14:35] <cofo> i change -u to user
[14:37] <jrwren> see also: https://help.ubuntu.com/community/ApacheMySQLPHP
[14:38] <cofo> i able to login into mysql
[14:38] <cofo> :)
[14:38] <cofo> my self
[15:12] <dman777_alter> when I ssh into my ubuntu server and do env, I get TERM=rxvt-unicode. But when I ssh into my gentoo server I get TERM=rxvt-unicode-256color. This is from the same client pc that I am using to ssh. How can I make the ubuntu server TERM=rxvt-unicode-256color?
[15:37] <pmatulis> dman777_alter: change the value in your shell's init file. but why do you want to do that? what's the problem?
[15:38] <pmatulis> dman777_alter: fwiw, i use urxvt and my TERM value is 'xterm-256color' :)
[16:05] <dman777_alter> pmatulis: vim colorscheme is messed up
[16:11] <dman777_alter> pmatulis: thanks
[16:13] <pmatulis> dman777_alter: right, i changed mine around a few years back due to vim as well
[17:55] <rcj> stgraber, Is there a way I can use nested containers with LXD?
[18:29] <blizzow> I was trying the ubuntu cloud-installer to install openstack.  I'm installing on an ubuntu 15.04 server bare-metal machine with 16GB RAM and kvm-ok returns all good.  I did the single installer mode, the installer gets through bootstrapping juju but then fails at starting the KVM hosts.  I went into the lxc console during the juju bootstrap and did a force installation of virtinst and qemu-kvm while it's trying to bootstrap juj
[18:31] <blizzow> The thing I see in the qemu logs within the lxc container is this:  libvirt:  error : libvirtd quit during handshake: Input/output error
[18:33] <sarnold> hey blizzow, I got to thinking about that over the weekend.. check dmesg, there might be IO errors to the disk
[18:37] <blizzow> sarnold: dmesg shows nothing on either the container or the bare-metal host... I've also tried this on a VM and get the same problem. :(
[18:37] <sarnold> blizzow: well, that's good news for your hardware anyway :)
[18:37] <Village> Hello Guys, i faced with problem when installing MySQL - "sudo apt-get install mysql-server php5-mysql" i got error - http://pastebin.com/yAA1kJdi maybe who knows what's can be?
[18:38] <sarnold> blizzow: I'd say it's time to file a bug against it
[18:38] <blizzow> sarnold: agreed.
[18:38] <sarnold> Village: scroll back up, the error that happened is higher up
[18:39] <Village> sarnold, let me check
[18:42] <Village> sarnold, maybe this - http://pastebin.com/nZd43TKY ?
[18:44] <sarnold> Village: awesome ;) it's a good start, apt-get install bsdutils and try again
[18:45] <Village> sarnold, thanks, let me try do it at clear VPS, from new, and i will tell you, thanks. Let's try
[18:46] <sarnold> Village: why all the extra hassle?
[18:47] <Village> Because not order here now.. i try from new and i will tell you
[18:47] <Village> there*
[18:48] <Village> what i need install can i - sudo apt-get install bsdutils ? Or bsdutils named diferent ?
[18:50] <Village> i willtry
[19:07] <Village> sarnold, i try with bsdutils installed, but same:( Ubuntu 14.04 (64-bit) - http://pastebin.com/WN88i66T
[19:10] <sarnold> Village: strange. I've never understood why mysql asks to set the password multiple times anyway :(
[19:11] <Village> I enter good root pass
[19:11] <Village> But why error?
[19:14] <teward> sarnold: that's also you over on oftc
[19:14] <teward> ?
[19:14] <sarnold> teward: yeah, you can't get away from me ;)
[19:14] <teward> sarnold: good, then you know who to yell at over at OFTC to fix their DNS
[19:14] <teward> so yell
[19:14] <teward> because doko and others can't get to OFTC
[19:14] <teward> DNS RR Explosion Confirmed
[19:16] <sarnold> teward: yeah, I've done the yelling that I can do, sadly I can't actually fix it
[19:16] <teward> sarnold: indeed, but i wanted a confirmation that the yelling happened :)
[19:16] <teward> NoResponse on oftc's channel made me like "Hey, did he drop connections...?" ::P
[19:17] <teward> but yeah i have a v6 addr i can give doko in the interim so they can connect (hopefully)
[19:21] <K4k> Does anyone know of a program, such as apt-offline, that can keep a rolling archive of packages and versions present on a system that can be used to identify the current "state" of a system when using apt-offline
[19:23] <K4k> apt-offline is pretty good but it's annoying to have to export the list, specific to the package I want to grab, each time I want to install something. I'd rather just have a file containing the "state of packages" on a system and then download the files needed based on that and update the file if I choose to actually install the packages on the remote system.
[20:02] <stgraber> rcj: I've not tried nested LXD, but running LXC instead of a LXD container should be fine, you'll need to set raw.lxc to lxc.aa_profile=lxc-container-default-with-nesting though.
[20:03] <stgraber> rcj: btw, did you get my e-mail about changing the lxd metadata for precise and trusty to include upstart overrides for console and tty[1234]?
[20:04] <rcj> stgraber, yes.  I was out and failed to create a bug to track.  Doing that now
[20:04] <stgraber> rcj: great, thanks!
[20:05] <stgraber> rcj: that'll make it much simpler for us to run scaling tests. Currently we're getting a load of around 3000 on the test box due to getty processes respawning in an infinite loop in all containers :)
[20:05] <rcj> stgraber, I'll retry with that raw.lxc setting on the container.  Do I not need the "lxc.mount.auto = cgroup" set in some manner as well?
[20:05] <stgraber> rcj: nope, lxc.mount.auto as of LXC 1.1 defaults to "sys:mixed proc:mixed cgroup:mixed" which should be sufficient for nesting
[20:25] <rcj> stgraber, when you have time, can you check out nested containers with LXD?  I just see the lxd daemon constantly restarting.
[20:26] <rcj> stgraber, I've pushed the change to add the new template.  I'll let the next daily build pick up the change and we'll see if it works.
[20:26] <stgraber> rcj: ok, great, thanks. For nested LXD, can you file a bug at github.com/lxc/lxd?
[20:26] <rcj> stgraber, sure
[20:27] <stgraber> rcj: we're all a bit swamped with ContainerCon and Plumbers next week, so it's best to have it recorded :)
[20:27] <rcj> stgraber, I understand
[20:52] <rcj> stgraber, new issue for nested lxd is #1002,  for some reason the nested lxd can't read the server certificate that was created
[20:53] <stgraber> thanks
[23:06] <jasonkeene> anyone know how to write to files via cloud init 12.04? write_files doesn’t work
[23:06] <jasonkeene> http://serverfault.com/questions/605670/ubuntu-12-04-cloud-init-doesnt-support-write-files-what-to-do
[23:07] <jasonkeene> that’s a pretty disappointing work around