Errors in NTP Auth configuration using autokey

During latest leap second test activities, I was tinkering with my test NTP server and I encountered an error: "RAND_load_file /root/.rnd not found or empty"

There is not much help on internet. You just need to seed with the following command:
dd if=/dev/urandom of=/root/.rnd bs=512 count=1

And if you have an error: "crypto_setup: random seed file not found error:"
Add “crypto randfile /dev/urandom” entry to /etc/ntp.conf without the quotes.

For details:

HP Smart Array B140i SATA RAID controller OS boot problem

Recently I installed VMware ESXi on a HP DL160 Gen9 server and couldn’t boot afterwards. After a short investigation I found out that the default configuration of the controller prevents booting. The controller should be configured and enabled to support SATA AHCI mode. Actually it is necessary to configure it for all servers carrying HP Smart Array B110i, B120i, B140i and B320i RAID controllers.

To do that:

1) In BIOS/UEFI, go into “System Options”
2) Go to SATA Controller Options -> Embedded SATA Configuration
3) Select “Enable SATA AHCI Support”

For a similar case in RedHat:

high context switch rate of ksoftirqd

This week one of our services, written in Java and residing on a TomCat, Red Hat 6.3 server had an interesting problem. Suddenly server seemed to have CPU congestion. According to top output, Java processes were the reason of congestion. But it showed more %sy CPU utilization than %us. Java threads were actually using 10-15% and the rest was used by OS itself. nmon values for context switching was far more beyond the values of the service on second node. Process causing this was interestingly ksoftirqd. A little investigation in internet proved that this was because of the “leap second” issue.

As soon as issuing the commands below for workaround, CPU usage dropped drastically:

/etc/init.d/ntpd stop
date `date +”%m%d%H%M%C%y.%S”`
/etc/init.d/ntpd start

However what triggered the problem after over a month is still a mystery. For more information about the matter:

Leap Second Detector for RHEL
Resolving Leap Second Issues in RHEL
Leap Second and Java in RHEL

Leap Second Issues for SUSE

#include ‘rip.h’

Teknolojinin bu hale gelebilmesini sağlayanlardan biri olan Dennis MacAlistair Ritchie (nam-ı diğer dmr) 12 Ekim 2011’de hayata veda etti. Birçok programlama diline öncülük eden C’nin ve şu an kullandığımız işletim sistemlerinin atası olan UNIX’in mucidi muhtemelen dokunmatik ekranlı cep telefonu yapan biri kadar hatırlanmayacak.

Hayatımı kazanmamı sağlayan, insanlık tarihine yaptığın bu eşsiz katkıların için sonsuz teşekkürler…

“UNIX is very simple, it just needs a genius to understand its simplicity.”


My website uses cookies. Click for more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.