[00:12] <j3r0> guys every time  I try to install postgres I get perl: warning: Setting locale failed
[00:12] <j3r0> and i think I have tried everything on google
[00:23] <j3r0> perl: warning: Falling back to the standard locale ("C").
[00:23] <j3r0> locale: Cannot set LC_ALL to default locale: No such file or directory
[01:59] <j3r0> guys at the moment I don't have a domain , just an IP, can I for example have 213.342.1231./blog ?
[02:00] <teward> j3r0: no
[02:00] <teward> oh
[02:00] <teward> hxxp://1.2.3.4/blog  <-- that you can achieve
[02:00] <teward> (with your IP)
[02:00] <teward> i misread
[02:00] <j3r0> yes
[02:01] <j3r0> ok thnks
[02:01] <j3r0> because atm I have a "django app"(just running django) on my main IP
[02:01] <j3r0> and on my main IP I want to have my personal site
[04:52] <bugzc> Hey. I am trying to figure out what firewall is running on my ubuntu server. it's running on an odroid. its not iptables/ufw. any suggestions? trying to open a port.
[04:52] <bugzc> ubuntu 14.04
[05:01] <bugzc> nevermind. tyl_tcp was binding to localhost. doh
[05:01] <bugzc> looks like this image comes with no firewall enabled by default.
[07:53] <lordievader> Good morning.
[08:54] <RoyK> morning
[08:54] <lordievader> Hey RoyK
[10:03] <ud> Guys, is it good practice to create symlink under /var/www which points to some directory under my (non root user) home ? I want to avoid use of sudo while working with html files. and I dont have write permissions to /var/www
[10:08] <lordievader> Add yourself to the www-data group.
[10:09] <ud> ok, but that gives me access to entire /var/www directory.
[13:59] <j3r0> guys hey. I have a nginx server, basically an ip adress. What I want to do is 3234.234234.42342/blog
[13:59] <j3r0> how I can do this ?
[14:05] <j3r0> anyone ?
[14:06] <Sling> j3r0: so do you have your nging server running? what happens if you browse to your ip using a webbrowser?
[14:06] <j3r0> I see the nginx welcome page
[14:06] <j3r0> all good
[14:07] <Sling> okay so put your blog directory in your documentroot
[14:07] <j3r0> so simple ?
[14:07] <j3r0> thanks
[14:07] <Sling> also make sure the nginx user can read the files and has execute permissions on any subdirectories
[14:07] <Sling> apart from that, pretty much yeah
[14:59] <RoyK> Sling: execute?
[14:59] <RoyK> Sling: no need for that
[14:59] <RoyK> j3r0: just configure nginx to use the right directory - the default is /usr/share/something, which is something you shouldn't use
[15:00] <RoyK> j3r0: also - no need for +x on the files
[15:00] <j3r0> I am having problem with 403 error
[15:00] <RoyK> then there should be logs
[15:01] <j3r0> I have to figure out, because at the /blog I want to symlink a django blog app
[15:01] <j3r0> I pay the price for being windows user all this years
[15:16] <Sling> RoyK: not in the files no, but on the directories
[15:16] <Sling> s/in/on./
[16:51] <holms> anyone knows what's going on when upstart just hanging while starting or restarting service?
[16:51] <holms> i've solved this in config file, where sofware just returns to tty.. with respawn
[16:51] <holms> now this case where it runs as daemon.. so nothing helps
[16:52] <holms> http://paste.ubuntu.com/11987580/
[16:52] <holms> when command fails to start it usually just fails, but i've got hanging command
[16:54] <lordievader> holms: Does '/var/www/shrinktheapp/bin/celery' deamonize?
[16:56] <holms> yes
[16:57] <lordievader> Is there anything in the upstart log?
[16:58] <holms> yeah ctually there's errors in there
[16:59] <holms> my just question would be despite of python errors in there, should it be hanging?
[16:59] <holms> hmz well 'service flower start', it hangs, nothing in logs
[16:59] <lordievader> holms: Just to make sure the 'sudo service start <service>' hangs?
[16:59] <holms> cleared out logs, and just checked it
[17:00] <holms> lordievader: yes it does
[17:00] <lordievader> holms: Hmm, no that should not hang.
[17:01] <holms> found mistake in script regarding variable, but that doesnt fix anything))
[17:02] <lordievader> In what state does the command hang?
[17:03] <holms>  2722 pts/3    S+     0:00 start flower
[17:03] <lordievader> Hmm, well at least it ain't D ;) You could hook strace into it to see what it is doing/
[17:04] <holms> never did strace of running process
[17:04] <holms> one sec
[17:05] <holms> restart_syscall(<... resuming interrupted call ...>
[17:06] <holms> that all i got in log
[17:06] <holms> strace -p 2722 -s 80 -o flower.log
[17:09] <lordievader> Hmm, kind of out of my depth here. Haven't written an upstart script in quite some time.
[17:10] <genii> Maybe it would just be more prudent to make it an sysvinit script and use update-rc.d on it instead. Will still get called from upstart same as everything else in /etc/init.d
[17:11] <holms> got celery working under upstart..
[17:11] <holms> maybe..
[17:32] <prelude2004c> hello everyone
[17:32] <prelude2004c> anyone here familar with webdav & nginx ?
[17:32] <prelude2004c> i am having some trouble with rources not available  and TTP/1.1 500 Internal Server Error
[17:32] <prelude2004c> for whatever reason it wont write to file system
[17:32] <prelude2004c> i been at this for hours.. i am stumped
[17:33] <holms> wooo.. lordievader got interesting twist in here
[17:34] <holms> before i execute this line in cli:  . /etc/default/celery , flower command works
[17:34] <holms> after this line, flower command stucks
[17:35] <holms> ah so after passing --app it freezes,, great
[17:36] <lordievader> What is in that file?
[17:36] <holms> just env vars in there, anyway, so when passing arguments to celery-flower it stucks
[17:37] <holms> so it's not upstart problem
[19:07] <maleb0lge> Could anyone help me setup openvpn with two nic's?
[19:09] <maleb0lge> I'm trying to setupt an openvpn server to be used with one nic, and an openvpn client to be used by another nic (connecting to a vpn service provider like PIA, Torguard, etc.)
[19:13] <maleb0lge> Does that even sound possible?
[19:14] <teward> maleb0lge: possible? yes.  sane?  probably not
[19:15] <maleb0lge> teward: it seems that way, but adding a virtual machine might bog down my limited server and impact quality of vpn connection :(
[19:16] <maleb0lge> 1.5gb ram, 8gb ssd, pentium 4 (hyperthreading!)
[19:16] <teward> setting up the forwarding would be difficult, but you can have the OpenVPN server bind to one port, and then reach out to the remote port over the other NIC by setting the default route
[19:16] <lordievader> Pentium 4? Wow... What are you trying to accomplish?
[19:16] <teward> but on a pentium 4...
[19:16] <teward> what exactly do you want to accomplish here
[19:18] <patdk-lap> didn't think ubuntu even booted on p4's anymore
[19:18] <maleb0lge> well, have my openvpn server so that I can connect to my machine, manage it, remotely, but also use it as a torrent server all in one package
[19:21] <maleb0lge> also to serve media to my home network!
[19:21] <maleb0lge> am I asking too much of it?
[19:21] <teward> maleb0lge: on a pentium 4 probably
[19:21] <teward> especially if you're limited to 8GB SSD and 1.5GB RAM
[19:21] <teward> i'd not put a media server, a VPN server, *and* a VPN client on there.
[19:21] <teward> but you also haven't defined your overall use case
[19:21] <teward> why do you need the VPN *client* to exist on there
[19:22] <teward> the headache of running a VPN server just so it can in turn VPN to elsewhere is... well, headachey.
[19:22] <maleb0lge> well, I only want certain programs to use the openvpn client
[19:22] <lordievader> maleb0lge: For the vpn server part, doesn't ssh suffice?
[19:23] <teward> maleb0lge: that's not really attainable, you VPN everything, or nothing, you don't really get to pick which programs go over the VPN...
[19:23] <teward> not in a 'sane and easy to configure' way anyways
[19:24] <maleb0lge> lordievader: it might have to, but I thouhgt that, traditionally, in order to securely surf the internet at, say, a coffeeshoppe that you should connect through a vpn
[19:25] <maleb0lge> teward: i think you may be right, and running a vm with openvpn client seems to be a bottleneck
[19:25] <teward> i didn't say you had to use a vm
[19:25] <teward> but you still can't 'pipe' traffic in that way on the host, VMs can do it, but yes, it'd be a bottleneck.
[19:25] <maleb0lge> that was what I was at first planning to do
[19:26] <maleb0lge> so, I might have to purchase a raspbpi anyway
[19:26] <maleb0lge> if i want to make my life easier
[19:29] <maleb0lge> do you think a raspberry pi A+ (256MB) model would suffice as a dedicated openvpn server?
[19:34] <JanC> maleb0lge: AFAIK its network interface is connected to USB & not 100% reliable, especially when there is a lot of traffic?
[19:34] <maleb0lge> JanC: with all raspbpi's? or just model A+?
[19:35] <lordievader> maleb0lge: All.
[19:51] <JanC> probably better run OpenVPN on OpenWRT on some dedicated router hardware
[19:55] <maleb0lge> isnt the pi more powerful than say Linksys WRT54G
[19:55] <maleb0lge> ?
[19:58] <JanC> that hardware is > 10 years old...
[20:04] <maleb0lge> so, yes?
[20:06] <maleb0lge> but, it might be sufficient for basic stuff: http://www.cse.wustl.edu/~jain/cse567-08/ftp/ovpn/#sec4
[20:18] <maleb0lge> and i have two of those ancients laying around somewhere