[GeoNode-users] Geonode Windows 2.4

Franklin, Chris CFranklin at AngloGoldAshanti.com
Sun Aug 21 19:26:25 PDT 2016


Hi,

I have installed Geonode 2.4 on windows server 2012, I have Geoserver working, but I don't have the GeoNode interface coming up. - I have set localhost to aupegis03 (local domain name)  also Tomcat also runs on localhost:8080 perfectly.

I get this error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster at example.org<mailto:webmaster at example.org> to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log

[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358] mod_wsgi (pid=1488): Exception occurred processing WSGI script 'C:/GeoNode-2.4.x/geonode-2.4.x/geonode/wsgi.py'.
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358] Traceback (most recent call last):
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 187, in __call__
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]     self.load_middleware()
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\core\\handlers\\base.py", line 44, in load_middleware
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]     for middleware_path in settings.MIDDLEWARE_CLASSES:
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 54, in __getattr__
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]     self._setup(name)
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 49, in _setup
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]     self._wrapped = Settings(settings_module)
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 128, in __init__
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\utils\\importlib.py", line 40, in import_module
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]     __import__(name)
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\geonode\\settings.py", line 892
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]     "apiKey": s1kpAAqIEjz86yRjlnlk~tPUN2J2Fvxzv14u6U8jpwQ~AsquDvAuq0pVg1VaXex4VFpz0V29SNsl_hpkv-P3_CPXMm0kE4zbMcpn5p7f8V45
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358]                                   ^
[Mon Aug 22 10:15:38.161664 2016] [wsgi:error] [pid 1488:tid 2592] [client 172.16.0.110:58358] SyntaxError: invalid syntax
[Mon Aug 22 10:15:40.880423 2016] [mpm_winnt:notice] [pid 1056:tid 592] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Aug 22 10:15:42.911716 2016] [mpm_winnt:notice] [pid 1488:tid 492] AH00364: Child: All worker threads have exited.
[Mon Aug 22 10:15:43.161678 2016] [mpm_winnt:notice] [pid 1056:tid 592] AH00430: Parent: Child process 1488 exited successfully.
[Mon Aug 22 10:15:44.396046 2016] [core:warn] [pid 4224:tid 592] AH00117: Ignoring deprecated use of DefaultType in line 424 of C:\\GeoNode-2.4.x\\Apache2/conf/httpd.conf.
[Mon Aug 22 10:15:44.411674 2016] [wsgi:warn] [pid 4224:tid 592] mod_wsgi: Compiled for Python/2.7.10+.
[Mon Aug 22 10:15:44.411674 2016] [wsgi:warn] [pid 4224:tid 592] mod_wsgi: Runtime using Python/2.7.10.
[Mon Aug 22 10:15:44.411674 2016] [mpm_winnt:notice] [pid 4224:tid 592] AH00455: Apache/2.4.18 (Win32) mod_wsgi/4.4.21 Python/2.7.10 configured -- resuming normal operations
[Mon Aug 22 10:15:44.411674 2016] [mpm_winnt:notice] [pid 4224:tid 592] AH00456: Server built: Dec  9 2015 12:21:09
[Mon Aug 22 10:15:44.411674 2016] [core:notice] [pid 4224:tid 592] AH00094: Command line: 'C:\\GeoNode-2.4.x\\Apache2\\bin\\Apache.exe -d C:/GeoNode-2.4.x/Apache2 -d C:\\GeoNode-2.4.x\\Apache2'
[Mon Aug 22 10:15:44.411674 2016] [mpm_winnt:notice] [pid 4224:tid 592] AH00418: Parent: Created child process 5092
[Mon Aug 22 10:15:44.802298 2016] [core:warn] [pid 5092:tid 492] AH00117: Ignoring deprecated use of DefaultType in line 424 of C:\\GeoNode-2.4.x\\Apache2/conf/httpd.conf.
[Mon Aug 22 10:15:44.833549 2016] [core:warn] [pid 5092:tid 492] AH00117: Ignoring deprecated use of DefaultType in line 424 of C:\\GeoNode-2.4.x\\Apache2/conf/httpd.conf.
[Mon Aug 22 10:15:44.849174 2016] [wsgi:warn] [pid 5092:tid 492] mod_wsgi: Compiled for Python/2.7.10+.
[Mon Aug 22 10:15:44.849174 2016] [wsgi:warn] [pid 5092:tid 492] mod_wsgi: Runtime using Python/2.7.10.
[Mon Aug 22 10:15:45.161675 2016] [mpm_winnt:notice] [pid 5092:tid 492] AH00354: Child: Starting 250 worker threads.
[Mon Aug 22 10:18:37.117590 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441] mod_wsgi (pid=5092): Exception occurred processing WSGI script 'C:/GeoNode-2.4.x/geonode-2.4.x/geonode/wsgi.py'.
[Mon Aug 22 10:18:37.117590 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441] Traceback (most recent call last):
[Mon Aug 22 10:18:37.117590 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 187, in __call__
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]     self.load_middleware()
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\core\\handlers\\base.py", line 44, in load_middleware
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]     for middleware_path in settings.MIDDLEWARE_CLASSES:
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 54, in __getattr__
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]     self._setup(name)
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 49, in _setup
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]     self._wrapped = Settings(settings_module)
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 128, in __init__
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]     mod = importlib.import_module(self.SETTINGS_MODULE)
[Mon Aug 22 10:18:37.118592 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\utils\\importlib.py", line 40, in import_module
[Mon Aug 22 10:18:37.119591 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]     __import__(name)
[Mon Aug 22 10:18:37.119591 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\geonode\\settings.py", line 892
[Mon Aug 22 10:18:37.119591 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]     "apiKey": s1kpAAqIEjz86yRjlnlk~tPUN2J2Fvxzv14u6U8jpwQ~AsquDvAuq0pVg1VaXex4VFpz0V29SNsl_hpkv-P3_CPXMm0kE4zbMcpn5p7f8V45
[Mon Aug 22 10:18:37.119591 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441]                                   ^
[Mon Aug 22 10:18:37.119591 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58441] SyntaxError: invalid syntax
[Mon Aug 22 10:18:37.197595 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442] mod_wsgi (pid=5092): Exception occurred processing WSGI script 'C:/GeoNode-2.4.x/geonode-2.4.x/geonode/wsgi.py'., referer: http://aupegis03/
[Mon Aug 22 10:18:37.197595 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442] Traceback (most recent call last):, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 187, in __call__, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]     self.load_middleware(), referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\core\\handlers\\base.py", line 44, in load_middleware, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]     for middleware_path in settings.MIDDLEWARE_CLASSES:, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 54, in __getattr__, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]     self._setup(name), referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 49, in _setup, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]     self._wrapped = Settings(settings_module), referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\conf\\__init__.py", line 128, in __init__, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]     mod = importlib.import_module(self.SETTINGS_MODULE), referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\lib\\site-packages\\django\\utils\\importlib.py", line 40, in import_module, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]     __import__(name), referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]   File "C:\\GeoNode-2.4.x\\geonode-2.4.x\\geonode\\settings.py", line 892, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]     "apiKey": s1kpAAqIEjz86yRjlnlk~tPUN2J2Fvxzv14u6U8jpwQ~AsquDvAuq0pVg1VaXex4VFpz0V29SNsl_hpkv-P3_CPXMm0kE4zbMcpn5p7f8V45, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442]                                   ^, referer: http://aupegis03/
[Mon Aug 22 10:18:37.198596 2016] [wsgi:error] [pid 5092:tid 2592] [client 172.16.0.110:58442] SyntaxError: invalid syntax, referer: http://aupegis03/


Also I have set the env var as per the instructions but still no luck, but setting the GEONODE_PATHEXT is not clear, here is what I have:

GDAL_HOME                                     C:\GeoNode-2.4.x\GDAL
GDAL_LIBRARY_PATH                    C:\GeoNode-2.4.x\GDAL\gdal111.dll
GEOS_LIBRARY_PATH                    C:\GeoNode-2.4.x\GDAL\geos.dll (or should it be geos_c.dll)
JRE_HOME                                          C:\GeoNode-2.4.x\jre
GEONODE_PATHEXT                      This is what is confusing me (what do I  need to enter here? C:\GeoNode-2.4.x; C:\GeoNode-2.4.x\geonode-2.4.x\scripts; C:\GeoNode-2.4.x\Python27; (anything else?) the add %GEONODE_PATHEXT% to

Path                                                       %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%GEONODE_PATHEXT%;


In the windows env if I follow the README.txt  and do this red text:


GeoNode Startup
===============

    To run GeoNode on Windows:

    1. Start GeoServer Service
                   GeoServer is running under Apache Tomcat7 which is installed as a "service" on your system.
                   The service should start automatically, however before starting GeoNode, make sure the Apache Tomcat7 is up and running.

    2. Start GeoNode
       This shortcut redirects you to the http://localhost, the GeoNode home page, on your default browser.

    The default GeoNode administrator is:
      username: admin
      password: admin

GeoNode Support
===============

    To get support, give feedbacks and suggestions please use the GeoNode official channels, the users mailing list:
    http://lists.osgeo.org/pipermail/geonode-users/ and the developers mailing list: http://lists.osgeo.org/pipermail/geonode-devel/.

    This repository is used to track code changes and GeoNode issues, please DON'T open new issues to ask for support.

Notes on the installation
=========================

                a. Notice that sometimes the Apache HTTPD web service does not start automatically right after
                   the installation due to the system environment.
                   In that case, after the installation, run the "Apache2 Start" from the WinLAMP shortcut.

                   Also please check through the Windows Services that the two services "Apache Tomcat7" and "Apache2"
                  are up and running.

    b. If you have issues starting GeoNode, try to run the "GeoNode VirtualEnv Setup" shortcut.
       Make sure all the GeoNode Python dependencies have been correctly installed on the
       Virtual Environment.

       In case of problems, please ask for support on the mailing lists.



I get this error:
[cid:image003.png at 01D1FC5F.51523610][cid:image004.png at 01D1FC5F.51523610]

But the file exists and is in the right place,
[cid:image005.png at 01D1FC5F.51523610]

Any ideas anyone?

I know of the gurus will be in Bonn this week....so may be busy :)

Cheers

Chris Franklin
GIS and Database Co-ordinator
Exploration Australia
[cid:image002.jpg at 01D1FC5F.9E552D50]
Tel:         +61 08 9425 4719
Fax:        +61 08 9425 4650
Email:      cfranklin at anglogoldashanti.com<mailto:cfranklin at anglogoldashanti.com>

Consider the environment. Think before you print.


This email, and its attachments, is subject to important warnings and disclaimers which are legally incorporated into this email in terms of Section 11(3) of the South African Electronic Communications and Transactions Act, 25 of 2002. The full text of the warnings and disclaimers, together with the company details and directors is available by clicking on http://www.anglogoldashanti.com/en/Pages/legal.aspx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160822/0fa938ec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 11443 bytes
Desc: image003.png
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160822/0fa938ec/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 22971 bytes
Desc: image004.png
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160822/0fa938ec/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 46854 bytes
Desc: image005.png
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160822/0fa938ec/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3236 bytes
Desc: image002.jpg
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160822/0fa938ec/attachment-0001.jpg>


More information about the geonode-users mailing list