[02:27] <b4tm4n> what is the correct way to make ip rules and routes persistent in ubuntu?
[02:28] <sarnold> b4tm4n: I think the "approved" way is to add the commands to /etc/network/interfaces with 'up' or 'post-up', etc..
[02:29] <b4tm4n> so if i had "ip route add default via 192.168.71.1 table 1" i could that exact line to /etc/network/interfaces?
[02:30] <b4tm4n> i mean, the syntax is the same between the commands written to /etc/network/interfaces and those issued at a command line?
[02:31] <sarnold> b4tm4n: I believe they just get handed to to sh -c "..."
[02:32] <b4tm4n> sarnold, so it's the same
[02:32] <sarnold> b4tm4n: yeah
[02:32] <b4tm4n> sarnold, what is the benefit to doing this as opposed to just leaving them in a sh script that is called from rc.local?
[02:33] <sarnold> b4tm4n: you can also put in commands to undo them here, so 'ifup eth0' will run them, 'ifdown eth0' will tear them down, etc
[02:36] <b4tm4n> sarnold, so is that the benefit of adding them to /etc/network/interfaces as opposed to rc.local?
[02:36] <sarnold> b4tm4n: yeah
[02:37] <sarnold> b4tm4n: if rc.local makes more sense to you, it'd probably be fine, though I'm not 100% positive that it waits for the networking interfaes to be brought up before it runs
[02:38] <b4tm4n> sarnold, what about putting all of my config in a script in /etc/network/if-up.d/<script>
[02:38] <sarnold> b4tm4n: i'm less clear on when those will run, it would probably work alright..
[02:42] <b4tm4n> sarnold, thanks!
[06:32] <lordievader> Good morning.
[06:43] <chrisrer1> good morning from greece.... i want some help for one problem i have in ubuntu server 14.04 ls....... i try to install phplive support but i have an error Live Support system has produced the following error. Make sure the URL you are attempting to access has not been altered. Please notify the website admin.
[06:43] <chrisrer1> Time   : Wed 04/23/2014 13:06:36
[06:43] <chrisrer1> Error Type   : [8192]
[06:43] <chrisrer1> Error Message   : mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead - [ SOLUTION CHECKER DISABLED]
[06:43] <chrisrer1> File Name   : /phplive/index.php
[06:43] <chrisrer1> File Line #   : 10
[06:43] <chrisrer1> Query
[06:43] <chrisrer1> all the others i have joomla , wordpress etc works perfectly
[06:45] <lordievader> chrisrer1: Are there updates available for phplive?
[06:46] <chrisrer1> just a moment to see the version i have and the last of company
[06:50] <chrisrer1> no tey haven't update i suppose is the last version
[06:51] <chrisrer1> i tested in windows wamp server and works perfectly
[06:52] <Tazmain> hi all, I have a setup a vnc server on the ubuntu server, (pls don't ask about the GUI) but I can't seem to connect to it now. I have modified the xstartup file to start a xfce4 session. ?
[06:53] <lordievader> chrisrer1: I've seen this error/warning with the Zabbix webfrontend. There updating to a new version solved it. Pehaps you should file a bug with them.
[06:54] <chrisrer1> axa i buy this version my friend about a year ouf....... ok i search to the internet to another version and i'll try to install......but your opinion is the script and not the ubuntu server?
[06:55] <lordievader> chrisrer1: Yes, the php application uses a mysql function that will be removed from future versions of php.
[06:57] <chrisrer1> aha...and why wamp server on windows play it perfect? from wich version of mysql change this rules?
[07:00] <lordievader> chrisrer1: http://nl1.php.net/function.mysql-connect
[07:03] <chrisrer1> lordievader thanks for the help......and something last......i want to use to another server a captive portal what is your suggestion?
[07:04] <lordievader> chrisrer1: I'm afraid I cannot help you there. I have no experience with captive portals.
[07:04] <chrisrer1> ok ;) thanks for everything my friend
[07:11] <AtuM> is there a nice howto for writing preseed config file? I'd like to use it to have pxe installations use my local repo.. not for fully-automated install.
[07:13] <AtuM> I've been searching for it for quite some time.. but I only find bits and pieces here and there..
[07:17] <AtuM> this should finally help: http://ubuntuforums.org/showthread.php?t=2167373.
[08:41] <smb> smoser, Despite what I said on Tuesday, the fix for drbd8 I posted in bug 1185756 probably should go out as soon as possible. There still are issues for people running pacemaker but I cannot say how quickly we can figure those out. So I think to upload the fix to Precise is a first step into the right direction at least.
[09:00] <AtuM> smb, do ppl that work on pacemaker problems have a site? I've had many issues on 12.04 using pcmk/cman/ocfs2. couldn't find a decent how-to so I did what I could to solve them.
[09:00] <AtuM> smb, conserning ubuntu that is.. not in general
[09:01] <smb> AtuM, Maybe some people here on the channel would know. I am only beginning to look at pacemaker to solve the drbd issues. So starting mostly from scratch wrt to pacemaker.
[09:02] <AtuM> smb, I see.
[09:17] <AtuM> 14.04 has the fastest shutdown time I've ever seen...
[09:17] <AtuM> besides plugging out the pwr supply
[09:19] <Guest67771> Hi I had to re-install my Ubuntu 12.04 server, and after trialling a few few Graphical desktops, I chose xubuntu-desktop. However, much of the sofwtare I believe should have been installed with it isn't available. The only way I can get a terminal is using ctrl+alt+T. Obviously a noob error - but is there somewhere to make it fully functional. I'm not a great CLI user - getting better, but I'd still like to access some of
[11:39] <pmatulis> morning
[12:04] <Adri2000> zul: hi, could you have a look at https://code.launchpad.net/~gpocentek/heat/default-log-dir/+merge/214429 and https://code.launchpad.net/~gpocentek/ceilometer/default-log-dir/+merge/214393 ?
[12:04] <zul> Adri2000:  yep will do so today
[12:07] <Adri2000> thanks
[12:58] <Adri2000> for some reason I can't boot correctly a trusty cloud image on my openstack icehouse, while I can perfectly boot a saucy or a cirros image
[12:58] <Adri2000> console shows it's stuck on cloud-init
[13:13] <pmatulis> anyone using pacemaker on precise should be aware of bug #1312156
[13:23] <LordComac> Good morning! I've recently updated one of my 10.04 servers to 12.04, and it appears to have installed the 3.2 kernel. Unfortunately, there's a bug that is impacting me and I would like to downgrade to kernel version 3.11. Back in the day, I would just download and build my own kernels when I wanted to do this, but that seems silly now. Is there an easy way to download and install a different version kernel?
[13:24] <cfhowlett> LordComac reboot and select the older kernel version?
[13:25] <LordComac> cfhowlett- I had considered that, but the old kernel was 2.6- which is pretty old at this point. I was hoping to get to 3.11
[13:27] <cfhowlett> LordComac I'm sure there's a way, but I don't server - ask in #ubuntu.  more eyes awake over there
[13:29] <LordComac> I'm trying to find it on the googles first :) I try not to inconvenience people when I can help it...
[13:30] <LordComac> I think I may have found it
[13:30] <patdk-wk> hmm
[13:30] <LordComac> my confusion stems from the use of nicknames instead of numbers
[13:30] <cfhowlett> LordComac your initiative brings an IRC tear of joy to my eye!
[13:30] <patdk-wk> exactly how to you downgrade from 3.2 to 3.11
[13:30] <patdk-wk> you mean, UPGRADE?
[13:31] <LordComac> It's an upgrade in my eyes, but generally moving down a version is considered a downgrade
[13:31] <patdk-wk> exactly how is it moving down a version?
[13:31] <patdk-wk> since when is 11 < 2
[13:32] <LordComac> ehh, point. I keep seeing it as 3.1.1
[13:32] <LordComac> coffee hasn't gotten out of my cup yet
[13:33] <LordComac> I seem to have found my answere here: https://wiki.ubuntu.com/Kernel/LTSEnablementStack
[13:33] <LordComac> rebooting now to see if it still works
[13:34] <LordComac> woo.
[13:34] <LordComac> Thanks friends :) now I can work on migrating this to the new system...
[13:34] <patdk-wk> :)
[13:36] <LordComac> if that goes well there's one more thing off my list before vacation
[13:58] <chrisrer> good afternoon from greece.....i want some help........i have a system with ubuntu server and i have install there some cms everything works perfect....but i'll try to install a script (phplive support) and when i type information to db and install later give me this error:Error Type   : [8192]
[13:58] <chrisrer> Error Message   : mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead - [ SOLUTION CHECKER DISABLED] i check my system and mysqli is on from script....... the script (phplive support) is the last version and inside files have sql and sqli files....i want some help there
[14:41] <zul> gaughen/jamespage: ok saucy-proposed is good
[16:26] <sync0pate> don't suppose anyone can help me with ubuntu from within a virtualbox? I'm not sure if anything has changed but I can no longer access internet from it
[16:26] <sync0pate> I can access local network, but not outside
[16:26] <sync0pate> set up as bridged adapter
[16:28] <MTughan> I've got a problem with an OpenStack package that I think may be related to a packing issue. This isn't my post, but it describes the exact same problem I'm having: https://ask.openstack.org/en/question/27951/pecan-version-for-ceilometer-in-icehouse-swift-proxy/
[16:32] <rbasak> zul: ^^ is this a packaging bug in ceilometer? requirements.txt does indeed say >=0.4.5, and I only see 0.3.0-1ubuntu2~cloud0 in the icehouse pocket.
[16:34] <zul> rbasak:  yeah
[16:34] <MTughan> How long would it take to fix?
[16:36] <zul> MTughan:  well you can modify the source yourself locally to change the requirements and it will work, but please open up a bug for it
[16:42] <MTughan> zul: Done, thanks. https://bugs.launchpad.net/ceilometer/+bug/1312301
[17:06] <bekks> MTughan: Just for my curiousity: Whats pecan, ceilometer and icehouse?
[17:07] <MTughan> bekks: Icehouse is the latest release of OpenStack. Ceilometer is one of OpenStack's modules, for telemetry tracking. pecan is a python module, but I don't know what it does. Ceilometer requires it though.
[17:08] <bekks> MTughan: And openstack is a cloud framework?
[17:09] <MTughan> Simple way of putting it, yeah. Similar to AWS.
[21:22] <Aison> I upgraded two servers to 14.04 for testing. besides the ldap upgrade everything worked fine.
[21:22] <Aison> but there's another problem now: I cannot reboot the machines by console. When I use "reboot", the machines start to reboot but they hang at some point
[21:22] <Aison> no idea where
[21:23] <Aison> I allways have to press the reset button
[21:47] <fluffypony> hi all - feeling a bit dumb, if I have a /29 range of IPs and my /etc/network/interfaces looks like this - http://pastebin.com/raw.php?i=rSkyvZJH (IPs modified for pastebin purposes) - am I able to bind services to individual IPs in the range? or do I have to different eth0:0 eth0:1 etc. interfaces to do that?
[21:53] <Aison> depends on the service
[21:53] <Aison> on some services you can set a listening IP
[21:53] <Aison> eg. on apache
[21:54] <Aison> maybe use a filter (eg. over ufw)
[21:54] <Aison> then in the filter you can define what port are open on what IP
[21:54] <fluffypony> well I tried setting a bind IP on bitcoind, for eg.
[21:54] <fluffypony> and it throws: Error: Unable to bind to XXXXXX:5889 on this computer (bind returned error 99, Cannot assign requested address)
[21:56] <Aison> maybe the best way is to use a filter
[21:56] <fluffypony> ok cool will give it a spin
[21:59] <genii> Conceivably you could use inetd