/srv/irclogs.ubuntu.com/2014/04/24/#ubuntu-server.txt

=== jamescarr_ is now known as jamescarr
b4tm4nwhat is the correct way to make ip rules and routes persistent in ubuntu?02:27
sarnoldb4tm4n: I think the "approved" way is to add the commands to /etc/network/interfaces with 'up' or 'post-up', etc..02:28
b4tm4nso if i had "ip route add default via 192.168.71.1 table 1" i could that exact line to /etc/network/interfaces?02:29
b4tm4ni mean, the syntax is the same between the commands written to /etc/network/interfaces and those issued at a command line?02:30
sarnoldb4tm4n: I believe they just get handed to to sh -c "..."02:31
b4tm4nsarnold, so it's the same02:32
sarnoldb4tm4n: yeah02:32
b4tm4nsarnold, what is the benefit to doing this as opposed to just leaving them in a sh script that is called from rc.local?02:32
sarnoldb4tm4n: you can also put in commands to undo them here, so 'ifup eth0' will run them, 'ifdown eth0' will tear them down, etc02:33
b4tm4nsarnold, so is that the benefit of adding them to /etc/network/interfaces as opposed to rc.local?02:36
sarnoldb4tm4n: yeah02:36
sarnoldb4tm4n: 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 runs02:37
b4tm4nsarnold, what about putting all of my config in a script in /etc/network/if-up.d/<script>02:38
sarnoldb4tm4n: i'm less clear on when those will run, it would probably work alright..02:38
b4tm4nsarnold, thanks!02:42
=== Guegs_ is now known as Guegs
=== Nolar2_ is now known as Nolar2
lordievaderGood morning.06:32
chrisrer1good 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
chrisrer1Time   : Wed 04/23/2014 13:06:3606:43
chrisrer1Error Type   : [8192]06:43
chrisrer1Error 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
chrisrer1File Name   : /phplive/index.php06:43
chrisrer1File Line #   : 1006:43
chrisrer1Query06:43
chrisrer1all the others i have joomla , wordpress etc works perfectly06:43
lordievaderchrisrer1: Are there updates available for phplive?06:45
chrisrer1just a moment to see the version i have and the last of company06:46
chrisrer1no tey haven't update i suppose is the last version06:50
chrisrer1i tested in windows wamp server and works perfectly06:51
Tazmainhi 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:52
lordievaderchrisrer1: 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:53
chrisrer1axa 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:54
lordievaderchrisrer1: Yes, the php application uses a mysql function that will be removed from future versions of php.06:55
chrisrer1aha...and why wamp server on windows play it perfect? from wich version of mysql change this rules?06:57
lordievaderchrisrer1: http://nl1.php.net/function.mysql-connect07:00
chrisrer1lordievader thanks for the help......and something last......i want to use to another server a captive portal what is your suggestion?07:03
lordievaderchrisrer1: I'm afraid I cannot help you there. I have no experience with captive portals.07:04
chrisrer1ok ;) thanks for everything my friend07:04
AtuMis 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:11
AtuMI've been searching for it for quite some time.. but I only find bits and pieces here and there..07:13
AtuMthis should finally help: http://ubuntuforums.org/showthread.php?t=2167373.07:17
smbsmoser, 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.08:41
uvirtbotLaunchpad bug 1185756 in drbd8 "drbd8-utils not compatible with linux-lts-raring kernel in 12.04" [High,Fix released] https://launchpad.net/bugs/118575608:41
=== huats_ is now known as huats
AtuMsmb, 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
AtuMsmb, conserning ubuntu that is.. not in general09:00
smbAtuM, 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:01
AtuMsmb, I see.09:02
AtuM14.04 has the fastest shutdown time I've ever seen...09:17
AtuMbesides plugging out the pwr supply09:17
Guest67771Hi 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 of09:19
pmatulismorning11:39
Adri2000zul: 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
zulAdri2000:  yep will do so today12:04
Adri2000thanks12:07
Adri2000for 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 image12:58
Adri2000console shows it's stuck on cloud-init12:58
pmatulisanyone using pacemaker on precise should be aware of bug #131215613:13
uvirtbotLaunchpad bug 1312156 in pacemaker "[Precise] Potential for data corruption" [Undecided,New] https://launchpad.net/bugs/131215613:13
LordComacGood 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:23
cfhowlettLordComac reboot and select the older kernel version?13:24
LordComaccfhowlett- 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.1113:25
cfhowlettLordComac I'm sure there's a way, but I don't server - ask in #ubuntu.  more eyes awake over there13:27
LordComacI'm trying to find it on the googles first :) I try not to inconvenience people when I can help it...13:29
LordComacI think I may have found it13:30
patdk-wkhmm13:30
LordComacmy confusion stems from the use of nicknames instead of numbers13:30
cfhowlettLordComac your initiative brings an IRC tear of joy to my eye!13:30
patdk-wkexactly how to you downgrade from 3.2 to 3.1113:30
patdk-wkyou mean, UPGRADE?13:30
LordComacIt's an upgrade in my eyes, but generally moving down a version is considered a downgrade13:31
patdk-wkexactly how is it moving down a version?13:31
patdk-wksince when is 11 < 213:31
LordComacehh, point. I keep seeing it as 3.1.113:32
LordComaccoffee hasn't gotten out of my cup yet13:32
LordComacI seem to have found my answere here: https://wiki.ubuntu.com/Kernel/LTSEnablementStack13:33
LordComacrebooting now to see if it still works13:33
LordComacwoo.13:34
LordComacThanks friends :) now I can work on migrating this to the new system...13:34
patdk-wk:)13:34
LordComacif that goes well there's one more thing off my list before vacation13:36
chrisrergood 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
chrisrerError 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 there13:58
zulgaughen/jamespage: ok saucy-proposed is good14:41
=== Lcawte|Away is now known as Lcawte
sync0patedon'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 it16:26
sync0pateI can access local network, but not outside16:26
sync0pateset up as bridged adapter16:26
MTughanI'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:28
rbasakzul: ^^ 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:32
zulrbasak:  yeah16:34
MTughanHow long would it take to fix?16:34
zulMTughan:  well you can modify the source yourself locally to change the requirements and it will work, but please open up a bug for it16:36
MTughanzul: Done, thanks. https://bugs.launchpad.net/ceilometer/+bug/131230116:42
uvirtbotLaunchpad bug 1312301 in ceilometer "Pecan version issue in Icehouse ceilometer package" [Undecided,New]16:42
=== Zeus is now known as Guest95832
=== Guest95832 is now known as Kwiirk
bekksMTughan: Just for my curiousity: Whats pecan, ceilometer and icehouse?17:06
MTughanbekks: 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:07
bekksMTughan: And openstack is a cloud framework?17:08
MTughanSimple way of putting it, yeah. Similar to AWS.17:09
=== also is now known as also_
=== sz0 is now known as sz0`
=== sz0` is now known as sz0
=== sz0 is now known as sz0`
AisonI upgraded two servers to 14.04 for testing. besides the ldap upgrade everything worked fine.21:22
Aisonbut 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 point21:22
Aisonno idea where21:22
AisonI allways have to press the reset button21:23
fluffyponyhi 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:47
Aisondepends on the service21:53
Aisonon some services you can set a listening IP21:53
Aisoneg. on apache21:53
Aisonmaybe use a filter (eg. over ufw)21:54
Aisonthen in the filter you can define what port are open on what IP21:54
fluffyponywell I tried setting a bind IP on bitcoind, for eg.21:54
fluffyponyand it throws: Error: Unable to bind to XXXXXX:5889 on this computer (bind returned error 99, Cannot assign requested address)21:54
Aisonmaybe the best way is to use a filter21:56
fluffyponyok cool will give it a spin21:56
geniiConceivably you could use inetd21:59
=== Lcawte is now known as Lcawte|Away

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