The issue isn't that it is NFS mounted (although the problem is made apparent because the file is mounted from a different machine), the issue is that the clock on the server where the file resides is a little bit ahead of the clock on the machine where you are running these commands. You can probably see the clock skew if you run the commands:
For a good way to fix the problem run, ntpd on your machine and on all machines that act as file servers for any files you reference from your machine. (See man ntpd for details.)
Greetings all,
I have been battling with this problem for some time now, and I am not sure if I am just not seeing the obvious anymore or have made a stupid mistake, but I just can seem to get the reverse address in my network to run the right way.
Short description of my network:
I have a... (3 Replies)
1. The problem statement, all variables and given/known data:
When looking for corefiles, include any file with core in its name. (Some UNIX/Linux systems add the PID of the process that created the core to reduce the chances of overwriting an already existing core file that might be needed. The... (6 Replies)
Hi All,
I am new to unix programming. I am trying for a requirement and the requirement goes like this.....
I have a test folder. Which tracks log files. After certain time, the log file is getting overwritten by another file (randomly as the time interval is not periodic). I need to preserve... (2 Replies)
I need to be able to identify files with file timestamps greater than a given timestamp.
I am using the following solution, although it appears to compare files at the "seconds" granularity and I need it at the milliseconds. When I tested my solution, it missed files that had timestamps... (3 Replies)
Hello,
I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration.
#pwd... (8 Replies)
Hi Friends,
I have the following logfile. Currently time in india is 07/31/2014 12:33:34 and i have the following content in logfile. I want to display only those entries which contain string 'Exception' within last 3 hours. In this case, it would be the last line only
I can get the... (12 Replies)
Hello ,
I am working on AIX. I have to convert Unix timestamp to normal timestamp. Below is the file. The Unix timestamp will always be preceded by
EFFECTIVE_TIME as first field as shown and there could be multiple EFFECTIVE_TIME in the file : 3.txt
Contents of... (6 Replies)
So basically I have a log file and each line in this log file starts with a timestamp:
MON DD HH:MM:SS
SEP 15 07:30:01
I need to grep all the lines between last hour timestamp and current timestamp. Then these lines will be moved to a tmp file from which I will grep for particular strings. ... (1 Reply)
Discussion started by: nms
1 Replies
LEARN ABOUT OPENDARWIN
bos_listhosts
BOS_LISTHOSTS(8) AFS Command Reference BOS_LISTHOSTS(8)NAME
bos_listhosts - Displays the contents of the CellServDB file
SYNOPSIS
bos listhosts -server <machine name> [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos listh -s <machine name> [-c <cell name>] [-n]
[-l] [-h]
bos getcell -server <machine name> [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos getc -s <machine name> [-c <cell name>] [-n]
[-l] [-h]
DESCRIPTION
The bos listhosts command formats and displays the list of a cell's database server machines from the /etc/openafs/server/CellServDB file
on the server machine named by the -server argument.
To alter the list of machines, use the bos addhost and bos removehost commands.
OPTIONS -server <machine name>
Indicates the server machine from which to display the /etc/openafs/server/CellServDB file. Identify the machine by IP address or its
host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8).
For consistent performance in the cell, the output must be the same on every server machine. The bos addhost reference page explains
how to keep the machines synchronized.
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).
-noauth
Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see
bos(8).
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket
to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see
bos(8).
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The first line of the output names the cell to which the server machine belongs. Each of the following lines names a database server
machine for that cell.
The "Host" number assigned to each database server machine is for server-internal use only and is not the same as, nor necessarily related
to, the machine's IP address. The BOS Server assigned it as part of performing the bos addhost command.
EXAMPLES
The following command displays the database server machines listed in the /etc/openafs/server/CellServDB file on the machine "fs7.abc.com".
% bos listhosts fs7.abc.com
Cell name is abc.com
Host 1 is db1.abc.com
Host 2 is db2.abc.com
Host 3 is db3.abc.com
PRIVILEGE REQUIRED
None
SEE ALSO CellServDB(5), KeyFile(5), bos(8), bos_addhost(8), bos_removehost(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BOS_LISTHOSTS(8)