[01:22] 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] or anyone know if keepalived can do that [01:24] heh? [01:24] I thought keepalived died awhile ago [01:24] * patdk-lap just uses ospf [01:31] patdk-lap: you using quagga? [01:32] 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] so wasn't sure if keepalived could handle that as well [01:33] but originally i was thinking of ospf for this just didn't know if it was overkill [01:35] well, depends on what you need [01:35] vrrp is the simple way [01:35] but as soon as you add in any kind of firewall, it will get complex [01:36] how so [02:50] Hello? [06:00] Good morning. === Lcawte|Away is now known as Lcawte === markthomas is now known as markthomas|away [08:06] how can I mount an nfs by giving the username and password in one command? [08:07] Since when does nfs require a username and password? [08:08] lordievader since: mount.nfs: access denied by server while mounting ..... [08:09] skylite: is your client's IP or hostname allowed to mount? [08:09] jelly yes [08:10] 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] ah ok [08:14] lordievader got it thanks [08:15] skylite: ;) [08:41] hi all unable to install the zenoss core on ubuntu 14 on an aws ec2 instance [08:42] 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] 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] 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] please help me out [08:44] 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] How can I resolve this "the ubuntu way" without messing something up? [08:49] 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] is der anybody [08:49] to answer i [08:49] it* [08:57] ubuntugeek: Is anything listening to that port? [09:02] lordievader no [09:02] Read the script they gave you and try to figure out why there ain't anything listening to it. [09:03] 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] do i ned to install apache2 and liten set it to 8080 port lordievader [09:07] I suppose the program runs its own web server. I don't know the program. [09:10] can u check zenoss installation please? [09:10] 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] ubuntugeek: No, the script looks rather ugly. [09:13] can u make google research [09:14] ws2k3: if you're using debian, then ask only in #debian. service startup can differ a lot. [09:14] ubuntugeek: You can ;) [09:15] (ws2k3 said they were using wheezy, in #debian, after being warned they asked exactly the same question in both channels) [09:38] smb, good morning [09:38] smb, how goes dpdk? [09:40] 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] 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] smb, as I'm away from end of thurs and want to get my new upstream rev's in before I go [09:47] :-) [09:47] jamespage, not sure we handle all the MIR/optional FFE in time but we try [09:48] 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] jamespage, yeah, that kind of is this weeks plan since I also will be somewhere else next week [09:50] smb, ack [09:50] smb, I think we can enable the dpdk bits post freeze ok [09:50] its not the 'default' - just an option [09:51] option and completely new package, so I also think the enabling is not that big of an issue. [09:51] jamespage, but since I have not yet gone through a MIR handling that is more the unknown lands [10:58] smb, https://launchpad.net/ubuntu/+source/openvswitch/2.4.0~git20150810.97bab95-0ubuntu1 [10:58] I really hate powerpc sometimes [11:04] jamespage, not sure what makes you think I am a lover. :) [11:04] smb, oh it was just a passing comment :-) [11:04] lol [11:04] :) [11:16] Guys where do i add dns servers from CLI ? [11:20] man resolvconf [11:23] 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] that assumes your using resolvconf [11:27] which all ubuntu installs do by default ... usually :) [11:28] patdk-lap: where do i add it then? [11:29] only if he didn't upgrade from an installal prior to resolvconf [11:29] arcsky: what does "/etc/resolv.conf" contain? [11:29] # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) [11:29] # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN [11:30] arcsky: OK, so resolvconf hasn't added the "nameserver ..." line(s) [11:31] ok what can i do then? [11:31] for ages i have only used resolv.conf. where to add it? [11:33] arcsky: Is it still a symbolic link? /etc/resolv.conf -> ../run/resolvconf/resolv.conf [11:33] yeah [11:33] arcsky: it depends, how is your network configured? [11:34] /etc/network/interfaces [11:34] iface ... inet static? [11:34] yeah [11:35] arcsky: what does this report? "resolvconf --updates-are-enabled && echo Yes" [11:35] output YES [11:36] arcsky: Is this interface enabled automatically, aside from the dns-nameservers being ignored? ... can you pastebin "/etc/network/interfaces" [11:37] 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] this is wierd feature Ubuntu has made [11:37] keep the classic way [11:38] http://pastebin.com/uRcuG17W [11:40] so you already have a dns-nameservers line [11:40] yes but it doesng work to ping google.com [11:41] * jelly wonders where arcsky's loopback iface definition has gone [11:41] arcsky: any clues from "sudo ifup --verbose --no-act" [11:41] jelly: my lo0 is up dont worry [11:42] (also, resolvconf comes from Debian, it's not an Ubuntu-specific weird feature) [11:42] resolv.conf i work with gentoo,slackware,debian,(old ubuntu),redhat,centos [11:42] jelly: loopback is an internal i/f; ipfup -a brings it up [11:43] s/ipfup/ifup/ [11:45] TJ-: maybe, but the "iface lo inet loopback" it's still present in my trusty interfaces file [11:45] ok i delete this shitty symlink and run the old classic way. thanks anyway guys [11:47] 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] arcsky: see https://wiki.debian.org/NetworkConfiguration#Defining_the_.28DNS.29_Nameservers [11:51] 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] arcsky: Is /etc/resolv.conf still a symlink to /run/resolvconf/resolv.conf? [11:58] i did delete it. did create a new one. and chmod -x /etc/ini.t/resolvconf [11:58] works like a charm [12:38] TJ-: according to interfaces(5) “Options are usually indented for clarity (as in the example above) but are not required to be.” [12:47] is anyone using Chef ? [12:57] 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] TJ-: so there is a bug somewhere then? :) === cipi is now known as CiPi [13:22] 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] 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] so that would mean that Debian guide is wrong? :) [13:29] JanC: it's not wrong, but it's not exhaustive and complete either [13:31] The indentation is optional not required, so not a cause for a failure [13:31] to be honest, making indentation mandatory would probably have been better... [13:31] whitespace as syntax is for crazy people. And pythonistas. [13:31] but changing that now would be impossible [13:31] jelly: fully agreed :D [13:32] systemd-networkd will make that discussion moot anyway :P [13:32] pretty much every programming language uses whitespace as part of its syntax ;) [13:33] JanC: but most do not enforce a type or quantity of white-space, as long as it is 1+ [14:14] Hi [14:14] I setup LAMP in ubuntu usin digitalocean and I don't know how to add tables [14:15] add tables...? [14:15] oh., you mean to mysql? [14:15] yes [14:15] * teward forgot what LAMP meant for a moment :P [14:15] I don't remember my password. [14:15] People referer me to here from #ubuntu, #ubuntu-offtopic and #mysql [14:17] 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] cofo: if you used dpkg to set the root password, its in a file: /etc/mysql/debian.cnf [14:17] i think i found my password thanks god [14:17] i don't know how to add table [14:17] like in webhost [14:18] cofo: typically the web applications you're installing will set up the database/tables for you [14:18] or, you provide the database and credentials and it sets up the tables [14:18] so i'm not sure what you're trying to do/achieve [14:19] I don't understand [14:19] Im creating an app [14:19] cofo: OK that's what you left out [14:19] the thing is to create table and put their information like user an password [14:29] https://www.irccloud.com/pastebin/Y37N7C5T/ [14:29] Any help? [14:29] mysqld --console [14:30] cofo: you likely need to run that as the mysql user. [14:30] https://www.irccloud.com/pastebin/l0b0Vd17/ [14:30] I tried [14:32] I should reinstall ubuntu? [14:33] jwren: [14:33] cofo: no, never. reinstall is for folks who cannot learn. [14:33] Please assit me [14:33] cofo: sudo -u mysql mysql [14:33] assist* [14:33] https://www.irccloud.com/pastebin/jxwC6Zxk/ [14:34] cofo: read this: https://help.ubuntu.com/stable/serverguide/mysql.html [14:34] sudo /usr/bin/mysql_secure_installation i able to login [14:34] but i dont know [14:34] You should learn how to use MysQL [14:34] * MySQL [14:35] I don't know [14:35] yeah [14:35] i able to do it [14:35] i change -u to user [14:37] see also: https://help.ubuntu.com/community/ApacheMySQLPHP [14:38] i able to login into mysql [14:38] :) [14:38] my self [15:12] 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] 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] dman777_alter: fwiw, i use urxvt and my TERM value is 'xterm-256color' :) === arosales_ is now known as arosales === markthomas|away is now known as markthomas [16:05] pmatulis: vim colorscheme is messed up [16:11] pmatulis: thanks [16:13] dman777_alter: right, i changed mine around a few years back due to vim as well === markthomas is now known as markthomas|away [17:55] stgraber, Is there a way I can use nested containers with LXD? === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte [18:29] 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] 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] hey blizzow, I got to thinking about that over the weekend.. check dmesg, there might be IO errors to the disk [18:37] 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] blizzow: well, that's good news for your hardware anyway :) [18:37] 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] blizzow: I'd say it's time to file a bug against it [18:38] sarnold: agreed. [18:38] Village: scroll back up, the error that happened is higher up [18:39] sarnold, let me check [18:42] sarnold, maybe this - http://pastebin.com/nZd43TKY ? [18:44] Village: awesome ;) it's a good start, apt-get install bsdutils and try again [18:45] sarnold, thanks, let me try do it at clear VPS, from new, and i will tell you, thanks. Let's try [18:46] Village: why all the extra hassle? [18:47] Because not order here now.. i try from new and i will tell you [18:47] there* [18:48] what i need install can i - sudo apt-get install bsdutils ? Or bsdutils named diferent ? [18:50] i willtry [19:07] sarnold, i try with bsdutils installed, but same:( Ubuntu 14.04 (64-bit) - http://pastebin.com/WN88i66T [19:10] Village: strange. I've never understood why mysql asks to set the password multiple times anyway :( [19:11] I enter good root pass [19:11] But why error? [19:14] sarnold: that's also you over on oftc [19:14] ? [19:14] teward: yeah, you can't get away from me ;) [19:14] sarnold: good, then you know who to yell at over at OFTC to fix their DNS [19:14] so yell [19:14] because doko and others can't get to OFTC [19:14] DNS RR Explosion Confirmed [19:16] teward: yeah, I've done the yelling that I can do, sadly I can't actually fix it [19:16] sarnold: indeed, but i wanted a confirmation that the yelling happened :) [19:16] NoResponse on oftc's channel made me like "Hey, did he drop connections...?" ::P [19:17] but yeah i have a v6 addr i can give doko in the interim so they can connect (hopefully) [19:21] 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] 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] 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] 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] stgraber, yes. I was out and failed to create a bug to track. Doing that now [20:04] rcj: great, thanks! [20:05] 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] 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] rcj: nope, lxc.mount.auto as of LXC 1.1 defaults to "sys:mixed proc:mixed cgroup:mixed" which should be sufficient for nesting === IdleOne is now known as Guest18872 [20:25] stgraber, when you have time, can you check out nested containers with LXD? I just see the lxd daemon constantly restarting. [20:26] 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] rcj: ok, great, thanks. For nested LXD, can you file a bug at github.com/lxc/lxd? [20:26] stgraber, sure [20:27] rcj: we're all a bit swamped with ContainerCon and Plumbers next week, so it's best to have it recorded :) [20:27] stgraber, I understand [20:52] 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] thanks === markthomas|away is now known as markthomas === markthomas is now known as markthomas|away [23:06] anyone know how to write to files via cloud init 12.04? write_files doesn’t work [23:06] http://serverfault.com/questions/605670/ubuntu-12-04-cloud-init-doesnt-support-write-files-what-to-do [23:07] that’s a pretty disappointing work around