This post is also available in:
When running srvctl config asm to check ASM configuration, the following error appears:
$ srvctl config asm
ASM home: <CRS home>
PRCA-1057 : Failed to retrieve the password file location used by ASM asm
PRCR-1097 : Resource attribute not found: PWFILEASM is running, disk groups are mounted, but the CRS lost the reference to the ASM password file and spfile. This can impact future operations like patching, Grid reconfiguration, or node addition.
In this article, I’ll explain why this error occurs, how to locate the files in ASM, and how to fix it — from the safest approach to the most aggressive.
💡 In practice: I encountered this error after a Grid Home migration. The ASM resource in CRS was recreated but the PWFILE and SPFILE attributes weren’t populated. The simplest fix is an
srvctl modify asmpointing to the correct paths.
Why the PRCA-1057 Error Occurs
The Clusterware (CRS) manages ASM as a resource (ora.asm). This resource has attributes that indicate where the ASM password file and spfile are located:
| Attribute | What it stores |
|---|---|
PWFILE | Path to the ASM password file in the disk group |
SPFILE | Path to the ASM spfile in the disk group |
When these attributes are empty or corrupted, CRS can’t retrieve the location and reports PRCA-1057 / PRCR-1097.
Common scenarios
- Grid Home migration (out-of-place patching) where the ASM resource was recreated without the attributes
- Oracle Restart reconfiguration (
roothas.sh -deconfig/-config) - OCR/OLR restore that lost the attributes
- Grid Infrastructure upgrade where resource metadata wasn’t preserved
- Accidental removal of the ASM resource with
srvctl remove asm
Diagnosis
1. Check the current ASM resource state
srvctl config asmIf the output shows PRCA-1057 and the Password file and Spfile fields are empty, the problem is confirmed.
2. Verify ASM is running
srvctl status asmASM may be working perfectly — the issue is only the CRS registration.
3. Locate the password file in ASM
asmcmd -p
ASMCMD [+] > ls -l
ASMCMD [+] > cd +DATA
ASMCMD [+DATA] > ls -l
ASMCMD [+DATA] > cd ASM/PASSWORD/
ASMCMD [+DATA/ASM/PASSWORD] > ls -lExpected output:
Type Redund Striped Time Sys Name
PASSWORD UNPROT COARSE FEB 18 2022 Y pwdasm.256.1096994109Full path: +DATA/ASM/PASSWORD/pwdasm.256.1096994109
4. Locate the spfile in ASM
ASMCMD [+DATA] > cd ASM/ASMPARAMETERFILE/
ASMCMD [+DATA/ASM/ASMPARAMETERFILE] > ls -lExpected output:
Type Redund Striped Time Sys Name
ASMPARAMETERFILE UNPROT COARSE FEB 18 2022 Y REGISTRY.253.1096994109Full path: +DATA/ASM/ASMPARAMETERFILE/REGISTRY.253.1096994109
5. Quick alternative via SQL
sqlplus / as sysasm
-- Password file
SELECT name FROM v$passwordfile_info;
-- Spfile
SHOW PARAMETER spfile;Solution 1: srvctl modify asm (Recommended)
The safest approach — only updates the attributes without restarting anything.
srvctl modify asm \
-spfile +DATA/ASM/ASMPARAMETERFILE/REGISTRY.253.1096994109 \
-pwfile +DATA/ASM/PASSWORD/pwdasm.256.1096994109Validate
srvctl config asmExpected result:
ASM home: /u01/app/19.25.0.0/grid
Password file: +DATA/ASM/PASSWORD/pwdasm.256.1096994109
Spfile: +DATA/ASM/ASMPARAMETERFILE/REGISTRY.253.1096994109
ASM listener: LISTENERFields populated, error resolved.
Solution 2: Remove and recreate ASM resource (When modify doesn’t work)
If srvctl modify asm fails, the alternative is to remove and recreate the resource.
⚠ Warning: Aggressive procedure. Requires stopping all CRS resources. Plan before executing in production.
crsctl stop resource -all
crsctl stat res -t
srvctl remove asm -force
srvctl add asm -listener LISTENER
crsctl start resource -all
srvctl modify asm \
-spfile +DATA/ASM/ASMPARAMETERFILE/REGISTRY.253.1096994109 \
-pwfile +DATA/ASM/PASSWORD/pwdasm.256.1096994109
srvctl config asm
srvctl status asmUnderstanding ASM Files
| File | Typical location | Purpose |
|---|---|---|
Password file (orapwasm) | +DATA/ASM/PASSWORD/ | Remote SYSDBA/SYSASM authentication |
Spfile (REGISTRY) | +DATA/ASM/ASMPARAMETERFILE/ | ASM initialization parameters |
| OCR / Voting Disk | Managed by CRS | Cluster Registry |
These files live inside the disk group — not on the filesystem. Use asmcmd or SQL on the ASM instance to locate them.
Quick Checklist
srvctl config asm
srvctl status asm
asmcmd ls -l +DATA/ASM/PASSWORD/
asmcmd ls -l +DATA/ASM/ASMPARAMETERFILE/
srvctl modify asm -spfile <path> -pwfile <path>
srvctl config asmConclusion
The PRCA-1057 error indicates CRS lost the reference to the ASM password file — usually after Grid Home migration, reconfiguration, or upgrade. ASM keeps running, but the CRS registration is incomplete.
The diagnosis follows this order:
- Confirm with
srvctl config asm - Locate pwfile and spfile with
asmcmdor SQL - Fix with
srvctl modify asm(first option) - If that fails — remove and recreate with
srvctl remove/add asm - Validate that attributes are populated
Solution 1 resolves most cases with zero impact. Reserve Solution 2 for scenarios with a corrupted resource.
References:
- Oracle ASM Administrator’s Guide — Managing ASM Instances
- MOS Note 2064677.1 — PRCA-1057 Failed to Retrieve Password File Location
