Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

srvctl stop asm command failed

MUSICOVERYFeb 4 2015 — edited Feb 4 2015

Hi all

I have just installed oracle 11g r2 standalone server with ASM in my oracle linux 6 in virtual box.

srvctl start database -d command works fine.

but srvctl stop asm command did not work.

I have two user, one for oracle software owner is "oracle" and the other for grid infrastructure owner is "grid"

I put srvctl stop asm command on both users. and did not work.

when I use sqlplus by accessing with "sqlplus / as sysasm" and try to stop it, it works fine.

but not srvctl

bandicam 2015-02-05 10-52-10-817.png

here is additional information - asmlib configuration command history :

/etc/init.d/oracleasm configure

This will configure the on-boot properties of the Oracle ASM library

driver. The following questions will determine whether the driver is

loaded on boot and what permissions it will have. The current values

will be shown in brackets ('[]'). Hitting <ENTER> without typing an

answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: oracle

Default group to own the driver interface []: oinstall

Start Oracle ASM library driver on boot (y/n) [n]: y

Scan for Oracle ASM disks on boot (y/n) [y]: y

Writing Oracle ASM library driver configuration: done

Initializing the Oracle ASMLib driver: [ OK ]

Scanning the system for Oracle ASMLib disks: [ OK ]

[root@localhost ~]# /etc/init.d/oracleasm enable

Writing Oracle ASM library driver configuration: done

Initializing the Oracle ASMLib driver: [ OK ]

Scanning the system for Oracle ASMLib disks: [ OK ]

[root@localhost ~]# /etc/init.d/oracleasm start

Initializing the Oracle ASMLib driver: [ OK ]

Scanning the system for Oracle ASMLib disks: [ OK ]

[root@localhost ~]# /etc/init.d/oracleasm createdisk asm1 /dev/asm/asm1

Marking disk "asm1" as an ASM disk: [ OK ]

[root@localhost ~]# /etc/init.d/oracleasm createdisk asm2 /dev/asm/asm2

Marking disk "asm2" as an ASM disk: [ OK ]

[root@localhost ~]# /etc/init.d/oracleasm createdisk fra1 /dev/asm/fra1

Marking disk "fra1" as an ASM disk: [ OK ]

[root@localhost ~]# oracleasm listdisks

ASM1

ASM2

FRA1

p.s

since this is a standalone server, i can not input srvctl command with '-n' option.

"crsctl stop crs" does not work in single instance configuration.

This post has been answered by rchem on Feb 4 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2015
Added on Feb 4 2015
1 comment
1,255 views