search for: adjtim

Displaying 20 results from an estimated 25 matches for "adjtim".

Did you mean: adjtime
2005 Jul 23
2
ASTCC gives me only the time, but no cost
I try to track down an error that causes that Astcc just reports the time, but not the costs. I could narrow the problem down into this sub routine: sub calccost() { my ($adjconn, $adjcost, $answeredtime, $increment) = @_; eval { my $adjtime = int(($answeredtime + $increment - 1) / $increment) * $increment }; my $cost; print STDERR "Adjusted time is $adjtime, cost is $adjcost with $adjconn fee\n"; eval { $cost = int($adjcost * $adjtime / 60) }; $cost += $adjconn; print STDERR "Total cost is $cost\n"; return $...
2012 Aug 09
6
Strange issue with system time being off
...second. After the system is up. "hwclock" works fine. hwclock --debug does not show any error at all. The hardware clock is configured in local time. /etc/sysconfig/clock is set to UTC=false and ZONE="America/Chicago". /etc/localtime is a copy of Chicago's zone file. /etc/adjtime is configured with "LOCAL" as the third row. I am at a loss as to what is causing this. Any assistance is appreciated! Thanks!
2006 Oct 21
1
Rsync 2.6.9pre2 tries to read ACLs of nonexistent files
...c/rsync-acl/rsync -aAPx --del --numeric-ids --relative \ --delete-excluded --exclude=media/external-disk/snapshots \ --link-dest=/media/external-disk/snapshots/occasional.0/mattlaptop/ /. \ /media/external-disk/snapshots/.sync/mattlaptop/ [...] /etc/ rsync: get_acl: sys_acl_get_file(etc/adjtime, SMB_ACL_TYPE_ACCESS): No such file or directory (2) /etc/adjtime 46 100% 0.00kB/s 0:00:00 (xfer#1, to-check=283360/283617) rsync: get_acl: sys_acl_get_file(etc/group, SMB_ACL_TYPE_ACCESS): No such file or directory (2) /etc/group 582 100% 568.36kB/s 0:00:00 (xfer#2, t...
2007 Feb 13
2
How to print kernel global variable.
I am doing some testing on the adjtime syscall, and I want to dump out the value of the kernel variable "timedelta", and I am failing at it. Some of my attempts got "Module is no longer loaded" and some got "Symbol table entry is not a data object" I found some info that dtrace can print out kernel global...
2015 Feb 07
2
lost at 'repository' entry installing centos7
On Sat, Feb 07, 2015 at 01:05:58PM -0600, g wrote: > so much for all that. > > i just thought it was working. :-( > > only way i can get system clock to show correct CST is to set bios > clock to CST. I suggest reading the man page for 'hwclock'. Namely, the --utc option. If you don't tell your system that the BIOS is stored as UTC, then it will assume it's
2010 Nov 12
7
hwclock problem
...e machines in question take their time via NTP from the same local server, and that server gets its time from a ntp pool. Now I had to reboot a couple of them two days ago and to my surprise all had problems with the time upon booting. Here are the important files: [root at XXXXXX ~] #>l /etc/adjtime 0.001687 1289518202 0.000000 1289518202 LOCAL [root at XXXXXXX ~] #>l /etc/sysconfig/clock ZONE="Australia/Melbourne" UTC=false ARC=false So from my understanding the hwclock should contain the local time. [root at XXXXXX ~] #>date Fri Nov 12 11:26:23 EST 2010 [root at XXXXXX...
2009 May 07
1
timezone "Europe/London" ntpdate
...time Thu May 7 21:29:47 GMT 2009 Thu May 7 21:29:47 UTC 2009 Thu 07 May 2009 09:29:48 PM GMT -0.411568 seconds Thu 07 May 2009 09:29:49 PM GMT -0.997482 seconds /etc/localtime Thu May 7 21:29:48 2009 GMT # cat /etc/sysconfig/clock ZONE="Europe/London" UTC=true ARC=false # cat /etc/adjtime -3525.635197 1241730131 0.000000 1241730131 UTC # strings /etc/localtime TZif2 TZif2 GMT0 # ntpdate -q 0.centos.pool.ntp.org 7 May 21:14:51 ntpdate[12689]: step time server 195.42.115.77 offset -3638.766689 sec Why -3638 sec ? thanks. -- with best regards
2015 Feb 07
0
lost at 'repository' entry installing centos7
...g the sequence, which still does no good. or, i have run it so many different ways that my brain is failing to think of right combination. running "system-config-date", the only way i can get bios clock to show UTC is by setting both system and zone to UTC, which makes system UTC. /etc/adjtime is still; 6.736246 1423375017 0.000000 1423375017 UTC [root at boxen etc]# grep UTC * adjtime:UTC grep: extlinux.conf: No such file or directory Binary file localtime matches [root at boxen etc]# grep GMT * grep: extlinux.conf: No such file or directory Binary file localtime-...
2019 Nov 16
2
I can't get Win10 clients to sync time with the DC
On 16.11.2019 15:17, Sonic wrote: > On Thu, Nov 14, 2019 at 1:56 PM Viktor Trojanovic via samba > <samba at lists.samba.org> wrote: >> I'm running a Samba AD DC v4.9.9 with Windows 10 clients connected to it >> and just noticed that the clients are not synchronizing time with the >> server. I'm not sure why not. >> >> My setup is a bit special in
2019 Mar 14
0
paste
...failing repl) > So what change in these days, you could check /var/log/dpkg.log But i suspect a small difference in the 2 DC's. > > Check on both server the configured timzones and offset. Are both DC's pointing to the same NTP source and not a pool source? Check if /etc/adjtime exist and check if these are set to UTC on both servers. Run date -u && date to check it. Set the timezones again. ln -fs /usr/share/zoneinfo/Europe/Berlin /etc/localtime dpkg-reconfigure -f noninteractive tzdata For a quick check. Run this on both server. Diff the output. https://ra...
2019 Nov 16
0
I can't get Win10 clients to sync time with the DC
...ntpd but switched to chrony for no specific reason. I'm guessing either would work. chrony.conf: =========================== pool us.pool.ntp.org iburst keyfile /etc/chrony/chrony.keys driftfile /var/lib/chrony/chrony.drift logdir /var/log/chrony maxupdateskew 100.0 directive. hwclockfile /etc/adjtime directive. rtcsync makestep 1 3 local stratum 8 manual allow 192.168.1.0/24 bindcmdaddress 192.168.1.1 ntpsigndsocket /mnt/containers/dc/rootfs/usr/local/samba/var/lib/ntp_signd =========================== As can be seen the socket for chrony, which is running on the host, is inside the container...
2005 Jun 28
0
[Bug 2831] New: rsync tries to create "." directory
...xclude=/www/*/bin/ --exclude=/www/*/dev/ --exclude=/www/*/etc/ \ --exclude=/www/*/lib/ --exclude=/www/*/usr/ --link-dest=/backup/daily.1/ \ /etc/ /backup/daily.0/ building file list ... done /etc/./ rsync: recv_generator: mkdir "/backup/daily.0/etc/." failed: File exists (17) /etc/adjtime /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin . . . rsync error: some files could not be transferred (code 23) at main.c(791) -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug,...
2006 Aug 24
2
files-from and filter from one file?
...quot;/backup/client1/linux/2006-08-24 11.31.40" --filter='. -' root@client1:' /etc /usr/local/bin /usr/local/sbin ' '/backup/client1/linux/2006-08-24 18.29.05' << EOF . /etc/backup.d/filters/default . /etc/backup.d/filters/default.linux - mrtg - adjtime - random_seed EOF What I want is the effect that --files-from gives in that I can simply copy client1:/ to /backup/ and then only include /etc /usr/local/bin and /usr/local/sbin. Having to use files-from and filter seperately would force me to use a temporary file instead of neatly packed into on...
2015 Jul 30
1
Timezone issues with migrations between host kernel 3.10 and 3.18
On 07/29/2015 11:38 AM, Nathan March wrote: > Hi All, > > > > I'm seeing clock issues with live migrations on the latest kernel > packages, migrating a VM from 3.10.68-11 to 3.18.17-13 results in the VM > clock being off by 7 hours (I'm PST, so appears to be a timezone issue). > This is also between xen versions, but rolling the target back to 3.10 > resolved
2007 Jan 28
3
has this been asked about before ? multilple exclude files
I'm was wondering if this has been asked about/for multiple exclude-from files ? Where I could find this useful is say I had a common or base exclusion list for all my AIX boxes --exclude-from=/foo/aix_base Then be able to add for say all my AIX boxes that are running SAP --exclude-from=/foo/aix_base --exclude-from=/foo/sap or --exclude-from=/foo/aix-base,/foo/sap and so on ...
2011 Jul 25
0
[PATCH node] Drop F15 build recipes
...+1,7 @@ - dirs /var/cache/man - dirs /var/gdm - dirs /var/lib/xkb --dirs /var/lock - dirs /var/log --dirs /var/run - dirs /var/puppet - dirs /var/lib/dbus - dirs /var/lib/nfs -@@ -25,7 +23,6 @@ empty /var/lib/pulse - empty /var/lib/ups - empty /var/tmp - empty /var/tux --empty /media - - files /etc/adjtime - files /etc/ntp.conf -EOF_PATCH - -# systemd configuration -# set default runlevel to multi-user(3) - -rm -rf /etc/systemd/system/default.target -ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target - -# setup ovirt-firstboot multi-user dependency -cat >> /lib/sys...
2004 Jun 19
0
security flaw in rssh
...ess the server and see what files exist in the /etc directory: scp target:/etc/* . The results of this command will look something like this: scp: /etc/DIR_COLORS: No such file or directory scp: /etc/HOSTNAME: No such file or directory scp: /etc/X11: No such file or directory scp: /etc/adjtime: No such file or directory [ ... ] ld.so.cache 100% 675 0.0KB/s 00:00 ld.so.conf 100% 0 0.0KB/s 00:00 [ ... ] passwd 100% 51 0.0KB/s 00:00 [ ... ] scp: /etc/term...
2005 Mar 21
1
exclude problem
...... expand file_list to 4000 bytes, did move expand file_list to 8000 bytes, did move expand file_list to 8000 bytes, did move done expand file_list to 4000 bytes, did move expand file_list to 8000 bytes, did move done deleting in . deleting cron.d/replication .java/.systemPrefs/.systemRootModFile adjtime aliases.db cron.d/webmin_update fstab fstab.REVOKE hosts ioctl.save kde/kdm/kdmsts lilo.conf mail/statistics modules.conf motd mtab ntp/drift printcap printcap.old resolv.conf samba/secrets.tdb shadow sudoers sysconfig/hwconf sysconfig/network sysconfig/network-scripts/ifcfg-eth0 sysconfig/network...
2011 Mar 04
3
Updating hardware clock from cron
Is there a package to do this? Normally the hardware clock is set during shutdown if one is running ntpd. But if a long-running server shuts down unexpectedly, this isn't done, and the hardware clock might be off by a lot when it comes back up. So setting it periodically from a cron job could be useful. What do others do? Adding a one liner to /etc/cron.daily that invokes
2014 Apr 16
6
[Bug 2228] New: ssh-agent passwords do not timeout properly
...nic time since some unspecified starting point. This clock is not affected by discontinuous jumps in the system time (e.g., if the system administrator manually changes the clock), but is affected by the incremental adjustments performed by adjtime(3) and NTP. CLOCK_BOOTTIME (since Linux 2.6.39; Linux-specific) Identical to CLOCK_MONOTONIC, except it also includes any time that the system is suspended. This allows applica? tions to get a suspend-aware monotonic clock without hav? ing to de...