/srv/irclogs.ubuntu.com/2015/10/07/#ubuntu-server.txt

RevertToTypeanyone know any way to scrape outlook/exchange free-busy status form command line/which tools i'd need to do this?00:43
=== markthomas is now known as markthomas|away
=== Ursinha_ is now known as Ursinha
CrabalockerI'm trying to set up postgres on ubuntu serer. I've got it running and can connect from within the server but I can't connect from another computer within the network. I assume it is a firewall issue of some sort, but I can't find a firewall even installed01:36
sarnoldCrabalocker: first, check netstat -alp output and see what sockets it is listening on01:38
Ben64Crabalocker: is it listening on an external address?01:38
sarnoldCrabalocker: seconds, check firewalls on all machines and routers that might be involved01:38
CrabalockerI did netstat -ltn and it's listening on 543201:40
Crabalockerboth computers are on the same router, should not be going through an external firewall01:41
Crabalockerwhen I do netstat -alp I don't see 5432 listed01:42
sarnoldCrabalocker: what IP is it bound to? an address that's routable on the network or a localhost address?01:42
CrabalockerI actually don't know, is that something configurable from within postgres?01:42
Crabalockerit could be listening to localhost, that'd make sense why I can't connect01:42
sarnoldyeah, there'll be some way to specify a binding interface or address01:43
sarnoldit may not even be listening to any tcp sockets at all, it might just be doing unix domain sockets at the moment01:43
Crabalockerahh, yeah, looks like this is a postgres question. I need to modify some config files01:44
Crabalockerthanks for the direction01:44
sarnoldCrabalocker: tada, listen_addresses: http://www.postgresql.org/docs/9.1/static/runtime-config-connection.html01:44
tonyyarussoCrabalocker: It's the hba config file, if you hadn't figured that out by now.02:10
CrabalockerI did, I just don't know what to actually put for the address to allow02:10
tonyyarussoWherever you're trying to connect from.02:11
Crabalockerdo I put: host all all 255.255.255.0/5432 trust, to allow all ips?02:12
tonyyarussoUh, no.02:12
sarnoldprobably it would be more like "host all all 192.168.0.0/24 trust" -- but I'm guessing at your network range and netmask here. are you sure you want to allow everything from all host? I really like locking things down to avoid trouble02:15
tonyyarussoCrabalocker: Two problems with that: 1) The syntax is wrong. 2) Blindly trusting anybody anywhere on the Internet to connect to your database without authentication is insane.02:15
Crabalockerwell I ultimately want to open it up to other computers within my network, so sarnold's suggesting would probably be correct02:16
Crabalockerbut then a friend who would want to develop on this db as well02:16
tonyyarussoCrabalocker: The bit after the slash is CIDR notation of the address, not a port number.  Even if it's within your network, I'd still require passwords.  So, more like `host all all 192.168.0.0/24 md5`.02:16
sarnoldyeah, that's a much better idea02:16
tonyyarussoI can't think of any reason to ever use the 'trust' option.02:17
Crabalockerahhhhh, now that makes more sense02:17
tonyyarussohttp://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html has details about the various options.02:17
sarnolddesert island, two computers, only one ethernet cable..02:17
tonyyarussoDesert island, nothing to do, plenty of time to memorize an extremely complex password!02:18
tonyyarussoOr, you know, put it into config files of various tools.02:18
Crabalockerand then would I need to restart a service to apply changes?02:19
tonyyarussoyup02:19
sarnoldtonyyarusso: hehe :)02:20
=== Lcawte|Away is now known as Lcawte
lordievaderGood morning.07:32
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
=== lukasa is now known as lukasa_away
=== lukasa_away is now known as lukasa
yossarianuk hi -does anyone know any good guides for connecting (k)ubuntu machines to freeipa servers - most of the docs I found related to RHEL servers ?09:55
yossarianuki.e are there any ubuntu guides for connecting an ubuntu free-ipa client ?10:27
rbasakDaviey: do you happen to know why ~ubuntu-server is subscribed to asterisk?10:30
mbwehi everybody, i have an ubuntu server on a vps, and noticed that my disk is slowly filling up at a rate of 0.04 mb/s i disabled all logging, and i was wondering what process is responsible for that. How could tackle this?12:34
lordievadermbwe: iotop12:37
mbweiotop let me see12:37
RoyKmbwe: logging is normal and not something you want to disable - logrotate is setup for standard services to rotate out old logs12:38
mbwei know RoyK but just wanted to know if the normal logging was responsible for that12:39
mbweand lordievader thanks :) iotop is great, don't understand why i did not think of using iotop12:40
mbweanyway found the process who is writing at that rate12:40
mbweand its my mongodb instance12:40
lordievaderThen the question becomes what does mongodb write and for whom.12:42
yossarianukanyone here use free-ipa with ubuntu clients?12:53
ren0v0hey, i'm looking to run a GTK app on ubuntu server, i'd like to set it running then be able to close down any remote connection, is that possible?13:09
=== mist is now known as evilmist
=== jamespag` is now known as jamespage
=== evilmist is now known as mist
RoyKren0v0: not sure what you mean unless you're thinking of something like xpra - please detail13:20
ren0v0RoyK, actually i just stumbled upon xpra, looks like that may be what i need13:21
ren0v0i'm looking to keep the app runing13:21
RoyKxpra it is, then13:22
ren0v0so i want to forward to a remote machine, get the app running, close that session down but be able to leave the process running13:22
RoyKshould work13:22
ren0v0essentially its a DSL monitor that annoyingly/stupidly requires X13:22
RoyKI haven't tried xpra myself, though13:22
ren0v0an app thats meant to run 24/7, with no daemon mode :O :O13:22
RoyKren0v0: can't you use munin or something?13:22
RoyKwith snmp?13:23
ren0v0RoyK, never used it before not sure if ist the same thing13:23
ren0v0this is specifically for a modem only, suggested by the people that hacked the modem (HG612) i'musing13:23
ren0v0i'm asking for their help, so i'd rather try this route first13:23
ren0v0quick look seems like munin isn't what i'm after13:24
RoyKren0v0: does it support snmp?13:24
ren0v0and i have observium with snmp to all my devices, which i think is what munin is13:24
RoyKthe HG61213:24
RoyKmunin can use snmp, but can also do a lot more13:24
ren0v0RoyK, probably, but that all depends if the MiBs? supports all the things that these guys require13:25
ren0v0RoyK, http://www.s446074245.websitehome.co.uk/index.html13:25
RoyKren0v0: if you have the OID, that's all you need, really13:25
TJ-RoyK: the info the scripts scrape from the HG612 aren't available via SNMP; they scrape the 'xdslcmd' output to gather DSL line stats13:25
RoyKTJ-: ah13:26
RoyKbut then, you'll get the data required, right?13:26
TJ-ren0v0: However, I don't think you need a GTK app to gather the data; Last time I looked there were scripts for gathering the data separate from the presentation13:27
* TJ- has an HG612 sitting on the bench right now; updated its firmware last night ready for sending out13:27
ren0v0TJ-, i think it uses telnet yea13:28
ren0v0TJ-, if you know another app/scripts i could give that a whirl for sure13:28
ren0v0TJ-, you selling some cheap? :P13:28
TJ-ren0v0: No, this one hasn't been used in 2 1/2 years and someone was asking last night about using a different CPE modem to test the line for packet loss issues13:30
ren0v0TJ-, fair enough, mine is giving me 0.4up, and BTHH5 giving 7.0up, so trying to find out if its the HG612 or my ERLite13:31
TJ-ren0v0: I tried some ssh scripts for scraping the command output rather than telnet, but never figured out a way to get past the ATP shell directly from log-in without a manual command13:31
TJ-ren0v0: I'm on the end of a 1.2km line; Replaced the HG612 with a Zyxel VMG8324 2 years ago and got 20% better performance on the downstream. Tested it last night and the HG612 gave 7.5Mbps, the VMG8324 10.5Mbps line rates13:32
ren0v0TJ-, i'm intending to stay away from modem+router13:33
ren0v0i just need a VDSL modem13:33
ren0v0i have an ERlite13:33
TJ-ren0v0: Well the HG612 can do both, as can most devices.13:34
ren0v0it can, but primarily it doesn't13:34
ren0v0and i'd rather not spend another 100quid when i have the hardware already if you know what i mean13:35
TJ-ren0v0: So you're saying the slow Upstream occurs with the Erlite ?13:38
ren0v0TJ-, well its HG612 + ERLite13:39
ren0v0could be either13:39
ren0v0unless you have an idea what it could be ?13:40
ren0v0only having one line its a total nightmare to try and fix/debug, i'm not clued up on this area so i need to google and other things at the same time!13:40
TJ-ren0v0: well, telnet to the HG612, run "xdslcmd info --show" see what the Bearer info for the Upstream side says. Examples here: https://iam.tj/projects/misc/VDSL-HG612-vs-VMG8324.txt13:42
ren0v0TJ-, what specifically? i've already has DSLstats running, and the hacked webUI shows most of this info i think13:46
ren0v0upstream rate is like 45013:46
rseveroHi, I'm having completely unexpected boot problems on new Ubuntu servers. I'm doing what seems to me as pretty simple single disk installations of Ubuntu Server 15.04 on several different machines and many of them simply don't boot after installation. Any tricks, tips of ideas on how to troubleshoot this issues?13:46
TJ-ren0v0: does it have phyReXmt "On" for Upstream? Look at the profile (should be 17a), look at the SNR,Attn,Pwr too13:49
TJ-ren0v0: or post the command output in full and I'll look at it13:50
ren0v0TJ-, thats very helpful, obviously its not connected at the moment, well not to the line anyway, so i'll have to do that drop everything and run the command and get back to you when i can13:52
ren0v0serious pain in the ***13:52
ren0v0TJ-, what TZ are you in?13:52
RoyKrsevero: just wondering why you're using non LTS-things14:10
rseveroRoyK: aren't them supposed to be used?14:11
RoyKrsevero: I wouldn't dream of using non-LTS in production unless I didn't have choice14:11
rseveroRoyK: maybe it's bad habits from my Gentoo days but I'm used to have rather up to date systems. Having moved to Ubuntu I already accepted a loss in this front. But using LTS Ubuntu Server seems like to much for me now.14:13
rseveroRoyK: but more important: do you think I would not have these kind of issues with Ubuntu Server LTS?14:14
RoyKrsevero: no, but then, I don't use ubuntu much on servers anymore anyway, I mostly moved back to debian14:14
rbasakRoyK: I think times are changing. For reproducible deployments that have tests for everything that I care about, I'd be happy to run non-LTS in production providing that I'm willing to move every six months.14:15
rbasakThough it depends on the cirumstances of course.14:15
rbasakLTS allows to share more bug fixes as more people use it.14:15
rseveroI'm quite appalled on the kind of problem I'm facing: it's a simple, completely default single disk installation and Ubuntu Server install scripts can't manage to produce a bootable system.14:16
rseveroI"m alredy looking for Boot Repair and /or manually fixing GRUB after installation but it seems so 90s to have to manually set the boot loader...14:17
RoyKrsevero: is there a particular reason you're using non-lts?14:27
rseveroRoyK: as I mentioned: it was the natural choice for a ex-Gentoo user.14:28
RoyKI'd suggest trying 14.0414:28
rseveroIf Boot Repair doesn't fix my boot, I will try a Ubuntu Server LTS installation.14:28
RoyKor debian 814:28
RoyKIMO debian is better at keeping systems stable than ubuntu - ubuntu seems to me to have a higher focus on fancy new stuff than stability14:29
RoyKjust my 2c14:30
RoyKrsevero: they use debian on ISS, btw ;)14:36
rseveroBoot Repair fixed the GRUB.14:37
rseveroRoyK: :)14:37
designbybeck_trying to setup an nginx server. When I try to start it it says "unable to resolve host ubuntu"15:38
designbybeck_that's Ubuntu Server 14.04.315:44
jrwren_designbybeck_: resolve means dns. you can either configure dns, or add your host name to /etc/hosts15:48
designbybeck_jrwren_, ok I have hosts open. And I have my domain and IP in there15:50
designbybeck_not sure what I actaully need15:50
jrwren_designbybeck_: a hostname "ubuntu" since that seems to be your hostname.15:51
designbybeck_jrwren_, this is a test server. I'm just using it to learn on, here is the hosts: http://www.pasteall.org/6153015:51
jrwren_designbybeck_: not sure what you would have a domain in there.15:51
jrwren_designbybeck_: looks like you want your hostname to be beck, but it is set to ubuntu15:51
designbybeck_jrwren_, I don't see ubuntu anywhere in there15:52
lordievaderdesignbybeck_: What is the hostname?15:52
lordievaderdesignbybeck_: cat /etc/hostname15:52
designbybeck_ah yes lordievader there it is15:52
designbybeck_says ubuntu there lordievader15:52
lordievaderdesignbybeck_: There is your problem.15:53
designbybeck_ok so this time when I try to start it, it doesn't say anything about resolve15:54
designbybeck_now it says this lordievader: http://www.pasteall.org/6153115:54
designbybeck_i did have apache running ,but I stopped that service15:54
lordievader'netstat -tulpn|grep 80' to see what is using it.15:55
designbybeck_lordievader, when I do that it just goes to a > prompt15:56
lordievaderdesignbybeck_: What did you type exactly?15:57
designbybeck_sudo netstat -tulpn | grep :80'15:58
lordievaderWhy ":80'"?15:58
lordievaderRemove the last '15:58
designbybeck_sudo netstat -tulpn | grep :9815:58
designbybeck_ok now that didn't return anything15:58
tewardnote that the 'unable to resolve' is from sudo - if the hostname and the /etc/hosts don't match up i think it triggers those errors15:59
tewardoh wait15:59
tewardi'm slow :)15:59
teward:P15:59
lordievaderdesignbybeck_: 'netstat -tulpn|grep 80'15:59
teward(I need sleep)15:59
designbybeck_;) teward you got me this far!15:59
designbybeck_ok that gives me tcp 0.0.0.0:8015:59
designbybeck_12430/nginx15:59
designbybeck_and I do see nginx welcome screen when I type in my domain name... so maybe I ready for Step 3?16:01
lordievaderdesignbybeck_: So nginx was already listening to that port.16:02
=== markthomas|away is now known as markthomas
tewarddesignbybeck_: yes you're already ready to go - if nginx is running and you see the welcome page continue on :)16:03
tewardprovided you recompiled nginx like the instructions had said16:03
designbybeck_yes teward so far so good16:04
designbybeck_on to testing step 416:04
designbybeck_got it working lordievader thanks for the help!16:13
designbybeck_I learned a great deal from this16:13
lordievaderNo problem.16:13
=== IdleOne- is now known as IdleOne
=== hydrajum1 is now known as hydrajump
jamespagecoreycb, manila rc2 all good for upload from git? are there any other pkgs you need sponsored for universe?19:03
coreycbjamespage, yes please. barbican, designate, manila, and openstack-trove.19:04
jamespagecoreycb, all build tested?19:04
coreycbjamespage, yep, in my wily ppa19:05
jamespagecoreycb, awesome on those now19:05
coreycbjamespage, thx19:05
jamespagecoreycb, all done19:08
jamespagecoreycb, need me to sync murano from exp as well?19:11
jamespageditto on murano dashboard19:11
coreycbjamespage, I've not done murano yet19:15
GeekMan1222|Lapanyone familiar with apache219:34
jrwren_GeekMan1222|Lap: yup, someone is.19:35
GeekMan1222|Lapok19:36
tewardGeekMan1222|Lap: you should probably ask a real question19:40
tewarddescribing the issue you want to resolve19:40
tewardrather than ask if there's someone familiar with software around19:40
SCHAAP137GeekMan1222|Lap: don't ask to ask, just ask, it's okay19:40
GeekMan1222|Lappft19:42
GeekMan1222|Lapim stupid guys19:42
GeekMan1222|Lapsorry to bother you i forgot to portforward 80 on the router19:42
GeekMan1222|Lap:|19:42
SCHAAP137hehe, it can happen19:42
GeekMan1222|Lapthough i may have questions later cause i used to use version 1.x in the past19:42
SCHAAP137i've used apache2.4 for a while, until moving to nginx19:43
=== cipi is now known as CiPi
=== Guest1320 is now known as hxm
=== Guest62625 is now known as mfisch
=== mfisch is now known as Guest49167
=== Guest49167 is now known as mfisch
tewardhow do i force a dhcp6 update for an ethernet interface?  `sudo dhclient -6 eth0` ?21:48
tewardI ask because I get a broken `dhclient -6 -v eth0` output - it just errors a lot in 15.0422:00
cryptodantry service networking restart23:16
cryptodanor remove the dhcp lease from the router for that sstem's IP23:17
sarnoldheh, don't do that, at best it does nothing, at worst it wedges dbus and you get to reboot.23:17
cryptodansarnold: I have had it hit and miss23:17
=== Lcawte is now known as Lcawte|Away
=== bradm_ is now known as bradm
tewardsarnold: even in /etc/network/interfaces with 'dhcp' configured for inet6, it gets an IPv6 from the server, but then the dhclient-script stuff all errors out with shopt errors23:46
teward(sorry, been 9-tasking)23:47
tewards/server/router/23:47
tewardand i know that because error log and manual dhclient exec23:47
sarnoldteward: anything in dmesg or audit log? some of those dhcp thingies have miserable interactions with apparmor23:48
tewardbrb (reboot to a Kali disk so I have GUI resizing of my ext4 partition)23:48

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