confluence unable in web
Asked by Yuliya Braginskaya:

confluence crushed today

i tryed to restart it and service said to remove catalina.pid file

after removing confluence restarted, but it not working in web browser

? confluence.service - LSB: Atlassian Confluence  
Loaded: loaded (/etc/init.d/confluence; generated)  
Active: active (running) since Thu 2020-12-03 15:50:38 MSK; 1h 42min ago  
Docs: man:systemd-sysv-generator(8)  
Process: 11707 ExecStop=/etc/init.d/confluence stop (code=exited, status=0/SUCCESS)  
Process: 11909 ExecStart=/etc/init.d/confluence start (code=exited, status=0/SUCCESS)  
Tasks: 45 (limit: 4915)  
CGroup: /system.slice/confluence.service  
??11980 /opt/atlassian/confluence/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/confluence/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2

Dec 03 15:50:37 122-stag-confluence runuser\[11926\]: pam_unix(runuser:session): session opened for user confluence by (uid=0)  
Dec 03 15:50:37 122-stag-confluence confluence\[11909\]: If you encounter issues starting up Confluence, please see the Installation guide at <http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide>  
Dec 03 15:50:37 122-stag-confluence confluence\[11909\]: Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out  
Dec 03 15:50:37 122-stag-confluence confluence\[11909\]: ---------------------------------------------------------------------------  
Dec 03 15:50:37 122-stag-confluence confluence\[11909\]: Using Java: /opt/atlassian/confluence/jre//bin/java  
Dec 03 15:50:38 122-stag-confluence confluence\[11909\]: 2020-12-03 15:50:38,171 INFO \[main\] \[atlassian.confluence.bootstrap.SynchronyProxyWatchdog\] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassia  
Dec 03 15:50:38 122-stag-confluence confluence\[11909\]: ---------------------------------------------------------------------------  
Dec 03 15:50:38 122-stag-confluence confluence\[11909\]: Tomcat started.  
Dec 03 15:50:38 122-stag-confluence runuser\[11926\]: pam_unix(runuser:session): session closed for user confluence  
Dec 03 15:50:38 122-stag-confluence systemd\[1\]: Started LSB: Atlassian Confluence.


Answers:
author: Nic Brough -Adaptavist-
body: So that snippet looks like Confluence is running.

I would want to check a local connection first. Log back into the Confluence server and try "wget localhost:8090" (I'm assuming you are running it on the default port of 8090)

If that downloads a bit of html that includes "login" type text, then we know Confluence is running and the problem with your web connection is network related.

If it gets a "not there/responding" type message, then Confluence is not responding and you'll want to start looking at the Confluence logs in \<confluence data\>/logs - primarily atlassian-confluence.log

comments: author: Yuliya Braginskaya
body: responce:

babaeva@122-stag-confluence:\~$ wget 10.10.30.122:8090  
--2020-12-03 18:31:04-- <http://10.10.30.122:8090/>  
Connecting to 10.10.30.122:8090... failed: Connection timed out.  
Retrying.

--2020-12-03 18:33:15-- (try: 2) <http://10.10.30.122:8090/>  
Connecting to 10.10.30.122:8090... failed: Connection timed out.  
Retrying.

--2020-12-03 18:35:27-- (try: 3) <http://10.10.30.122:8090/>  
Connecting to 10.10.30.122:8090... failed: Connection timed out.  
Retrying.

I\`m not sure which log i have to open?

babaeva@122-stag-confluence:\~$ sudo ls /opt/atlassian/confluence/logs/

gc-2020-12-03_15-50-38.log

gc-2020-12-03_17-57-32.log

catalina.2020-12-03.log - has warning, but cinfluence crashed later than this time:

03-Dec-2020 12:52:54.545 WARNING \[Catalina-utility-1\] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread \[$  
java.lang.Throwable

catalina.out

host-manager.2020-12-03.log - empty

localhost.2020-12-03.log - empty

manager.2020-12-03.log - empty

synchrony-proxy-watchdog.log

gc-2020-12-03_15-49-17.log


author: Nic Brough -Adaptavist-
body: Ok, that's telling us Confluence is not serving anything and Tomcat probably isn't either.

Start with \<confluence data\>/logs/atlassian-confluence.log as I said earlier. If that doesn't have anything in it, then it's the catalina.out in the \<confluence install\>/log place.

[](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4182714)


author: Yuliya Braginskaya
body: i can\`t to find this file

babaeva@122-stag-confluence:\~$ sudo ls /opt/atlassian/confluence/logs/  
catalina.2020-09-14.log catalina.2020-09-25.log catalina.2020-10-13.log catalina.2020-10-30.log catalina.2020-12-03.log gc-2020-09-14_09-52-13.log.3 host-manager.2020-12-03.log  
catalina.2020-09-16.log catalina.2020-10-01.log catalina.2020-10-15.log catalina.2020-11-16.log catalina.out gc-2020-09-14_09-52-13.log.4 localhost.2020-09-14.log  
catalina.2020-09-17.log catalina.2020-10-05.log catalina.2020-10-19.log catalina.2020-11-24.log gc-2020-09-14_09-52-13.log gc-2020-12-03_15-49-17.log localhost.2020-12-03.log  
catalina.2020-09-22.log catalina.2020-10-08.log catalina.2020-10-20.log catalina.2020-11-25.log gc-2020-09-14_09-52-13.log.0 gc-2020-12-03_15-50-38.log manager.2020-09-14.log  
catalina.2020-09-23.log catalina.2020-10-09.log catalina.2020-10-22.log catalina.2020-11-26.log gc-2020-09-14_09-52-13.log.1 gc-2020-12-03_17-57-32.log manager.2020-12-03.log  
catalina.2020-09-24.log catalina.2020-10-12.log catalina.2020-10-28.log catalina.2020-11-27.log gc-2020-09-14_09-52-13.log.2 host-manager.2020-09-14.log synchrony-proxy-watchdog.log

and i can\`t find the \<confluence install\>/log place  
this is all from catalina.out:

babaeva@122-stag-confluence:\~$ sudo nano /opt/atlassian/confluence/logs/catalina.out  
GNU nano 2.9.3 /opt/atlassian/confluence/logs/catalina.out

NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED  
\[0.001s\]\[warning\]\[gc\] -Xloggc is deprecated. Will use -Xlog:gc:/opt/atlassian/confluence/logs/gc-2020-09-14_09-52-13.log instead.  
14-Sep-2020 09:52:14.235 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server\] failed to set property \[debug\] to \[0\]  
14-Sep-2020 09:52:14.343 WARNING \[main\] org.apache.catalina.startup.SetAllPropertiesRule.begin \[SetAllPropertiesRule\]{Server/Service/Connector} Setting property 'debug' to '0' did not find a matching property.  
14-Sep-2020 09:52:14.362 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine\] failed to set property \[debug\] to \[0\]  
14-Sep-2020 09:52:14.368 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host\] failed to set property \[debug\] to \[0\]  
14-Sep-2020 09:52:14.441 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host/Context\] failed to set property \[debug\] to \[0\]  
14-Sep-2020 09:52:14.462 WARNING \[main\] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match \[Server/Service/Engine/Host/Context\] failed to set property \[debug\] to \[0\]  
14-Sep-2020 09:52:15.013 INFO \[main\] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler \["http-nio-8090"\]  
14-Sep-2020 09:52:15.079 INFO \[main\] org.apache.catalina.startup.Catalina.load Server initialization in \[1,028\] milliseconds  
14-Sep-2020 09:52:15.092 INFO \[main\] org.apache.catalina.core.StandardService.startInternal Starting service \[Tomcat-Standalone\]  
14-Sep-2020 09:52:15.092 INFO \[main\] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: \[Apache Tomcat/9.0.33\]  
14-Sep-2020 09:52:17.706 INFO \[Catalina-utility-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 sca$  
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".  
SLF4J: Defaulting to no-operation (NOP) logger implementation  
SLF4J: See <http://www.slf4j.org/codes.html#StaticLoggerBinder> for further details.  
14-Sep-2020 09:52:17.880 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath  
14-Sep-2020 09:52:18.421 INFO \[Catalina-utility-2\] org.apache.catalina.core.ApplicationContext.log Initializing Spring DispatcherServlet 'dispatcher'  
2020-09-14 09:52:19,160 INFO \[Catalina-utility-1\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 7.4.4 \[build 8401 based on commit hash 008d09724398b50e93468e30a239d4f6d750af9b\] - synchrony version 3.1.0-mas$  
2020-09-14 09:52:23,280 WARN \[Catalina-utility-1\] \[com.atlassian.config.ApplicationConfig\] setApplicationHome Application home does not exist. Creating directory: /var/atlassian/application-data/confluence/shared-home  
2020-09-14 09:52:23,286 INFO \[Catalina-utility-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$saveSetupConfigIntoSharedHome$9 Writing setup configuration into shared home...  
2020-09-14 09:52:23,383 INFO \[Catalina-utility-1\] \[atlassian.confluence.cluster.DefaultClusterConfigurationHelper\] lambda$saveSetupConfigIntoSharedHome$9 Finished writing setup configuration into shared home  
WARNING: An illegal reflective access operation has occurred  
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/opt/atlassian/confluence/confluence/WEB-INF/lib/org.apache.felix.framework-5.6.12.jar) to method java.net.UR$  
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender  
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations  
WARNING: All illegal access operations will be denied in a future release  
14-Sep-2020 09:52:34.985 INFO \[main\] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler \["http-nio-8090"\]  
14-Sep-2020 09:52:35.010 INFO \[main\] org.apache.catalina.startup.Catalina.start Server startup in \[19,930\] milliseconds  
14-Sep-2020 10:06:55.137 WARNING \[Catalina-utility-2\] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread \[http-nio-8090-exec-4\] (id=\[59\]) has been active for \[69,407\] milliseconds (since \[9/14/20 10:05$  
java.lang.Throwable  
at java.base@11.0.7/java.lang.Thread.sleep(Native Method)  
at com.atlassian.plugin.util.WaitUntil.invoke(WaitUntil.java:79)  
at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:139)  
at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:97)  
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$enableDependentPlugins$22(DefaultPluginManager.java:1246)  
at com.atlassian.plugin.manager.DefaultPluginManager$$Lambda$484/0x00000001008a1840.run(Unknown Source)  
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)  
at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1230)  
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$addPlugins$20(DefaultPluginManager.java:1215)  
at com.atlassian.plugin.manager.DefaultPluginManager$$Lambda$483/0x00000001008a1440.run(Unknown Source)  
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)  
at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1115)  
at com.atlassian.plugin.manager.DefaultPluginManager.lambda$earlyStartup$3(DefaultPluginManager.java:588)  
at com.atlassian.plugin.manager.DefaultPluginManager$$Lambda$344/0x0000000100759440.run(Unknown Source)  
at com.atlassian.plugin.manager.PluginTransactionContext.wrap(PluginTransactionContext.java:63)  
at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:523)  
at com.atlassian.confluence.plugin.ConfluencePluginManager.earlyStartup(ConfluencePluginManager.java:143)  
at com.atlassian.confluence.setup.actions.AbstractSetupAction.lambda$transitionFromColdToVacantState$0(AbstractSetupAction.java:163)  
at com.atlassian.confluence.setup.actions.AbstractSetupAction$$Lambda$600/0x0000000100b2f440.run(Unknown Source)  
at java.base@11.0.7/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)  
at com.atlassian.confluence.tenant.TenantGate$4.call(TenantGate.java:238)  
at com.atlassian.confluence.setup.actions.AbstractSetupAction.transitionFromColdToVacantState(AbstractSetupAction.java:164)  
at com.atlassian.confluence.setup.actions.SetupDBTypeAction.setupDatabase(SetupDBTypeAction.java:93)  
at com.atlassian.confluence.setup.actions.AbstractDatabaseCreationAction.execute(AbstractDatabaseCreationAction.java:33)  
at com.atlassian.confluence.setup.actions.SetupDBTypeAction.execute(SetupDBTypeAction.java:62)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)


author: Yuliya Braginskaya
body: We fixed this problem by server reboot. After reboot confluence started successful.  
Thank you for your help.


Tags: confluence-server

server