Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem after restart confluence

Maxim Gorbushin June 25, 2019

Good day!
After restarting server contained confluence, its web interface became unavailable, chrome say:

ERR_CONNECTION_REFUSED


Java process started

[root@confluence conf]# ps -aux | grep java
conflue+ 4677 111 45.0 4284816 1097088 ? Sl 17:20 15:28 /usr/local/confluence/jre//bin/java -Djava.util.logging.config.file=/usr/local/confluence/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -XX:ReservedCodeCacheSize=256m -XX:+UseCodeCacheFlushing -Dconfluence.context.path= -Datlassian.plugins.startup.options= -Dorg.apache.tomcat.websocket.DEFAULT_BUFFER_SIZE=32768 -Dsynchrony.enable.xhr.fallback=true -Xms1024m -Xmx1024m -XX:+UseG1GC -Datlassian.plugins.enable.wait=300 -Djava.awt.headless=true -XX:G1ReservePercent=20 -Xloggc:/usr/local/confluence/logs/gc-2019-06-25_17-20-05.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M -XX:-PrintGCDetails -XX:+PrintGCDateStamps -XX:-PrintTenuringDistribution -Dignore.endorsed.dirs= -classpath /usr/local/confluence/bin/bootstrap.jar:/usr/local/confluence/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/confluence -Dcatalina.home=/usr/local/confluence -Djava.io.tmpdir=/usr/local/confluence/temp org.apache.catalina.startup.Bootstrap start

Port 8090 open:

[root@confluence conf]# netstat -na | grep 8090
tcp6 11 0 :::8090 :::* LISTEN

firewall clean:

[root@confluence conf]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

contents of the log file catalina.out:

25-Jun-2019 17:20:05.763 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server} Setting property 'debug' to '0' did not find a matching property.
25-Jun-2019 17:20:05.854 WARNING [main] org.apache.catalina.startup.SetAllPropertiesRule.begin [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.
25-Jun-2019 17:20:05.973 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine} Setting property 'debug' to '0' did not find a matching property.
25-Jun-2019 17:20:05.980 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'debug' to '0' did not find a matching property.
25-Jun-2019 17:20:06.028 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
25-Jun-2019 17:20:06.056 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
25-Jun-2019 17:20:06.378 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
25-Jun-2019 17:20:06.395 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
25-Jun-2019 17:20:06.408 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 773 ms
25-Jun-2019 17:20:06.427 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat-Standalone]
25-Jun-2019 17:20:06.427 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.12
25-Jun-2019 17:20:08.816 INFO [localhost-startStop-2] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were s
25-Jun-2019 17:20:09.348 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Spring WebApplicationInitializers detected on classpath: [com.atlassian.synchrony.proxy.SynchronyDispatcherServletInitializer@163a97fd]
25-Jun-2019 17:20:09.907 INFO [localhost-startStop-2] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'dispatcher'
25-Jun-2019 17:20:09.907 INFO [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization started
25-Jun-2019 17:20:09.923 INFO [localhost-startStop-2] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.prepareRefresh Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Tue Jun
25-Jun-2019 17:20:10.036 INFO [localhost-startStop-2] org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions Registering annotated classes: [class com.atlassian.synchrony.proxy.websocket.WebSock
2019-06-25 17:20:10,226 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 6.15.1 [build 8100 based on commit hash 655541fd8de32cde09f1d3f09341851d946007a5] - synchrony version 2.1.0-
25-Jun-2019 17:20:10.812 INFO [localhost-startStop-2] org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.initialize Initializing ExecutorService 'defaultSockJsTaskScheduler'
25-Jun-2019 17:20:10.907 INFO [localhost-startStop-2] org.springframework.web.socket.server.support.WebSocketHandlerMapping.registerHandler Mapped URL path [/v1/bayeux-sync1] onto handler of type [class org.springframework.web.socket.ser
25-Jun-2019 17:20:11.617 INFO [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{[/healthcheck]}" onto public com.atlassian.synchrony.proxy.web.HealthCheckResult c
25-Jun-2019 17:20:11.619 INFO [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping.register Mapped "{[/reload],methods=[PUT]}" onto public org.springframework.http.ResponseEntity com.
25-Jun-2019 17:20:11.664 INFO [localhost-startStop-2] org.springframework.web.servlet.handler.SimpleUrlHandlerMapping.registerHandler Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.DefaultServl
25-Jun-2019 17:20:11.759 INFO [localhost-startStop-2] org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.initControllerAdviceCache Looking for @ControllerAdvice: WebApplicationContext for namespace 'dispat
25-Jun-2019 17:20:12.043 INFO [localhost-startStop-2] org.springframework.context.support.DefaultLifecycleProcessor.start Starting beans in phase 2147483647
25-Jun-2019 17:20:12.097 INFO [localhost-startStop-2] org.springframework.web.servlet.DispatcherServlet.initServletBean FrameworkServlet 'dispatcher': initialization completed in 2189 ms

 

ping sever from client is ok.

need help.

thx.

3 answers

0 votes
Maxim Gorbushin June 26, 2019

after that, the confluence began to display a database connection error1.png

Maxim Gorbushin June 26, 2019

but that's not clear, we used the initial version of the database (without sql)

and  i did not delete anything before the problem, what kind of connection to the database are we talking about?

0 votes
Maxim Gorbushin June 26, 2019

that's what I noticed:
three hours after the launch of confluence, this is what appeared in the log file (see attach)

Maxim Gorbushin June 26, 2019

how attach text file? :)

0 votes
Jürgen Wegner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2019

Hi,

Check the write rights to the logfiles or the directory permissions. I recently had a similar problem and the wrong rights to the logfiles. The message looked at least similar.  

 regards

Juergen

Maxim Gorbushin June 26, 2019

im rewrite all privilegies to confluence1:confluence1, and restart confluence

[root@confluence confluence]# ls -la
итого 336
drwxr-xr-x 14 confluence1 confluence1 4096 мар 21 16:14 .
drwxr-xr-x. 15 root root 4096 мар 21 16:13 ..
drwxr-xr-x 3 confluence1 confluence1 4096 мар 21 16:13 bin
-rw-r--r-- 1 confluence1 confluence1 19764 мар 14 06:10 BUILDING.txt
drwxr-xr-x 3 confluence1 confluence1 4096 мар 21 16:13 conf
drwxr-xr-x 27 confluence1 confluence1 4096 мар 21 16:13 confluence
-rw-r--r-- 1 confluence1 confluence1 6242 мар 14 06:10 CONTRIBUTING.md
drwxr-xr-x 3 confluence1 confluence1 4096 мар 21 16:14 .install4j
-rw-r--r-- 1 confluence1 confluence1 83586 мар 21 16:14 install.reg
drwxr-xr-x 5 confluence1 confluence1 114 мар 21 16:13 jre
drwxr-xr-x 2 confluence1 confluence1 4096 мар 21 16:13 lib
-rw-r--r-- 1 confluence1 confluence1 58153 мар 14 06:10 LICENSE
drwxr-xr-x 2 confluence1 confluence1 45056 мар 21 16:13 licenses
drwx------ 2 confluence1 confluence1 4096 июн 26 16:51 logs
-rw-r--r-- 1 confluence1 confluence1 1862 мар 14 06:10 NOTICE
-rw-r--r-- 1 confluence1 confluence1 2294 мар 14 06:10 README.html
-rw-r--r-- 1 confluence1 confluence1 3334 мар 14 06:10 README.md
-rw-r--r-- 1 confluence1 confluence1 1204 мар 14 06:10 README.txt
-rw-r--r-- 1 confluence1 confluence1 7030 мар 14 06:10 RELEASE-NOTES
-rw-r--r-- 1 confluence1 confluence1 16738 мар 14 06:10 RUNNING.txt
drwxr-xr-x 4 confluence1 confluence1 35 мар 21 16:13 synchrony-proxy
drwx------ 7 confluence1 confluence1 4096 июн 25 14:20 temp
-rwx------ 1 confluence1 confluence1 13569 мар 14 06:10 uninstall
drwxr-xr-x 2 confluence1 confluence1 6 мар 14 06:10 webapps
drwx------ 3 confluence1 confluence1 42 июн 26 16:51 work

but that didn't change anything

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events