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

Please add --log and --verbose options #17

Open
minio opened this issue Mar 28, 2011 · 0 comments
Open

Please add --log and --verbose options #17

minio opened this issue Mar 28, 2011 · 0 comments
Labels
Milestone

Comments

@minio
Copy link

minio commented Mar 28, 2011

Sometimes mpdcron does not work (I'll elaborate in a while). Without --verbose and --log options, it's next to imposible to track what's happening or what certainly is wrong. Please add them, it would be very helpful.
Or, if these are already present, please add note in -h and/or man page and/or mpdcron.conf file.

OK, speaking of my strange behavior, there is a log from console:

minio@pingwin ~ ]:-> mpdcron -k

** (mpdcron:10542): WARNING **: Failed to kill daemon: Operation not permitted
minio@pingwin ~ ]:-> mpdcron 
Daemon already running on PID 2295
minio@pingwin ~ ]:-> ps aux |grep -i 2295
minio    10640  0.0  0.0   7560   880 pts/1    S+   23:07   0:00 grep --colour=auto -i 2295
minio@pingwin ~ ]:-> su -
root@pingwin:~# mpdcron -k
** (mpdcron:10749): DEBUG: Configuration file `/root/.mpdcron/mpdcron.conf' not found, skipping

** (mpdcron:10749): WARNING \*\*: Failed to kill daemon: No such file or directory
root@pingwin:~# exit
logout
minio@pingwin ~ ]:-> mpdcron 
Daemon already running on PID 2295
minio@pingwin ~ ]:-> su -
root@pingwin:~# kill -9 2295
root@pingwin:~# mpdcron 
** (mpdcron:10861): DEBUG: Configuration file `/root/.mpdcron/mpdcron.conf' not found, skipping
Daemon returned 2 as return value
root@pingwin:~# exit
logout
minio@pingwin ~ ]:-> mpdcron 
Process 2295 died: No such process; trying to remove PID file. (/home/minio/.mpdcron/mpdcron.pid)
Daemon returned 0 as return value

I would like to track a reason of this, but mpdcron does not give me any tools :( .

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

No branches or pull requests

0 participants