makewhatis command not found on cron.daily

General support questions
Post Reply
sblantipodi
Posts: 252
Joined: 2009/07/10 09:43:13
Contact:

makewhatis command not found on cron.daily

Post by sblantipodi » 2014/07/29 17:43:55

Hi,
my cron.daily fails on makewhatis.cron.
/etc/cron.daily/makewhatis.cron:
/etc/cron.daily/makewhatis.cron: line 14: /etc/man.config: No such file or directory
/etc/cron.daily/makewhatis.cron: line 24: makewhatis: command not found
where can I find the rpm of the makewhatis?
in there a name that I can "yum install NAME" ???

thanks.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: makewhatis command not found on cron.daily

Post by TrevorH » 2014/07/29 17:46:07

Doesn't seem to exist in el7.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

sblantipodi
Posts: 252
Joined: 2009/07/10 09:43:13
Contact:

Re: makewhatis command not found on cron.daily

Post by sblantipodi » 2014/07/29 17:49:04

TrevorH wrote:Doesn't seem to exist in el7.
thanks for the reply TrevorH, your help is always precious.
but if it does not exist, why I have a makewhatis.cron in my cron.daily?

can I safely remove the makewhatis.cron?

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: makewhatis command not found on cron.daily

Post by TrevorH » 2014/07/29 17:52:46

No idea where it came from

Code: Select all

[root@centos7 systemd]# yum provides '*/makewhatis.cron'
Loaded plugins: changelog, langpacks, priorities, versionlock
No matches found
You could try rpm -qf /etc/cron.daily/makewhatis.cron and see what it thinks owns the file. On el6 the same yum provides says it comes from man-1.6f-32.el6.x86_64.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

sblantipodi
Posts: 252
Joined: 2009/07/10 09:43:13
Contact:

Re: makewhatis command not found on cron.daily

Post by sblantipodi » 2014/07/29 19:03:12

TrevorH wrote:No idea where it came from
You could try rpm -qf /etc/cron.daily/makewhatis.cron and see what it thinks owns the file. On el6 the same yum provides says it comes from man-1.6f-32.el6.x86_64.
Neither my system knows where it came from.

Code: Select all

[root@netstar ~]# rpm -qf /etc/cron.daily/makewhatis.cron
file /etc/cron.daily/makewhatis.cron is not owned by any package

sblantipodi
Posts: 252
Joined: 2009/07/10 09:43:13
Contact:

Re: makewhatis command not found on cron.daily

Post by sblantipodi » 2014/08/01 06:53:57

Same problem on cron.monthly.
It doesn't find readahead

Where can I find it?

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: makewhatis command not found on cron.daily

Post by stevemowbray » 2014/08/01 11:25:46

If the files aren't owned by an rpm then somebody has put these scripts there. I would hazard a guess that they have been copied from a CentOS 6 system by that somebody, and you need to find out who and why and delete the files.

Post Reply