76 reputation
7
bio website
location
age
visits member for 2 years, 8 months
seen Jul 2 at 19:37

learning rails with real project


May
14
comment How to force sqlite3 table to take next available id for auto increment in firefox sqlite3 manager?
Here is an answer for resetting the primary key: stackoverflow.com/questions/3443630/…
Feb
26
comment Connection Refused when connecting ssh with putty on aws instance
The issue is that there is a volume attached to the root device on snapshot image and the exactly same configuration is needed for the new copied instance.
Jun
9
comment Error in rewrite uri with nginx
Now the nginx error disappeared. But there is an 500 error with mysite.com/abcd. There is no change on the url displayed in browser. Firebug did not show what's the uri it rewrote.
Jun
9
comment Error in rewrite uri with nginx
What's the uri for the location block? Does it mean anything?
Nov
22
comment What rights does /vol/www have on ubuntu web server?
Tested solution above (chgrp and chmod) and it did not work. The error is the same. Thanks.
Nov
22
comment What rights does /vol/www have on ubuntu web server?
follow answer on the post : superuser.com/questions/19318/… and it did not work.
Nov
21
comment What rights does /vol/www have on ubuntu web server?
output is: drwxr-xr-x 3 root root 4096 2011-11-22 04:35 /vol/www
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
Just verified that 1.0.6 is the running copy. Used sudo lsof -i:80 to find the pid on port 80 and kill it before start 1.0.6 with /opt/nginx/sbin/nginx
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
let us continue this discussion in chat
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
The above is the error output of sudo /opt/nginx/sbin/nginx. I am new to both ubuntu and nginx. Not sure where is wrong. Thanks.
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
dtt@ubuntu:/etc$ sudo /opt/nginx/sbin/nginx nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] still could not bind()
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
The above 2 are output of /opt/nginx/sbin/nginx -V and tree -L 3 /opt/nginx/?
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
dtt@ubuntu:/usr/sbin$ tree -L 3 /opt/nginx/? /opt/nginx/? [error opening dir] 0 directories, 0 files
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
dtt@ubuntu:/usr/sbin$ /opt/nginx/sbin/nginx -V nginx: nginx version: nginx/1.0.6 nginx: built by gcc 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) nginx: TLS SNI support enabled nginx: configure arguments: --prefix=/opt/nginx --with-http_ssl_module --with-cc-opt=-Wno-error --add-module=/home/dtt/.rvm/gems/ruby-1.9.2-p290/gems/passenger-3.0.9/ext/nginx
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
the output of 'which nginx' is : /usr/sbin/nginx. This is the ver 0.8.54
Nov
2
comment newer nginx (1.0.6) is not running on ubuntu server
Yes, it is exactly the same output when typing nginx -v. How to start the nginx 1.0.6? The output is still 0.8.54 when typing nginx -v and I assume nginx is running version of 0.8.54.