[00:43] anyone know any way to scrape outlook/exchange free-busy status form command line/which tools i'd need to do this? === markthomas is now known as markthomas|away === Ursinha_ is now known as Ursinha [01:36] I'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 installed [01:38] Crabalocker: first, check netstat -alp output and see what sockets it is listening on [01:38] Crabalocker: is it listening on an external address? [01:38] Crabalocker: seconds, check firewalls on all machines and routers that might be involved [01:40] I did netstat -ltn and it's listening on 5432 [01:41] both computers are on the same router, should not be going through an external firewall [01:42] when I do netstat -alp I don't see 5432 listed [01:42] Crabalocker: what IP is it bound to? an address that's routable on the network or a localhost address? [01:42] I actually don't know, is that something configurable from within postgres? [01:42] it could be listening to localhost, that'd make sense why I can't connect [01:43] yeah, there'll be some way to specify a binding interface or address [01:43] it may not even be listening to any tcp sockets at all, it might just be doing unix domain sockets at the moment [01:44] ahh, yeah, looks like this is a postgres question. I need to modify some config files [01:44] thanks for the direction [01:44] Crabalocker: tada, listen_addresses: http://www.postgresql.org/docs/9.1/static/runtime-config-connection.html [02:10] Crabalocker: It's the hba config file, if you hadn't figured that out by now. [02:10] I did, I just don't know what to actually put for the address to allow [02:11] Wherever you're trying to connect from. [02:12] do I put: host all all 255.255.255.0/5432 trust, to allow all ips? [02:12] Uh, no. [02:15] probably 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 trouble [02:15] Crabalocker: 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:16] well I ultimately want to open it up to other computers within my network, so sarnold's suggesting would probably be correct [02:16] but then a friend who would want to develop on this db as well [02:16] Crabalocker: 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] yeah, that's a much better idea [02:17] I can't think of any reason to ever use the 'trust' option. [02:17] ahhhhh, now that makes more sense [02:17] http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html has details about the various options. [02:17] desert island, two computers, only one ethernet cable.. [02:18] Desert island, nothing to do, plenty of time to memorize an extremely complex password! [02:18] Or, you know, put it into config files of various tools. [02:19] and then would I need to restart a service to apply changes? [02:19] yup [02:20] tonyyarusso: hehe :) === Lcawte|Away is now known as Lcawte [07:32] Good morning. === 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 [09:55] 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 ? [10:27] i.e are there any ubuntu guides for connecting an ubuntu free-ipa client ? [10:30] Daviey: do you happen to know why ~ubuntu-server is subscribed to asterisk? [12:34] hi 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:37] mbwe: iotop [12:37] iotop let me see [12:38] mbwe: logging is normal and not something you want to disable - logrotate is setup for standard services to rotate out old logs [12:39] i know RoyK but just wanted to know if the normal logging was responsible for that [12:40] and lordievader thanks :) iotop is great, don't understand why i did not think of using iotop [12:40] anyway found the process who is writing at that rate [12:40] and its my mongodb instance [12:42] Then the question becomes what does mongodb write and for whom. [12:53] anyone here use free-ipa with ubuntu clients? [13:09] hey, 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? === mist is now known as evilmist === jamespag` is now known as jamespage === evilmist is now known as mist [13:20] ren0v0: not sure what you mean unless you're thinking of something like xpra - please detail [13:21] RoyK, actually i just stumbled upon xpra, looks like that may be what i need [13:21] i'm looking to keep the app runing [13:22] xpra it is, then [13:22] so i want to forward to a remote machine, get the app running, close that session down but be able to leave the process running [13:22] should work [13:22] essentially its a DSL monitor that annoyingly/stupidly requires X [13:22] I haven't tried xpra myself, though [13:22] an app thats meant to run 24/7, with no daemon mode :O :O [13:22] ren0v0: can't you use munin or something? [13:23] with snmp? [13:23] RoyK, never used it before not sure if ist the same thing [13:23] this is specifically for a modem only, suggested by the people that hacked the modem (HG612) i'musing [13:23] i'm asking for their help, so i'd rather try this route first [13:24] quick look seems like munin isn't what i'm after [13:24] ren0v0: does it support snmp? [13:24] and i have observium with snmp to all my devices, which i think is what munin is [13:24] the HG612 [13:24] munin can use snmp, but can also do a lot more [13:25] RoyK, probably, but that all depends if the MiBs? supports all the things that these guys require [13:25] RoyK, http://www.s446074245.websitehome.co.uk/index.html [13:25] ren0v0: if you have the OID, that's all you need, really [13:25] RoyK: the info the scripts scrape from the HG612 aren't available via SNMP; they scrape the 'xdslcmd' output to gather DSL line stats [13:26] TJ-: ah [13:26] but then, you'll get the data required, right? [13:27] 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 presentation [13:27] * TJ- has an HG612 sitting on the bench right now; updated its firmware last night ready for sending out [13:28] TJ-, i think it uses telnet yea [13:28] TJ-, if you know another app/scripts i could give that a whirl for sure [13:28] TJ-, you selling some cheap? :P [13:30] 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 issues [13:31] TJ-, fair enough, mine is giving me 0.4up, and BTHH5 giving 7.0up, so trying to find out if its the HG612 or my ERLite [13:31] 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 command [13:32] 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 rates [13:33] TJ-, i'm intending to stay away from modem+router [13:33] i just need a VDSL modem [13:33] i have an ERlite [13:34] ren0v0: Well the HG612 can do both, as can most devices. [13:34] it can, but primarily it doesn't [13:35] and i'd rather not spend another 100quid when i have the hardware already if you know what i mean [13:38] ren0v0: So you're saying the slow Upstream occurs with the Erlite ? [13:39] TJ-, well its HG612 + ERLite [13:39] could be either [13:40] unless you have an idea what it could be ? [13:40] only 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:42] 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.txt [13:46] TJ-, what specifically? i've already has DSLstats running, and the hacked webUI shows most of this info i think [13:46] upstream rate is like 450 [13:46] Hi, 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:49] ren0v0: does it have phyReXmt "On" for Upstream? Look at the profile (should be 17a), look at the SNR,Attn,Pwr too [13:50] ren0v0: or post the command output in full and I'll look at it [13:52] TJ-, 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 can [13:52] serious pain in the *** [13:52] TJ-, what TZ are you in? [14:10] rsevero: just wondering why you're using non LTS-things [14:11] RoyK: aren't them supposed to be used? [14:11] rsevero: I wouldn't dream of using non-LTS in production unless I didn't have choice [14:13] RoyK: 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:14] RoyK: but more important: do you think I would not have these kind of issues with Ubuntu Server LTS? [14:14] rsevero: no, but then, I don't use ubuntu much on servers anymore anyway, I mostly moved back to debian [14:15] RoyK: 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] Though it depends on the cirumstances of course. [14:15] LTS allows to share more bug fixes as more people use it. [14:16] I'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:17] I"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:27] rsevero: is there a particular reason you're using non-lts? [14:28] RoyK: as I mentioned: it was the natural choice for a ex-Gentoo user. [14:28] I'd suggest trying 14.04 [14:28] If Boot Repair doesn't fix my boot, I will try a Ubuntu Server LTS installation. [14:28] or debian 8 [14:29] IMO debian is better at keeping systems stable than ubuntu - ubuntu seems to me to have a higher focus on fancy new stuff than stability [14:30] just my 2c [14:36] rsevero: they use debian on ISS, btw ;) [14:37] Boot Repair fixed the GRUB. [14:37] RoyK: :) [15:38] trying to setup an nginx server. When I try to start it it says "unable to resolve host ubuntu" [15:44] that's Ubuntu Server 14.04.3 [15:48] designbybeck_: resolve means dns. you can either configure dns, or add your host name to /etc/hosts [15:50] jrwren_, ok I have hosts open. And I have my domain and IP in there [15:50] not sure what I actaully need [15:51] designbybeck_: a hostname "ubuntu" since that seems to be your hostname. [15:51] jrwren_, this is a test server. I'm just using it to learn on, here is the hosts: http://www.pasteall.org/61530 [15:51] designbybeck_: not sure what you would have a domain in there. [15:51] designbybeck_: looks like you want your hostname to be beck, but it is set to ubuntu [15:52] jrwren_, I don't see ubuntu anywhere in there [15:52] designbybeck_: What is the hostname? [15:52] designbybeck_: cat /etc/hostname [15:52] ah yes lordievader there it is [15:52] says ubuntu there lordievader [15:53] designbybeck_: There is your problem. [15:54] ok so this time when I try to start it, it doesn't say anything about resolve [15:54] now it says this lordievader: http://www.pasteall.org/61531 [15:54] i did have apache running ,but I stopped that service [15:55] 'netstat -tulpn|grep 80' to see what is using it. [15:56] lordievader, when I do that it just goes to a > prompt [15:57] designbybeck_: What did you type exactly? [15:58] sudo netstat -tulpn | grep :80' [15:58] Why ":80'"? [15:58] Remove the last ' [15:58] sudo netstat -tulpn | grep :98 [15:58] ok now that didn't return anything [15:59] note that the 'unable to resolve' is from sudo - if the hostname and the /etc/hosts don't match up i think it triggers those errors [15:59] oh wait [15:59] i'm slow :) [15:59] :P [15:59] designbybeck_: 'netstat -tulpn|grep 80' [15:59] (I need sleep) [15:59] ;) teward you got me this far! [15:59] ok that gives me tcp 0.0.0.0:80 [15:59] 12430/nginx [16:01] and I do see nginx welcome screen when I type in my domain name... so maybe I ready for Step 3? [16:02] designbybeck_: So nginx was already listening to that port. === markthomas|away is now known as markthomas [16:03] designbybeck_: yes you're already ready to go - if nginx is running and you see the welcome page continue on :) [16:03] provided you recompiled nginx like the instructions had said [16:04] yes teward so far so good [16:04] on to testing step 4 [16:13] got it working lordievader thanks for the help! [16:13] I learned a great deal from this [16:13] No problem. === IdleOne- is now known as IdleOne === hydrajum1 is now known as hydrajump [19:03] coreycb, manila rc2 all good for upload from git? are there any other pkgs you need sponsored for universe? [19:04] jamespage, yes please. barbican, designate, manila, and openstack-trove. [19:04] coreycb, all build tested? [19:05] jamespage, yep, in my wily ppa [19:05] coreycb, awesome on those now [19:05] jamespage, thx [19:08] coreycb, all done [19:11] coreycb, need me to sync murano from exp as well? [19:11] ditto on murano dashboard [19:15] jamespage, I've not done murano yet [19:34] anyone familiar with apache2 [19:35] GeekMan1222|Lap: yup, someone is. [19:36] ok [19:40] GeekMan1222|Lap: you should probably ask a real question [19:40] describing the issue you want to resolve [19:40] rather than ask if there's someone familiar with software around [19:40] GeekMan1222|Lap: don't ask to ask, just ask, it's okay [19:42] pft [19:42] im stupid guys [19:42] sorry to bother you i forgot to portforward 80 on the router [19:42] :| [19:42] hehe, it can happen [19:42] though i may have questions later cause i used to use version 1.x in the past [19:43] i've used apache2.4 for a while, until moving to nginx === 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 [21:48] how do i force a dhcp6 update for an ethernet interface? `sudo dhclient -6 eth0` ? [22:00] I ask because I get a broken `dhclient -6 -v eth0` output - it just errors a lot in 15.04 [23:16] try service networking restart [23:17] or remove the dhcp lease from the router for that sstem's IP [23:17] heh, don't do that, at best it does nothing, at worst it wedges dbus and you get to reboot. [23:17] sarnold: I have had it hit and miss === Lcawte is now known as Lcawte|Away === bradm_ is now known as bradm [23:46] sarnold: 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 errors [23:47] (sorry, been 9-tasking) [23:47] s/server/router/ [23:47] and i know that because error log and manual dhclient exec [23:48] teward: anything in dmesg or audit log? some of those dhcp thingies have miserable interactions with apparmor [23:48] brb (reboot to a Kali disk so I have GUI resizing of my ext4 partition)