Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2368350.1
Update Date:2018-03-05
Keywords:

Solution Type  Problem Resolution Sure

Solution  2368350.1 :   ntpd: unrecognized service  


Related Items
  • Sun Datacenter InfiniBand Switch 36
  •  
  • Sun Network QDR InfiniBand Gateway Switch
  •  
Related Categories
  • PLA-Support>Sun Systems>SAND>Network>SN-SND: Sun Network Infiniband
  •  




In this Document
Symptoms
Changes
Cause
Solution
References


Created from <SR 3-16764757735>

Applies to:

Sun Network QDR InfiniBand Gateway Switch - Version All Versions to All Versions [Release All Releases]
Sun Datacenter InfiniBand Switch 36 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.
Check for NTP Service fails with ntpd: unrecognized service for Infiniband Switch FW Version 2.2.x

Symptoms

Check for NTP Service fails with ntpd: unrecognized service for Infiniband Switch FW Version 2.2.x
[WARNING ] Service ntpd is not enabled on infinibandsw-ibX
[WARNING ] Service ntpd is not running on infinibandsw-ibX

Changes

InfiniBand Switch with NTP Enabled has been upgraded from FW Version 2.1.x to 2.2.x
Engineered Systems has been patched from an existing patch where InfiniBand Switch with NTP Enabled has been upgraded from FW Version 2.1.x to 2.2.x

Cause

The ntp service is handled by ILOM both in older firmware and newer firmware .i.e From all the way since ILOM was introduced in firmware 1.1.2 up until the most recent firmware. 

The difference between firmware 2.1.x and older firmware 2.2.x is how the service is implemented. For firmware 2.1.x and older the underlying OS was CentOS and ILOM then used the OS service for ntp, which is not the way in general ILOM is handling such services.

In firmware 2.2.x, which is using Oracle Linux as underlying OS, ILOM is handling ntp on its own in the way ILOM on other product is handling that service, and hence seen from the OS you will see differences.

 

For the IB Switch with Firmware Version 2.1.x
----------------------------------------------

[root@ibswitch2_1_x ~]# ps -ef | grep ntp
root 14612 13540 0 20:31 pts/0 00:00:00 grep ntp
ntp 16834 1 0 20:31 ? 00:00:00 ntpd -u ntp:ntp

[root@ibswitch2_1_x ~]# version
SUN DCS 36p version: 2.1.8-1

[root@ibswitch2_1_x ~]# service ntpd status
ntpd (pid 16834) is running...

[root@ibswitch2_1_x ~]# ps -ef | grep ntp
root 14612 13540 0 19:49 pts/0 00:00:00 grep ntp
ntp 16834 1 0 19:24 ? 00:00:00 ntpd -u ntp:ntp -p
/var/run/ntpd.pid -g
[root@ibswitch2_1_ ~]# chkconfig --list
-snip-
nm2_init 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off <=====
opensmd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
-snip-

For the IB Switch with Firmware Version 2.2.x
----------------------------------------------

[root@ibswitch2_2_x]# version
SUN DCS gw version: 2.2.8-2

[root@ibswitch2_2_x]# service ntpd status
ntpd: unrecognized service

[root@ibswitch2_2_x]# ps -ef | grep ntp
root 2113 1 0 Feb27 ? 00:00:19 /usr/sbin/ntpd -g
root 28242 27546 0 21:01 pts/2 00:00:00 grep ntp

[root@ibswitch2_2_x]# chkconfig --list
-snip-
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nm2_dhcpv6 0:off 1:off 2:off 3:on 4:off 5:on 6:off
nm2_init 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nm2_ipv6 0:off 1:off 2:off 3:on 4:off 5:on 6:off
openibd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
-snip-

No Service is listed!

[root@ibswitch2_2_x]# chkconfig ntpd on
error reading information on service ntpd: No such file or directory

 

Solution

1. Verify if the ntp daemon is up and running (logged in as root):

# ps -ef | grep "/usr/sbin/ntpd" | grep -v "grep" | wc -l

Command should return "1" if ntp service is up and running in firmware 2.2.x


2. To start/stop/restart ntp services on the 2.2.x Infiniband Switch:

/etc/init.d/ntp-server stop
/etc/init.d/ntp-server start
/etc/init.d/ntp-server restart

Allowed Command Usage/Syntax: Usage: /etc/init.d/ntp-server {start|stop|reload|restart|force-reload}

CAUTION: 

For the ntp config, both in firmware 2.1.x and firmware 2.2.x /etc/ntp.conf is a file that should not manually be touched. This file is a soft link to /config/conf/ntp.conf, which is a file on our config partition which is stored during upgrade.

If this file has been manually edited causing the soft link to be destroyed that could have impacted an upgrade, but if using the officially supported interfaces for ntp configuration, i.e. the firmware image are correct with the soft link in place, then ntp config will be preserved for upgrade to firmware 2.2.x

 

References

<BUG:25715109> - BIGBH IBSWITCH UPGRADE TO 12.2.1.1.0 MISSED NTP SERVICE
<BUG:27550113> - PQA:OVS344:CHKCONFIG NTPD ON NM2-GW SWITCHES SHOWS ERROR
<BUG:27013224> - CHECK FOR NTP SERVICE ALWAYS FAILS FOR IB 2.2.X SWITCHES

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback