Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

sy daemon start may error #439

Closed
Kudret opened this issue Apr 12, 2015 · 2 comments
Closed

sy daemon start may error #439

Kudret opened this issue Apr 12, 2015 · 2 comments

Comments

@Kudret
Copy link

Kudret commented Apr 12, 2015

rerunning immediately after did not error, though.

kudret@fin:/Desktop$ sy daemon status
Checking daemon: syncanyd not running
kudret@fin:
/Desktop$ sy daemon start
Starting daemon: ./usr/bin/sy: line 225: [: -eq: unary operator expected
error: process ID list syntax error

Usage:
ps [options]

Try 'ps --help <simple|list|output|threads|misc|all>'
or 'ps --help <s|l|o|t|m|a>'
for additional help text.

For more details see ps(1).
.. syncanyd (pid 3414).
kudret@fin:/Desktop$ sy daemon status
Checking daemon: syncanyd running (pid 3414).
kudret@fin:
/Desktop$ sy daemon stop
Stopping daemon: ... syncanyd stopped.
kudret@fin:/Desktop$ sy daemon start
Starting daemon: .. syncanyd (pid 3661).
kudret@fin:
/Desktop$

binwiederhier added a commit that referenced this issue Apr 12, 2015
@binwiederhier
Copy link
Member

@Kudret You find the strangest errors 👍 Thanks for reporting. c48ad36 should deal with this.

Cause is that you daemon pid file was empty. Any idea how that happened?

@Kudret
Copy link
Author

Kudret commented Apr 13, 2015

It happened to me multiple times and on multiple systems. I start the daemon with sy daemon start but never stop it before turning a system off. Would that cause this?

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

No branches or pull requests

2 participants