[GeoNode-users] [geonode] Errors were encountered while processing: geoserver-geonode geonode (#2371)

Jessel, Tanner Monroe tjessel at utk.edu
Tue Dec 1 10:08:38 PST 2015


Hi Simone and Alessio,


My mistake, I meant to write port 8000 earlier.


http://54.152.180.217:8000/<http://54.152.180.217:8080/>


I'm guessing ERR_CONNECTION_REFUSED has something to do with a firewall setting?


I set up a custom TCP rule for port 8000 to allow any IP to access;


I'm unsure what else to try.


To Simone's question about the actual hardware:


I am using a virtual machine, Ubuntu Server 14.04 LTS (HVM)<https://aws.amazon.com/marketplace/pp/B00JV9TBA6/ref=mkt_wir_Ubuntu14>


64 bit.


One virtual CPU.


Volume size is 8GiB


I have a T2.micro version<https://aws.amazon.com/ec2/instance-types/> I selected because it's eligible for a free 12 month trial.


Amazon seems to suggest the virtual machines use "High Frequency Intel Xeon Processors with Turbo up to 3.3GHz"


For details, I looked up CPU info in the command line using:


less /proc/cpuinfo


processor       : 0

vendor_id       : GenuineIntel

cpu family      : 6

model           : 63

model name      : Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz

stepping        : 2

microcode       : 0x25

cpu MHz         : 2394.514

cache size      : 30720 KB

physical id     : 0

siblings        : 1

core id         : 0

cpu cores       : 1

apicid          : 0

initial apicid  : 0

fpu             : yes

fpu_exception   : yes

cpuid level     : 13

wp              : yes

flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm xsaveopt fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips        : 4789.02

clflush size    : 64

cache_alignment : 64

address sizes   : 46 bits physical, 48 bits virtual

power management:




Thanks,


Tanner



________________________________
From: Simone Dalmasso <simone.dalmasso at gmail.com>
Sent: Tuesday, December 1, 2015 11:12 AM
To: Alessio Fabiani
Cc: Jessel, Tanner Monroe; geonode-users at lists.osgeo.org
Subject: Re: [GeoNode-users] [geonode] Errors were encountered while processing: geoserver-geonode geonode (#2371)

In order to better understand why the apt package is giving you errors, could you tell us what kind of hardware your machine is running on? Maybe if it's not fast enough the geoserver takes too much to be configured.

thanks

2015-12-01 17:03 GMT+01:00 Alessio Fabiani <alessio.fabiani at geo-solutions.it<mailto:alessio.fabiani at geo-solutions.it>>:
Hi,
GeoNode runs on port 8000 only GeoServer runs on port 8080.

So you should be able to access your GeoNode at http://54.152.180.217:8000/

If you need to put everything under the same domain/port you need to proxy the TCP endpoints using an http server like apache, ngnix, ...

Hope this helps,

-A.


==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313<tel:%2B39%200584%20962313>
fax:     +39 0584 1660272<tel:%2B39%200584%201660272>
mob:   +39  331 6233686<tel:%2B39%20%C2%A0331%206233686>

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Tue, Dec 1, 2015 at 4:34 PM, Jessel, Tanner Monroe <tjessel at utk.edu<mailto:tjessel at utk.edu>> wrote:


Hi Alessio, thanks.


No, I did not execute dependencies setup steps.


I'm new to ubuntu and really just wanted to follow the "quick" install outlined here:


http://geonode.org/blog/2015/11/19/geonode-2.4-released/


I don't really understand what happened, but I did avoid the error I had by doing what you suggested.


(If it's of interest / useful for documentation I'm sending the new CLI session text output)


Now I have a new question:


I can access geonode at

http://localhost:8000/<http://localhost:8080/geonode>


I can access the geoserver associated with the geonode install online at


http://54.152.180.217:8080/geoserver/web/


But, I can't access the geonode at http://54.152.180.217:8080/


I'm guessing I need to do some more manual configuration?


I'm a bit terrified of messing something up, which is why I was hoping the "quick install" would work.


Can you recommend a particular place in the instructions for a custom install that I should pick up at?


I'm looking at this right now:


http://docs.geonode.org/en/master/tutorials/admin/install/custom_install.html#configure-using-the-ubuntu-config-file


Thanks again, and looking forward to additional hints.


-Tanner




________________________________
From: alessio.fabiani at gmail.com<mailto:alessio.fabiani at gmail.com> <alessio.fabiani at gmail.com<mailto:alessio.fabiani at gmail.com>> on behalf of Alessio Fabiani <alessio.fabiani at geo-solutions.it<mailto:alessio.fabiani at geo-solutions.it>>
Sent: Tuesday, December 1, 2015 5:05 AM
To: Jessel, Tanner Monroe
Cc: geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Subject: Re: [GeoNode-users] [geonode] Errors were encountered while processing: geoserver-geonode geonode (#2371)

Did you executed the dependencies setup steps?


# change into the folder called geonde
$ cd geonode

# Installs django etc.
$ sudo pip install -e .

# Downloads geoserver.war
$ sudo paver setup

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
Enterprise Support and Development Services
GeoSolutions offers enterprise support and development services tobuild enterprise-class Spatial Data Infrastructures (SDI) with Open Source components.
Read more...<http://goo.gl/NWWaa2>



==

Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313<tel:%2B39%200584%20962313>
fax:     +39 0584 1660272<tel:%2B39%200584%201660272>
mob:   +39  331 6233686<tel:%2B39%20%C2%A0331%206233686>

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

On Mon, Nov 30, 2015 at 2:36 PM, Jessel, Tanner Monroe <tjessel at utk.edu<mailto:tjessel at utk.edu>> wrote:

Good morning,


Thanks.

It's a new and fresh ubuntu;


I actually just set up a new one this morning and had the same problem.


I'm attaching the CLI session as text...


The errors are below:


Creating config file /etc/logrotate.d/tomcat7 with new version

 * Starting Tomcat servlet engine tomcat7                                                [ OK ]

Processing triggers for ureadahead (0.100.0-16) ...

Setting up geoserver-geonode (2.7.4-2) ...

 * Stopping Tomcat servlet engine tomcat7                                                [ OK ]

 * Starting Tomcat servlet engine tomcat7                                                [fail]

dpkg: error processing package geoserver-geonode (--configure):

 subprocess installed post-installation script returned error exit status 1

dpkg: dependency problems prevent configuration of geonode:

 geonode depends on geoserver-geonode | geoserver; however:

  Package geoserver-geonode is not configured yet.

  Package geoserver is not installed.


dpkg: error processing package geonode (--configure):

 dependency problems - leaving unconfigured

Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

No apport report written because the error message indicates its a followup error from a previous failure.

          Processing triggers for ufw (0.34~rc-0ubuntu2) ...

Processing triggers for python-support (1.0.15) ...

Processing triggers for ca-certificates (20141019ubuntu0.14.04.1) ...

Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.

Running hooks in /etc/ca-certificates/update.d....

done.

done.

Errors were encountered while processing:

 geoserver-geonode

 geonode

E: Sub-process /usr/bin/dpkg returned an error code (1)

ubuntu at ip-172-31-59-87:~$


-Tanner

________________________________
From: Simone Dalmasso <notifications at github.com<mailto:notifications at github.com>>
Sent: Monday, November 30, 2015 4:23 AM
To: GeoNode/geonode
Cc: Jessel, Tanner Monroe
Subject: Re: [geonode] Errors were encountered while processing: geoserver-geonode geonode (#2371)


Hi GeoNode should install smoothly on ubuntu server 14.04. Is the same Os we use for demo.geonode.org<http://demo.geonode.org>.

Did you install it on a new and fresh ubuntu?

ps, please use the mailing lists geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org> rather than tickets to ask for support

-
Reply to this email directly or view it on GitHub<https://github.com/GeoNode/geonode/issues/2371#issuecomment-160568535>.

_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geonode-users




_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geonode-users




--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151201/54103119/attachment-0001.html>


More information about the geonode-users mailing list