2658: Something broke! (Error 500)
- SetupIssue
- Review Board
chen*****@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Sept. 4, 2012 |
What version are you running? v1.6.9 What's the URL of the page containing the problem? http://10.140.16.69/ What steps will reproduce the problem? 1.just try to login 2. 3. error info: 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. What is the expected output? What do you see instead? What operating system are you using? What browser? Please provide any additional information below.
error log: [Thu Jul 05 01:00:32 2012] [error] [client 10.140.90.91] File does not exist: /var/www/reviews.example.com/htdocs/media/rbcommons [Thu Jul 05 01:00:47 2012] [error] [client 10.140.90.91] File does not exist: /home/app/httpd/htdocs/favicon.ico [Thu Jul 05 01:01:04 2012] [error] [client 10.140.90.91] File does not exist: /home/app/httpd/htdocs/dashboard [Thu Jul 05 01:01:04 2012] [error] [client 10.140.90.91] File does not exist: /home/app/httpd/htdocs/favicon.ico [Thu Jul 05 01:10:27 2012] [error] [client 10.140.90.91] File does not exist: /home/app/httpd/htdocs/favicon.ico [Thu Jul 05 01:12:30 2012] [error] [client 10.140.90.91] File does not exist: /var/www/reviews.example.com/htdocs/media/rbcommons [Thu Jul 05 18:32:45 2012] [error] [client 10.140.90.91] File does not exist: /var/www/reviews.example.com/htdocs/media/rbcommons [Wed Jul 04 20:10:30 2012] [error] [client 10.140.90.91] File does not exist: /var/www/reviews.example.com/htdocs/media/rbcommons [Wed Jul 04 23:53:27 2012] [error] [client 10.140.90.91] File does not exist: /var/www/reviews.example.com/htdocs/media/rbcommons/images
The errors you pasted in comment #1 don't have whatever failed. You'll need to look deeper into this file, or perhaps look in a different file (depending on how your web server is configured)
-
+ NeedInfo
it seems that the folder "rbcommons" is not exist. when i create a site, this folder can be created , is it? because i previous delete a site on web admin page.
I don't understand at all why you'd have "rbcommons" in your logs ever. The review board codebase doesn't have any mention of that string. Can you provide some detail of what steps you did to install the server?
here is a line in apache-wsgi.conf configuration, perhaps it is why it need the "rbcommons" , i remove it, the error dispeared, the apache is working, but reviewboard still can't get access to error as following: [Thu Jul 05 16:22:18 2012] [error] [client 10.140.90.91] File does not exist: /home/app/httpd/htdocs/favicon.ico
Can you paste your apache-wsgi.conf configuration here? Just having a missing favicon shouldn't cause the entire page to return a 500 error.
-
+ +
Is it related with the python version?it seems not review board configurate problem but the server configuration. httpd error log: [Wed Jul 04 23:44:58 2012] [error] python_init: Python version mismatch, expected '2.7.2', found '2.7.3'. [Wed Jul 04 23:44:58 2012] [error] python_init: Python executable found '/bin/python'. [Wed Jul 04 23:44:58 2012] [error] python_init: Python path being used '/usr/lib/python27.zip:/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'. [Wed Jul 04 23:44:58 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads. [Wed Jul 04 23:44:58 2012] [notice] mod_python: using mutex_directory /tmp [Wed Jul 04 23:44:59 2012] [notice] SSL FIPS mode disabled [Wed Jul 04 23:44:59 2012] [notice] Apache/2.2.22 (Unix) DAV/2 mod_python/3.3.1 Python/2.7.3 mod_wsgi/3.3 PHP/5.4.1 mod_ssl/2.2.22 OpenSSL/1.0.0i-fips mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations [Wed Jul 04 23:47:04 2012] [notice] caught SIGTERM, shutting down Attempt to free unreferenced scalar: SV 0xb7dfc650, Perl interpreter: 0xb7cb3c08 during global destruction.
That looks like it's definitely a problem--your mod_python was built against a different version than your /bin/python executable. You should really be using mod_wsgi. mod_python is deprecated and will not be supported much longer.
hi,you means the log demonstrate that I use mod_python? but I use mod_wsgi, how can i handle the problem?
No matter what, this is the problem: [Wed Jul 04 23:44:58 2012] [error] python_init: Python version mismatch, expected '2.7.2', found '2.7.3'. [Wed Jul 04 23:44:58 2012] [error] python_init: Python executable found '/bin/python'. [Wed Jul 04 23:44:58 2012] [error] python_init: Python path being used '/usr/lib/python27.zip:/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'. Something is not built correctly. I don't know what linux distribution you're using, but the versions aren't right.
-
- NeedInfo + SetupIssue
morning, I hit the same problem similar to this issue; I'm wondering if any possible that migrate from mod_python to mod_wsgi with ReviewBoard? any hint? at the same time, I'll try to install reivewboard without mod_python... the detail is: before the starting, I want to recognize that I'm very junior in the fields of Linux/Ubuntu, python and also apache/2; I do need someone, experts like you, to give me a hint, very appreciate. After some attempts, I finally success to install reviewboard based on a "recipe", with mod_python, that someone shared on internet; at the beginning, my review board seems to work; but, don't know why, after days, I got error code 500 when entered reviewboard. after google some information , I install mod_wsgi but the issue still existing [yes, a junior ...] herewith my env: a VM on my local PC Ubuntu 12.04.2 LTS Apache/2.2.22 (Ubuntu) Python 2.7.3 mod_python mod_wsgi apache2 error.log: ========================== [Tue Jul 16 15:18:19 2013] [notice] caught SIGTERM, shutting down [Tue Jul 16 15:18:20 2013] [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'. [Tue Jul 16 15:18:20 2013] [error] python_init: Python executable found '/usr/bin/python'. [Tue Jul 16 15:18:20 2013] [error] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'. [Tue Jul 16 15:18:20 2013] [notice] mod_python: Creating 5 session mutexes based on 1 max processes and 5 max threads. [Tue Jul 16 15:18:20 2013] [notice] mod_python: using mutex_directory /tmp [Tue Jul 16 15:18:20 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+. [Tue Jul 16 15:18:20 2013] [warn] mod_wsgi: Runtime using Python/2.7.3. [Tue Jul 16 15:18:20 2013] [notice] Apache/2.2.22 (Ubuntu) mod_python/3.3.1 Python/2.7.3 mod_wsgi/3.3 configured -- resuming normal operations [Tue Jul 16 07:18:34 2013] [error] [client 192.168.146.1] File does not exist: /var/www/reviewboard/htdocs/favicon.ico ========================== [don't know why the lastest message with a different timestamp...] very appreciate if any information
dear all, I already installed a new reivewboard with mod_wsgi, but in the beginning, it's a VM on my local pc with a private IP, it's success to login reviewboard as admin; but after moved the VM to a offical platform and assigned a static IP, I hit error code 500; herewith the env. information: Ubuntu Ubuntu 12.04.2 LTS Apache/2.2.22 (Ubuntu) Python 2.7.3 # apachectl -t -D DUMP_MODULES apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_worker_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgid_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) mime_module (shared) negotiation_module (shared) reqtimeout_module (shared) setenvif_module (shared) status_module (shared) wsgi_module (shared) Syntax OK apache2 error.log: ========================== # tail /var/log/apache2/error.log [Tue Jul 16 12:44:05 2013] [error] [client 140.96.29.189] File does not exist: /var/www/reviewboard/htdocs/index.html [Tue Jul 16 12:44:05 2013] [error] [client 140.96.29.189] File does not exist: /var/www/reviewboard/htdocs/favicon.ico [Tue Jul 16 12:44:11 2013] [error] [client 140.96.29.189] File does not exist: /var/www/reviewboard/htdocs/favicon.ico [Tue Jul 16 20:45:04 2013] [notice] caught SIGTERM, shutting down [Tue Jul 16 20:45:04 2013] [warn] mod_wsgi: Compiled for Python/2.7.2+. [Tue Jul 16 20:45:04 2013] [warn] mod_wsgi: Runtime using Python/2.7.3. [Tue Jul 16 20:45:04 2013] [notice] Apache/2.2.22 (Ubuntu) mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations [Tue Jul 16 20:45:08 2013] [error] [client 140.96.29.189] File does not exist: /var/www/reviewboard/htdocs/favicon.ico [Tue Jul 16 20:48:26 2013] [error] [client 140.96.29.189] File does not exist: /var/www/reviewboard/htdocs/favicon.ico [Tue Jul 16 20:48:26 2013] [error] [client 140.96.29.189] File does not exist: /var/www/reviewboard/htdocs/favicon.ico ========================== no error message in /var/www/reviewboard/logs/reviewboard.log any idea? thanks