hi all!
when i show status ricci on centos5.3x86_64
#service ricci status
pidof: invalid options on command line!
pidof: invalid options on command line!
-p is stopped
how can i fix that bug ?
pidof: invalid options on command line!
-
- Posts: 1478
- Joined: 2006/05/29 16:50:11
- Location: San Francisco, CA
pidof: invalid options on command line!
What I would do is look at /etc/init.d/ricci and see what is being passed to pidof in that script, and troubleshoot it from there. Or report the error to the ricci developers.
Re: pidof: invalid options on command line!
[quote]
michaelnel wrote:
What I would do is look at /etc/init.d/ricci and see what is being passed to pidof in that script, and troubleshoot it from there. Or report the error to the ricci developers.[/quote]
i was copy that script from working comp , and nothing was changed .
that is my definition of pid :
ID="ricci"
RICCID="ricci"
PIDFILE="/var/run/ricci.pid"
LOCKFILE="/var/lock/subsys/ricci"
RUNASUSER="ricci"
michaelnel wrote:
What I would do is look at /etc/init.d/ricci and see what is being passed to pidof in that script, and troubleshoot it from there. Or report the error to the ricci developers.[/quote]
i was copy that script from working comp , and nothing was changed .
that is my definition of pid :
ID="ricci"
RICCID="ricci"
PIDFILE="/var/run/ricci.pid"
LOCKFILE="/var/lock/subsys/ricci"
RUNASUSER="ricci"
Re: pidof: invalid options on command line!
i finde , that was trouble in my function file
-
- Posts: 1478
- Joined: 2006/05/29 16:50:11
- Location: San Francisco, CA
Re: pidof: invalid options on command line!
Glad you found it, that was good detective work.