srvctl stop asm command failed
Hi all
I just installed oracle 11g r2 stand-alone server with DSO in my linux oracle 6 in virtual box.
command d srvctl start database works very well.
but srvctl stop asm command did not work.
I have two user, owner of software oracle 'oracle' and the other for the owner of grid infrastructure is "grid".
I put srvctl stop asm command on both users. and did not work.
When I use sqlplus by going to "sqlplus / as sysasm" and try to stop it, it works fine.
but not srvctl
Here is additional information - historic asmlib configuration commands:
Configure /etc/init.d/oracleasm
This sets up the properties on the startup of the Oracle ASM library
pilot. The following questions will determine whether the driver is
load on startup and it will have permissions. The current values
appears between square brackets ("[]"). Hitting < ENTER > without having to type a
response will keep this current value. CTRL-C will stop.
[] Of the UI by default to have the driver: oracle
Group to own the driver interface [] default: oinstall
Start Oracle ASM Library driver at startup (y/n) [n]: y
Scan of Oracle ASM disks at startup (y/n) [y]: y
Driver configuration Oracle ASM library of writing: fact
The Oracle ASMLib driver initialization: [OK]
Analysis of the system for Oracle ASMLib discs: [OK]
[root@localhost ~] # /etc/init.d/oracleasm activate
Driver configuration Oracle ASM library of writing: fact
The Oracle ASMLib driver initialization: [OK]
Analysis of the system for Oracle ASMLib discs: [OK]
[root@localhost ~] # /etc/init.d/oracleasm start
The Oracle ASMLib driver initialization: [OK]
Analysis of the system for Oracle ASMLib discs: [OK]
[root@localhost ~] # /etc/init.d/oracleasm createdisk asm1/dev/asm/asm1
Disc marking 'asm1' as an ASM drive: [OK]
[root@localhost ~] # /etc/init.d/oracleasm createdisk asm2/dev/asm/asm2
Disc marking "asm2" as a drive of ASM: [OK]
[root@localhost ~] # /etc/init.d/oracleasm createdisk fra1/dev/asm/fra1
Disc marking "fra1' as an ASM drive: [OK]
[root@localhost ~] # oracleasm listdisks
ASM1
ASM2
FRA1
p.s
Since it is a stand-alone server, I can not input srvctl command with "-n" option.
'crsctl stop crs' does not work in the single instance configuration.
DiskGroup must be dismantled before moving the resource such asm separate resources. You must use srvctl stop asm f option to remove starts as well.
Using sqlplus when you issue a shutdown, it dismantle the DSO, then starts to bringdown the ASM instance.
You can check the resource dependence to start or stop using crsctl stat res Pei
for asm resources dependency crsctl stat res ora.asm Pei
Tags: Database
Similar Questions
-
We strive to bounce database 11g R2 and ASM with RAC, I could stop using using srvctl with any problem.
[oracle@dev1 ~] $ srvctl status database dev d
Dev1 instance is running on the node dev1
Dev2 instance is running on the node dev2
[oracle@dev1 ~] $ srvctl stop database dev d
However when I try to stop the ASM I couldn't able to stop using srvctl
[grid@dev1 ~] $ srvctl stop asm dev1 - n-i + ASM1
-i option has been deprecated and will be ignored.
RPRC-1014: could not stop the ora.asm resource
RPRC-1065: could not stop the ora.asm resource
CRS-2529: unable to act on the "ora.asm", because this would require stopping or place for ' ora. DEVDATA.dg', but the force option has not been specified.
any comment.
Thank youAlso provide the output of the following:
srvctl status asm
In your 1st post you typed:
[oracle@dev1 ~]$ srvctl status database -d dev Instance dev1 is running on node dev1 Instance dev2 is running on node dev2 [oracle@dev1 ~]$ srvctl stop database -d dev however when i am trying to stop ASM i could not able to stop using srvctl [grid@dev1 ~]$ srvctl stop asm -n dev1 -i +ASM1 -i option has been deprecated and will be ignored. PRCR-1014 : Failed to stop resource ora.asm PRCR-1065 : Failed to stop resource ora.asm CRS-2529: Unable to act on 'ora.asm' because that would require stopping or relocating 'ora.DEVDATA.dg', but the force option was not specified
Note This command "srvctl stop asm - n * dev1 *-i + ASM1.
you used dev1 after the "n" option but looks dev1 is the instance name and not your name of node.
can you please try:
srvctl stop asm -n
Thank you
Published by: user11150436 on October 25, 2010 12:09
Sorry I see dev1 is your nodename as well
-
Oracle 11.2.0.2 IM
Oracle db 11.2.0.1.1
-three databases, 2 on ASM and isn't a.
Oracle Linux 5.6
Standalone ASM - no mass
Built this system as a sandbox under VirtualBox to start working on the upgrade of my direct database 11.2.0.2. Before we continue, I need to move my ORACLE_BASE (actually I'll take all/U01) to a larger newly created file system. I'm looking at the DB Admin Guide, Chapter 4, "stopping and restarting Oracle restart for Maintenance operations.
First of all, I put ORACLE_HOME for the databases and ran ' srvctl stop home o $ORACLE_HOME if $ORACLE_HOME/crs_state '. Ran as not expected, no errors and data bases have been arrested.
Then I set ORACLE_HOME for ASM and run the same command "srvctl stop home o $ORACLE_HOME if $ORACLE_HOME/crs_state ', but with problems:
Hmm. vbdwdev of the database is not a database cluster. No, it isn't. What is the problem here? And he's trying to do with the base anyway? That was supposed to be treated when executing 'srvctl stop' of the database, which has already been done.oracle:+ASM$ cd $ORACLE_HOME oracle:+ASM$ srvctl stop home -o $ORACLE_HOME -s $ORACLE_HOME/crs_state PRCH-1002 : Failed to stop resources running from CRS home /u01/app/oracle/11.2.0/grid PRCH-1030 : One or more resources failed to stop: PRCH-1026 : Failed to stop ASM PRCD-1027 : Failed to retrieve database vbdwdev PRCD-1035 : Database vbdwdev is not a cluster database oracle:+ASM$ srvctl start home -o $ORACLE_HOME -s $ORACLE_HOME/crs_state oracle:+ASM$
Google and MetaLink research on the error messages keep coming back to group the related issues, often in updates, and this is not.
Ideas?For what it's worth, I checked the procedure on an installation of VirtualBox using Oracle 11.2.0.2. He has to work, please see below:
$ . oraenv ORACLE_SID = [oracle] ? orclasm The Oracle base has been set to /u01/app/oracle $ srvctl stop home -o $ORACLE_HOME -s /home/oracle/state1 $ cat /home/oracle/state1 db-orclasm $ . oraenv ORACLE_SID = [orclasm] ? +ASM The Oracle base remains unchanged with value /u01/app/oracle $ srvctl stop home -o $ORACLE_HOME -s /home/oracle/state2 $ cat /home/oracle/state2 diskgroup-ora.DATA.dg asm-ora.asm lsnr-LISTENER
The following document may be useful, showing what seems to be exactly your problem:
http://oracletoday.blogspot.com/2010/12/applying-grid-infrastructure-patch-set.html -
root.sh defect on the second node with ' ora.asm - init ' failed
The completing the two roots of scripts on the first end, but on the second node node, I get:
[root@alvis oracle] # /home/oracle/app/11.2.0/grid/root.sh
Run the script root.sh from Oracle 11 g...
The following environment variables are defined as:
ORACLE_OWNER = oracle
ORACLE_HOME = /home/oracle/app/11.2.0/grid
Enter the full path of the local bin directory: [usr/local/bin]:
The 'dbhome' file already exists in the usr. Overwrite it? (y/n)
[n]: y
Copying dbhome to usr...
The 'oraenv' file already exists in the usr. Overwrite it? (y/n)
[n]: y
Copying oraenv to usr...
The 'coraenv' file already exists in the usr. Overwrite it? (y/n)
[n]: y
Copying coraenv to usr...
Entries will be added to the/etc/oratab file according to the needs of
Assistant configuration database when a database is created
Finished to turn the generic part of the root.sh script.
Now root product-specific actions will be performed.
2012-05-11 11:19:58: the analysis of the host name
2012-05-11 11:19:58: verification of superuser privileges
2012-05-11 11:19:58: user has superuser privileges
The file of configuration settings using: /home/oracle/app/11.2.0/grid/crs/install/crsconfig_params
ADD LOCAL MODE
Creating OCR keys for the user "root", "root"... privgrp
Successful operation.
Adding to inittab demon
CRS-4123: Oracle high availability Services started.
starts ohasd
ADVM/ACFS is not supported on oraclelinux-release-6Server - 2.0.2.i686
CRS-4402: the CSS daemon has been started in mode exclusive, but found an active CSS daemon on the node betoracle, number 1 and ends
An active cluster was found at the exclusive start, start to join the cluster
CRS-2672: attempt to start 'ora.mdnsd' on 'alvis '.
CRS-2676: beginning of 'ora.mdnsd', the 'alvis' successful
CRS-2672: attempt to start 'ora.gipcd' on 'alvis '.
CRS-2676: beginning of 'ora.gipcd', the 'alvis' successful
CRS-2672: attempt to start 'ora.gpnpd' on 'alvis '.
CRS-2676: beginning of 'ora.gpnpd', the 'alvis' successful
CRS-2672: attempt to start 'ora.cssdmonitor' on 'alvis '.
CRS-2676: beginning of 'ora.cssdmonitor', the 'alvis' successful
CRS-2672: attempt to start 'ora.cssd' on 'alvis '.
CRS-2672: attempt to start 'ora.diskmon' on 'alvis '.
CRS-2676: beginning of 'ora.diskmon', the 'alvis' successful
CRS-2676: beginning of 'ora.cssd', the 'alvis' successful
CRS-2672: attempt to start 'ora.ctssd' on 'alvis '.
CRS-2676: beginning of 'ora.ctssd', the 'alvis' successful
CRS-2672: attempt to start 'ora.asm' on 'alvis '.
CRS-5011: control of resources '+ ASM' failed: details at "(:CLSN00006:))" "in ' / home/oracle/app/11.2.0/grid/log/alvis/agent/ohasd/oraagent_oracle/oraagent_oracle.log '.
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux error: 2: no such file or directory
Process ID: 0
Session IDs: serial number 0: 0
ORA-48108: invalid value for the parameter in init.ora diagnostic_dest
CRS-5011: control of resources '+ ASM' failed: details at "(:CLSN00006:))" "in ' / home/oracle/app/11.2.0/grid/log/alvis/agent/ohasd/oraagent_oracle/oraagent_oracle.log '.
CRS-2674: beginning of 'ora.asm', the 'alvis' failed
CRS-2679: attempt to clean "ora.asm" on the "alvis".
CRS-5011: control of resources '+ ASM' failed: details at "(:CLSN00006:))" "in ' / home/oracle/app/11.2.0/grid/log/alvis/agent/ohasd/oraagent_oracle/oraagent_oracle.log '.
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux error: 2: no such file or directory
Process ID: 0
Session IDs: serial number 0: 0
CRS-5011: control of resources '+ ASM' failed: details at "(:CLSN00006:))" "in ' / home/oracle/app/11.2.0/grid/log/alvis/agent/ohasd/oraagent_oracle/oraagent_oracle.log '.
CRS-2681: clean 'ora.asm' on 'alvis' successful
CRS-4000: Start command has failed, or completed with errors.
Return code of 1 (256) control command: /home/oracle/app/11.2.0/grid/bin/crsctl start resource ora.asm - init
Beginning of the resource ' ora.asm - init ' failed
Could not start ASM
The Oracle Clusterware boot failure battery
To get to this point, I'm already have to do:
ls - la /tmp/.oracle/ /var/tmp/.oracle/ /usr/tmp/.oracle/ in another terminal, and as soon as I see the files increase I do
/ bin/dd if=/var/tmp/.oracle/npohasd of = / dev/null bs = 1024 count = 1 due to the publication (inappropriate ioctl) in the https://forums.oracle.com/forums/thread.jspa?messageID=9579932
Any ideas?OK, default ORACLE_BASE is/home/oracle/app/oracle
the directory does not exist a single node2 and cannot be created as/home/oracle/app is owned by root: oinstall, only root has write permissions there and in some way, it has not been created
ASM runs as user oracle, so it can not create the/home/oracle/app/oracle/diag/asm directory for newspapers/traces of ASMthe 2nd node:
try to create the directory/home/oracle/app/oracle manually with appropriate permissions (oracle: oinstall, 755, even as on node1)
Then run /home/oracle/app/11.2.0/grid/crs/install/rootcrs.pl - deconfig-force (to unconfigure the clusterware failed battery config)
Run root.sh again -
Hi all
I have an interesting question here:
I created a 10.2.0.4 2 database RAC node on Win2003 R2 SP2 from a backup of our system of Production and creating went well.
If I have a srvctl stop database d SYNPROD_NY the database is fine ENA that everything is in place.
ORA. SYNPROD_NY. SYNPROD1.inst 0/5 offline offline
ORA. SYNPROD_NY. SYNPROD2.inst 0/5 offline offline
ORA. SYNPROD_NY.DB 0/0 in offline mode offline
ORA.scnypodbp001.ASM1.asm 0/5 online on scnypodbp001
ORA.scnypodbp001.LISTENER_SCNYPODBP001. LSNR 0/5 online on scnypodbp001
ORA.scnypodbp001.GSD 0/5 online on scnypodbp001
ORA.scnypodbp001.ons 0/3 online on scnypodbp001
ORA.scnypodbp001.VIP 0/0 online on scnypodbp001
ORA.scnypodbp002.ASM2.asm 0/5 online on scnypodbp002
ORA.scnypodbp002.LISTENER_SCNYPODBP002. LSNR 0/5 online on scnypodbp002
ORA.scnypodbp002.GSD 0/5 online on scnypodbp002
ORA.scnypodbp002.ons 0/3 online on scnypodbp002
ORA.scnypodbp002.VIP 0/0 online on scnypodbp002
The problem is that if I have the srvctl start database-d SYNPROD_NY I get the:
PRKP-1001: error starting SYNPROD1 instance on the node scnypodbp001
CRS-0215: could not start resources ' ora. SYNPROD_NY. SYNPROD1.inst'.
PRKP-1001: error starting SYNPROD2 instance on the node scnypodbp002
CRS-0215: could not start resources ' ora. SYNPROD_NY. SYNPROD2.inst'.
I start each instance on each node using SQLPLUS then a crs_stat will show that everything is in place.
If anyone has seen this before?
Thank you very much
VICCCheck the LOG:
Go %ORACLE_HOME%\log\
\racg\ PATH Check the files of imon.
Maybe something false about on Cluster environment
http://surachart.blogspot.com/2008/07/srvctl-cannot-start-instance-i-get.html
-
error message retr command failed
For some reason, I am unable to ask a question or make a comment on the Thunderbird help section. I logged in and went through all the subcategories, but it brings no option to post.
As of this post, I don't have this problem post on the firefox support forum.
This is the solution I found the problem of "retr command failed:
I noticed that I could get a few emails each time thunderbird would connect, before he got the error message. So, I put the option to check for new messages at 1 minute and left the computer at night. In the morning, he had obtained all e-mails from the server yahoo.verizon.
See also additional information and alternatives in the my post under # 739827 answer ~ J99
-
How to stop a command - to stop running (such as ping)
Lets say I spoil and type 10000 instead of 1000 in an extended ping. Let's say I have realize only after the start of the ping command.
How can I stop?
Michael
Generally, the combination of SHIFT 6 ctl stops these commands.
HTH
Rick
-
Identification of customer's Windows 7 NFS UID GID information
I am trying to connect to the Windows 7 Client NFS on a server running on a computer (VxWorks) NFS. I am able to properly connect Client NFS software by a 3rd party on the NFS server. However, when I use the Client for NFS provided by Windows 7, I am unable to connect. The \\ip address\share Z: mount"command fails with the error code"the path not found network ". I can't do a ping of the computer running the NFS server.
The NFS Client operating system: Windows 7 Ultimate, 64-bit
Data captured by Wireshark
MOUNT V1 EXPORT call 3rd party client
Identification information Flavor: AUTH_UNIX (1)
Length: 32
Stamp: 0xc7065970Machine name: PC
UID: 1000
GID: 1000MOUNT V1 EXPORT appeal of the NFS client
Identification information Flavor: AUTH_NULL (0)
Length: 0It seems that the credentials of NFS Client are not correct. How can I change the flavor of AUTH_UNIX and the UID and GID to 1000?
Hello VDAEMP,
As Eddie and Sudarshan has said, the Microsoft Answers community focuses on issues and problems related to the consumer environment. Please join the public IT pro TechNet forums below:
TechNet - Windows Server
Thank you -
"Command failed" error in Oracle Discoverer 10g
Hi all
I get "Command Failed" when you export XML workbook in discoverer administrator.
This is the steps I followed.
Step 1: Connect to Discoverer Administrator and connect database EUL.
Step 2: Choose file-> export
Step 3: Choose the objects selected in the layer of the end user option button
Step 4: Select object drop down and selected Workbooks the workbook
Setp5: Click on the Browse button to chose the XML path on your computer and look for the button "generate XML for the exported files.
Please let me know how to solve this problem.
The "Command failed" error comes only for workbooks cutom, not for oracle seeded ones.
Kind regards
PrasadPlease see (Business area Export in Discoverer 10g Administrator does not work, error "Command failed" [1083374.1 ID]).
Thank you
Hussein -
Tried to reboot a host and he initiated from the VI client. I remember the last time he hung at the stage of closing - I think it was something like 'stop vmware autostart' therefore it is without doubt that. My questions are:
Is there a way to read the screen remotely to check?
Is it possible to restart remotely using 'killall' or something (already tried "shutdown - r now" – does not work because it is suspended)?
You should be able to connect a serial console, if you want to be able to view the screen remotely in case of failure like this, but the rest would you require to have a sort of management lights out for the type of server you use. Sun a LOM, HP's ILO, Dell DRAC, to name a few. Otherwise, you can also get some type of a managed UPS device, which can help you power cycle remote as well.
-KjB
-
PC does not stop on command but will restart (XP SP3)
Have acquired a D510(e-pc) that will not stop, but will restart instead. To install a new XP Pro and it will stop in SP2 but when I add SP3 it restarts on the command "shutdown". I followed the usual channels in 'Power Options'-'won't restart after power fail"and"Powerdown after shutdown"to 0 in the registry but nothing seems to cure the problem. I have the correct drivers installed and only AVG in addition to the O/S.I. have a usdt D510 giving none these problems. - HELP.
Thanks to anyone who has seen this post and to confirm that I solved it myself by adding the programs one by one until the problem occurs. The culprit was surprisingly, Intel Application Accelerator which caused no problems on other models of the range D510, but prevents the closure of the D510(e-pc) .
-
10.11.5 only stops the command line
I have an iMac late 2013 and since the public beta 1, up to the final version of the published 10.11.5 today, my computer just stops or restarts from the command line. There is no problem on 10.11.4.
Please, what can I do?
Quit all applications and then disconnect all external devices except the mouse and keyboard and try a stop
-
fastboot failed (write command failed)
Yesterday, I received my motorcycle X Pure 2015 and have everything set up. The phone itself works very well. Now I want to unlock the bootloader so that I can root the phone to use the Ti backup, etc. I followed the instructions on the page of Motorola to the https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b to the letter. However, when I run 'fastboot oem get_unlock_data' initial fastboot command, fastboot returns the following error:
Broken: (Writing the order failed (unknown error))
Finish. total duration: 5.031 s
I have USB debugging and OEM, unlock enabled both in developer options. The Pure starts in mode fastboot without any problem and 'fastboot devices' lists of my phone, so I make a connection. I am very experienced with Android and rooting different phones, as well as simultaneous use adb and fastboot, but I'm stuck on this one. Web searches have not turned much, probably because the phone is so new.
Any ideas?
Please do not take into account. I discovered that the problem was with my USB Setup. Everything is good now and I've unlocked the bootloader. Thank you to bike for the process simple and very nice phone! The unlockable bootloader, independence of the carrier and the microSD slot are the main reasons I went with the Pure.
-
WMIC command fails for the domain user
Hi all
I use windows 7 and testing commands wmic as below
WMIC/node: "Computer1" / User: "domain\username" / Password: "password" PROCESS CALL Create "calc.exe"
Most of the time control fails with RPC server unavailable to users in the domain (default of 75%). Working sometimes and mostly failing to time.
Error code
0x800706BA-online the RPC server is unavailable.
If I use the local user, she is successful, command below still works (100% success)
WMIC/node: "Computer1" / User: 'Nom_ordinateur\Nom_utilisateur' / Password: 'password' PROCESS CALL Create "calc.exe"
I have two computers running windows 7, the firewall is disabled
Executing command from computer2 as below
WMIC/node: "Computer1" / User: "domain\username" / Password: "password" PROCESS CALL Create "calc.exe"
1 computer settings
- Adds the domain under group administrator user
- Configure dcom through DCOMCNFG.exe and got all rights to domain user
(DCOM remote launch and activation permissions for a user, the remote DCOM access permissions)
- Rights granted to wmi namespace (root, cimv2) of domain user using wmimgmt.msc (all rights to the namespace namespace and sub)
- Firewall settins according to the - http://msdn.microsoft.com/en-us/library/aa822854%28v=vs.85%29.aspx
Note: The firewall is disabled
- UAC disabled
- Check rpcss and associated to the computer and all services are running
What could be the reason of failure for the domain user (work awhile and is Server Unavailable RPC over time). Tried to restart that wmic user system and field control did not exist, after awhile like 30-45 minutes user field the wmic commands work and default again. How to solve this problem (such as checking the logs)?
Thank you
Mani
Hello
I suggest you according to the question in this forum and check if that helps:
http://social.technet.Microsoft.com/forums/en/winserverDS
It will be useful.
-
How to stop the command Taskkill.exe that appears at startup
How can I stop "Taskkill.exe" notice appearing at startup?
Hi caerurfaernest,
- Did you the latest changes on the computer?
- What is the exact error message that you receive at startup?
- You have security software installed on the computer?
Method 1
It is possible that some third-party programs installed on the computer is causing the problem.
I suggest that you put the computer in a clean boot state and check if it helps.
To help resolve the error and other messages, you can start Windows XP by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.
See section to learn more about how to clean boot.
How to configure Windows XP to start in a "clean boot" State
http://support.Microsoft.com/kb/310353
Reset the computer to start as usual
When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
(a) click Start, type msconfig in the search box and press ENTER.
(b) If you are prompted for an administrator password or for confirmation, type your password or click on continue.
(c) under the general tab, click the Normal startup option, and then click OK.
(d) when you are prompted to restart the computer, click on restart.
Method 2
If the previous step fails then I suggest that scan you SFC on the computer that would be a system file corrupt on the computer search and replace.
The analysis may take some time, so be patient. Windows allows to fix corrupt or missing files it finds. If the information of the installation CD is required to fix the problem, you may be asked to insert your Windows XP installation CD.
Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)
Maybe you are looking for
-
Deleted email can ' t be moved
After deleting an email on my IPod Touch, I get a message that email "can not be moved." Record of said e-mail I got the mail but nothing is visible. I use Hotmail. Any suggestions?
-
When you use the drop-down list 'Action' on FlickR tab to view a larger size of a photo, I now just get two points in the queue instead of the list of actions. This didn't happen until I installed than the 3.6 last updated this morning.I am running W
-
Satellite P850-12Z: No. Wake up on LAN and no BT after replacing the motherboard
Hello I got a Satellite P850-12Z Code: PSPKBERecently, the support of Toshiba replaced my motherboard I thought that WAKE ON LAN is disability, and my Bluetooth does not work.I go to Toshiba Bluetooth programs and not work Can anyone help me?.Thank y
-
Retrieve tdx without tdm file data
Hello I have a tdx 3.7 GB containing important data file, but the file TOC is empty. All my other files are fine and I barely noticed it (although it is probably the second most important). I hope that it is of the tdx data recovery? I wondererd if I
-
What is happening with the DNS requests that cannot not find a matched host (A) RR in the zone are sent to WINS servers, but there is no WINS server installation?