Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!virtech!cpcahil From: cpcahil@virtech.UUCP (Conor P. Cahill) Newsgroups: comp.unix.questions Subject: Re: What is ps_data's permissions? && What is cklock1 and cklock? Message-ID: <1207@virtech.UUCP> Date: 28 Sep 89 14:16:34 GMT References: <5648@ozdaltx.UUCP> <13987@grebyn.com> Distribution: na Organization: Virtual Technologies Inc Lines: 37 In article <13987@grebyn.com>, brian@grebyn.com (Brian Bishop) writes: > Every now and then a get a puzzling message or two on my console. One > is: > ln: cklock and cklock1 are identical I don't know where this comes from, but if you are getting it every once in a while on the console, chances are that it is from some job running out of cron. Next time you notices that it happens, record the time that it happend and review your crontabs (/usr/spool/cron/crontabs) to find the job that was scheduled to run at, or slightly before, that time. > The other message shows up when you try to do a ps, it's something like: > > unable to unlink ps_data: contact system administrator The ps_data file is a recording of the data used to generate the ps listing. This includes data from /etc/passwd, /dev, and /unix. The problem you are having is due to permission problems on the /etc directory, or the ps program itself. /etc should be set up as follows: drwxrwxr-x 20 root sys 3472 Sep 20 18:24 /etc /bin/ps should be set up as follows: -r-xr-sr-x 1 root sys 21472 May 22 15:28 /bin/ps Note that ps program is setGID to sys and the /etc directory is in group sys and writable by that group. -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+