/srv/irclogs.ubuntu.com/2016/11/30/#ubuntu-server.txt

DatzHi, at some point I've altered /etc/resolvconf/resolv.conf.d/original I'm not sure how to bring it back to its original state. I've having trouble with DNS resolution from what I can tell. How can I troubleshoot this?03:28
sarnoldDatz: depending upon your environment there may or may not be anything worth trying to recover.. that's one of the most configurable services around, and no two environments are the same, and the resolvconf service drastically complicates the whole thing...03:31
DatzI see03:31
sarnoldDatz: do you have nameservers that must be included? do you get dns servers assigned with dhcp lease information?03:31
sarnoldDatz: do you have running dns servers 'locally' on your system for libvirt or lxc or lxd or whatever else that might require local dnsmasq instances?03:32
DatzI do not have nameservers that must be included. I'm not sure if dns servers are assigned with dhcp lease information.03:32
DatzThis is a home setup, and I got a new modem/router today03:32
DatzThere are no DNS servers running locally03:33
sarnoldi'm a very lazy person, I'd rather fix /etc/resolv.conf by hand when needed than have magic tools fix it up, so I uninstalled resolvconf and just manage it manually03:34
sarnolddoes your modem/router have a local dns recursor or proxy?03:34
DatzI see. I noticed resolv.conf was not generated when I checked03:34
Datzsarnold: I'm not actually sure.03:35
sarnoldDatz: something like "host www.google.com 192.168.0.1" should tell you if it's got a live cache/recursor running -- just replace the IP address with the IP of the gateway/modem03:36
DatzOk, it's just telling me that I don't have /etc/resolv.conf03:38
DatzI'd create the file, although I'm not sure how to populate it03:38
sarnoldhrm I thought 'host' would ignore /etc/resolv.conf if you gave it two arguments. now i'm confused.03:40
Datzwell, it said it failed to parse03:40
sarnoldahhh03:42
sarnoldmy 'host' command is supplied by the bind9-host package03:42
sarnold(the Real DNS people always use dig, of course, but I find it _baffling_)03:42
sarnoldI can't get host to fail when I run it like "host www.google.com 192.168.0.1" -- no /etc/resolv.conf, broken /etc/resolv.conf, they're both fine..03:42
DatzI see03:44
DatzWell, should I get rid of resolvconf?03:46
Datzor just hang the box in the woods with meats nailed to it?03:48
sarnoldI like that idea03:48
sarnoldvery poetic ;)03:48
sarnoldDatz: what's in your /etc/resolv.conf file now?03:48
Datzan obvious problem from what I can tell03:50
Datzcouple of nameservers with bad syntax03:51
Datzone is added from /etc/resolvconf/resolv.conf.d/head even though it's commented out03:54
Datzother is added from /etc/resolvconf/resolv.conf.d/original apparently03:55
sarnoldDatz: I can't remember exactly how things work but I -think- it goes something like...03:56
sarnoldwhen it starts, it copies what's there into .../original. it then takes .../head, smacks it in front of what's there, and appends .../tail --- and when changes are made by dhcp clients or libvirt or whatever, they're written in the 'middle' of the file, but .../original isn't updated. I'm not sure what happens across a reboot.03:57
Datzwell, that seems to make sense03:58
Datzmaybe it wasn't overwritten on reboot03:58
DatzI can get it to rewrite /etc/resolv.conf with -> service networking restart ?03:59
Datzoh, I suppose I can just edit it03:59
Datzwell, that worked04:00
Datzoh, it's back..04:01
Datzso I guess I thought that commenting out the nameserver in /etc/resolvconf/resolv.conf.d/head would prevent it from making its way into /etc/resolv.conf I was wrong. Problem seems fixed now.04:04
=== catalase- is now known as catalase
DatzThanks for your help and suggestions sarnold04:04
sarnoldDatz: are things mostly working?04:05
DatzThings appear to be working at the moment, guess I should test some other stuff out04:05
sarnoldDatz: if it gets too crazy try uninstalling the resolveconf service and just manage the file by hand04:05
DatzI will do that. Thanks again. :)04:06
sarnoldDatz: you get a maximum of three entries, they should all return identical results, and if they don't exist it adds SIX SECONDS to every name lookup, so make sure you remove entries when they don't work -- life isn't worth living i fyou've got six second penalties to every single name lookup.04:06
DatzI competely agree. It should be more like 5 seconds, at least give you a chance at life.04:08
sarnoldlol04:09
JohnMcClainHere's some software I want to run. http://www.ce.berkeley.edu/projects/feap/feappv/ . I ran the makefile and succesfully make'd it. Here are the current directories. Which one looks like I should be able to run it?  http://imgur.com/a/eZkV505:08
sarnoldJohnMcClain: i'd try "FEAPFVHOME3_1=`pwd` make install"05:13
sarnoldJohnMcClain: and if this is a brand new VM, run "apt-get install build-essential gfortran" first05:13
JohnMcClainok. I did another apt-get install build-essential. Thanks. Once I follow those 2, what file should I expect to see to run it or how would I find out what commands are available to me?05:14
JohnMcClainI installed gfortran and build-essential already. o upgraded....05:14
JohnMcClainI'm going to say " export FEAPPVHOME3_1=/`pwd` make install   "05:16
sarnoldif you use the export then do it on two line,s one for the variable, one for the make install05:16
JohnMcClainThis is my last result: http://i.imgur.com/y9j6EzW.png05:17
JohnMcClainI feel like it should be able to run05:17
sarnoldlooks promising. try ./main/feappv -h or something05:18
JohnMcClainthat's it05:19
sarnold\o/05:19
JohnMcClainok... so how did you know that's what I needed?05:19
sarnoldthe first few lines of the makefile.in gave me the impression that it wanted the top directory of the unpacked sources05:20
sarnoldyou could either assume that that would be the current working directory, or have the person run make -C, but this thing runs on a wide variety of crazy compilers and ancient-feeling systems, where make -C may not work reliably everywhere, and there might be funny reasons for not wanting it to be the current working directory first...05:21
sarnoldso it seemed like a safe assumption to suggest; and if it failed, it'd hopefully fail quickly :)05:21
JohnMcClain./main seems like something like root/home directory05:22
JohnMcClainIf I wanted to see where the ./main/feappv file is, how would I find it?05:22
sarnoldif ./main/feappv runs it, then run pwd -- and add the main/feappv bit after that05:23
sarnold(pwd, without any arguments. I made that mistake recently, using -- as puntuation when it also looks like the start of a parameter)05:23
JohnMcClainI'm writing down everything I did to get to this point05:27
JohnMcClainthe ./main/feappv -h command only works when I'm in the ver31 directory05:29
JohnMcClainthe idea of pwd is to make the command always available in the 'namespace' ?05:30
sarnoldthe pwd just reports the present working directory05:30
sarnoldif you want you could 'cd main' and then you only need to type ./feappv05:30
sarnoldor you could mkdir ~/bin and cp the file into ~/bin . Then logout, login, I think our default shell scripts add the ~/bin directory to your path automatically05:31
sarnoldif you want to make the file executable for other users on the machine too, not just root, that'd take a bit more work; copy it to /usr/local/bin/05:32
JohnMcClainhttp://i.imgur.com/h5eTlgd.png05:32
JohnMcClainI'm in the ~/ver/31/main and I can see feappv, but I cannot run it while in that directory05:32
sarnoldyou need the leading ./05:34
sarnoldthe current working directory isn't in the PATH by default05:34
sarnoldyou can set that if you want to but it's a terrible idea so please don't do that :)05:34
JohnMcClainI need to be able to call this with PHP which is another user05:34
JohnMcClainSo I could try to add it to /usr/local/bin/05:35
JohnMcClaincp the file wouldn't hurt the program's (absolute?) paths?05:35
sarnoldthat depends upon the program.05:35
sarnoldthis -looks- like it will tolerate being copied05:36
JohnMcClainyou're right!05:36
JohnMcClainhttp://i.imgur.com/w6CYL1Q.png05:38
JohnMcClainWhat are your expectations regarding how the program wants me to pass it a file located in ~ ?05:38
JohnMcClainor perhaps I could put it in /var/www/ (not in html, where it could be accessible to others) ?05:39
JohnMcClainthen I could write all of my files in the /var/www/ directory, and I expect the software is only looking in the directory it's located in?05:39
JohnMcClainNow it's saying: FEAP X11 Driver unable to open X windows connection. That means I need to reconfigure X1105:41
sarnoldwoah05:41
sarnoldis your php program a web thing?05:42
JohnMcClainYes.05:42
sarnoldyour web server probably shuoldn't be doing X11 things...05:42
JohnMcClainI'll be writing the files and controlling access05:42
sarnoldsorry to bail just when things get interesting but my tacoshop closes in 18 minutes :)05:42
JohnMcClainSince I'm running this headless, perhaps I can find a way to not use the x11 elements.05:43
JohnMcClainI get that error, but everything runs just fine.05:43
sarnoldbut i'd strongly recommend either disabling X11 in this program or not running it via web, something like that... that'd be far easier than getting apache or nginx or whatefver to open X11 clients05:43
JohnMcClainThis software just takes a text file and outputs one. There should be no need for graphics of any kind.05:44
JohnMcClainFrom what I'm reading, that's the primary use of x11.05:44
JohnMcClainI'm going to wipe the server and try installing it again to make sure I got it05:48
JohnMcClainOk. This is everything I used to install it on a fresh Ubuntu 14.04 server. http://i.imgur.com/xmIHET3.png . Bah, forgot something about x1105:56
JohnMcClainso I added apt-get install libx11-dev after apt-get install gfortran05:57
JohnMcClainOk. So now I have a full list of steps needed to completely install it with the requisite dependents05:58
JohnMcClainNow the idea is to copy it into /usr/local/bin/ and provide www-data access to the software05:58
JohnMcClainbtw, this server will contain only this software and LAMP with bare-minimum data.05:59
JohnMcClainAlright. I learned a lot today. It's my first time make'ing something in Linux. Maybe I'll be able to evaluate other software using what I know now instead of being stuck with $16k software packages.06:15
achianghello, does anyone here look after the ubuntu vagrant images?06:45
=== amoralej|off is now known as amoralej
=== mmcc_ is now known as mmcc
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:37
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:47
mozart1893can anyone help with the AWS Floating IP setup for failover purposes'11:48
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:48
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:48
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:48
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:48
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:48
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:48
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:48
mozart1893can anyone help with the AWS Floating IP setup for failover purposes11:48
SipriusPThello guys12:27
SipriusPTI am unable to redirect mail from one account to another in postfix12:27
SipriusPTand i have already tried several methods that i have saw12:27
SipriusPTand still no success12:28
SipriusPThere i have posted info about my files12:28
SipriusPThttp://serverfault.com/questions/817875/unable-to-redirect-mail-from-account-to-account-with-postfix12:28
SipriusPTanyone?12:28
tsimonq2SipriusPT: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/12:30
GargoyleSipriusPT: You just need entries in /etc/aliases for a default install12:31
SipriusPTthanks for the responses guys12:32
SipriusPTGargoyle: i have my config files in that path12:32
SipriusPTi have there a smart host config in that location12:32
SipriusPTand now i am trying to redirect mails12:33
SipriusPTbut i was only able to redirect 1 but i made a lot of changes after i notice it =/12:33
Gargoyledid you run newaliases? (not 100% sure if thats needed with virtual maps)12:34
SipriusPTi made it once after postmap12:35
SipriusPTbut i can try again, i was playing with aliases syntax12:35
SipriusPTgive me a minute12:35
SipriusPTdoesnt seem to  work12:40
SipriusPTi will take a look at postfix docs12:41
=== freyes__ is now known as freyes
GargoyleSipriusPT: You could probably save a lot of time if you make that your default action for any problem12:49
GargoyleObviously, I mean reading the appropriate docs....12:49
=== amoralej is now known as amoralej|lunch
Gargoylepostfix man pages are not going to help you bake a cake...12:50
SipriusPTi did it in a quick way and i notice that there was not such good examples12:50
Gargoyleunless you're emailing your mum for the recipe12:50
SipriusPTlol12:50
* Gargoyle should probably stop now12:50
coreycbjamespage, hello, openstack-trove 1:5.1.1-0ubuntu2~cloud0 is ready to promote to mitaka-updates if you have a sec13:02
coreycbjamespage, also horizon 3:11.0.0~b1-0ubuntu3~cloud0 is ready to promote to ocata-proposed13:06
deadnullok so I think I am losing my mind, staring at this preseed trying to figure out why its failing on linux-generic (16.04.1 auto install) - the failure is on 4.4.0-47, but that is not available. The machine has access to the internet. It should be installing 4.4.0-51 if im not mistaken. Any input would be greatly appreciated.13:22
samba35i am trying to configure rsyslog server for logs from other server i think i have configure server correct but i am not able to get log to file14:08
samba35i check with tcpdump port 514 some traffice is comming from remote server but no idea where it is going14:09
=== amoralej|lunch is now known as amoralej
samba35my hostname is ubuntu but it say ubuntu-2  ??14:37
samba3520:07:12.298536 IP 192.168.2.100.35630 > ubuntu-2.local.syslog: SYSLOG user.info, length: 32014:37
coreycbjamespage, hmm, looks like django 1.10 sync is coming down the pipe and upstream horizon says there are still some issues, they've done limited testing so far.15:26
coreycbnacc, are you syncing python-django?  mind if i do some testing with it first?15:28
jgrimmcoreycb, +115:28
coreycbjgrimm, ok thanks. i'll keep you posted.15:28
jgrimmcoreycb, i asked nacc to coordinate that with y'all before pulling trigger15:29
coreycbjgrimm, awesome, appreciate that15:29
jgrimmnp15:29
rbasakjgrimm: maybe something to bring up at the next IRC meeting too?15:34
* rbasak remembers his mysql-5.7 mistake.15:34
jgrimmrbasak, yep... though coreycb and team have a standing conflict at our scheduled time, so we may have to schedule specifically with them15:35
=== Guest96457 is now known as karstensrage
=== JanC is now known as Guest103
=== JanC_ is now known as JanC
coreycbzul, the switch to pyldap for barbican makes no sense16:03
coreycbunfortunately upstream openstack has a mix of ldap3 and pyldap usage16:04
coreycbzul, sorry the switch to pyldap does make sense if we patch out ldap3 correctly16:05
coreycbi guess it's the changelog that makes no sense16:05
coreycbzul, the patch refresh missed a ldap3 import.  fixing that.16:07
cpaelzerrbasak: fixed some stuff in https://code.launchpad.net/~paelzer/ubuntu/+source/multipath-tools/+git/multipath-tools/+merge/31192116:12
cpaelzerrbasak: even more ready for your review now (just to fill up your todo list)16:13
rbasakOK :-/16:13
nacccoreycb: yes, i'll put it in a PPA in the bug before upload16:15
coreycbnacc, no need unless you need it.  i have it in a ppa now.16:15
nacccoreycb: ah ok16:16
nacccoreycb: well, i need to coordinate with at least two teams to make sure no regressions, so probably will regardless :)16:16
coreycbnacc, ok :)16:16
nedbatLooking at this page: http://releases.ubuntu.com/xenial/ , it seems like there's a bunch of text copied and pasted at the top... Am I misunderstanding something?  There used to be an "alternate install", is that just gone for Xenial?16:37
bitdonhey all, probably the wrong channel to ask this in but I got nothing in the ansible channel, hoping someone here could help. Anyone here ever deployed AIDE to Ubuntu servers? trying to understand what they are matching for here: https://github.com/lyrasis/ansible-aide-role17:11
bitdonthey have a regex matching a line and replace it with another, but I'm not replacing anything (since it's a fresh install) I would just like to add.17:12
jamespagebeisner, hey so https://launchpad.net/~james-page/+archive/ubuntu/newton will contain the patches for nova and os-brick for newton to hopefully resolve that s390x problem17:23
jamespageit does not directly support s390x - but you can download the debs and install directly to validate17:24
beisnerjamespage, ++1,000,00017:24
jamespagebeisner, the nova patch may need a minor adjustment for newton - lets see17:25
jamespageself._host -> self17:26
jamespageit will fail unit tests if so17:26
zulcoreycb:yeah i have a patch in the wroksupstream for barbican18:07
zulcoreycb: good afternoon btw18:07
coreycbzul, i fixed it up18:07
zulcoreycb: cool18:07
zulcoreycb: for the pyldap MIR it looks like we will need to use autopkgtest18:32
coreycbzul, ok18:33
coreycbzul, are there a lot of python-ldap rdepends?  if so those will probably need to be switched over to python-pyldap.18:33
coreycbzul, i assume they'll take python-ldap out of main and put pyldap in18:34
zulcoreycb: just keystone that i know of18:34
zulcoreycb: *sigh* sahara, keystone, and nova18:36
coreycbzul, i think it's a drop-in replacment so it shouldn't be a big deal18:37
zulcoreycb: yeah keystone is already using it in the testsuite18:37
=== amoralej is now known as amoralej|off
beisnerjamespage, nova ftb in that repo19:31
EmilienMcoreycb, jamespage: fyi, we bumped our puppet CI to ocata-1, everything works fine, good job!19:37
coreycbEmilienM, that's good. are you using the ocata-proposed pocket for xenial?19:38
coreycbEmilienM, fyi the packages were all just promoted to ocata-proposed this morning so hopefully it's not a false positive. (crosses fingers)19:39
EmilienMcoreycb: that's what we test, ocata-proposed in xenial19:39
coreycbEmilienM, cool19:39
EmilienMI tested ocata-updates, but in fact it's newton19:40
EmilienMso I use proposed19:40
coreycbEmilienM, exactly19:40
jamespageEmilienM, \o/19:43
=== farhad is now known as Guest21864
=== Ryan__ is now known as Javezim
=== lordievader is now known as Guest12557
coreycbzul, did you have fixes coming for the ocata *-aas failures?21:07
=== Guest12557 is now known as lordievader
zulcoreycb: nope i poked at it21:10
coreycbzul, which means? :)21:11
zulcoreycb: poked...cursed.....got nothing :)21:11
coreycbzul, gotcha21:11
=== amoralej|off is now known as amoralej
thmbssfruitanyone can access: renypicot.com.mx  (can see the webpage)?21:32
ddellavcoreycb zul fyi, all the newton sru packages are pushed and built except nova, running that now. You can start the reviews.21:33
ddellavand i did rebase nova to include jamespage's changes from a little while ago.21:33
ddellavhere is the bug for reference https://bugs.launchpad.net/ubuntu/+source/nova/+bug/164577221:33
ubottuLaunchpad bug 1645772 in nova (Ubuntu Yakkety) "[SRU] newton stable releases" [Undecided,New]21:33
thmbssfruitddellav any help?21:34
ddellavthmbssfruit downforeveryoneorjustme.com21:34
thmbssfruitjust for you21:49
coreycbddellav, alrighty21:58
coreycbddellav, looks like neutron needs a rebase22:03
ddellavcoreycb ok22:04
coreycbddellav, i think neutron-lbaas needs to be done too22:07
=== amoralej is now known as amoralej|off
coreycbddellav, aodh, cinder, heat, horizon, ironic are pushed/uploaded22:25
ddellavcoreycb ok. Nova is exploding everywhere so I'm digging into that22:25
coreycbddellav, ok22:26
ddellavit's spitting out xml errors now22:26
coreycbddellav, can you rebase ironic-inspector on this branch?  https://code.launchpad.net/~ubuntu-server-dev/ubuntu/+source/ironic-inspector/+git/ironic-inspector/+ref/stable/newton22:49
ddellavcoreycb ok22:49
coreycbddellav, also since we have the same versions in yakkety and zesty, we'll have to upload 4.2.1 to both releases22:50
ddellavcoreycb ack22:50
coreycbddellav, i'll get zesty22:52
coreycbddellav, you can use this for the yakkety version 4.2.1-0ubuntu0.16.10.122:53
ddellavcoreycb ok23:01
=== Piper-Off is now known as Monthrect
guille1hi! I have a problem with nginx on ubuntu. A website won't load from outside my LAN. This happened 2 days ago with no prior change to the site. I can load it from inside my LAN and I can also access another website hosted on the same server from anywhere. Can someone help me please troubleshoot this problem?23:54
Ben64what happens when you try23:55
guille1Ben64: I get a timeout error23:55
sarnolddo you get errors in the nginx logs? system logs? firewall logs on the machine or routers?23:55
guille1no errors on the nginx logs23:56
sarnoldlook the hostname manually outside the lan, or use a dns service to look it up, and make sure the ip address looks sane23:57
guille1hmmmm I get a lot of blocks from ufw on syslog23:57
guille1sarnold: the ip address is correct23:57
guille1I'll deactivate ufw for a sec23:57
guille1it didn't help23:59
Ben64use wget23:59
guille1Ben64: what do you mean?23:59
Ben64wget site.com23:59
guille1ok23:59

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