Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
litespeed_wiki:cloudlinux:enable_passenger [2018/09/17 20:15]
Jackson Zhang [Trouble shooting]
litespeed_wiki:cloudlinux:enable_passenger [2018/09/17 20:27]
Lisa Clarke [Trouble shooting] Proofreading
Line 14: Line 14:
   - Switch to LiteSpeed and try a ruby/python app   - Switch to LiteSpeed and try a ruby/python app
  
-===== Trouble shooting ​===== +===== Troubleshooting ​===== 
-If you application does not work properly, you can try two simple steps to check if application has been setup properly. +If your application does not work properly, you can try two simple steps to check if the application has been setup properly: 
-  - If possible, switch back to Apache temporarily to verify if the application works properly ​or not+  - If possible, switch back to Apache temporarily to verify if the application works properly ​under Apache
-  - check if any error logged into <​APP_ROOT_DIR>/​stderr.log,​ fix the error and try again.+  - Check if any error has been logged into ''​<​APP_ROOT_DIR>/​stderr.log''​. If it has, fix the error and try again.
  
 For example: For example:
  
-Python application writes error to stderr.log under the application root directory+Python application writes ​an error to stderr.log under the application root directory, ''​/​home/​user1/​dingodossier/​mbntp/​stderr.log'':​
- +
-/​home/​user1/​dingodossier/​mbntp/​stderr.log ​has+
  
 +<​code>​
 Traceback (most recent call last): Traceback (most recent call last):
   File "/​home/​user1/​dingodossier/​mbntp/​passenger_wsgi.py",​ line 8, in <​module>​   File "/​home/​user1/​dingodossier/​mbntp/​passenger_wsgi.py",​ line 8, in <​module>​
Line 38: Line 37:
     from django.core.wsgi import get_wsgi_application     from django.core.wsgi import get_wsgi_application
 ImportError:​ No module named '​django'​ ImportError:​ No module named '​django'​
 +</​code>​
  
-It indicates Django was not properly set up for this application. You should try it under Apache to make sure it is working.+This indicates Django was not properly set up for the application. ​
  • Admin
  • Last modified: 2018/09/17 20:27
  • by Lisa Clarke