[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Re:Cron <root@ns> run-parts /etc/cron.weekly
- Subject: Re: [cobalt-users] Re:Cron <root@ns> run-parts /etc/cron.weekly
- From: "Jelmer Jellema" <cobalt@xxxxxxxxxxxxxxx>
- Date: Thu Feb 14 07:57:01 2002
- Organization: Spin in het Web (www.spininhetweb.nl)
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> lrwxrwxrwx 1 root root 10 Nov 20 10.24 resolv.conf -> resolver.5
> lrwxrwxrwx 1 root root 13 Feb 2 18.34
> resolv.conf.gz ->resolver.5.gz
> -r--r--r-- 1 root root 2983 Jan 31 2001 resolver5.gz
In the pre-update version there is a file
resolv.conf.5 -> resolver.5
and a file
resolver.5
in /usr/man/man5
The error you get is there because makewhatis tries to read
/usr/man/man5/resolv.conf.5, which is a symbolic link to ....resolver.5 and
that one is not there.
When a program tries to read a symbolic link to a missing file, you get the
error you got. Just try in /tmp or something:
ln -s bla blabla
less blabla
allthoug the file blabla exists (it's a symlink), you get
blabla: No such file or directory
What happened? Maybe the update created the .gz versions for the manpage,
without removing the symlink to the not-gzipped version.
So, the easiest solution is (* given the above ls output, please make sure
resolv.conf is a symlink by doing ls -F: there should be a @ behind
resolv.conf *):
# cd /usr/man/man5
# rm resolv.conf
(this removes the link that is pointing to nowhere, it does not remove any
data).
Try:
man 5 resolv.conf
Jelmer
----- Original Message -----
From: "Achieve Website Design" <info@xxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Thursday, February 14, 2002 2:52 PM
Subject: [cobalt-users] Re:Cron <root@ns> run-parts /etc/cron.weekly
> Date: Wed, 13 Feb 2002 01:37:21 -0600
> To: cobalt-users@xxxxxxxxxxxxxxx
> From: David Lucas <david@xxxxxxxxxxxxxxxx>
> Subject: Re: [cobalt-users] Cron <root@ns> run-parts /etc/cron.weekly
> Reply-To: cobalt-users@xxxxxxxxxxxxxxx
>
> At 09:16 PM 2/12/2002, you wrote:
> >"Achieve Website Design" <info@xxxxxxxxxxxxxx> wrote:
> > > I've seen a few posts but no fix yet. I am another who is receiving
this
> > > error message last 2 Sundays since installing latest OS update.
> > >
> > > Read file error: ./resolv.conf.5 No such file or directory
> >
> >Do you have anything in /etc/cron.weekly besides makewhatis.cron and
> >vacuumdb.cron? Do any of the files in the directory have a reference to
> >resolv.conf? It seems that a script in that directory which is being run
> >weekly is looking for the man page on resolv.conf which on my RaQ4 is at
> >/usr/man/man5/resolv.conf.5 (and actually loads a gzipped man file for
> >resolver). Maybe that file no longer exists.
> >
> >--
>
> I am one of the many getting this error.
>
> Only the two files you mention in the directory
> No reference to resolv.conf in either of them.
> in the /usr/man/man5 directory I have a resolv.conf.5, resolv.conf.5.gz
and
> resolver.5.gz
> They exist. This did start with the OS 2 update
>
> -------------------
>
> I checked my RaQ4, using SSH & Putty. In /usr/man/man5/ I found many files
> but the 3 below looked strange.
>
> lrwxrwxrwx 1 root root 10 Nov 20 10.24 resolv.conf -> resolver.5
> lrwxrwxrwx 1 root root 13 Feb 2 18.34
> resolv.conf.gz ->resolver.5.gz
> -r--r--r-- 1 root root 2983 Jan 31 2001 resolver5.gz
>
> Please Note: On the first line the text "resolv.conf -> resolver.5" had a
> red background. Does this make sense, or has anybody found out anything
yet.
>
> Regards,
> Declan.
>
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>