[05:25] <Sharetel> Hi, please let me know if there's any utility that lets me check the i/o related issues. Apparently, there were some i/o errors in logs. I have tried the "sar" command but would like to know if any other utility would help assess it too.
[05:37] <Patrickdk> no idea, sar isn't the tool your looking for though
[05:37] <Patrickdk> the question is, WHAT i/o errors?
[05:54] <matschaffer> Hi, a few days ago I was attempting to rebuild nginx to include nginx-auth-ldap. I came up with this: https://gist.github.com/matschaffer/97764148967fe17e5349 which seems to at least get the build process working but it ends up downloading an orig.tar.gz and ignoring my attempt at picking up the new module. Is there an easy fix here or should I plan to just read
[05:54] <matschaffer> https://www.debian.org/doc/manuals/maint-guide/start.en.html in its entirety?
[06:44] <dtscode> hey guys... would you mind helping me with an issue? ive tried every other relevant channel but no one has responded. ive got nginx installed on my 14.04 ubuntu vps, and then i read this ( https://www.andrewmunsell.com/blog/setup-hack-and-hhvm-on-digital-ocean ) but now, i appear to have broken something, as you can see by going to dtscode.io .can someone help me?
[06:53] <matschaffer> dtscode: did those channels include #hhvm and #nginx? (just checking)
[06:53] <matschaffer> kinda surprised hhvm doesn’t have a mailing list
[06:54] <dtscode> matschaffer, and #webdev
[06:54] <matschaffer> does `hhvm <filename>` work?
[06:54] <dtscode> uhhh let me see
[06:55] <dtscode> im still going to try it, but just fyi, the area i think i fucked up on is "linking" hhvm to fastcgi to nginx
[06:56] <matschaffer> could be. seeing the nginx config would help too
[06:56] <matschaffer> I’m also guessing `ps wuax | grep hhvm` should show something
[06:56] <matschaffer> after you run `/usr/bin/hhvm --mode daemon -vServer.Type=fastcgi -vServer.Port=9000` in the last step
[06:57] <dtscode> dtscode@dragontoothsoftware:~$ hhvm /var/www/index.hh
[06:57] <dtscode> (unknown exception was thrown)
[06:57] <matschaffer> I’d fix that first
[06:57] <dtscode> ok
[06:57] <matschaffer> guessing if you can at least get hhvm working the nginx/fastcgi bits should fall into place as described in the post
[06:58] <dtscode> how would i fix it?
[06:58] <dtscode> this is the script:
[06:58] <dtscode> <?hh
[06:58] <dtscode>         echo "Hello, world!";
[06:58] <matschaffer> dunno, never used hhvm
[06:58] <dtscode> damn :/
[06:59] <matschaffer> could just be their current release is busted
[07:00] <dtscode> hmmm
[07:00] <matschaffer> what’s `dpkg -l hhvm` show you?
[07:00] <matschaffer> I just installed 3.4.2~trusty here
[07:01] <matschaffer> got “Fatal error: /root/hello.hh appears to be a Hack file, but you do not appear to be running the Hack typechecker. See the documentation at http://docs.hhvm.com/manual/en/install.hack.bootstrapping.php for information on getting it running. You can also set Hack.Lang.LookForTypechecker=0 to disable this check (not recommended).”
[07:02] <matschaffer> k. Worked once I got the type checker running
[07:03] <matschaffer> https://gist.github.com/matschaffer/79c8f59b352e4b382f23
[07:03] <matschaffer> this is on a vagrant ubuntu/trusty64
[07:03] <dtscode> ok thanks :D. sorry... was dealing with someone in ##php
[07:04] <matschaffer> dtscode: so it _should_ be doable, but it’ll depend on what version of ubuntu, hhvm, and what architecture
[07:04] <dtscode> ok. arch is 64 bit. i know that
[07:04] <dtscode> ubuntu is trusty
[07:05] <matschaffer> so same os & arch as me then. Granted vagrant vs DO but that doesn’t usually make a functional difference
[07:06] <dtscode> uh this is what i get with hhvm --version:
[07:06] <dtscode> HipHop VM 3.4.2 (rel)
[07:06] <dtscode> well, the relevant part anyways
[07:08] <matschaffer> I’d do `dpkg -l hhvm`
[07:08] <matschaffer> make sure you got the same package I did
[07:08] <dtscode> ok
[07:08] <matschaffer> granted, probably did
[07:09] <matschaffer> and the typechecker is running in the background?
[07:09] <dtscode> hh_client?
[07:10] <matschaffer> yeah
[07:10] <dtscode> it should be
[07:10] <dtscode> https://bpaste.net/show/a0e03991572c
[07:10] <matschaffer> yep, looks like same
[07:11] <matschaffer> and touched a .hhconfig in /var/www/ ?
[07:11] <dtscode> hh_client isnt running, but i dont think it needs to be. ive got this running with apache before and i didnt have it running in the background then
[07:11] <dtscode> and yeah. i touched the .hhconfig in /var/www
[07:11]  * matschaffer shrugs. Mind didn’t run until I did that
[07:11] <matschaffer> maybe cd into /var/ww as well
[07:11] <matschaffer> no idea how hh_client does its thing
[07:12] <matschaffer> mine wouldn’t run at all without hh_client. Also offered setting Hack.Lang.LookForTypechecker=0, did you do that maybe? Like I said never used this stuff before just trying to help provide a “2nd opinion” of sorts
[07:13] <dtscode> hmmm... ill try it.
[07:13] <dtscode> wait... hold on
[07:16] <matschaffer> also looks like hh_client said it would log to a file. Maybe check that assuming you’re running hh_client. And if all else fails maybe `strace hhvm index.hh` could reveal what it’s doing just before it dies
[07:36] <kabar> I used SSL and  i want to setup ufw for my ubuntu-server. Please guide me :)
[07:40] <dtscode> alright. thanks matschaffer !
[07:40] <jk-> anyone have recommendations for HW RAID that doesn't need a proprietary driver or configuration utilities?
[07:42] <kabar> if i used SSL then which ufw is right (1) sudo ufw allow ssh, sudo ufw allow http, sudo ufw allow 22222/tcp, sudo ufw allow 443/tcp, sudo ufw logging off, sudo ufw enable (2) sudo ufw allow ssh, sudo ufw allow http, sudo ufw allow 22222/tcp, sudo ufw allow 443/tcp, sudo ufw logging off, sudo ufw enable
[07:42] <kabar> (2) sudo ufw allow ssh, sudo ufw allow https, sudo ufw allow 22222/tcp, sudo ufw allow 443/tcp, sudo ufw logging off, sudo ufw enable
[07:44] <matschaffer> kabar: seen http://serverfault.com/a/410/76145 ?
[07:45] <matschaffer> “ssl” by itself can apply to many services. but guessing you mean https
[07:46] <kabar> if i used ssl can i allow both http and https in ufw ?
[07:47] <matschaffer> nothing should prohibit it
[07:47] <matschaffer> up to you if you want to, but I typically recommend it so you can 302 people from http -> https
[07:48] <matschaffer> otherwise someone typing kabarsdomain.com would just get an error if the browser tries http first
[07:49] <matschaffer> if you don’t care about that, you might not have a reason to open both
[07:50] <vvassilev> Hi all, I have ubuntu 10.04 and after an upgrade to 2.6.32-70 I started to get isw couldn't find disk /dev/sdb in metadata... On this machine I have a RAID 1 on separate cheap RAID board.
[07:50] <vvassilev> I have no idea how to diagnose what is the problem... Any clues?
[07:50] <vvassilev> After the error in isw, it says that cannot find modules.dep in /lib/modules/...-70...
[07:50] <vvassilev> It eventually boots but there are a lot of 'missing stuff'..
[07:51] <kabar> i want my site direct open with https:kabarsdomain.com so for do that should i open both ?
[07:52] <kabar> sudo ufw allow ssh, sudo ufw allow http, sudo ufw allow https, sudo ufw allow 22222/tcp, sudo ufw allow 443/tcp, sudo ufw logging off, sudo ufw enable
[07:52] <kabar> like above
[07:54] <matschaffer> if you expect people to type “https://kabarsdomain.com” you only need https. But anyone who types just “kabarsdomain.com” will get an error unless http is open and redirecting to https
[07:55] <lordievader> Good morning.
[07:55] <kabar> ok i get it :)
[07:55] <matschaffer> cool!
[07:55] <kabar> thanks matschaffer :)
[07:56] <matschaffer> no problem :)
[12:10] <pmatulis> morning
[12:31] <lnxmen> If I want to create mail service on my ubuntu server, what software should I use?
[12:36] <r0flcopter> Hello, i have some questions SSH. I'm having some problems with pub/priv keys.
[12:37] <lnxmen> r0flcopter: what exactly is a problem?
[12:38] <r0flcopter> Im getting the "no supported authentication methods avaliable" error on putty
[12:38] <pmatulis> lnxmen: what sort of mail service?
[12:38] <lnxmen> pmatulis: site support, etc.
[12:38] <lnxmen> Something like roundcube
[12:39] <pmatulis> lnxmen: provide webmail to others then?
[12:40] <r0flcopter> lnxmen: I've used ssh-add to add the pubkey to my ubuntu server. And copied the private key to my windows machine, and converted it using puttygen. From there I've added the *.ppk file to putty.
[12:43] <pmatulis> r0flcopter: ssh-add is not used with public keys, but with private keys, and it's for the ssh client, not the server
[12:43] <r0flcopter> oh... well in that case! thanks of the pointer! I'll go and google some more then :)
[12:44] <pmatulis> r0flcopter: try to understand the basic logic to all of this instead of following tutorials blindly.  it will help a lot
[12:45] <r0flcopter> pmatulis: Yeah, its the first time I've really touched SSH.
[12:45] <r0flcopter> It's a school project, but the only teacher that knows SSH is currently sick...
[12:46] <pmatulis> that's hilarious, but i hope he/she gets better soon
[12:46] <r0flcopter> yeah! me too!
[12:47] <r0flcopter> But the wierd thing is, the first time I connected with putty, I had no issues. But secound or maybe third, I can't remember, it all when to shitland...
[12:48] <pmatulis> r0flcopter: it might be better to learn on both a linux client and linux server.  it's simpler.  once you understand the basics branch out to windows
[12:52] <r0flcopter> I guess. But we have an entire windows environment, with AD and such. And the ubuntu server is only to be used as a web server.
[12:52] <pmatulis> r0flcopter: HOMEWORK - read chapters 1, 2, 6, and 12 ---> http://goo.gl/KsmrFh
[12:54] <r0flcopter> pmatulis: wow... I might just do that!
[13:43] <coreycb> jamespage, zul: mir for python-pint https://bugs.launchpad.net/ubuntu/+bug/1407970
[13:43] <zul> python-pint?
[13:45] <zul> coreycb:  its not even in the archive isnt it?
[13:46] <coreycb> zul, I'm not sure, it's in universe
[13:50] <coreycb> zul, I think I see the confusion, it's only in vivid/universe
[13:51] <zul> coreycb:  yeah i was on utopic
[14:25] <Siilwyn> Hi folks, I accidentally deleted /etc/environment , what should I do?
[14:28] <collizion> Siilwyn: What version of Ubuntu Server?
[14:28] <Siilwyn> 14.04
[14:28] <Siilwyn> I'm using nginx.
[14:29] <Siilwyn> collizion, can I generate a new one, or recover it? (since I deleted it only a few minutes ago)
[14:29] <esde> you could start by copying the same file from a working server
[14:29] <pmatulis> Siilwyn: here you go: http://paste.ubuntu.com/9682390/
[14:29] <esde> yes, you could try to recover the deleted file, if you've made changes to it specific to your system
[14:30] <Siilwyn> Alright, well I didn't change anything manually. The only things I installed on that server are: nginx and fail2ban. Could I use the default content then?
[14:30] <esde> dont wee why not
[14:31] <esde> *s
[14:31] <collizion> I don't know of anything, really, that modifies that.
[14:31] <coreycb> jamespage, cinder has rtstool in cinder/cmd/rtstool.py now, which uses rtslib, so I'll have to disable that (assuming we're not going to MIR python-rtslib-fb)
[14:31] <Siilwyn> collizion and pmatulis thanks for the content. And esde thanks for your answer too.
[14:31] <collizion> Cheers!
[14:31] <Siilwyn> But, the content of your files is different.
[14:32] <Siilwyn> I'll try: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
[14:32] <Siilwyn> Thanks people.
[14:32] <Siilwyn> Is there any way I can make sure nothing broke?
[14:33] <Siilwyn> Oh, and one more question: what file permissions does it have collizion, pmatulis ?
[14:33] <collizion> root:root, 0644
[14:34] <pmatulis> Siilwyn: i'm pretty sure i gave that to you
[14:34] <esde> pmatulis, you did
[14:34] <Siilwyn> oh, sorry, now I see it. Your paste are commands I can use. Right?
[14:34] <esde> no
[14:35] <Siilwyn> oh
[14:35] <jamespage> coreycb, hmmm
[14:35] <esde> sudo chmod 0644 /etc/environment; sudo chown root:root /etc/environment
[14:35] <esde> merry christmas
[14:35] <Siilwyn> you too
[14:35] <jamespage> coreycb, you could make it a suggested
[14:35] <jamespage> Suggests: python-rtslib-fb
[14:36] <jamespage> that will avoid the MIR and if people really want to use LIO - well they can but mileage may vary
[14:36] <coreycb> jamespage, ok thanks I'll look into that
[14:39] <jamespage> coreycb, zul: starting to hate pysaml2 a bit
[14:39] <zul> jamespage:  how so?
[14:40] <jamespage> zul, its test suite in all released versions is flakey
[14:40] <jamespage> well broken
[14:40] <zul> awesome-o
[14:40] <jamespage> zul, head of  git is OK
[14:40]  * jamespage ponders a snapshot
[14:41] <zul> jamespage:  does it fail doing the package build?
[14:41] <jamespage> zul, no cause it has a || true
[14:42] <zul> jamespage:  heh i mean if you remove that part
[14:42] <jamespage> zul, right now there are a few errors and 2 failures in 2.0.0 - 2.2.0 moved the failures around
[14:42] <zul> jamespage:  ok
[14:50] <kevindf> If I setup forwarders on my caching DNS server, does it just immediatly forward the requests? Or will it check the local database first and if it doesn't find it there look up at the forwarders?
[15:00] <jamespage> coreycb, zul: doing sahara now
[15:00] <gaughen> so jamespage why are we not MIR'ing python-rtslib-fb?
[15:01] <coreycb> jamespage, thanks
[15:01] <jamespage> gaughen, because tgt is our primary iscsi solution
[15:01] <jamespage> gaughen, not LIO
[15:01] <jamespage> rtslib is a management API for LIO
[15:01] <gaughen> aaaah okay
[15:23] <YamakasY1> why is /etc/network/interfaces.d still ignored ?
[15:23] <YamakasY1> per default ?
[15:35] <YamakasY1> no-one ?
[15:36] <jpds> YamakasY1: It isn't.
[15:36] <YamakasY1> jpds: here it is
[15:36] <YamakasY1> or am I doing something wrong with naming ?
[15:37] <jpds> YamakasY1: Do you have a "source-directory interfaces.d" line in interfaces?
[15:38] <YamakasY1> jpds: nope, this because preseed overwrites it after reboot
[15:38] <YamakasY1> I need ot have that nic up on the first boot
[15:38] <YamakasY1> so I'm looking for a solution
[15:39] <jpds> YamakasY1: Well, if you're not sourcing a file or the directory in interfaces, it's not going to work.
[15:41] <YamakasY1> jpds: no but how do I accomplish it after preseed on the first boot
[15:41] <jpds> YamakasY1: I have: "source /etc/network/interfaces.d/*.cfg" in my interfaces file.
[15:41] <YamakasY1> that's a real big issue it seems
[15:41] <jpds> YamakasY1: Well, by hand or with some configuration management software.
[15:42] <YamakasY1> jpds: but that is not going to happen on first boot
[15:43] <jpds> YamakasY1: It can...
[15:43] <YamakasY1> I puppetize these machines, but I wonder why preseed remove it when I add that source line during preseed
[15:43] <YamakasY1> jpds: how ?
[15:43] <jpds> YamakasY1: I enable puppet on install.
[15:43] <jpds> YamakasY1: Machine reboots after install, goes to Puppet, all is happy.
[15:45] <YamakasY1> jpds: it does but the machine is still booted than
[15:45] <YamakasY1> I need to have it up on boot
[15:45] <jpds> YamakasY1: still booted?
[15:46] <YamakasY1> jpds: ?
[15:46] <YamakasY1> how do you mean ?
[15:47] <YamakasY1> jpds: ah
[15:47] <YamakasY1> uhm
[15:50] <YamakasY1> jpds: nope not doable
[15:50] <YamakasY1> the file is overwritten after preseed finish
[15:55] <YamakasY1> jpds: so out of options I think
[15:56] <jpds> YamakasY1: How it is overridden when finished?
[15:56] <jpds> YamakasY1: Are you overwriting the file in /target, or on the system itself?
[15:56] <jpds> system being the install media.
[15:57] <YamakasY1> /usr/lib//finish-install.d/55netcfg-copy-config
[15:58] <YamakasY1> that is what we need to remove
[15:58] <YamakasY1> jpds: doesn't matter it's overwritten
[17:22] <YamakasY1> mhh cannot get it solved
[17:31] <Stuxnet> Hi all. Does anyone know of a good and working IRC tutorial for Ubuntu server?
[17:38] <pmatulis> Stuxnet: you mean to run an IRC server?
[17:42] <Stuxnet> pmatulis: Yes.
[17:42] <Stuxnet> I attempted to do so by following the ubuntu server documentation but it didn't appear to have enough information for my newbie experience level.
[17:45] <pmatulis> interesting
[17:49] <Stuxnet> I suppose my delimma is simply the fact that it's difficult to choose a tutorial because there are so many different IRC server packages and every tutorial I click on seem to go through very different steps.
[17:54] <duxklr> Stuxnet: I use inspird for my internal work IRC server.   It was a snap to setup.   We don’t use it for anything special but internal work communication.   I like it.
[17:56] <Stuxnet> Thanks, duxklr. That's all I want one for right now is for testing/experimentation among friends/family.
[17:56] <Stuxnet> I will look into it.
[17:57] <duxklr> Stuxnet: we have been using it for years.   I just rebuilt the irc server last week in an hour or so.
[17:57] <Stuxnet> Nice.
[18:11] <Stuxnet> Building Inspire IRCd :P
[18:34] <lucidguy> blahh
[18:40] <fandi> hello all, how to change Server From Respond header on apache2 "Apache/2.4.7 (Ubuntu)"
[18:42] <jrwren> fandi: see the ServerTokens directive.  maybe change it to Prod
[18:43] <jrwren> fandi: to change it requires recompile IIRC
[18:47] <fandi> jrwren :do you have link reference ?
[18:50] <jrwren> docs.apache.org
[18:50] <jrwren> http://httpd.apache.org/docs/current/mod/core.html#serversignature
[18:52] <fandi> jrwren: ok thanks.. let me check it
[19:07] <fandi> hi jrwren : i find this link https://www.howtoforge.com/changing-apache-server-name-to-whatever-you-want-with-mod_security-on-debian-6
[19:07] <fandi> jrwren: it's can change serversignature
[19:09] <jrwren> mod_security is cool.
[20:11] <Stuxnet> When navigating directories is there a way to simple go from home/zachary/blah to /home/zachary/blah/foo without typing the entire directory, i.e. "cd /home/zachary/blah/foo"
[20:12] <Stuxnet> It'd be nice if while I am in /home/zachary/blah I could just type cd /foo
[20:12] <Stuxnet> simply*
[20:12] <sarnold> Stuxnet: "cd foo"
[20:12] <Stuxnet> Hehe :) newbie problems.
[20:12] <Stuxnet> Thanks sarnold.
[20:13] <sarnold> Stuxnet :)
[20:17] <YamakasY1> how do I start all network interface that are down but are on auto ?
[20:17] <sarnold> YamakasY1: 'ifup -a'?
[20:18] <YamakasY1> sarnold: that would be an idea
[20:45] <YamakasY1> sarnold: merci tho
[20:47] <sarnold> YamakasY1: did it go?
[20:47] <YamakasY1> sarnold: yap!
[20:48] <sarnold> yay :)
[21:06] <coreycb> jamespage, zul: trove needs python-designateclient, currently in universe
[21:07] <zul> coreycb:  okies
[21:07] <zul> coreycb:  ill have a look tonight
[21:09] <coreycb> zul, if not I can handle it.  I'm looking for objections to an MIR request more than anything.
[21:10] <zul> trove isnt in main
[21:12] <coreycb> zul, ah.. so I guess deps don't need to be in main either
[21:12] <zul> coreycb:  nope
[21:14] <coreycb> zul, nope = deps don't need to be in main?
[21:15] <zul> deps dont have to be in main
[21:15] <coreycb> k
[21:32] <coreycb> jamespage, zul: cinder and trove are ready for review when you have a chance
[21:32] <coreycb> https://code.launchpad.net/~corey.bryant/cinder/2015.1-b1/+merge/245244
[21:32] <coreycb> https://code.launchpad.net/~corey.bryant/trove/2015.1-b1/+merge/245693
[21:32] <coreycb> horizon is blocked on MIRs
[23:14] <Stuxnet> Hi all, why would ircd-irc2 still be in the service status list as [?] even though it's not installed and after a reboot?
[23:14] <Stuxnet> ps
[23:15] <Stuxnet> oops wrong window.