Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init script no longer working #484

Closed
jonorthwash opened this issue Apr 29, 2019 · 7 comments · Fixed by #499
Closed

init script no longer working #484

jonorthwash opened this issue Apr 29, 2019 · 7 comments · Fixed by #499
Assignees
Labels

Comments

@jonorthwash
Copy link
Member

I'm having to stop the process manually in order to restart begiak. Something about the init script appears to be broken.

$ sudo /etc/init.d/begiak.sh restart
[sudo] password for firespeaker:
Restarting begiak
process already running.
ERROR: Couldn't start begiak
@jonorthwash
Copy link
Member Author

Also note behaviour like:

$ sudo /etc/init.d/begiak.sh stop
Stopping begiak
start-stop-daemon: warning: failed to kill 4224: No such process
1 pids were not killed
No process in pidfile '/var/run/begiak.pid' found running; none killed.
ERROR: Couldn't stop begiak

@kj7rrv
Copy link

kj7rrv commented Dec 3, 2019

I claimed this on GCI. Could you assign it to me?

@kj7rrv
Copy link

kj7rrv commented Dec 3, 2019

thx!

@kj7rrv
Copy link

kj7rrv commented Dec 3, 2019

Done!
PR #493

@kj7rrv
Copy link

kj7rrv commented Dec 3, 2019

I fixed it by adding a sleep 1 command. Begiak didn't have time to stop before the script tried to start it again.

@wei2912
Copy link
Member

wei2912 commented Dec 6, 2019

I fixed it by adding a sleep 1 command. Begiak didn't have time to stop before the script tried to start it again.

How does this explain the behaviour described by @jonorthwash, where the process to be killed could not be found, and no processes were found running either?

@jonorthwash
Copy link
Member Author

Also, it seems to be "sleep 5" currently. This isn't good. See the discussion here:
#493 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants