Skip to content
Browse files

Added problem and solutions notes for deploying on Nginx + fcgi_mod.

  • Loading branch information...
1 parent 5e059aa commit 932a3ed620e55cb9552f9cf5d5f8815619f53c07 @shuge shuge committed Oct 3, 2011
Showing with 14 additions and 1 deletion.
  1. +14 −1 cookbook/fastcgi-nginx.md
View
15 cookbook/fastcgi-nginx.md
@@ -116,4 +116,17 @@ To reload your configuration:
And to stop:
- /path/to/nginx/sbin/nginx -s stop
+ /path/to/nginx/sbin/nginx -s stop
+
+
+## NOTES
+
+### problem child exited with 2
+
+solution: insert `#!/usr/bin/env python` into header of main.py
+
+### problem spawn-fcgi child exited with 126
+
+solution: `chmod +x main.py`
+
+

0 comments on commit 932a3ed

Please sign in to comment.
Something went wrong with that request. Please try again.