This morning my Confluence was not running. I have it set up as a service on Ubuntu 16.04. I had to manually start it
$ sudo /etc/init.d/confluence start
I wanted to attach the catalina.out-log to my post, however this message cannot exceed 20000 characters, so in what log file should I look for errors?
thanks for that hint, I found the reason. My backup-routines (run by CRON-jobs) shut down both, confluence AND PostgreSQL due to backups and the time between shutting them down was too short that in some cases (like it happened yesterday) the database was unavailable before confluence was shut down. I will fix it by better timing of the CRON-Jobs
Ooh! Good catch. :) Glad I got you pointed in the right direction at least!
Take care and Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In atlassian-confluence.log I have a lot ERROR-entries like those the evening before that happened:
09-24 22:00:04,911 ERROR [localhost-startStop-5] [engine.jdbc.spi.SqlExceptionHelper] logExceptions FATAL: terminating connection due to administrator command
2017-09-24 22:00:04,911 ERROR [localhost-startStop-5] [engine.jdbc.spi.SqlExceptionHelper] logExceptions An I/O error occurred while sending to the backend.
2017-09-24 22:00:04,912 WARN [localhost-startStop-5] [impl.schedule.caesium.SchedulerClusteredJobDaoProxyWrapper] delete Could not delete clustered job 'DefaultPluginScheduler:com.atlassian.analytics.client.upload.S3EventUploader:job'
org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
2017-09-24 22:00:04,914 ERROR [localhost-startStop-5] [engine.jdbc.spi.SqlExceptionHelper] logExceptions FATAL: terminating connection due to administrator command
2017-09-24 22:00:04,914 ERROR [localhost-startStop-5] [engine.jdbc.spi.SqlExceptionHelper] logExceptions An I/O error occurred while sending to the backend.
followed by some hundred similar entries
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
It appears that your database connection is the root cause Confluence crashing.
Have a look at your database logs to see why it might be closing the connection to Confluence. You may also try restarting your database server itself to fix any issues with instability.
Thus:
Let us know if you have any trouble!
Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi there,
You can try the atlassian-confluence.log file and it might explain the reason for the crash there.
A few examples of things that might cause a crash are available here:
Let us know if you find any suspicious lines around the time of the crash and if you're not able to determine the cause please feel free to share with us.
Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.