You are not logged in.

#1 2012-09-05 12:15:57

CommanderCool
Member
Registered: 2012-09-05
Posts: 29

pidof: command not found [SOLVED]

Hi,
when shutting down I get multiple [fail]-messages like (do not remember exactly):

cupsd: pidof: command not found

There is actually no such file, as "find / -name pidof" gets no results. Also:

# which pidof
which: no pidof in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl)

I tried reinstalling sysvinit as some post in this forum stated that pidof is in that package, but that did not change anything. I also did a full system upgrade.
Thanks in advance!

Last edited by CommanderCool (2012-09-05 14:13:54)

Offline

#2 2012-09-05 12:17:52

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: pidof: command not found [SOLVED]

~ $ pkgfile pidof
core/sysvinit

(actually it's sysvinit-tools package now).

Edit: 'pkgfile -u' should have been run first...

Last edited by bohoomil (2012-09-05 12:21:44)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-09-05 12:18:11

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,682

Re: pidof: command not found [SOLVED]

$ pkgfile pidof
core/sysvinit-tools

Offline

#4 2012-09-05 12:26:18

CommanderCool
Member
Registered: 2012-09-05
Posts: 29

Re: pidof: command not found [SOLVED]

Err...same problem with that:

$ pkgfile pidof
bash: pkgfile: command not found

What now?

Offline

#5 2012-09-05 12:54:04

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: pidof: command not found [SOLVED]

pkgfile is an optional tool to search for files in the package databases of your repositories. I suppose you are using a pure systemd installation without initscripts, so you'll have to install systemd-sysvcompat and its dependencies. If this not true, then you should only reinstall sysvinit-tools

Last edited by progandy (2012-09-05 12:55:49)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#6 2012-09-05 13:09:13

CommanderCool
Member
Registered: 2012-09-05
Posts: 29

Re: pidof: command not found [SOLVED]

This is not a pure systemd installation and reinstalling sysvinit-tools does not resolve the issue.

Offline

#7 2012-09-05 13:14:19

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: pidof: command not found [SOLVED]

CommanderCool wrote:

Err...same problem with that:

$ pkgfile pidof
bash: pkgfile: command not found

What now?

pacman -Ss pkgfile
pacman -Syu pkgfile

CommanderCool wrote:

This is not a pure systemd installation and reinstalling sysvinit-tools does not resolve the issue.

Post output from:
pacman -Q sysvinit-tools
pacman -Qk sysvinit-tools

Last edited by Mr.Elendig (2012-09-05 13:16:14)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2012-09-05 13:27:19

CommanderCool
Member
Registered: 2012-09-05
Posts: 29

Re: pidof: command not found [SOLVED]

I assumed pkgfile was part of some standard package as well, so I did not even try to install it before.

$ pkgfile pidof
core/sysvinit-tools
extra/bash-completion
$ pacman -Q sysvinit-tools
sysvinit-tools 2.88-7
$ pacman -Qk sysvinit-tools
sysvinit-tools: 30 total files, 0 missing files

Offline

#9 2012-09-05 13:55:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pidof: command not found [SOLVED]

CommanderCool, next time please read the wiki before posting: https://wiki.archlinux.org/index.php/FA … is_X_in.3F and https://wiki.archlinux.org/index.php/Pkgfile

Offline

#10 2012-09-05 14:05:09

CommanderCool
Member
Registered: 2012-09-05
Posts: 29

Re: pidof: command not found [SOLVED]

Thank you very much, I did not know of the pkgfile-command and it sure is very useful. (Though I am not sure that "reading the wiki" would have led me to that page.)
Unfortunately, the issue is still not resolved. Any further comments?

Offline

#11 2012-09-05 14:07:48

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: pidof: command not found [SOLVED]

Does it work if you type /bin/pidof?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#12 2012-09-05 14:13:23

CommanderCool
Member
Registered: 2012-09-05
Posts: 29

Re: pidof: command not found [SOLVED]

As I recheck now, it actually works. Sorry I did not notice before. Thanks to everyone for the fast help.

Offline

#13 2012-09-05 14:16:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pidof: command not found [SOLVED]

CommanderCool wrote:

Thank you very much, I did not know of the pkgfile-command and it sure is very useful. (Though I am not sure that "reading the wiki" would have led me to that page.)
Unfortunately, the issue is still not resolved. Any further comments?

I think, as a new user, you should read the various FAQs.

Offline

Board footer

Powered by FluxBB