pidof: invalid options on command line!

General support questions including new installations

pidof: invalid options on command line!

Postby dima2207 » 2009/08/19 16:17:30

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 ?
dima2207
 
Posts: 26
Joined: 2009/08/19 16:11:27
Location: Ukraine, Kiev.

pidof: invalid options on command line!

Postby michaelnel » 2009/08/19 17:46:53

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.
michaelnel
 
Posts: 1479
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA

Re: pidof: invalid options on command line!

Postby dima2207 » 2009/08/19 18:22:36

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.

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"
dima2207
 
Posts: 26
Joined: 2009/08/19 16:11:27
Location: Ukraine, Kiev.

Re: pidof: invalid options on command line!

Postby dima2207 » 2009/08/19 19:08:14

i finde , that was trouble in my function file
dima2207
 
Posts: 26
Joined: 2009/08/19 16:11:27
Location: Ukraine, Kiev.

Re: pidof: invalid options on command line!

Postby michaelnel » 2009/08/19 20:07:50

Glad you found it, that was good detective work.
michaelnel
 
Posts: 1479
Joined: 2006/05/29 16:50:11
Location: San Francisco, CA


Return to CentOS 5 - General Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests