[GeoNode-users] Unable to start geoserver after installation.
Alessio Fabiani
alessio.fabiani at geo-solutions.it
Thu Sep 6 07:51:19 PDT 2018
Hello Amedeo,
from the logs I can see that for sure there's an issue
2018-09-06 14:42:39,252 WARN [cfg.SettingsFactory] - Could not obtain
connection to query metadata
org.apache.commons.dbcp.SQLNestedException: Cannot create
PoolableConnectionFactory (IO Exception: java.io.FileNotFoundException:
/home/geonode/data/geoserver-data/geofence/geofence_db/geofence.126.log.db
(Permission denied);
/home/geonode/data/geoserver-data/geofence/geofence_db/geofence.126.log.db
length: 0 [90031-119])
That means that the user you are using to run Apache Tomcat does not have
rights to write the GEOSERVER_DATA_DIR.
Try to update the permissions and restart the web container.
Il giorno gio 6 set 2018 alle ore 16:46 Amedeo Fadini <amefad at gmail.com> ha
scritto:
>
>
> Il giorno gio 6 set 2018 alle ore 14:26 Alessio Fabiani <
> alessio.fabiani at geo-solutions.it> ha scritto:
>
>> Hi Amedeo,
>> are you using WARs from here http://build.geonode.org/geoserver/latest/ ?
>>
>
> Yes, tested with 2.12, 2.13, 2.14
>
>
>>
>> Also, it would be possible to have a look at the full log? Possibly the
>> geoserver.log one. Listeners failed to start are a side effect of the
>> shutdown. The real cause should be somewhere else.
>>
>> I'm not able to find geoserver.log in any place of the filesystem...in
> /etc/default/tomcat8 these options are loaded:
>
> GEOSERVER_DATA_DIR="/home/geonode/data/geoserver-data"
> GEOSERVER_LOG_LOCATION="/home/geonode/data/geoserver-logs/geoserver.log"
> GEOWEBCACHE_CACHE_DIR="/home/geonode/data/gwc_cache_dir"
> GEOFENCE_DIR="$GEOSERVER_DATA_DIR/geofence"
>
> UPDATE: I've just realized that wrong path were specified in
> $GEOSERVER_DATA_DIR/logging.xml : FIXED
>
> Attached full catalina.out and geoserver.log (I see a UTC time in goserver
> log and local time in catalina.out.. mumble..)
>
>
>
--
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A - 55054 Massarosa (LU) - Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180906/651f612a/attachment.html>
More information about the geonode-users
mailing list