Asmcmd: Command disallowed by current instance TYPE SOLUTION

Source: Internet
Author: User

 

 

When you run the asmcmd command, the following error occurs:

 

[Oracle @ racdb2 ~] $ Asmcmd

Asmcmd: Command disallowed by current instance type

 

The error message is obvious:

The instance type is incorrect.

 

RAC has two instances: Oracle instance and ASM instance.

 

The pfile parameter sets the Oracle instance, which is the default value. Therefore, Oracle instances are used if oracle_sid is not specified. However, the asmcmd command is for the ASM instance. Therefore, before running the asmcmd command, specify oracle_sid.

 

[Oracle @ racdb2 ~] $ Export oracle_sid = + asm2

[Oracle @ racdb2 ~] $ Asmcmd

Asmcmd> ls

Data/

FRA/

 

OK.

 

 

 

 

------------------------------------------------------------------------------

Blog: http://blog.csdn.net/tianlesoftware

Online Resources: http://tianlesoftware.download.csdn.net

Video: http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx

Dba1 group: 62697716 (full); dba2 group: 62697977 (full)

Dba3 group: 62697850 super DBA group: 63306533;

Chat group: 40132017

-- Add the group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, the application is rejected.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.