ASMCMD Copy Command Returns Perl Script Error (Doc ID 1346117.1)

Last updated on AUGUST 10, 2011

Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.2 to 11.2.0.2 - Release: 11.2 to 11.2
Information in this document applies to any platform.

Symptoms

ASMCMD returns a strange message: 

Argument isn't numeric in numeric ge (>=) at
/u01/app/11.2.0/grid/lib/asmcmdshare.pm line 1676, <STDIN> line X.

when the password is incorrect or any other error is returned from the database or listener.

The following are examples:

ASMCMD cp sys/wrongpassword@exadb01.+ASM1:+data/afile /tmp/xx
Argument isn't numeric in numeric ge (>=) at
/u01/app/11.2.0/grid/lib/asmcmdshare.pm line 1676, <STDIN> line 2.
errors
ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin)


ASMCMD cp sys/welcome@12.34.56.78.+ASM1:+DATA/exadb01/d100m.dbf /tmp/f
Argument isn't numeric in numeric ge (>=) at
/u01/app/11.2.0/grid/lib/asmcmdshare.pm line 1676, <STDIN> line 9.
errors
ORA-12543: TNS:destination host unreachable (DBD ERROR: OCIServerAttach)


The ORA message is sufficient and correct.


Changes

Upgraded to 11.2.0.2 patchset. This does not occur in previous versions.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms