=== markthomas is now known as markthomas|away | ||
=== esde_ is now known as esde | ||
=== zz_DenBeiren is now known as DenBeiren | ||
=== veebull_ is now known as veebull_away | ||
=== negronjl is now known as negronjl-afk | ||
=== Guest35411 is now known as muser | ||
=== muser_ is now known as muser | ||
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:25 |
---|---|---|
Patrickdk | no idea, sar isn't the tool your looking for though | 05:37 |
Patrickdk | the question is, WHAT i/o errors? | 05:37 |
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? | 05:54 |
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:44 |
=== kickinz1_afk is now known as kickinz1 | ||
matschaffer | dtscode: did those channels include #hhvm and #nginx? (just checking) | 06:53 |
matschaffer | kinda surprised hhvm doesn’t have a mailing list | 06:53 |
dtscode | matschaffer, and #webdev | 06:54 |
matschaffer | does `hhvm <filename>` work? | 06:54 |
dtscode | uhhh let me see | 06:54 |
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:55 |
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:56 |
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:57 |
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:58 |
matschaffer | could just be their current release is busted | 06:59 |
dtscode | hmmm | 07:00 |
matschaffer | what’s `dpkg -l hhvm` show you? | 07:00 |
matschaffer | I just installed 3.4.2~trusty here | 07:00 |
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:01 |
matschaffer | k. Worked once I got the type checker running | 07:02 |
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:03 |
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:04 |
matschaffer | so same os & arch as me then. Granted vagrant vs DO but that doesn’t usually make a functional difference | 07:05 |
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:06 |
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:08 |
matschaffer | and the typechecker is running in the background? | 07:09 |
dtscode | hh_client? | 07:09 |
matschaffer | yeah | 07:10 |
dtscode | it should be | 07:10 |
dtscode | https://bpaste.net/show/a0e03991572c | 07:10 |
matschaffer | yep, looks like same | 07:10 |
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:11 |
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:12 |
dtscode | hmmm... ill try it. | 07:13 |
dtscode | wait... hold on | 07:13 |
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:16 |
=== Lcawte|Away is now known as Lcawte | ||
kabar | I used SSL and i want to setup ufw for my ubuntu-server. Please guide me :) | 07:36 |
dtscode | alright. thanks matschaffer ! | 07:40 |
jk- | anyone have recommendations for HW RAID that doesn't need a proprietary driver or configuration utilities? | 07:40 |
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:42 |
matschaffer | kabar: seen http://serverfault.com/a/410/76145 ? | 07:44 |
matschaffer | “ssl” by itself can apply to many services. but guessing you mean https | 07:45 |
kabar | if i used ssl can i allow both http and https in ufw ? | 07:46 |
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:47 |
matschaffer | otherwise someone typing kabarsdomain.com would just get an error if the browser tries http first | 07:48 |
matschaffer | if you don’t care about that, you might not have a reason to open both | 07:49 |
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:50 |
kabar | i want my site direct open with https:kabarsdomain.com so for do that should i open both ? | 07:51 |
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:52 |
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:54 |
lordievader | Good morning. | 07:55 |
kabar | ok i get it :) | 07:55 |
matschaffer | cool! | 07:55 |
kabar | thanks matschaffer :) | 07:55 |
matschaffer | no problem :) | 07:56 |
=== Lcawte is now known as Lcawte|Away | ||
=== Lcawte|Away is now known as Lcawte | ||
=== martins-afk is now known as martinst | ||
=== martinst is now known as martins-afk | ||
=== martins-afk is now known as martinst | ||
pmatulis | morning | 12:10 |
=== kickinz1 is now known as kickinz1_afk | ||
=== martinst is now known as martins-afk | ||
lnxmen | If I want to create mail service on my ubuntu server, what software should I use? | 12:31 |
r0flcopter | Hello, i have some questions SSH. I'm having some problems with pub/priv keys. | 12:36 |
lnxmen | r0flcopter: what exactly is a problem? | 12:37 |
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:38 |
pmatulis | lnxmen: provide webmail to others then? | 12:39 |
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:40 |
=== Lcawte is now known as Lcawte|Away | ||
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:43 |
pmatulis | r0flcopter: try to understand the basic logic to all of this instead of following tutorials blindly. it will help a lot | 12:44 |
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:45 |
pmatulis | that's hilarious, but i hope he/she gets better soon | 12:46 |
r0flcopter | yeah! me too! | 12:46 |
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:47 |
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:48 |
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:52 |
r0flcopter | pmatulis: wow... I might just do that! | 12:54 |
=== kickinz1_afk is now known as kickinz1 | ||
=== Lcawte|Away is now known as Lcawte | ||
coreycb | jamespage, zul: mir for python-pint https://bugs.launchpad.net/ubuntu/+bug/1407970 | 13:43 |
uvirtbot | Launchpad bug 1407970 in ubuntu "[MIR] python-pint" [Undecided,New] | 13:43 |
zul | python-pint? | 13:43 |
zul | coreycb: its not even in the archive isnt it? | 13:45 |
coreycb | zul, I'm not sure, it's in universe | 13:46 |
coreycb | zul, I think I see the confusion, it's only in vivid/universe | 13:50 |
zul | coreycb: yeah i was on utopic | 13:51 |
Siilwyn | Hi folks, I accidentally deleted /etc/environment , what should I do? | 14:25 |
=== Lcawte is now known as Lcawte|Away | ||
collizion | Siilwyn: What version of Ubuntu Server? | 14:28 |
Siilwyn | 14.04 | 14:28 |
Siilwyn | I'm using nginx. | 14:28 |
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:29 |
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:30 |
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:31 |
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:32 |
Siilwyn | Oh, and one more question: what file permissions does it have collizion, pmatulis ? | 14:33 |
collizion | root:root, 0644 | 14:33 |
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:34 |
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:35 |
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:36 |
jamespage | coreycb, zul: starting to hate pysaml2 a bit | 14:39 |
zul | jamespage: how so? | 14:39 |
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:40 | |
zul | jamespage: does it fail doing the package build? | 14:41 |
jamespage | zul, no cause it has a || true | 14:41 |
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:42 |
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? | 14:50 |
=== bilde2910|away is now known as bilde2910 | ||
jamespage | coreycb, zul: doing sahara now | 15:00 |
gaughen | so jamespage why are we not MIR'ing python-rtslib-fb? | 15:00 |
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:01 |
=== Lcawte|Away is now known as Lcawte | ||
=== kickinz1 is now known as kickinz1|bbl | ||
YamakasY1 | why is /etc/network/interfaces.d still ignored ? | 15:23 |
YamakasY1 | per default ? | 15:23 |
=== Lcawte is now known as Lcawte|Away | ||
YamakasY1 | no-one ? | 15:35 |
jpds | YamakasY1: It isn't. | 15:36 |
YamakasY1 | jpds: here it is | 15:36 |
YamakasY1 | or am I doing something wrong with naming ? | 15:36 |
jpds | YamakasY1: Do you have a "source-directory interfaces.d" line in interfaces? | 15:37 |
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:38 |
jpds | YamakasY1: Well, if you're not sourcing a file or the directory in interfaces, it's not going to work. | 15:39 |
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:41 |
YamakasY1 | jpds: but that is not going to happen on first boot | 15:42 |
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:43 |
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:45 |
YamakasY1 | jpds: ? | 15:46 |
YamakasY1 | how do you mean ? | 15:46 |
YamakasY1 | jpds: ah | 15:47 |
YamakasY1 | uhm | 15:47 |
YamakasY1 | jpds: nope not doable | 15:50 |
YamakasY1 | the file is overwritten after preseed finish | 15:50 |
=== kickinz1|bbl is now known as kickionz1 | ||
=== kickionz1 is now known as kickinz1 | ||
YamakasY1 | jpds: so out of options I think | 15:55 |
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:56 |
YamakasY1 | /usr/lib//finish-install.d/55netcfg-copy-config | 15:57 |
YamakasY1 | that is what we need to remove | 15:58 |
YamakasY1 | jpds: doesn't matter it's overwritten | 15:58 |
=== Lcawte|Away is now known as Lcawte | ||
=== negronjl-afk is now known as negronjl | ||
YamakasY1 | mhh cannot get it solved | 17:22 |
=== markthomas|away is now known as markthomas | ||
Stuxnet | Hi all. Does anyone know of a good and working IRC tutorial for Ubuntu server? | 17:31 |
pmatulis | Stuxnet: you mean to run an IRC server? | 17:38 |
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:42 |
pmatulis | interesting | 17:45 |
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:49 |
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:54 |
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:56 |
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. | 17:57 |
Stuxnet | Building Inspire IRCd :P | 18:11 |
lucidguy | blahh | 18:34 |
fandi | hello all, how to change Server From Respond header on apache2 "Apache/2.4.7 (Ubuntu)" | 18:40 |
jrwren | fandi: see the ServerTokens directive. maybe change it to Prod | 18:42 |
jrwren | fandi: to change it requires recompile IIRC | 18:43 |
fandi | jrwren :do you have link reference ? | 18:47 |
jrwren | docs.apache.org | 18:50 |
jrwren | http://httpd.apache.org/docs/current/mod/core.html#serversignature | 18:50 |
fandi | jrwren: ok thanks.. let me check it | 18:52 |
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:07 |
jrwren | mod_security is cool. | 19:09 |
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:11 |
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:12 |
sarnold | Stuxnet :) | 20:13 |
YamakasY1 | how do I start all network interface that are down but are on auto ? | 20:17 |
sarnold | YamakasY1: 'ifup -a'? | 20:17 |
YamakasY1 | sarnold: that would be an idea | 20:18 |
=== broder_ is now known as broder | ||
YamakasY1 | sarnold: merci tho | 20:45 |
sarnold | YamakasY1: did it go? | 20:47 |
YamakasY1 | sarnold: yap! | 20:47 |
sarnold | yay :) | 20:48 |
=== kickinz1 is now known as kickinz1|afk | ||
=== bilde2910 is now known as bilde2910|away | ||
coreycb | jamespage, zul: trove needs python-designateclient, currently in universe | 21:06 |
zul | coreycb: okies | 21:07 |
zul | coreycb: ill have a look tonight | 21:07 |
coreycb | zul, if not I can handle it. I'm looking for objections to an MIR request more than anything. | 21:09 |
zul | trove isnt in main | 21:10 |
=== markthomas is now known as markthomas|away | ||
coreycb | zul, ah.. so I guess deps don't need to be in main either | 21:12 |
zul | coreycb: nope | 21:12 |
coreycb | zul, nope = deps don't need to be in main? | 21:14 |
zul | deps dont have to be in main | 21:15 |
coreycb | k | 21:15 |
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 | 21:32 |
=== markthomas|away is now known as markthomas | ||
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:14 |
Stuxnet | oops wrong window. | 23:15 |
=== Lcawte is now known as Lcawte|Away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!