Skip to content
Home » Oracle » How to Resolve PRVG-2002 : Encountered error in copying file

How to Resolve PRVG-2002 : Encountered error in copying file

PRVG-2002

Saw error PRVG-2002 when verifying the cluster environment before installing grid infrastructure 19c on Linux 8.2.

[grid@primary01 ~]$ cd $ORACLE_HOME
[grid@primary01 grid]$ ./runcluvfy.sh stage -pre crsinst -n primary01,primary02 -verbose
...
Verifying resolv.conf Integrity ...FAILED
primary02: PRVG-2002 : Encountered error in copying file "/etc/resolv.conf"
           from node "primary02" to node "primary01"
           protocol error: filename does not match request

Verifying DNS/NIS name service ...FAILED
primary02: PRVG-2002 : Encountered error in copying file "/etc/nsswitch.conf"
           from node "primary02" to node "primary01"
           protocol error: filename does not match request

The error means that Cluster Verification Utility (CLUVFY), failed to copy files through scp between nodes back and forth.

That's because that a higher version of Open SSH was used to scp files between nodes.

[root@primary01 ~]# ssh -V
OpenSSH_8.0p1, OpenSSL 1.1.1c FIPS  28 May 2019

Solution

The workaround is to disable strict filename checking by adding an option -T to scp. Please refer to the post for more details: How to Resolve OpenSSH 8 Problems for Oracle 19c.

Leave a Reply

Your email address will not be published. Required fields are marked *