Jump to content

"Removing stale /var/run/mediabrowser.pid" when starting


Go to solution Solved by thefirstofthe300,

Recommended Posts

andyandyandy114
Posted (edited)

I just installed media browser and following the tutorial, it tells me to do "service mediabrowser start"

I get this after typing it.

 

service mediabrowser start
Removing stale /var/run/mediabrowser.pid
rm: remove write-protected regular file ‘/var/run/mediabrowser.pid’? y
rm: cannot remove ‘/var/run/mediabrowser.pid’: Permission denied
start-stop-daemon: unable to open pidfile '/var/run/mediabrowser.pid' for writing (Permission denied)
 

How can I fix this? Thanks

Edited by andyandyandy114
  • Solution
thefirstofthe300
Posted (edited)

Simply running the above command as root will do it.

sudo service mediabrowser start

What is happening is that your user doesn't have the permissions necessary to actually start MediaBrowser so you need to elevate your privileges.

Edited by DaBungalow
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...