Re: Error 500 on new 2.0.2 install
I switched debug mode on and it gave me this: OperationalError at /reviews/ could not connect to server: Permission denied Is the server running on host 127.0.0.1 and accepting TCP/IP connections on port 5432? Request Method: GET Request URL: http://dev-ci2/reviews/ Django Version: 1.4.13 Exception Type: OperationalError Exception Value: could not connect to server: Permission denied Is the server running on host 127.0.0.1 and accepting TCP/IP connections on port 5432? But, if I try from command line, I can connect with that user and port, no issues: psql -U reviewboard -h 127.0.0.1 -p 5432 Connects to PostgreSQL without any problems. On Sat, Jun 28, 2014 at 12:09 PM, jace...@gmail.com wrote: I installed a brand new 2.0.2 instance on CentOS 6 with a PostgreSQL backend. The whole install went fine. created the DB and my reviews site. However, when I go to my server's /reviews/ URL I always get the 500 error message: *Something broke! (Error 500)* * It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator* if I do a tail on the apache log (tail -f /var/log/httpd/error_log) I see nothing unusual: *[Sat Jun 28 11:59:04 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)[Sat Jun 28 11:59:04 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations * No errors present. if I go to my site's /logs folder, it is empty, nothing. Any suggestions would be welcome. Thanks Jacek -- 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 a topic in the Google Groups reviewboard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/PsEvrQ4kaDw/unsubscribe. To unsubscribe from this group and all its topics, 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.
Re: Error 500 on new 2.0.2 install
All is OK. I think there was something wrong with the copy of ReviewBoard that is included in the CentOS repos (1.7.6). I did a clean reinstall from easy_install for the 2.0.2 and everything went fine. Thanks for your help. On Sat, Jun 28, 2014 at 6:03 PM, David Trowbridge trowb...@gmail.com wrote: Did you end up turning on DEBUG in settings_local.py? -David On Sat, Jun 28, 2014 at 11:53 AM, Jacek Furmankiewicz jace...@gmail.com wrote: OK, I figured that out, it was SELinux settings: setsetbool -P httpd_can_network_connect on setsetbool -P httpd_can_network_sendmail on Now I can see the site. It is 1.7.26 (not 2.0.2) since that is the default version shipped with ReviewBoard. However, the site has no graphics, no icons, nothing. It looks just like plain text without any CSS. HTML circa 1985. Any ideas? On Sat, Jun 28, 2014 at 1:40 PM, Jacek Furmankiewicz jace...@gmail.com wrote: I switched debug mode on and it gave me this: OperationalError at /reviews/ could not connect to server: Permission denied Is the server running on host 127.0.0.1 and accepting TCP/IP connections on port 5432? Request Method: GET Request URL: http://dev-ci2/reviews/ Django Version: 1.4.13 Exception Type: OperationalError Exception Value: could not connect to server: Permission denied Is the server running on host 127.0.0.1 and accepting TCP/IP connections on port 5432? But, if I try from command line, I can connect with that user and port, no issues: psql -U reviewboard -h 127.0.0.1 -p 5432 Connects to PostgreSQL without any problems. On Sat, Jun 28, 2014 at 12:09 PM, jace...@gmail.com wrote: I installed a brand new 2.0.2 instance on CentOS 6 with a PostgreSQL backend. The whole install went fine. created the DB and my reviews site. However, when I go to my server's /reviews/ URL I always get the 500 error message: *Something broke! (Error 500)* * It appears something broke when you tried to go to here. This is either a bug in Review Board or a server configuration error. Please report this to your administrator* if I do a tail on the apache log (tail -f /var/log/httpd/error_log) I see nothing unusual: *[Sat Jun 28 11:59:04 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)[Sat Jun 28 11:59:04 2014] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations * No errors present. if I go to my site's /logs folder, it is empty, nothing. Any suggestions would be welcome. Thanks Jacek -- 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 a topic in the Google Groups reviewboard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/PsEvrQ4kaDw/unsubscribe. To unsubscribe from this group and all its topics, 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. -- 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 a topic in the Google Groups reviewboard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/PsEvrQ4kaDw/unsubscribe. To unsubscribe from this group and all its topics, 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.
Re: Error 500 on new 2.0.2 install
Yes, I am OK now. Now, it was the first time I was trying to reinstall RB in 1.5 years, so I may have messed something up. But a fresh install with 2.0.2 worked like a charm, all is good. Thank you for all your help. On Tue, Jul 1, 2014 at 11:49 AM, Stephen Gallagher step...@gallagherhome.com wrote: On 07/01/2014 12:47 PM, Stephen Gallagher wrote: On 06/30/2014 05:30 PM, Jacek Furmankiewicz wrote: All is OK. I think there was something wrong with the copy of ReviewBoard that is included in the CentOS repos (1.7.6). I did a clean reinstall from easy_install for the 2.0.2 and everything went fine. CentOS 6 has access to 1.7.26... If you only had 1.7.6, something was wrong there. Reading back, I see you were trying with 1.7.26. I'm surprised... I've tested that with RHEL 6 on many occasions. I'd like to figure out what's broken there, but if you're happy on 2.0.2, don't worry about it. -- 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 a topic in the Google Groups reviewboard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/PsEvrQ4kaDw/unsubscribe. To unsubscribe from this group and all its topics, 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.