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