/srv/irclogs.ubuntu.com/2015/01/06/#ubuntu-server.txt

=== 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
SharetelHi, 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
Patrickdkno idea, sar isn't the tool your looking for though05:37
Patrickdkthe question is, WHAT i/o errors?05:37
matschafferHi, 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 read05:54
matschafferhttps://www.debian.org/doc/manuals/maint-guide/start.en.html in its entirety?05:54
dtscodehey 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
matschafferdtscode: did those channels include #hhvm and #nginx? (just checking)06:53
matschafferkinda surprised hhvm doesn’t have a mailing list06:53
dtscodematschaffer, and #webdev06:54
matschafferdoes `hhvm <filename>` work?06:54
dtscodeuhhh let me see06:54
dtscodeim still going to try it, but just fyi, the area i think i fucked up on is "linking" hhvm to fastcgi to nginx06:55
matschaffercould be. seeing the nginx config would help too06:56
matschafferI’m also guessing `ps wuax | grep hhvm` should show something06:56
matschafferafter you run `/usr/bin/hhvm --mode daemon -vServer.Type=fastcgi -vServer.Port=9000` in the last step06:56
dtscodedtscode@dragontoothsoftware:~$ hhvm /var/www/index.hh06:57
dtscode(unknown exception was thrown)06:57
matschafferI’d fix that first06:57
dtscodeok06:57
matschafferguessing if you can at least get hhvm working the nginx/fastcgi bits should fall into place as described in the post06:57
dtscodehow would i fix it?06:58
dtscodethis is the script:06:58
dtscode<?hh06:58
dtscode        echo "Hello, world!";06:58
matschafferdunno, never used hhvm06:58
dtscodedamn :/06:58
matschaffercould just be their current release is busted06:59
dtscodehmmm07:00
matschafferwhat’s `dpkg -l hhvm` show you?07:00
matschafferI just installed 3.4.2~trusty here07:00
matschaffergot “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
matschafferk. Worked once I got the type checker running07:02
matschafferhttps://gist.github.com/matschaffer/79c8f59b352e4b382f2307:03
matschafferthis is on a vagrant ubuntu/trusty6407:03
dtscodeok thanks :D. sorry... was dealing with someone in ##php07:03
matschafferdtscode: so it _should_ be doable, but it’ll depend on what version of ubuntu, hhvm, and what architecture07:04
dtscodeok. arch is 64 bit. i know that07:04
dtscodeubuntu is trusty07:04
matschafferso same os & arch as me then. Granted vagrant vs DO but that doesn’t usually make a functional difference07:05
dtscodeuh this is what i get with hhvm --version:07:06
dtscodeHipHop VM 3.4.2 (rel)07:06
dtscodewell, the relevant part anyways07:06
matschafferI’d do `dpkg -l hhvm`07:08
matschaffermake sure you got the same package I did07:08
dtscodeok07:08
matschaffergranted, probably did07:08
matschafferand the typechecker is running in the background?07:09
dtscodehh_client?07:09
matschafferyeah07:10
dtscodeit should be07:10
dtscodehttps://bpaste.net/show/a0e03991572c07:10
matschafferyep, looks like same07:10
matschafferand touched a .hhconfig in /var/www/ ?07:11
dtscodehh_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 then07:11
dtscodeand yeah. i touched the .hhconfig in /var/www07:11
* matschaffer shrugs. Mind didn’t run until I did that07:11
matschaffermaybe cd into /var/ww as well07:11
matschafferno idea how hh_client does its thing07:11
matschaffermine 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 sorts07:12
dtscodehmmm... ill try it.07:13
dtscodewait... hold on07:13
matschafferalso 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 dies07:16
=== Lcawte|Away is now known as Lcawte
kabarI used SSL and  i want to setup ufw for my ubuntu-server. Please guide me :)07:36
dtscodealright. thanks matschaffer !07:40
jk-anyone have recommendations for HW RAID that doesn't need a proprietary driver or configuration utilities?07:40
kabarif 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 enable07: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 enable07:42
matschafferkabar: seen http://serverfault.com/a/410/76145 ?07:44
matschaffer“ssl” by itself can apply to many services. but guessing you mean https07:45
kabarif i used ssl can i allow both http and https in ufw ?07:46
matschaffernothing should prohibit it07:47
matschafferup to you if you want to, but I typically recommend it so you can 302 people from http -> https07:47
matschafferotherwise someone typing kabarsdomain.com would just get an error if the browser tries http first07:48
matschafferif you don’t care about that, you might not have a reason to open both07:49
vvassilevHi 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
vvassilevI have no idea how to diagnose what is the problem... Any clues?07:50
vvassilevAfter the error in isw, it says that cannot find modules.dep in /lib/modules/...-70...07:50
vvassilevIt eventually boots but there are a lot of 'missing stuff'..07:50
kabari want my site direct open with https:kabarsdomain.com so for do that should i open both ?07:51
kabarsudo 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 enable07:52
kabarlike above07:52
matschafferif 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 https07:54
lordievaderGood morning.07:55
kabarok i get it :)07:55
matschaffercool!07:55
kabarthanks matschaffer :)07:55
matschafferno 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
pmatulismorning12:10
=== kickinz1 is now known as kickinz1_afk
=== martinst is now known as martins-afk
lnxmenIf I want to create mail service on my ubuntu server, what software should I use?12:31
r0flcopterHello, i have some questions SSH. I'm having some problems with pub/priv keys.12:36
lnxmenr0flcopter: what exactly is a problem?12:37
r0flcopterIm getting the "no supported authentication methods avaliable" error on putty12:38
pmatulislnxmen: what sort of mail service?12:38
lnxmenpmatulis: site support, etc.12:38
lnxmenSomething like roundcube12:38
pmatulislnxmen: provide webmail to others then?12:39
r0flcopterlnxmen: 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
pmatulisr0flcopter: ssh-add is not used with public keys, but with private keys, and it's for the ssh client, not the server12:43
r0flcopteroh... well in that case! thanks of the pointer! I'll go and google some more then :)12:43
pmatulisr0flcopter: try to understand the basic logic to all of this instead of following tutorials blindly.  it will help a lot12:44
r0flcopterpmatulis: Yeah, its the first time I've really touched SSH.12:45
r0flcopterIt's a school project, but the only teacher that knows SSH is currently sick...12:45
pmatulisthat's hilarious, but i hope he/she gets better soon12:46
r0flcopteryeah! me too!12:46
r0flcopterBut 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
pmatulisr0flcopter: 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 windows12:48
r0flcopterI 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
pmatulisr0flcopter: HOMEWORK - read chapters 1, 2, 6, and 12 ---> http://goo.gl/KsmrFh12:52
r0flcopterpmatulis: wow... I might just do that!12:54
=== kickinz1_afk is now known as kickinz1
=== Lcawte|Away is now known as Lcawte
coreycbjamespage, zul: mir for python-pint https://bugs.launchpad.net/ubuntu/+bug/140797013:43
uvirtbotLaunchpad bug 1407970 in ubuntu "[MIR] python-pint" [Undecided,New]13:43
zulpython-pint?13:43
zulcoreycb:  its not even in the archive isnt it?13:45
coreycbzul, I'm not sure, it's in universe13:46
coreycbzul, I think I see the confusion, it's only in vivid/universe13:50
zulcoreycb:  yeah i was on utopic13:51
SiilwynHi folks, I accidentally deleted /etc/environment , what should I do?14:25
=== Lcawte is now known as Lcawte|Away
collizionSiilwyn: What version of Ubuntu Server?14:28
Siilwyn14.0414:28
SiilwynI'm using nginx.14:28
Siilwyncollizion, can I generate a new one, or recover it? (since I deleted it only a few minutes ago)14:29
esdeyou could start by copying the same file from a working server14:29
pmatulisSiilwyn: here you go: http://paste.ubuntu.com/9682390/14:29
esdeyes, you could try to recover the deleted file, if you've made changes to it specific to your system14:29
SiilwynAlright, 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
esdedont wee why not14:30
esde*s14:31
collizionI don't know of anything, really, that modifies that.14:31
coreycbjamespage, 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
Siilwyncollizion and pmatulis thanks for the content. And esde thanks for your answer too.14:31
collizionCheers!14:31
SiilwynBut, the content of your files is different.14:31
SiilwynI'll try: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"14:32
SiilwynThanks people.14:32
SiilwynIs there any way I can make sure nothing broke?14:32
SiilwynOh, and one more question: what file permissions does it have collizion, pmatulis ?14:33
collizionroot:root, 064414:33
pmatulisSiilwyn: i'm pretty sure i gave that to you14:34
esdepmatulis, you did14:34
Siilwynoh, sorry, now I see it. Your paste are commands I can use. Right?14:34
esdeno14:34
Siilwynoh14:35
jamespagecoreycb, hmmm14:35
esdesudo chmod 0644 /etc/environment; sudo chown root:root /etc/environment14:35
esdemerry christmas14:35
Siilwynyou too14:35
jamespagecoreycb, you could make it a suggested14:35
jamespageSuggests: python-rtslib-fb14:35
jamespagethat will avoid the MIR and if people really want to use LIO - well they can but mileage may vary14:36
coreycbjamespage, ok thanks I'll look into that14:36
jamespagecoreycb, zul: starting to hate pysaml2 a bit14:39
zuljamespage:  how so?14:39
jamespagezul, its test suite in all released versions is flakey14:40
jamespagewell broken14:40
zulawesome-o14:40
jamespagezul, head of  git is OK14:40
* jamespage ponders a snapshot14:40
zuljamespage:  does it fail doing the package build?14:41
jamespagezul, no cause it has a || true14:41
zuljamespage:  heh i mean if you remove that part14:42
jamespagezul, right now there are a few errors and 2 failures in 2.0.0 - 2.2.0 moved the failures around14:42
zuljamespage:  ok14:42
kevindfIf 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
jamespagecoreycb, zul: doing sahara now15:00
gaughenso jamespage why are we not MIR'ing python-rtslib-fb?15:00
coreycbjamespage, thanks15:01
jamespagegaughen, because tgt is our primary iscsi solution15:01
jamespagegaughen, not LIO15:01
jamespagertslib is a management API for LIO15:01
gaughenaaaah okay15:01
=== Lcawte|Away is now known as Lcawte
=== kickinz1 is now known as kickinz1|bbl
YamakasY1why is /etc/network/interfaces.d still ignored ?15:23
YamakasY1per default ?15:23
=== Lcawte is now known as Lcawte|Away
YamakasY1no-one ?15:35
jpdsYamakasY1: It isn't.15:36
YamakasY1jpds: here it is15:36
YamakasY1or am I doing something wrong with naming ?15:36
jpdsYamakasY1: Do you have a "source-directory interfaces.d" line in interfaces?15:37
YamakasY1jpds: nope, this because preseed overwrites it after reboot15:38
YamakasY1I need ot have that nic up on the first boot15:38
YamakasY1so I'm looking for a solution15:38
jpdsYamakasY1: Well, if you're not sourcing a file or the directory in interfaces, it's not going to work.15:39
YamakasY1jpds: no but how do I accomplish it after preseed on the first boot15:41
jpdsYamakasY1: I have: "source /etc/network/interfaces.d/*.cfg" in my interfaces file.15:41
YamakasY1that's a real big issue it seems15:41
jpdsYamakasY1: Well, by hand or with some configuration management software.15:41
YamakasY1jpds: but that is not going to happen on first boot15:42
jpdsYamakasY1: It can...15:43
YamakasY1I puppetize these machines, but I wonder why preseed remove it when I add that source line during preseed15:43
YamakasY1jpds: how ?15:43
jpdsYamakasY1: I enable puppet on install.15:43
jpdsYamakasY1: Machine reboots after install, goes to Puppet, all is happy.15:43
YamakasY1jpds: it does but the machine is still booted than15:45
YamakasY1I need to have it up on boot15:45
jpdsYamakasY1: still booted?15:45
YamakasY1jpds: ?15:46
YamakasY1how do you mean ?15:46
YamakasY1jpds: ah15:47
YamakasY1uhm15:47
YamakasY1jpds: nope not doable15:50
YamakasY1the file is overwritten after preseed finish15:50
=== kickinz1|bbl is now known as kickionz1
=== kickionz1 is now known as kickinz1
YamakasY1jpds: so out of options I think15:55
jpdsYamakasY1: How it is overridden when finished?15:56
jpdsYamakasY1: Are you overwriting the file in /target, or on the system itself?15:56
jpdssystem being the install media.15:56
YamakasY1/usr/lib//finish-install.d/55netcfg-copy-config15:57
YamakasY1that is what we need to remove15:58
YamakasY1jpds: doesn't matter it's overwritten15:58
=== Lcawte|Away is now known as Lcawte
=== negronjl-afk is now known as negronjl
YamakasY1mhh cannot get it solved17:22
=== markthomas|away is now known as markthomas
StuxnetHi all. Does anyone know of a good and working IRC tutorial for Ubuntu server?17:31
pmatulisStuxnet: you mean to run an IRC server?17:38
Stuxnetpmatulis: Yes.17:42
StuxnetI 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
pmatulisinteresting17:45
StuxnetI 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
duxklrStuxnet: 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
StuxnetThanks, duxklr. That's all I want one for right now is for testing/experimentation among friends/family.17:56
StuxnetI will look into it.17:56
duxklrStuxnet: we have been using it for years.   I just rebuilt the irc server last week in an hour or so.17:57
StuxnetNice.17:57
StuxnetBuilding Inspire IRCd :P18:11
lucidguyblahh18:34
fandihello all, how to change Server From Respond header on apache2 "Apache/2.4.7 (Ubuntu)"18:40
jrwrenfandi: see the ServerTokens directive.  maybe change it to Prod18:42
jrwrenfandi: to change it requires recompile IIRC18:43
fandijrwren :do you have link reference ?18:47
jrwrendocs.apache.org18:50
jrwrenhttp://httpd.apache.org/docs/current/mod/core.html#serversignature18:50
fandijrwren: ok thanks.. let me check it18:52
fandihi jrwren : i find this link https://www.howtoforge.com/changing-apache-server-name-to-whatever-you-want-with-mod_security-on-debian-619:07
fandijrwren: it's can change serversignature19:07
jrwrenmod_security is cool.19:09
StuxnetWhen 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
StuxnetIt'd be nice if while I am in /home/zachary/blah I could just type cd /foo20:12
Stuxnetsimply*20:12
sarnoldStuxnet: "cd foo"20:12
StuxnetHehe :) newbie problems.20:12
StuxnetThanks sarnold.20:12
sarnoldStuxnet :)20:13
YamakasY1how do I start all network interface that are down but are on auto ?20:17
sarnoldYamakasY1: 'ifup -a'?20:17
YamakasY1sarnold: that would be an idea20:18
=== broder_ is now known as broder
YamakasY1sarnold: merci tho20:45
sarnoldYamakasY1: did it go?20:47
YamakasY1sarnold: yap!20:47
sarnoldyay :)20:48
=== kickinz1 is now known as kickinz1|afk
=== bilde2910 is now known as bilde2910|away
coreycbjamespage, zul: trove needs python-designateclient, currently in universe21:06
zulcoreycb:  okies21:07
zulcoreycb:  ill have a look tonight21:07
coreycbzul, if not I can handle it.  I'm looking for objections to an MIR request more than anything.21:09
zultrove isnt in main21:10
=== markthomas is now known as markthomas|away
coreycbzul, ah.. so I guess deps don't need to be in main either21:12
zulcoreycb:  nope21:12
coreycbzul, nope = deps don't need to be in main?21:14
zuldeps dont have to be in main21:15
coreycbk21:15
coreycbjamespage, zul: cinder and trove are ready for review when you have a chance21:32
coreycbhttps://code.launchpad.net/~corey.bryant/cinder/2015.1-b1/+merge/24524421:32
coreycbhttps://code.launchpad.net/~corey.bryant/trove/2015.1-b1/+merge/24569321:32
coreycbhorizon is blocked on MIRs21:32
=== markthomas|away is now known as markthomas
StuxnetHi 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
Stuxnetps23:14
Stuxnetoops 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!