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