History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QA-60
Type: Oracle - Operating System Oracle - Operating System
Status: Closed Closed
Resolution: Answered
Priority: Major Major
Assignee: ubTools Support
Reporter: ubTools Support
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Questions & Answers

"PRVF-5507 : NTP daemon or service is not running on any node ..." even if NTP is running.

Created: 05/Mar/16 03:12 PM   Updated: 05/Mar/16 03:27 PM
Fix Version/s: None

Product Version: 11.2.0.4 RAC
Operating System: Linux
Operating System Version: Oracle Linux 7.2
Host Name: .
Database Name: .


 Description  « Hide
CVU gives the following error:
$./runcluvfy.sh stage -pre crsinst -n sygnx01,sygnx02 -verbose
.....
No NTP Daemons or Services were found to be running
PRVF-5507 : NTP daemon or service is not running on any node but NTP configuration file exists on the following node(s):
sygnx02,sygnx01
Result: Clock synchronization check using Network Time Protocol(NTP) failed


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
ubTools Support - 05/Mar/16 03:12 PM
NTP status:
[root@sygnx01 ~]# systemctl status ntpd
 ntpd.service - Network Time Service
   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2016-03-05 14:32:46 EET; 1h 29min ago
  Process: 1074 ExecStart=/usr/sbin/ntpd -u ntp:ntp $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 1081 (ntpd)
   CGroup: /system.slice/ntpd.service
           1081 /usr/sbin/ntpd -u ntp:ntp -x -g

NTP is running.


ubTools Support - 05/Mar/16 03:17 PM
CVU Trace:

Generating Trace:

$ export CV_TRACELOC=/tmp
$ export SRVM_TRACE=true
$ ./runcluvfy.sh stage -pre crsinst -n sygnx01,sygnx02 -verbose
.....

Excerpt from the trace:

[20421@***.***.com] [Worker 0] [ 2016-03-05 16:20:46.657 EET ] [RuntimeExec.runCommand:77]  /tmp/CVU_11.2.0.4.0_grid/exectask.sh -chkfile /var/run/ntpd.pid
[20421@***.***.com] [Worker 0] [ 2016-03-05 16:20:46.659 EET ] [RuntimeExec.runCommand:142]  runCommand: Waiting for the process
[20421@***.***.com] [Thread-216] [ 2016-03-05 16:20:46.659 EET ] [StreamReader.run:61]  In StreamReader.run
[20421@***.***.com] [Thread-217] [ 2016-03-05 16:20:46.659 EET ] [StreamReader.run:61]  In StreamReader.run
[20421@***.***.com] [Thread-216] [ 2016-03-05 16:20:46.668 EET ] [StreamReader.run:65]  OUTPUT><CV_VRES>1</CV_VRES><CV_LOG>Exectask: file check failed</CV_LOG><CV_ERES>0</CV_ERES>
.....
[20421@sygnx01.sankomenkul.com] [main] [ 2016-03-05 16:20:46.669 EET ] [TaskDaemonLiveliness.displayDaemonLivelinessOutput:283]  Daemon 'ntpd' is not running on node: 'sygnx01'

"/var/run/ntpd.pid" doesn't exist.


ubTools Support - 05/Mar/16 03:22 PM
Solution

There was no "/var/run/ntpd.pid" file defined in "/etc/sysconfig/ntpd". The problem has been solved after setting as below:

#OPTIONS="-g"
OPTIONS="-x -g -p /var/run/ntpd.pid"

Additional note:

NTP has been replaced by Chrony(new feature) in Oracle Linux 7.

Ref: Oracle Note: Unable to Configure NTP after Oracle Linux 7 Installation (Doc ID 1995703.1)