Sponsored Content
Full Discussion: Losing Time
Top Forums UNIX for Dummies Questions & Answers Losing Time Post 302945399 by edfair on Thursday 28th of May 2015 11:49:10 PM
Old 05-29-2015
Made a good part of my living over the years putting SCO on some of the cheapest hardware parts available after seeing how the suppliers were over specifying the hardware. Based on that experience I wouldn't jump to the conclusion that the hardware is the issue.

If it was a customer of mine I would install another hard drive on a Friday afternoon, reload the OS, then check the time on Monday morning to see if it was in fact a hardware issue. Then restore the system. But that also ignores a more basic question, is this a new thing or has it been going on for a while?

If the time loss is within a reasonable amount you could set a crontab to reboot the system at a reasonable hour (system time) before real time for the backup. That would get the RTC transferred in to insure the backup was done at close to the proper time. This assuming, of course, that the reboot wouldn't crash something else that hadn't been shut down properly.

Last edited by edfair; 05-29-2015 at 10:49 AM.. Reason: add possible workaround
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Losing Time/Time cloclk

:confused: :confused: :confused: I have a voicemail system that runs on Unix, I am new to unix:rolleyes: . However the manual I have informs me that the unix clock loses three seconds every day, and I have to perform a sync at the end of the month. My questions are simple 1. Is this generic... (4 Replies)
Discussion started by: azdauk
4 Replies

2. UNIX for Dummies Questions & Answers

losing time

Hi all, The server seems to be losing time, not a lot, but enough to be noticed. UNIX AIX 4.3.3 Any ideas, Kathy (9 Replies)
Discussion started by: kburrows
9 Replies

3. UNIX for Dummies Questions & Answers

Losing ownership with gzip

I'm trying to sell the use of gzip instead of compress in our department. One issue I'm having (which is a showstopper) is that I lose the ownership when gzipping and gunzipping, though it's mentioned all over the web that files are supposed to keep ownership. Example: -rwxrwxrwx 1 ms32345 ... (3 Replies)
Discussion started by: superdelic
3 Replies

4. Shell Programming and Scripting

Losing zero in while read

I'm using a while read statement to read in lines from a file, if a value (for example) is 1000.10 in a field, the last zero is removed leaving 1000.1 does anyone know a way to keep the field as it is in the original file? (1 Reply)
Discussion started by: gefa
1 Replies

5. Solaris

Losing my solaris virginity

So here's the scoop. I am working on a project to automate the building of spark based solaris servers. I've got a cursory amount of knowledge of how to use the os after some pretty heavy experience with Linux, and doing a similar project there. I have a few questions though... 1) how is... (5 Replies)
Discussion started by: msarro
5 Replies

6. Shell Programming and Scripting

Losing quotes after redirection

Hello experts, Pleas I have written a shell script to build a parfile but I keep losing the quotes from query1 and query variables after the redirection.. How do I fix this ? PARFILE=${EXPDP_BASE}/expdp_${DAY}.par USERID=$(${ORACLE_BASE}/getpass.ksh SYSTEM opnlkp2.uk.ml.com)... (2 Replies)
Discussion started by: kamathg
2 Replies

7. Emergency UNIX and Linux Support

losing ESSID

Hey guys, facing a weird issue - hoping someone might be able to help. The wireless network on my laptop is configured with a static IP address. (not using nm) When i take the laptop out of the range (or i power the router down) the essid is becoming "off/any". When i'm back in range the... (6 Replies)
Discussion started by: moshe88
6 Replies

8. HP-UX

losing mail enroute

system is HP-UX B.11.23 U ia64 A standard feature of almost all of our cron jobs is to redirect output to a log file, then at the end of the script to embed the contents of that log file in the body of an email sent to the IT staff. Typical code to do this is $MAILER -s "$PROC: $SUBJECT"... (3 Replies)
Discussion started by: edstevens
3 Replies

9. Programming

Losing signal problem

I'm newbie in UNIX programming, I have a problem with signals. I'm writing multithread program, where threads can die at any moment. When thread dies it generates signal SIGUSR1 to main thread and then thread dies. Main thread gets a signal and waits for thread dead. I wrote program like this: ... (5 Replies)
Discussion started by: DendyGamer
5 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Losing the connection

Hi. Recently when I'm logged in to site after some seconds, for instance, I lose the connection and need sign in again. It happens on Firefox and Chrome. Or another example, when I'm logged in to site and click on my nick name (right up corner) I lose the connection to site. User: tiago ... (0 Replies)
Discussion started by: Unregistered
0 Replies
ioinit(1M)																ioinit(1M)

NAME
ioinit - test and maintain consistency between the kernel I/O data structures and the ioconfig files SYNOPSIS
DESCRIPTION
Starting with HP-UX 11i Version 3, there are two ioconfig files, which is the same as on prior releases and which contains additional agile entries (see intro(7) for information on agile addressing). These two ioconfig files will have their copies in as and respectively. The command is invoked by the process when the system is booted, based on the entry in where is a script to invoke with the and options. Given the option, checks consistency between the versions of ioconfig files and the versions of ioconfig files. If these files are consistent, invokes to install special files for any new devices found. If versions of ioconfig files are inconsistent with versions, updates versions of ioconfig files from versions and, if the option is given, reboots the system. If or is corrupted or missing when the system reboots, brings the system up in single-user mode. The user should then restore or accord- ingly from backup or invoke with the option to recreate and from the kernel. If the option is given, reassigns instance numbers to existing devices within a given class based on infile. If the driver associated with the given hardware path does not support online instance number reassignment, reboot is required. If finds no errors associated with the reassignment, and the option is given, the system is rebooted. (See the section.) If the option is used with option, the command performs Critical Resource Analysis (CRA) on all the devices corresponding to the hardware paths specified in infile, before assigning the new instance numbers. Existing device special files of LUNs, whose instance number is to be reassigned, will be deleted and recreated after the reassignment of instance numbers. If the driver associated with the given hardware path does not support online instance number reassignment, the option must be used. If the option is given, recreates and from the existing kernel I/O data structures. If the option is given, verifies if there is any corruption in the specified system file. If the option is given, the kernel is forced to reassign instance numbers, starting from 0, for existing devices with the given class_name on the next reboot. Note that this option must be used with the option, which reboots the system immediately, if the operation is success- ful. Options recognizes the following options: Performs Critical Resource Analysis (CRA) on all the devices corresponding to the hardware paths specified in infile. Instance numbers will be reassigned as specified in infile, only if CRA of all these devices report SUCCESS. Existing device special files of LUNs whose instance number are reassigned will be deleted and recreated with the updated instance numbers. The option must be specified when using the option. (See the option below.) If the driver associated with at least one given hardware paths does not support online instance number reassignment, the option must also be specified. (See the option below.) If the infile contains a hardware path of a node whose driver does not support online instance number reassignment and option is not specified, the command aborts the operation. Recreates and files from the kernel if any of these files are missing or cannot be restored from backup. Whenever updates these files from information obtained from the kernel, it saves the current ioconfig file (the last known good one) before updating them as and in order to keep them synchronized with kernel I/O data structures. If ioconfig files are missing or corrupt, users are advised to copy the file from the last known good file so that the least amount of information is lost. If is invoked, any previous binding of hardware path to device class and instance number may be lost. Forces the kernel to reassign instance numbers starting from 0 for all existing devices with the given class_name. This option must be used with the option. On successful completion the system is rebooted immediately. Use the file infile to reassign instance numbers to devices within a specified class. infile may have multiple entries, each to appear on a separate line, each field in the entry separated by one or more blanks. Entries should conform to the following for- mat: h/w_path class_name instance_# preprocesses the contents of infile, looking for invalid entries, and prints out explanatory messages. An entry is con- sidered to be invalid if the specified hardware path or class name does not already exist in the system. If the specified instance number already exists for the given class, the entry is invalid if it is not for circular reassignment. On suc- cessful completion of this operation, previous special files will still be associated with the device. Invoke to install special files for new devices after checking consistency between the versions of the ioconfig files and the versions. This creates device special files for any new devices found on the system. Reboot the system when it is required to correct the inconsistent state between the kernel, and as used with the option. When used with the option, if there are no errors associated with the instance reassignment, reboots the system. Verify if there is any corruption in ioconfig_file. If the verification of ioconfig_file is successful, the command displays a message showing if the type of ioconfig_file is either legacy (for example, or agile (for example, Note: HP-UX should not be rebooted without the file. If the file is missing or corrupted, HP-UX will recreate the file before rebooting the system. If the system needs to be booted without the file (thus losing all the persistent I/O infor- mation (see ioconfig(4)), the user can delete the file and reboot the system with the command (see reboot(1M)). RETURN VALUE
No errors occurred, although warnings might be issued. encountered an error. was recognized as an file but it was found corrupted during verification. DIAGNOSTICS
Most of the diagnostic messages from are self-explanatory. Listed below are some messages deserving further clarification. Errors cause to halt immediately. Errors Either restore or accordingly from backup and then reboot, or recreate or using Change permissions to to allow access by completed successfully, but failed. Instance number already exists for a given class. Use to remove the existing instance number, then retry. The given hardware path is not in the kernel. Use to get the correct hardware path, then retry. The given class name is not in the kernel. Use to get the correct class name, then retry. EXAMPLES
To reassign an instance number to a device and class (specified in infile) and reboot the system: where infile contains the following: is the h/w_path, is the class_name, and is the instance_#. is the h/w_path, is the class_name, and is the instance_#. To achieve circular reassignment of instance numbers between two existing devices of a class (specified in infile), assuming the driver associated with the given hardware paths support online reassignment of instance numbers. where infile contains the following: is the h/w_path, is the class_name, and is the instance_#. The existing instance_# of this device is 30. is the h/w_path, is the class_name, and is the instance_#. The existing instance_# of this device is 20. After the successful completion of this operation, will have the new instance_# as 20 and will have the new instance_# as 30. Verify file for corruptions and find if it is of type legacy or agile. WARNINGS
Running or overwrites the effect of instance number reassignment by before the system is rebooted. The previous statement applies only for devices whose drivers do not support online instance number reassignment. AUTHOR
was developed by HP. FILES
SEE ALSO init(1M), insf(1M), ioscan(1M), rmsf(1M), inittab(4), ioconfig(4), intro(7). ioinit(1M)
All times are GMT -4. The time now is 09:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy