[GeoNode-users] Job for uwsgi.service failed

Valerio De Luca deluca.valerio at gmail.com
Mon Jan 4 04:41:43 PST 2021


Hi eb,
I'm here,
Ubuntu 20.04 Core installation
Install and configure NGINX
https://docs.geonode.org/en/master/install/advanced/core/#install-and-configure-nginx

When I restart the uwsgi service:
sudo service uwsgi restart

I get:
Job for uwsgi.service failed because the control process exited with error
code.
See "systemctl status uwsgi.service" and "journalctl -xe" for details.

The service status is:
● uwsgi.service - LSB: Start/stop uWSGI server instance(s)
Loaded: loaded (/etc/init.d/uwsgi; generated)
Active: failed (Result: exit-code) since Sun 2021-01-03 20:00:21 CET; 2min
51s ago
Docs: man:systemd-sysv-generator(8)
Process: 25449 ExecStart=/etc/init.d/uwsgi start (code=exited,
status=1/FAILURE)

If they can be useful, I leave the startup logs here
sudo tail -F -n 300 /opt/data/geoserver_logs/geoserver.log

----------------geoserver.log------------------

2021-01-04 12:19:06,793 WARN [geoserver.config] - Error reading resource
URL
[jar:file:/opt/tomcat/apache-tomcat-9.0.41/webapps/geoserver/WEB-INF/lib/gs-geofence-server-2.17-20200901.082108-6.jar!/geofence-default-override.properties]
java.io.FileNotFoundException: URL
[jar:file:/opt/tomcat/apache-tomcat-9.0.41/webapps/geoserver/WEB-INF/lib/gs-geofence-server-2.17-20200901.082108-6.jar!/geofence-default-override.properties]
cannot be resolved to absolute file path because it does not reside in the
file system:
jar:file:/opt/tomcat/apache-tomcat-9.0.41/webapps/geoserver/WEB-INF/lib/gs-geofence-server-2.17-20200901.082108-6.jar!/geofence-default-override.properties
at org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:217)
at
org.springframework.core.io.AbstractFileResolvingResource.getFile(AbstractFileResolvingResource.java:154)
at org.springframework.core.io.UrlResource.getFile(UrlResource.java:227)
at
org.geoserver.config.SpringResourceAdaptor.relative(SpringResourceAdaptor.java:34)
at
org.geoserver.config.GeoServerPropertyOverrideConfigurer.setLocations(GeoServerPropertyOverrideConfigurer.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.beans.BeanWrapperImpl$BeanPropertyHandler.setValue(BeanWrapperImpl.java:332)
at
org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:458)
at
org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278)
at
org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:266)
at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:97)
at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:77)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1707)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1426)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:592)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
at
org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
at
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:154)
at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:706)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103)
at
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:22)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1848)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:772)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
2021-01-04 12:19:07,080 WARN [geoserver.monitor] - monitoring storage
memory not found, falling back to 'memory'
2021-01-04 12:19:08,852 WARN [ejb.Ejb3Configuration] -
hibernate.connection.autocommit = false break the EJB3 specification
2021-01-04 12:19:08,903 WARN [dialect.H2Dialect] - The 1.1.119 version of
H2 implements temporary table creation such that it commits current
transaction; multi-table, bulk hql/jpaql will not work properly
2021-01-04 12:19:09,278 WARN [dialect.H2Dialect] - The 1.1.119 version of
H2 implements temporary table creation such that it commits current
transaction; multi-table, bulk hql/jpaql will not work properly
2021-01-04 12:19:09,637 WARN [cache.EhCacheProvider] - Could not find
configuration [RuleLimits]; using defaults.
2021-01-04 12:19:10,023 WARN [cache.EhCacheProvider] - Could not find
configuration [Rule]; using defaults.
2021-01-04 12:19:10,038 WARN [cache.EhCacheProvider] - Could not find
configuration [usergroup]; using defaults.
2021-01-04 12:19:10,051 WARN [cache.EhCacheProvider] - Could not find
configuration [GSUser]; using defaults.
2021-01-04 12:19:10,066 WARN [cache.EhCacheProvider] - Could not find
configuration [GFUser]; using defaults.
2021-01-04 12:19:10,078 WARN [cache.EhCacheProvider] - Could not find
configuration [gsinstance]; using defaults.
2021-01-04 12:19:10,098 WARN [cache.EhCacheProvider] - Could not find
configuration [LayerDetails]; using defaults.
2021-01-04 12:19:12,364 WARN [config.GeoserverXMLResourceProvider] - Found
no configuration file in config directory, will create one at
'/opt/data/gwc_cache_dir/geowebcache.xml' from template
jar:file:/opt/tomcat/apache-tomcat-9.0.41/webapps/geoserver/WEB-INF/lib/gwc-core-1.17.2.jar!/geowebcache_empty.xml
2021-01-04 12:19:13,449 WARN [gce.imagemosaic] - Unable to set ordering
between tiff readers spi
2021-01-04 12:19:14,697 WARN [platform.resource] - There is code leaving
resource input streams open, locks around them might not be cleared! Add
-Dgs.lock.trace=true to your JVM options to get a full stack trace of the
code that acquired the input stream
2021-01-04 12:19:23,422 WARN [auth.GeoFenceAuthenticationProvider] - INIT
FROM CONFIG
----------------------------------------------------

Thanks
Valerio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210104/237473d2/attachment.html>


More information about the geonode-users mailing list