[00:48] Hi all! I'm looking to deploy ubuntu to 10-20 servers - most for building a small cluster, one for running a website. I'm running into an issue of not knowing which option to choose for making this a somewhat automated process (installation + management of the software). Any opinions on using MAAS vs. cobbler vs. FAI vs. anything else? [00:48] Shirakawasuna: I use foreman and puppuet to manage about 30 physical servers and 70 VMs [00:50] jkitchen: cool [00:51] jkitchen: Would you recommend reading anything outside of the official docs for those tools? [00:51] I'm very new to administrating more than one or two computers [01:11] I'd recommend reading all sorts of things [01:12] you might also want to evaluate other config management tools like chef, cfengine, etc [01:12] depending on your needs / preferences [01:12] they're all a bit different [01:12] foreman/puppet is just what I use [01:32] jkitchen: cool, I'll look into chef and cfengine as well [01:32] thanks! [01:32] Shirakawasuna: you're welcome, good luck! [01:32] you might also want to hit up some local devops meetups === peter is now known as Guest32543 [04:49] I'm trying to install the Event MPM for Apache, but apparently I've got some incompatible modules installed. Any way to tell what those are? [04:50] njbair: logs? [04:50] apachectl -t [04:50] etc [04:51] jkitchen: well apparently it has to do with APT, not Apache itself [04:52] oh, apt is saying incompatible modules? [04:52] apache will let you use buggy modules, but APT won't [04:52] well no [04:52] it's just silently falling back to the prefork MPM [04:52] even though I've installed apache2-mpm-event [04:54] wait [04:55] it's not APT [04:55] it was the a2enmod and a2dismod scripts [04:55] I was working off of a crappy doc [04:55] ok [04:56] I'm not really sure how ubuntu's apache selects an mpm to be honest :D [04:56] looks like it sets a /usr/sbin/apache2 symlink [04:56] the blog I was reading made it look like all you had to do was install the correct MPM package [04:56] in theory, yes. [04:57] well you also have to a2dismod mpm_prefork, then a2enmod mpm_event [04:57] ah ok [04:57] those scripts have conflict resolution [04:58] they look for enabled modules that are flagged as unstable with the mpm in question [05:18] can someone give us a hand with ubuntu server, i tried to set up static ip but something went wrong how do i get my dhcp working again [05:20] CryptoKing paste the content of /etc/network/interfaces (pastebin) [05:20] can not ssh in [05:21] i will paste bin what i changed to make it static, i think i know where i went wrong [05:21] http://pastebin.com/KuSqCqBC [05:22] so i think eth0 should of been eth1 on this machine [05:22] I'm guessing that you didn't backup the original interfaces file? [05:23] where is the server located? [05:23] CryptoKing ^ [05:23] thats why its blank :( [05:24] na i didnt [05:25] any hope with out doing a fresh install ? [05:25] do you have physical access to the machine? [05:25] yeah [05:25] i can send you the content of a "fresh" interface file [05:26] thanks you would save me alot of time [05:26] I actually had the same issue. Ended up just setting it in my router as "preferred" and it dished out the same IP all the time [05:26] http://paste.ubuntu.com/6581969/ [05:26] yeah, i got the static working with my order machine [05:27] and with out thinking just copied the same into new vi [05:27] always, always, ALWAYS make a backup before you mess with system files. i learned the hard way....(rebuild) [05:27] on new rig [05:27] ahhh [05:27] been there [05:28] i didnt even think about looking at device name [05:28] i just assumed with was eth0 [06:17] anyone still here? Still looking for a good image/backup option. i've tried FSarchiver but can't get it to install. CLonezilla is a pita beacuse I don't want to have to reboot everytime I want an image. (plus no one knows how to successfully get it installed on a system) and dd is just too much. i don't want the ENTIRE content of the drive, just whats used. [06:32] I'm having trouble creating a virtual host on my Ubuntu 13.10 OS. I have created added the proper line to my hosts file. I have added the corect conf file to sites-available folder and symbolically to the sites-enabled folder. I have added the proper scipt in them and have restarted. I can use the virtual host as an address but it redirects back to my localhost. The url keeps the proper virtual host but it renders the /var/www/index.p [06:32] I can provide any documentation or scripts necessary [06:33] KLVTZ, it sometimes (well, frequently ...) happens that this channel is quiet. If no response is a reasonable amount of time, please return to #ubuntu and post your query [06:33] Thank you, but I was formally told that #ubuntu was not proper [06:33] they asked what the point of ubuntu-server is if no one bothers going to it [06:34] i understood that I upsetted the person :/ [06:34] But thank you for the fast reply. [06:35] so KLVTZ - don't mind that bullshit from the other channel, even in the MOTD it says that server versions are supported in #ubuntu [06:35] people in linux help channels (many times) were born with too many sticks in their ass [06:39] so by the way, could you go to pastebin, or another site that you can paste text into and give us the conf file in sites-available for the vhost you are trying to set up? [06:43] Thanks man! I will do that right now [06:44] And I do know they are a bit touchy but I don't want to upset anyone xD [06:48] @mmazing here it is http://pastebin.com/9AK2YyDG [06:52] try changing to instead of what you have [06:52] KLVTZ: What do you get from "sudo apache2ctl -t -D DUMP_VHOSTS" [06:54] I'm going to do mmazing recommendation and then ill do yours TJ -just give me one minute -thank you [06:56] and .. just in case you aren't doing this, are you "service apache2 restart" after editing conf files in sites-available/sites-enabled ? [06:58] @TJ- this is interesting: http://pastebin.com/6B32PmCM [07:00] i just use the rest and now its say laravel.dev is not found [07:00] restart* [07:01] take out the "ServerAlias" line [07:01] and restart again [07:01] KLVTZ: should do the trick, as mmazing said [07:03] @mmazing, I removed the ServerAlias and restarted. It renders my /var/www folder and not my /var/www/laravel etc etc folder [07:05] KLVTZ: ServerAlias won't affect this; that is just an alternate name for the vhost. Remove the "NameVirtualHost" option, the re-run the config check [07:06] TJ-: i was thinking that the "laravel.dev is not found" was causing apache to not start, i guess it was a warning [07:06] mmazing: My next question to KLVTZ is show us the output of "cat /etc/hosts" [07:07] mmazing: KLVTZ The default host is getting the requests for 127.0.0.1 which you'd expect... because the VHOST is incorrect [07:09] So you want a cat of of my hosts? [07:11] Here is my new 001-laravel.dev.conf file [07:11] http://pastebin.com/zsNZM2g5 [07:11] KLVTZ: just to be sure that basic name resolution is configured... also "cat /etc/nsswitch.conf" [07:12] @TJ- @mmazing here is a cat of my /etc/hosts http://pastebin.com/9Lc4E8kq [07:13] @TJ- here is a cat of my nsswitch.conf http://pastebin.com/E9SENWLH [07:16] If the VHOST is incorrect, how should i change the basic name resolution. Or specifically where? [07:17] KLVTZ: firstly, as you only have "laravel.dev" in /etc/hosts, you should match that in the apache vhost config file "ServerName laravel.dev" - there is no "www." [07:19] THAT DID IT! [07:19] Rain is falling from the heavans [07:20] children are exploding against walls and glitter is zooming through the air [07:20] people will ask who that amazing being is [07:20] an it's TJ! [07:20] but i will also take mmazing! [07:20] damn it was that simple [07:20] xD [07:20] !cookie|TJ-, [07:20] TJ-,: Wow! You're such a great helper, you deserve a cookie! [07:20] !beer [07:21] TJ I would personally buy you a beer [07:21] if i could [07:21] xD [07:21] Thank you so much! [07:24] * TJ- sips the coffee [07:26] heh it was mostly TJ- :) [07:26] i'm very tired [07:27] mmazing: me too... woke up early (3am) and now regretting it [07:28] Where you guys at? [07:28] i've had a looooong day of family xmas and have had about the last hour of my day to deal with my computer [07:28] I'm in Cal [07:28] Damn. It's 80 here during the day [07:29] i really wish for at least rain :( [07:29] UK here... 07:28 [07:29] it was 20 F here a few days ago [07:29] Now that's a great time [07:29] And I'm wishing for sun and warmth... want to swap? :) [07:29] damnn brrrr [07:29] Yeah TJ let's switch! [07:29] My gift for you lol [07:29] where in cali? LA? [07:30] im in kansas, i have family in san diego and LA though [07:30] Ha... as long as you walk both Huskies and bath them afterwards! [07:30] im ... not a fan of LA [07:31] my business partner recently moved to where i am from LA, and they are freaking out about how cold it is here haha [07:33] also, on top of my 14+ hour day of extended family xmas, i came home to my dog having destroyed my front door :\ [07:34] he even had people over to feed/water/let him out [07:37] @mmazing, I'm in irvine at the moment! [07:37] I head back to a slightly colder climate in the High Desert next week' [07:37] at least there, at night, its 15 F [07:37] I would always recommend a person who comes to visit cali to visit northern cali [07:38] its like a different stat [07:38] state8 [07:38] Norcal vs Socal [07:38] a huge difference [07:40] yeah, i've driven a bit in northern california, was nice, the only part i seem to despise is LA haha [07:40] i even like san diego [07:40] i lived in boston for 3 years too, it's not the population density, it's the people [07:40] i can't even describe it [07:51] hi [07:52] after migrating a php web app i am getting redirect loop error. i have total two htaccess files one for moodle and another for jooml. first htaccess http://paste.ubuntu.com/6582362/ and second file http://paste.ubuntu.com/6582364/ [07:52] its not my code. i got this app to add some features. [07:52] please help me to remove this redirect error. [07:58] Your system headers are looping endlessly means somewhere in your app, your file is redirecting. How large is your app? [07:58] Your best bet is to deduct from your current app file. [07:59] I'm pretty sure a .htaccess file is preventing you, unless your rewrite rules are somehow upsetting your request. I'll take a look [07:59] pretty sure it is not* [07:59] pretty sure it is not preventing you. [08:00] KLVTZ: app is too larg. [08:00] ok [08:00] KLVTZ: how do i solve this redirect loop error? [08:00] First off, you mention that your getting a redirect after you migtated an app? [08:00] KLVTZ: this is not my app. i got it to extend further. so i setup test server on rackspace. original web app is on aws. [08:00] migrated* [08:01] And it's working on aws? [08:01] KLVTZ: yes firefox and chromium tells redirect loop [08:01] KLVTZ: yes. i did not touched aws. becasue that is developed be previous developer. [08:01] its working fine on aws. [08:02] by* [08:02] Alright. Hmmm and those two .htaccess files are on aws as well? [08:02] yes. [08:02] it exact copy of aws. [08:02] i only changed the ip address. [08:03] there were many links for original aws web app in the database too. so i first changed link in database to point to new rackspace. and then migrated the web app. [08:04] does changing "localhost" to "actual_ip_address" makes any difference? [08:04] are you on an SSL load balancer? [08:04] there is no ssl on original aws web app. [08:04] and i dont know what is ssl load balancer. [08:05] check out this [08:05] http://www.localwisdom.com/blog/2012/10/htaccess-ssl-redirect-on-rackspace-cloud-sites/ [08:06] KLVTZ: but the original website do not ake use of ssl certificates. i checked with the owner. moodle has something inbuild to handle encryption. [08:07] i read that article. but we dont have ssl. [08:07] hmmm :| [08:10] can do you try out something? I'm not sure if it will work but put in both htaccess: RewriteBase / [08:11] and then restart server [08:13] brb [08:14] KLVTZ: tried rewrite base /. it still gives error this page is not redirecting properly. [08:15] KLVTZ: does two seperate .htacces one for moodle and one for joomla makes it complex and cause error? [08:20] Are those two htacess files in the same directory? [08:23] KLVTZ: no [08:27] inq: Increase the RewiteLogLevel and check the log to see precisely what is being done [08:27] TJ-: ok [11:39] GnuTLS error -15: An unexpected TLS packet was received. while login into my vsftpd Using ssl, How to fix it [12:44] Is there a tutorial for using LDAPscripts with 'groupOfNames'? I can create groups and users using the scripts, when I objectclass is set to 'posixGroup', but not 'groupOfNames'. I have an empty LDAP directory, I just installed it. === gary_poster|away is now known as gary_poster [13:39] Hi i just got a dell r320 but after completed installation it stops before grub even loads.....it sits on looking for devices [13:39] zul, Could you replace your version of ubuntu-xend-probe.patch with the one in my home on chinstrap before the official upload of libvirt-1.2.0 to Trusty, please. That should fix the libxl detection again. [13:40] I did a raid 1....ended up with 1 virtual drive..... but i asume that is the problem..... maybe i should change ahci to raid instead [13:40] smb: yep [13:40] Ta [13:44] Anyone? [15:00] rbasak: i opened bugs 1261416 and 1261419 - not sure how involved you want to be. [15:00] Launchpad bug 1261416 in auto-upgrade-testing "re-tool against (perhaps) uvtool" [Undecided,New] https://launchpad.net/bugs/1261416 [15:00] Launchpad bug 1261419 in sandbox-upgrader "Switch to using downloaded cloud images." [Undecided,New] https://launchpad.net/bugs/1261419 [15:03] hallyn_: thanks. It's on my list, though don't know how involved I can get in it. If uvtool needs features to support those use cases, I can certainly look at adding those. [15:13] roaksoax: https://code.launchpad.net/~zulcss/keystone/keystoneclient-refresh/+merge/199139 === DWSR is now known as Guest89146 === acrocity_ is now known as Guest2357 === darmok_ is now known as darmok === Guest2357 is now known as acrocity [15:16] zul, ? [15:16] oh [15:16] jamespag`: when you get a sec https://code.launchpad.net/~zulcss/keystone/keystoneclient-refresh/+merge/199139 [15:17] adam_g, zul: either of you have time to review my neutron and nova merges? I'd like to drop them into testing this week if possible [15:17] https://code.launchpad.net/~james-page/nova/compute-plus-others/+merge/198763 [15:17] https://code.launchpad.net/~james-page/neutron/ml2-ovs-cleanup-fixes/+merge/198546 [15:17] wait- thats me [15:17] hrm? [15:18] jamespag`: what does ml2 mean again? [15:19] zul, am I me again now? [15:19] nope [15:19] modular layer 2 [15:19] ah yes [15:19] jamespag`: +1 on both of them [15:20] zul, ta [15:22] zj [15:22] zul, ta === jamespag` is now known as jamespage_realme === henkjan_ is now known as henkjan === phunyguy_ is now known as phunyguy === cmagina_ is now known as cmagina === dale is now known as d1n0 === kInOzAwA_ is now known as kInOzAwA === gary_pos` is now known as garyposter === DaIRCKing is now known as GTAXL === axisys_ is now known as axisys === DavidDuffey is now known as dduffey === garyposter is now known as gary_poster === G4MBY2 is now known as PaulW2U === G4MBY2 is now known as PaulW2U === hazmat` is now known as hazmat [16:17] How can i pass variables to a sed command? this is not working: sed "/$1/d" $INDEX [16:18] forget it , wrong chat xD === balloons_ is now known as balloons === Smark[Gone] is now known as Smark === funkyHat_ is now known as funkyHat === Gasseus is now known as Rallias === remix_auei is now known as remix_tj === Daviey_ is now known as Daviey === jamespag` is now known as jamespage === Nomad__ is now known as Nomad_ === balloons_ is now known as balloons === sarnold_ is now known as sarnold [16:37] hallyn_: did you get your EPERM sorted out? were you starting the program via a strace'd shell / terminal? you might need to grand capbility sys_trace to the tracer.. [16:42] sarnold: yeah thanks, got past that. [16:42] sarnold: i thought things used to be more consistent re EPERM vs EACCES [16:42] but when non-root tries to read a roto file i'm getting EACCES... [16:43] sarnold: thanks :) [16:44] hallyn_: tbh the handful of times I thought I understood the EPERM vs EACCES errors, I was probably just deluding myself :) hehe [16:50] sarnold: i'm pretty sure it used to be that EACCESS meant lsm denied it === markthomas1 is now known as markthomas [16:53] hallyn_: hrm, what did it mean before lsms? [16:54] sarnold: dunno :) [16:54] hehe :) [16:55] sarnold: anyway at this point i'm at a loss for why i can't get libvirt-launched qemu to do pulseaudio, and i'm out of time :( [16:55] hallyn_ :( === sonne_ is now known as sonne === FunnyLookinHat__ is now known as FunnyLookinHat === arubi_ is now known as arubi [17:37] Hi! Any guy with nagios knowledge? Last Check time stamp is incorrect... [17:44] mdma: You may want to ask in #nagios as well. [17:44] Sorry no answer in nagios.... === hggdh_ is now known as hggdh === codex_ is now known as codex === lamont` is now known as lamont [18:53] Is there a tutorial for using LDAPscripts with 'groupOfNames'? I can create groups and users using the scripts, when I objectclass is set to 'posixGroup', but not 'groupOfNames'. I have an empty LDAP directory, I just installed it. === alamar is now known as julian === root________ is now known as aarcane [20:34] Hi there guys [20:35] The last couple of months we have been hit very hard by crashes of various servers running ubuntu 10.04 [20:35] Some of them in different locations.... [20:36] First question: how can I find out why a server crashed in the logs? We've been looking and searching .. no luck === thebwt__ is now known as thebwt [20:37] Is there like a action plan to follow.... to find out the root cause of the crash? [20:40] RealKillaz: study linux-crashdump package === esde_ is now known as esde [20:41] a recent ubuntu server guide has a writeup === Guest89146 is now known as DWSR === highvolt1ge is now known as highvoltage [20:47] gents, still looking for backup options. [20:56] i've messed with FSarchiver, but can't configure because of some blkid issue (no googling will help apparently). I've done a dd copy but I don't want the entire drive "imaged" when less than 1/2 is actually used, and clonezilla is a little too intrusive (i.e. reboot to get an image). So I'm looking for help with either other options or to install clonezilla to the hdd. [20:57] lickalott, please don't crosspost :( [21:03] pmatulis, looks good thank you... will look into it === HiddenDjinn is now known as nyRednek === Ursinha-afk is now known as Ursinha === julian is now known as alamar === gary_poster is now known as gary_poster|away === mjohnson15_2 is now known as mjohnson15 [22:56] I can never get answers in here. I've literally been asking for 3 days and the ONLY person to even say anything was you phunyguy [22:59] lickalott: check out rsnapshot, rdiff, tarsnap (not free, not locally hosted, but looks neat). check out duplicity [23:00] I F*ckin love you sarnold [23:00] thank you! [23:00] :) [23:12] really? that's specifically why I added the * [23:12] ^^ wasn't towards you sarnold [23:27] lickalott: just because you put the *, doesn't NOT make it a swear. [23:27] lickalott: so please try to keep it family friendly. [23:27] rog [23:28] lickalott: also, sidenote, did someone else say something to you about it too? [23:28] because I didn't see it... wonder what is going on with Freenodeexample. [23:28] err accidental paste [23:29] got a pm from ubottu. [23:29] because I didn't see it... wonder what is going on with Freenode.** [23:29] oh, ubottu is a bot. [23:29] someone probably sent that to you. [23:29] that is why I clarified. [23:29] yeah, someone sent it. But i'm not gonna call them out publicly. [23:29] it's all good. Just have to keep it clean. :) [23:30] it's just funny. i could've not added the * (like most other douches on irc) but i specficially chose to do it to mask the actual word, yet I still get my balls busted over it. Not a big deal, but there was intent to keep it clean. [23:32] Middelburg