Skip to content

restart after binding directories #26

Answered by cuchaz
kexinliu0001 asked this question in Q&A
Discussion options

You must be logged in to vote

If it helps, here's the error message you shared that I'm referring to:

Yes, try a small script like this:

sudo systemctl stop nextPYP
rm /tmp/micromon.hostprocessor.pid
rm /tmp/micromon.hostprocessor.pipe
sudo systemctl start nextPYP

Sometimes the shutdown process doesn't perform cleanup correctly and the next time the service is started, it looks like an old service is still running. That's where that error message comes from. If you know another service isn't actually running, then it's safe to do the cleanup manually (ie, delete the files) and then restart the service.

This seems to be a common problem with other people too, so we'll look into better ways to handle startup and shutdo…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@kexinliu0001
Comment options

@abartesaghi
Comment options

@kexinliu0001
Comment options

Comment options

You must be logged in to vote
3 replies
@kexinliu0001
Comment options

@cuchaz
Comment options

Answer selected by kexinliu0001
@kexinliu0001
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants