Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence server start error


1 answer

0 votes

Have you looked at why it can't remove the pid file?

Actually though, I think I can guess.  You're going to find it is owned by the wrong user.

I think you have installed Confluence, set to run it as a new user called Conf or Atlassian or Confluence or something like that, then you started it manually while you were logged in as root.  That process then took ownership of a load of files and runs fine until you try to stop it.  The systemctl start command runs Confluence as the non-privileged user who can't delete or edit root's files.

If my guess there is correct, you will need to shutdown confluence completely (you'll need to be root to do it with the scripts, which is the better way to do it, but you could just kill the processes - kill Confluence and Synchrony if they are running).  Then change ownership of all the clobbered files back to the confluence user, in both the confluence installation and data (home) directories, then restart confluence as the confluence user (systemctl will do that)

My installation directory, accessories, database, etc. are all in the "home" directory.My everything is installed in a virtual machine. I copy a new one from the original virtual machine. At this time, I backup the "home" directory of the original virtual machine and replace the "home" directory of the new virtual machine. At this time,the error message shown in the screenshot appears.

I used the command "ps -ef|grep confluence" to make sure that no confluence process was running.

I tried to follow the prompt to switch the confluence user running the startup script, but the same error message is prompted

Can you check the file ownerships?  Are the Confluence home (data) and installation directories and their content all fully owned by the user that will be running Confluence?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,308 views 32 134
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you