Page 1 of 1

Python version mismatch, Newfies installation

PostPosted: Fri Sep 07, 2012 5:53 pm
by kazmi514
Dear All,

I had the python version mismatch issue, I have installed Ubuntu 10.04 LTS server. then I upgrade it to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-30-generic x86_64).
When I go to http://server IP . the default pages comes up, but when I click on 'Administrator Panel' I got the error given below.

http://server IP:8008/admin/

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

When I check the /var/log/apache2/error.log

I found this


[Fri Sep 07 07:05:28 2012] [warn] mod_wsgi: Compiled for Python/2.7.2+.
[Fri Sep 07 07:05:28 2012] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Fri Sep 07 07:05:28 2012] [notice] Apache/2.2.22 (Ubuntu) mod_python/3.3.1 Python/2.7.3 mod_wsgi/3.3 configured -- resuming normal operations
[Fri Sep 07 07:05:36 2012] [notice] caught SIGTERM, shutting down
[Fri Sep 07 07:05:37 2012] [error] python_init: Python version mismatch, expected '2.7.2+', found '2.7.3'.
[Fri Sep 07 07:05:37 2012] [error] python_init: Python executable found '/usr/bin/python'.
[Fri Sep 07 07:05:37 2012] [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'.

Please help me, I'm new user and want to learn .

Best Regards,
Kaz

Re: Python version mismatch, Newfies installation

PostPosted: Sun Sep 09, 2012 5:31 pm
by areski
You might want to try to reinstall it on the new upgraded OS with the new version of Python.