Skip to content

Instantly share code, notes, and snippets.

@superdaigo
superdaigo / gist:3719990
Created September 14, 2012 05:34
Homebrew OpenVPN
$ brew install openvpn
==> Installing openvpn dependency: lzo
==> Downloading http://www.oberhumer.com/opensource/lzo/download/lzo-2.06.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/lzo/2.06 --enable-shared
==> make
==> make check
==> make install
/usr/local/Cellar/lzo/2.06: 27 files, 552K, built in 27 seconds
==> Installing openvpn
@superdaigo
superdaigo / app.log
Created August 16, 2012 10:30
gunicorn_django syncworker socket error
Traceback (most recent call last):
File "/home/oreore/app/env/lib/python2.6/site-packages/gunicorn/workers/sync.py", line 33, in run
client, addr = self.socket.accept()
File "/usr/lib64/python2.6/socket.py", line 197, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
@superdaigo
superdaigo / gunicorn_error.log
Created August 15, 2012 13:32
gunicorn の起動エラー
Traceback (most recent call last):
File "/home/oreore/app/env/bin/gunicorn_django", line 8, in <module>
load_entry_point('gunicorn==0.14.6', 'console_scripts', 'gunicorn_django')()
File "/home/oreore/app/env/lib/python2.6/site-packages/gunicorn/app/djangoapp.py", line 132, in run
DjangoApplication("%prog [OPTIONS] [SETTINGS_PATH]").run()
File "/home/oreore/app/env/lib/python2.6/site-packages/gunicorn/app/base.py", line 124, in run
Arbiter(self).run()
File "/home/oreore/app/env/lib/python2.6/site-packages/gunicorn/arbiter.py", line 72, in __init__
cwd = os.getcwd()
OSError: [Errno 2] No such file or directory