[CLUE-Tech] Suse questions
Mike Staver
staver at fimble.com
Mon Apr 19 13:46:37 MDT 2004
Thanks to everybody for the suggestions. I ended up installing the
findutils-locate package, and that gave me the use of updatedb and
locate again, so I'm happy.
About the time issue - instead of using rdate, I did some research on
xntp as suggested, and I am now using that. I ended up setting up a
cron job like this:
MAILTO=""
0 03 * * * /etc/init.d/xntpd restart
MAILTO=""
0 03 * * * /sbin/clock -w
I have no idea if I need to restart xntpd once a day, but I find that if
I don't sync up my servers daily, they drift a lot. I don't understand
how a computer clock can drift so much, but I have on server that gets
off by 5 minutes or more a day! If left unchecked, it becomes a huge
problem. I'm starting to think the motherboard is defective...
Kevin Lane wrote:
> There are two things you can do.
>
> 1. install the updatedb package
> That will give you the same functionality as on RH
>
> 2. use command line tools, although not as quick as the
> updatedb (because updatedb keeps the data in a data file)
>
> a typical command line string would be:
>
> sudo find / -name <filename> -print
>
> on linux the -print is optional, I tend to put it in there as other
> Unix variants do not automatically use the -print option.
> You can also use wildcards in the <filename>, and also double-quotes
> for special circumstances.
>
> sudo find / -name "some file*" -print
>
> use: man find
> to get more information. The find command is VERY powerful and
> can do much more than just print out the full path of the file it finds!
>
> Kevin Lane
>
> On Thu, 2004-04-15 at 14:31, Mike Staver wrote:
>
>>/I have a few more command based SuSE questions. Again, I'm working with
>>9.0 and on RedHat, the following commands work great:
>>
>>updatedb
>>locate somefile
>>/usr/bin/rdate -s time.nist.gov
>>
>>Without my ability to search using locate, or slocate, I have no idea
>>how I'm supposed to search the file system for files I'm looking for. I
>>also can't seem to locate the rdate command, which I found to be very
>>handy with Red Hat to get my servers all synced up at the same time.
>>Does anyone who uses SuSE know what the equivalents would be? Most of
>>the documentation for SuSE I have found on line is in German, and that
>>doesn't do a lot for me./
>>
--
-Mike Staver
staver at fimble.com
mstaver at globaltaxnetwork.com
More information about the clue-tech
mailing list