Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Unable to obtain lock on NFS files Post 302934342 by admin_db on Friday 6th of February 2015 08:58:05 AM
Old 02-06-2015
Unable to obtain lock on NFS files

Hello ,

I am creating a controlfile of database in linux and below is the error coming:

Code:
SQL> CREATE CONTROLFILE REUSE set DATABASE "newdbcln" RESETLOGS  NOARCHIVELOG
  2      MAXLOGFILES 5
  3      MAXLOGMEMBERS 5
    MAXDATAFILES 100
  4    5      MAXINSTANCES 1
  6      MAXLOGHISTORY 292
LOGFILE
  7    8    GROUP 1 '/lvclone2/newdbcln/onlinelog/redo01.log'  SIZE 100M BLOCKSIZE 512,
  9    GROUP 2 '/lvclone2/newdbcln/onlinelog/redo02.log'  SIZE 100M BLOCKSIZE 512,
 10    GROUP 3 '/lvclone2/newdbcln/onlinelog/redo03.log'  SIZE 100M BLOCKSIZE 512
 11  -- STANDBY LOGFILE
 12  DATAFILE
 13    '/lvsnap/newdb/datafile/system01.dbf',
 14    '/lvsnap/newdb/datafile/sysaux01.dbf',
 15    '/lvsnap/newdb/datafile/undotbs01.dbf',
 16    '/lvsnap/newdb/datafile/users01.dbf'
 17  CHARACTER SET US7ASCII
 18  ;
CREATE CONTROLFILE REUSE set DATABASE "newdbcln" RESETLOGS  NOARCHIVELOG
*
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-00200: control file could not be created
ORA-00202: control file: '/lvclone2/newdbcln/controlfile/control6.ctl'
ORA-27086: unable to lock file - already in use
Linux-x86_64 Error: 37: No locks available
Additional information: 10

When I changed the location to non-nfs it started working fine so this is not able to lock files on nfs while read write is working fine

NFS Server

Code:
[root@cindb1003a lvclone2]# cat /etc/exports
/lvsnap 10.65.150.0/24(rw,sync)
/lvclone2 10.65.150.0/24(rw,sync)


NFS Client

Code:
[root@cindb1002a /]# cat /etc/fstab
LABEL=DBSYS             /                       ext3    defaults        1 1
LABEL=BOOT              /boot                   ext3    defaults,nodev        1 1
LABEL=DBORA             /u01                    ext3    defaults,nodev  1 1
tmpfs                   /dev/shm                tmpfs   defaults,size=219585m 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP              swap                    swap    defaults        0 0
10.65.150.69:/lvclone2 /lvclone2 nfs rw,bg,lock,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768
10.65.150.69:/lvsnap /lvsnap nfs rw,bg,lock,hard,nointr,tcp,vers=3,timeo=600,rsize=32768,wsize=32768


Best regards,
Vishal
 

10 More Discussions You Might Find Interesting

1. AIX

Unable to mount NFS share during boot

Hello Everyone, I have a pseries machine running AIX 4.3.3 that has an invalid IP in /etc/hosts. During a boot the system hangs because it's trying to mount an NFS share to this invalid IP. I've tried to boot the system from a mksysb (not sure if the device was defined as rmt0) and AIX CD... (0 Replies)
Discussion started by: jlslhills
0 Replies

2. Linux

groupadd: unable to lock group file

Hi guys, i encountered this error when i try to create a group. What is the problem here? I created a few groups weeks before this. I was recommended to reboot the machine, but i am not the owner of the machine, thus i would prefer to know the cause and any other solution other than rebooting the... (1 Reply)
Discussion started by: Daven81
1 Replies

3. UNIX for Advanced & Expert Users

"Unable to obtain clipboard ownership"

Help! I work on a PC running Windows XP. I have installed the Hummingbird Suite Exceed 10.0. I launch 4 Xconfig sessions based on different *.cfg files along with the standard Xserver Xconfig (Exceed.cfg). I do this because I need to run graphical apps in separate windows. In any event,... (0 Replies)
Discussion started by: richmeeker
0 Replies

4. Linux

Unable to Lock User

Hi, I am trying to lock a user by executing "passwd -l xxxx" but the system is returning following error: Locking password for user xxxx. passwd: Error (password not set?) I do see the passwd for this user encrypted in shadow file thou! Anyone have any ideas why am getting this error? ... (5 Replies)
Discussion started by: harjitsingh
5 Replies

5. Solaris

Unable to release package administration lock for this system

Hi, I created a Solaris package, but at the end of installation (on a Solaris 10 sparc) I get : #pkgadd -d MyApp_version__SunOS_sparc.pkg ... Installation of <MyAppName> was successful. pkgadd: ERROR: ERROR: Unable to release package administration lock for this system; try again later... (0 Replies)
Discussion started by: potro
0 Replies

6. Shell Programming and Scripting

Unable to obtain the desired output

Hi, I am unable to get beyond the exit function. The shell script is used to look for masked files and copy paste them to another location. Please refer to the code below for more information. Thanks Brinjit #!/usr/bin/ksh... (10 Replies)
Discussion started by: brinjit
10 Replies

7. UNIX for Dummies Questions & Answers

Unable to write to a mounted NFS share

Hi All, I created a nfs share in the server(Solaris 10) with the following command and also updated the dfstab file share -F nfs -o rw=server_name2,anon=0 /to_share And then in the client(solaris 10) added the following command to mount the share mount -F nfs server_name1:/to_share... (4 Replies)
Discussion started by: Rossdba
4 Replies

8. UNIX for Dummies Questions & Answers

Unable to mount NFS

Hello, While mounting NFS below error is coming: # mount -t nfs 10.65.150.69:/lvsnap /lvsnap mount: mount to NFS server '10.65.150.69' failed: RPC Error: Program not registered. Please advise. Best regards, Vishal (2 Replies)
Discussion started by: admin_db
2 Replies

9. HP-UX

Unable to write to NFS mounted directory

Hi, I have exported a few nfs mounts from one server to the nfs clients. This is my nfs server dfstab : # cat /etc/dfs/dfstab # place share(1M) commands here for automatic execution # on entering init state 3. # # share <pathname> # .e.g, # share -F... (3 Replies)
Discussion started by: anaigini45
3 Replies

10. IP Networking

Unable to search NFS Share

My customer has created a share on a Windows Server 2012 system and exported it as a NFS share. I can mount the share on a SCO system, but I only have read/write access. So I am unable to list the contents of the share. It is as if the directories had 0666 permissions. My customer says that this... (5 Replies)
Discussion started by: jgt
5 Replies
CREATE OPERATOR 
FAMILY(7) SQL Commands CREATE OPERATOR FAMILY(7) NAME
CREATE OPERATOR FAMILY - define a new operator family SYNOPSIS
CREATE OPERATOR FAMILY name USING index_method DESCRIPTION
CREATE OPERATOR FAMILY creates a new operator family. An operator family defines a collection of related operator classes, and perhaps some additional operators and support functions that are compatible with these operator classes but not essential for the functioning of any individual index. (Operators and functions that are essential to indexes should be grouped within the relevant operator class, rather than being ``loose'' in the operator family. Typically, single-data-type operators are bound to operator classes, while cross-data-type operators can be loose in an operator family containing operator classes for both data types.) The new operator family is initially empty. It should be populated by issuing subsequent CREATE OPERATOR CLASS commands to add contained operator classes, and optionally ALTER OPERATOR FAMILY commands to add ``loose'' operators and their corresponding support functions. If a schema name is given then the operator family is created in the specified schema. Otherwise it is created in the current schema. Two operator families in the same schema can have the same name only if they are for different index methods. The user who defines an operator family becomes its owner. Presently, the creating user must be a superuser. (This restriction is made because an erroneous operator family definition could confuse or even crash the server.) Refer to in the documentation for further information. PARAMETERS
name The name of the operator family to be created. The name can be schema-qualified. index_method The name of the index method this operator family is for. COMPATIBILITY
CREATE OPERATOR FAMILY is a PostgreSQL extension. There is no CREATE OPERATOR FAMILY statement in the SQL standard. SEE ALSO
ALTER OPERATOR FAMILY [alter_operator_family(7)], DROP OPERATOR FAMILY [drop_operator_family(7)], CREATE OPERATOR CLASS [create_opera- tor_class(7)], ALTER OPERATOR CLASS [alter_operator_class(7)], DROP OPERATOR CLASS [drop_operator_class(7)] SQL - Language Statements 2010-05-14 CREATE OPERATOR FAMILY(7)
All times are GMT -4. The time now is 05:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy