confluence issue webpage not found 404 and service running

ahmed deraz October 21, 2018

there was an issue in server space also Ram size i reboot server

then conflunce stop work and jira work with no issue 

eshooting+Guide
syslog.1:Oct 20 18:09:11 load-balancer confluence[1309]: 2018-10-20 18:09:11,616 INFO [main] [atlassian .confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchron y-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required
syslog.1:Oct 20 18:09:11 load-balancer confluence[1309]: ---------------------------------------------- -----------------------------
syslog.1:Oct 20 18:09:11 load-balancer confluence[1309]: Existing PID file found during start.
syslog.1:Oct 20 18:09:11 load-balancer confluence[1309]: Removing/clearing stale PID file.
syslog.1:Oct 20 18:09:11 load-balancer confluence[1309]: Tomcat started.
syslog.1:Oct 20 18:09:11 load-balancer systemd[1]: Started confluence.service.
unattended-upgrades/unattended-upgrades-dpkg.log:insserv: warning: script 'K01confluence' missing LSB t ags and overrides

 

21-Oct-2018 23:03:58.897 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
21-Oct-2018 23:03:58.958 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
21-Oct-2018 23:03:58.958 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
21-Oct-2018 23:03:58.958 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
21-Oct-2018 23:03:58.959 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [net.sourceforge.jtds.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
21-Oct-2018 23:03:58.959 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.github.gquintana.metrics.sql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
21-Oct-2018 23:03:58.959 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [org.hsqldb.jdbc.JDBCDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
21-Oct-2018 23:03:58.979 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
21-Oct-2018 23:03:58.995 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 19244 ms


2018-10-21 23:03:29,794 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required
2018-10-21 23:03:38,872 INFO [main] [atlassian.confluence.bootstrap.SynchronyProxyWatchdog] A Context element for ${confluence.context.path}/synchrony-proxy is found in /opt/atlassian/confluence/conf/server.xml. No further action is required

 


2018-10-21T21:43:10.883+0000: 15.038: [GC pause (Metadata GC Threshold) (young) (initial-mark) 456M->44M(1024M), 0.0574916 secs]
2018-10-21T21:43:10.941+0000: 15.095: [GC concurrent-root-region-scan-start]
2018-10-21T21:43:11.054+0000: 15.209: [GC concurrent-root-region-scan-end, 0.1134273 secs]
2018-10-21T21:43:11.054+0000: 15.209: [GC concurrent-mark-start]
2018-10-21T21:43:11.110+0000: 15.265: [GC concurrent-mark-end, 0.0559630 secs]
2018-10-21T21:43:11.110+0000: 15.265: [GC remark, 0.0196509 secs]
2018-10-21T21:43:11.137+0000: 15.291: [GC cleanup 64M->64M(1024M), 0.0015945 secs]
2018-10-21T21:43:12.851+0000: 17.006: [GC pause (G1 Evacuation Pause) (young) (initial-mark) 626M->49M(1024M), 0.0762892 secs]
2018-10-21T21:43:12.928+0000: 17.082: [GC concurrent-root-region-scan-start]
2018-10-21T21:43:13.047+0000: 17.202: [GC concurrent-root-region-scan-end, 0.1193526 secs]
2018-10-21T21:43:13.047+0000: 17.202: [GC concurrent-mark-start]
2018-10-21T21:43:13.085+0000: 17.239: [GC concurrent-mark-end, 0.0375775 secs]
2018-10-21T21:43:13.085+0000: 17.240: [GC remark, 0.0185228 secs]
2018-10-21T21:43:13.109+0000: 17.264: [GC cleanup 89M->89M(1024M), 0.0013762 secs]
2018-10-21T21:43:14.729+0000: 18.884: [GC pause (G1 Evacuation Pause) (young) 626M->53M(1024M), 0.0854377 secs]
2018-10-21T21:43:16.243+0000: 20.397: [GC pause (G1 Evacuation Pause) (young) 625M->59M(1024M), 0.1276857 secs]

 

3 comments

ahmed deraz October 21, 2018

2018-10-21T21:30:16.702845Z 200 [Note] Aborted connection 200 to db: 'jira' user: 'root' host: 'localhost' (Got an error reading communication packets)
2018-10-21T21:30:16.702896Z 4 [Note] Aborted connection 4 to db: 'jira' user: 'root' host: 'localhost' (Got an error reading communication packets)
2018-10-21T21:30:16.702847Z 204 [Note] Aborted connection 204 to db: 'jira' user: 'root' host: 'localhost' (Got an error reading communication packets)
2018-10-21T21:30:16.703088Z 188 [Note] Aborted connection 188 to db: 'jira' user: 'root' host: 'localhost' (Got an error reading communication packets)
2018-10-21T22:17:35.976996Z 0 [Note] InnoDB: page_cleaner: 1000ms intended loop took 6028ms. The settings might not be optimal. (flushed=15 and evicted=0, during the time.)

ahmed deraz October 21, 2018

jira work normal in server but confluence no

Gundlupet Sreenidhi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2018

Hi, 

Looking at your log, the first thing I noticed is the confluence service "'K01confluence" is not setup properly. The log shows that the LSB (Linux Standards Base) is not set up properly. 

The LSB defines how your service is configured and the sequence the script should following during boot and shut down. If this is not configured properly (which is what I see in the log) - it could mess with the shutdown and startup sequence of linux kernel scripts.

Configure the service properly according to LSB standards and try a system reboot again. 

You can get details about LSB and examples of scripts here.

Also, before you try stop/start using the Service, see if you can manually stop and start confluence using the confluence installed scripts located at:

%CONFLUENCE_INSTALL_DIR%/bin/stop-confluence.sh

%CONFLUENCE_INSTALL_DIR%/bin/start-confluence.sh

Also make sure you are using the correct version of JAVA required by your confluence instance for running these scripts.

ahmed deraz October 22, 2018

really issue happen after server restart 

how can i fix this please as i have no experience with confluence

i try this 

%CONFLUENCE_INSTALL_DIR%/bin/stop-confluence.sh

%CONFLUENCE_INSTALL_DIR%/bin/start-confluence.sh

but service running but no page to display 404

Gundlupet Sreenidhi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 22, 2018

@ahmed deraz,

First, disable the confluence service using the command:

update-rc.d <service name> disable

then reboot your system and try the start confluence manually. If this works as expected, then you have an issue with your service for sure. 

Can you please also provide the script of your service so i can see what you have wrong?

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events