Re: reviewboard configuration issues please help
Thanks, I have compiled mod_python3.3.1 and then make and make install. After that i get rid of those error message and taking nap issue also gets resolved. Thanks again for the pointer and help. On Tue, Jun 26, 2012 at 11:11 PM, Christian Hammond wrote: > You're still using mod_python. > > If you read the error, you'll see it can't find django. Make sure you have > all the packages required for the version of Python that Apache is using. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > > On Tue, Jun 26, 2012 at 4:52 AM, Nilesh Jaiswal wrote: > >> That solved my mod_python issue. >> >> Now i am getting "Review Board is taking a nap" >> >> After looking into the apache error.log >> >> d = imp.find_module(parts[i], path) >> [Tue Jun 26 19:40:29 2012] [error] [client 58.49.104.138] PythonHandler >> django.core.handlers.modpython: ImportError: No module named django >> [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler >> django.core.handlers.modpython: Traceback (most recent call last): >> [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler >> django.core.handlers.modpython: File >> "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in >> HandlerDispatch\nlog=debug) >> [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler >> django.core.handlers.modpython: File >> "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 461, in >> import_module\nf, p, d = imp.find_module(parts[i], path) >> [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler >> django.core.handlers.modpython: ImportError: No module named django >> >> But i am using python2.7 installed at /usr/local/ am i missing some thing >> here? >> >> >> >> On Tue, Jun 26, 2012 at 4:17 PM, Nilesh Jaiswal wrote: >> >>> Thank you Chris !! >>> >>> >>> On Tue, Jun 26, 2012 at 12:48 AM, Christian Hammond >> > wrote: >>> It looks like you're trying to use mod_python, which apparently isn't installed. You should be using mod_wsgi. mod_python is dead and not available on newer distros. You'll need to generate a site configuration with that. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Jun 25, 2012 at 11:15 AM, Nilesh Jaiswal wrote: > Hi All, > > Can anybody know what i am missing in the below configuration..any > pointer would really help us. > > Thanks in advance. > > Regards, > Nilesh > > > On Mon, Jun 25, 2012 at 5:46 PM, Nilesh Jaiswal > wrote: > >> Dear All, >> >> I have install latest version RB server. >> >> After installation i copied the apache_mod_python.conf to httpd.conf >> >> >> ServerName >> DocumentRoot "/var/www/rbc/htdocs" >> >> ErrorDocument 500 /errordocs/500.html >> # Serve django pages >> >> # Error handlers >> *PythonPath "['/var/www/rbc/conf'] + sys.path"* >> SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings >> SetEnv PYTHON_EGG_CACHE "/var/www/rbc/tmp/egg_cache" >> SetEnv HOME "/var/www/rbc/data" >> SetHandler mod_python >> PythonHandler django.core.handlers.modpython >> PythonAutoReload Off >> PythonDebug Off >> # Used to run multiple mod_python sites in the same >> apache >> PythonInterpreter reviewboard_rbc >> >> >> # Serve static media without running it through mod_python >> # (overrides the above) >> >> SetHandler None >> >> >> SetHandler None >> >> >> >> AllowOverride All >> >> >> # Alias static media requests to filesystem >> Alias /rbc/media "/var/www/rbc/htdocs/media" >> Alias /rbc/errordocs "/var/www/rbc/htdocs/errordocs" >> >> >> >> But after starting apache i am getting below error message, can you >> point me what i missing here >> >> *Invalid command 'PythonPath', perhaps misspelled or defined by a >> module not included in the server configuration* >> >> > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more op
Re: reviewboard configuration issues please help
You're still using mod_python. If you read the error, you'll see it can't find django. Make sure you have all the packages required for the version of Python that Apache is using. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Jun 26, 2012 at 4:52 AM, Nilesh Jaiswal wrote: > That solved my mod_python issue. > > Now i am getting "Review Board is taking a nap" > > After looking into the apache error.log > > d = imp.find_module(parts[i], path) > [Tue Jun 26 19:40:29 2012] [error] [client 58.49.104.138] PythonHandler > django.core.handlers.modpython: ImportError: No module named django > [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler > django.core.handlers.modpython: Traceback (most recent call last): > [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler > django.core.handlers.modpython: File > "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in > HandlerDispatch\nlog=debug) > [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler > django.core.handlers.modpython: File > "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 461, in > import_module\nf, p, d = imp.find_module(parts[i], path) > [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler > django.core.handlers.modpython: ImportError: No module named django > > But i am using python2.7 installed at /usr/local/ am i missing some thing > here? > > > > On Tue, Jun 26, 2012 at 4:17 PM, Nilesh Jaiswal wrote: > >> Thank you Chris !! >> >> >> On Tue, Jun 26, 2012 at 12:48 AM, Christian Hammond >> wrote: >> >>> It looks like you're trying to use mod_python, which apparently isn't >>> installed. >>> >>> You should be using mod_wsgi. mod_python is dead and not available on >>> newer distros. You'll need to generate a site configuration with that. >>> >>> Christian >>> >>> -- >>> Christian Hammond - chip...@chipx86.com >>> Review Board - http://www.reviewboard.org >>> VMware, Inc. - http://www.vmware.com >>> >>> >>> On Mon, Jun 25, 2012 at 11:15 AM, Nilesh Jaiswal >>> wrote: >>> Hi All, Can anybody know what i am missing in the below configuration..any pointer would really help us. Thanks in advance. Regards, Nilesh On Mon, Jun 25, 2012 at 5:46 PM, Nilesh Jaiswal wrote: > Dear All, > > I have install latest version RB server. > > After installation i copied the apache_mod_python.conf to httpd.conf > > > ServerName > DocumentRoot "/var/www/rbc/htdocs" > > ErrorDocument 500 /errordocs/500.html > # Serve django pages > > # Error handlers > *PythonPath "['/var/www/rbc/conf'] + sys.path"* > SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings > SetEnv PYTHON_EGG_CACHE "/var/www/rbc/tmp/egg_cache" > SetEnv HOME "/var/www/rbc/data" > SetHandler mod_python > PythonHandler django.core.handlers.modpython > PythonAutoReload Off > PythonDebug Off > # Used to run multiple mod_python sites in the same > apache > PythonInterpreter reviewboard_rbc > > > # Serve static media without running it through mod_python > # (overrides the above) > > SetHandler None > > > SetHandler None > > > > AllowOverride All > > > # Alias static media requests to filesystem > Alias /rbc/media "/var/www/rbc/htdocs/media" > Alias /rbc/errordocs "/var/www/rbc/htdocs/errordocs" > > > > But after starting apache i am getting below error message, can you > point me what i missing here > > *Invalid command 'PythonPath', perhaps misspelled or defined by a > module not included in the server configuration* > > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en >>> >>> -- >>> Want to help the Review Board project? Donate today at >>> http://www.reviewboard.org/donate/ >>> Happy user? Let us know at http://www.reviewboard.org/users/ >>> -~--~~~~--~~--~--~--- >>> To unsubscribe from this group, send email to >>> reviewboard+unsubscr...@googlegroup
Re: reviewboard configuration issues please help
That solved my mod_python issue. Now i am getting "Review Board is taking a nap" After looking into the apache error.log d = imp.find_module(parts[i], path) [Tue Jun 26 19:40:29 2012] [error] [client 58.49.104.138] PythonHandler django.core.handlers.modpython: ImportError: No module named django [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler django.core.handlers.modpython: Traceback (most recent call last): [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler django.core.handlers.modpython: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\nlog=debug) [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler django.core.handlers.modpython: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 461, in import_module\nf, p, d = imp.find_module(parts[i], path) [Tue Jun 26 19:40:45 2012] [error] [client 14.140.41.162] PythonHandler django.core.handlers.modpython: ImportError: No module named django But i am using python2.7 installed at /usr/local/ am i missing some thing here? On Tue, Jun 26, 2012 at 4:17 PM, Nilesh Jaiswal wrote: > Thank you Chris !! > > > On Tue, Jun 26, 2012 at 12:48 AM, Christian Hammond > wrote: > >> It looks like you're trying to use mod_python, which apparently isn't >> installed. >> >> You should be using mod_wsgi. mod_python is dead and not available on >> newer distros. You'll need to generate a site configuration with that. >> >> Christian >> >> -- >> Christian Hammond - chip...@chipx86.com >> Review Board - http://www.reviewboard.org >> VMware, Inc. - http://www.vmware.com >> >> >> On Mon, Jun 25, 2012 at 11:15 AM, Nilesh Jaiswal wrote: >> >>> Hi All, >>> >>> Can anybody know what i am missing in the below configuration..any >>> pointer would really help us. >>> >>> Thanks in advance. >>> >>> Regards, >>> Nilesh >>> >>> >>> On Mon, Jun 25, 2012 at 5:46 PM, Nilesh Jaiswal wrote: >>> Dear All, I have install latest version RB server. After installation i copied the apache_mod_python.conf to httpd.conf ServerName DocumentRoot "/var/www/rbc/htdocs" ErrorDocument 500 /errordocs/500.html # Serve django pages # Error handlers *PythonPath "['/var/www/rbc/conf'] + sys.path"* SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings SetEnv PYTHON_EGG_CACHE "/var/www/rbc/tmp/egg_cache" SetEnv HOME "/var/www/rbc/data" SetHandler mod_python PythonHandler django.core.handlers.modpython PythonAutoReload Off PythonDebug Off # Used to run multiple mod_python sites in the same apache PythonInterpreter reviewboard_rbc # Serve static media without running it through mod_python # (overrides the above) SetHandler None SetHandler None AllowOverride All # Alias static media requests to filesystem Alias /rbc/media "/var/www/rbc/htdocs/media" Alias /rbc/errordocs "/var/www/rbc/htdocs/errordocs" But after starting apache i am getting below error message, can you point me what i missing here *Invalid command 'PythonPath', perhaps misspelled or defined by a module not included in the server configuration* >>> -- >>> Want to help the Review Board project? Donate today at >>> http://www.reviewboard.org/donate/ >>> Happy user? Let us know at http://www.reviewboard.org/users/ >>> -~--~~~~--~~--~--~--- >>> To unsubscribe from this group, send email to >>> reviewboard+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/reviewboard?hl=en >>> >> >> -- >> Want to help the Review Board project? Donate today at >> http://www.reviewboard.org/donate/ >> Happy user? Let us know at http://www.reviewboard.org/users/ >> -~--~~~~--~~--~--~--- >> To unsubscribe from this group, send email to >> reviewboard+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/reviewboard?hl=en > > > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: reviewboard configuration issues please help
Thank you Chris !! On Tue, Jun 26, 2012 at 12:48 AM, Christian Hammond wrote: > It looks like you're trying to use mod_python, which apparently isn't > installed. > > You should be using mod_wsgi. mod_python is dead and not available on > newer distros. You'll need to generate a site configuration with that. > > Christian > > -- > Christian Hammond - chip...@chipx86.com > Review Board - http://www.reviewboard.org > VMware, Inc. - http://www.vmware.com > > > On Mon, Jun 25, 2012 at 11:15 AM, Nilesh Jaiswal wrote: > >> Hi All, >> >> Can anybody know what i am missing in the below configuration..any >> pointer would really help us. >> >> Thanks in advance. >> >> Regards, >> Nilesh >> >> >> On Mon, Jun 25, 2012 at 5:46 PM, Nilesh Jaiswal wrote: >> >>> Dear All, >>> >>> I have install latest version RB server. >>> >>> After installation i copied the apache_mod_python.conf to httpd.conf >>> >>> >>> ServerName >>> DocumentRoot "/var/www/rbc/htdocs" >>> >>> ErrorDocument 500 /errordocs/500.html >>> # Serve django pages >>> >>> # Error handlers >>> *PythonPath "['/var/www/rbc/conf'] + sys.path"* >>> SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings >>> SetEnv PYTHON_EGG_CACHE "/var/www/rbc/tmp/egg_cache" >>> SetEnv HOME "/var/www/rbc/data" >>> SetHandler mod_python >>> PythonHandler django.core.handlers.modpython >>> PythonAutoReload Off >>> PythonDebug Off >>> # Used to run multiple mod_python sites in the same >>> apache >>> PythonInterpreter reviewboard_rbc >>> >>> >>> # Serve static media without running it through mod_python >>> # (overrides the above) >>> >>> SetHandler None >>> >>> >>> SetHandler None >>> >>> >>> >>> AllowOverride All >>> >>> >>> # Alias static media requests to filesystem >>> Alias /rbc/media "/var/www/rbc/htdocs/media" >>> Alias /rbc/errordocs "/var/www/rbc/htdocs/errordocs" >>> >>> >>> >>> But after starting apache i am getting below error message, can you >>> point me what i missing here >>> >>> *Invalid command 'PythonPath', perhaps misspelled or defined by a >>> module not included in the server configuration* >>> >>> >> -- >> Want to help the Review Board project? Donate today at >> http://www.reviewboard.org/donate/ >> Happy user? Let us know at http://www.reviewboard.org/users/ >> -~--~~~~--~~--~--~--- >> To unsubscribe from this group, send email to >> reviewboard+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/reviewboard?hl=en >> > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: reviewboard configuration issues please help
It looks like you're trying to use mod_python, which apparently isn't installed. You should be using mod_wsgi. mod_python is dead and not available on newer distros. You'll need to generate a site configuration with that. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Mon, Jun 25, 2012 at 11:15 AM, Nilesh Jaiswal wrote: > Hi All, > > Can anybody know what i am missing in the below configuration..any pointer > would really help us. > > Thanks in advance. > > Regards, > Nilesh > > > On Mon, Jun 25, 2012 at 5:46 PM, Nilesh Jaiswal wrote: > >> Dear All, >> >> I have install latest version RB server. >> >> After installation i copied the apache_mod_python.conf to httpd.conf >> >> >> ServerName >> DocumentRoot "/var/www/rbc/htdocs" >> >> ErrorDocument 500 /errordocs/500.html >> # Serve django pages >> >> # Error handlers >> *PythonPath "['/var/www/rbc/conf'] + sys.path"* >> SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings >> SetEnv PYTHON_EGG_CACHE "/var/www/rbc/tmp/egg_cache" >> SetEnv HOME "/var/www/rbc/data" >> SetHandler mod_python >> PythonHandler django.core.handlers.modpython >> PythonAutoReload Off >> PythonDebug Off >> # Used to run multiple mod_python sites in the same apache >> PythonInterpreter reviewboard_rbc >> >> >> # Serve static media without running it through mod_python >> # (overrides the above) >> >> SetHandler None >> >> >> SetHandler None >> >> >> >> AllowOverride All >> >> >> # Alias static media requests to filesystem >> Alias /rbc/media "/var/www/rbc/htdocs/media" >> Alias /rbc/errordocs "/var/www/rbc/htdocs/errordocs" >> >> >> >> But after starting apache i am getting below error message, can you point >> me what i missing here >> >> *Invalid command 'PythonPath', perhaps misspelled or defined by a module >> not included in the server configuration* >> >> > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: reviewboard configuration issues please help
Hi All, Can anybody know what i am missing in the below configuration..any pointer would really help us. Thanks in advance. Regards, Nilesh On Mon, Jun 25, 2012 at 5:46 PM, Nilesh Jaiswal wrote: > Dear All, > > I have install latest version RB server. > > After installation i copied the apache_mod_python.conf to httpd.conf > > > ServerName > DocumentRoot "/var/www/rbc/htdocs" > > ErrorDocument 500 /errordocs/500.html > # Serve django pages > > # Error handlers > *PythonPath "['/var/www/rbc/conf'] + sys.path"* > SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings > SetEnv PYTHON_EGG_CACHE "/var/www/rbc/tmp/egg_cache" > SetEnv HOME "/var/www/rbc/data" > SetHandler mod_python > PythonHandler django.core.handlers.modpython > PythonAutoReload Off > PythonDebug Off > # Used to run multiple mod_python sites in the same apache > PythonInterpreter reviewboard_rbc > > > # Serve static media without running it through mod_python > # (overrides the above) > > SetHandler None > > > SetHandler None > > > > AllowOverride All > > > # Alias static media requests to filesystem > Alias /rbc/media "/var/www/rbc/htdocs/media" > Alias /rbc/errordocs "/var/www/rbc/htdocs/errordocs" > > > > But after starting apache i am getting below error message, can you point > me what i missing here > > *Invalid command 'PythonPath', perhaps misspelled or defined by a module > not included in the server configuration* > > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en