How did you install the review board package? -David
On Sat, Apr 26, 2014 at 9:13 PM, <daeda...@126.com> wrote: > I've created a review board site following the intructions at > http://www.reviewboard.org/docs/manual/dev/admin/ > installation/creating-sites/#creating-sites. > > How ever, when I run *wget localhost*, I got a 500 error. > > The error log is: > > > > > > > > > > > *[Wed Apr 23 22:38:28.073437 2014] [:error] [pid 8518:tid 3052399472] > [client ::1:40599] mod_wsgi (pid=8518): Target WSGI script > '/var/www/reviews.example.com/htdocs/rev > <http://reviews.example.com/htdocs/rev> iewboard.wsgi' cannot be loaded > as Python module. [Wed Apr 23 22:38:28.073592 2014] [:error] [pid 8518:tid > 3052399472] [client ::1:40599] mod_wsgi (pid=8518): Exception occurred > processing WSGI script '/var/www/reviews > .example.com/htdocs/reviewboard.wsgi > <http://example.com/htdocs/reviewboard.wsgi>'.[Wed Apr 23 22:38:28.073682 > 2014] [:error] [pid 8518:tid 3052399472] [client ::1:40599] Traceback (most > recent call last): [Wed Apr 23 22:38:28.073768 2014] [:error] [pid 8518:tid > 3052399472] [client ::1:40599] File > "/var/www/reviews.example.com/htdocs/reviewboard.wsgi > <http://reviews.example.com/htdocs/reviewboard.wsgi>", line 4, in <modul > e> [Wed Apr 23 22:38:28.073964 2014] [:error] [pid 8518:tid 3052399472] > [client ::1:40599] import pkg_resources[Wed Apr 23 22:38:28.074025 > 2014] [:error] [pid 8518:tid 3052399472] [client ::1:40599] File > "build/bdist.linux-i686/egg/pkg_resources.py", line 2749, in <module> [Wed > Apr 23 22:38:28.075137 2014] [:error] [pid 8518:tid 3052399472] [client > ::1:40599] File "build/bdist.linux-i686/egg/pkg_resources.py", line 444, > in _build_master[Wed Apr 23 22:38:28.075779 2014] [:error] [pid 8518:tid > 3052399472] [client ::1:40599] File > "build/bdist.linux-i686/egg/pkg_resources.py", line 725, in require [Wed > Apr 23 22:38:28.076847 2014] [:error] [pid 8518:tid 3052399472] [client > ::1:40599] File "build/bdist.linux-i686/egg/pkg_resources.py", line 628, > in resolve[Wed Apr 23 22:38:28.077504 2014] [:error] [pid 8518:tid > 3052399472] [client ::1:40599] DistributionNotFound: ReviewBoard [Wed Apr > 23 22:38:28.079978 2014] [core:error] [pid 8518:tid 3052399472] [client > ::1:40599] AH00037: Symbolic link not allowed or link target not > accessible: /var/www/r eviews.example.com/htdocs/errordocs > <http://eviews.example.com/htdocs/errordocs>* > > > The content of > > > > > > > > > > > > > > > > > > > > */var/www/reviews.example.com/htdocs/reviewboard.wsgi > <http://reviews.example.com/htdocs/reviewboard.wsgi> is: > #/opt/python-2.7.6/bin/python 2 import __main__ 3 __main__.__requires__ = > ['ReviewBoard'] 4 import pkg_resources 5 6 import os 7 import sys 8 > 9 os.environ['DJANGO_SETTINGS_MODULE'] = "reviewboard.settings" 10 > os.environ['PYTHON_EGG_CACHE'] = > "/var/www/reviews.example.com/tmp/egg_cache > <http://reviews.example.com/tmp/egg_cache>" 11 os.environ['HOME'] = > "/var/www/reviews.example.com/data <http://reviews.example.com/data>" 12 > os.environ['PYTHONPATH'] = '/var/www/reviews.example.com/conf > <http://reviews.example.com/conf>:' + os.environ.get('PYTHONPATH', '') 13 > 14 sys.path = ['/var/www/reviews.example.com/conf > <http://reviews.example.com/conf>'] + sys.path 15 16 import > django.core.handlers.wsgi 17 application = > django.core.handlers.wsgi.WSGIHandler()*What's the matter ? Help please! > > -- > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > --- > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > --- > Happy user? Let us know at http://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.