Resource busy

Can someone plz tell me what could be the problem here??
noone is accessing this table now and the DBA had killed all my sessions, but still i am getting this error.
FAS: FASBD001> create index indx_optionexpense on optionexpense(grn_n);
create index indx_optionexpense on optionexpense(grn_n)
ERROR at line 1:
ORA-00054: resource busy and acquire with NOWAIT specified

other sessions might have trying access or locked the table.
select object_id
   from dba_objects
  where object_name = '<tablename>';
select sid
   from v$access
  where owner  = '<table owner>'
    and object = '<table name>';
select sid, serial#, command, taddr
   from v$session
  where sid = <session id number>;
-- once you identified and inverstigate the session that access the table
-- you can have the session terminated.
alter system kill session '<sid, serial#>';note: this must be run with dba account privileges.

Similar Messages

  • Problems rebooting: "couldn't lock for reboot: Resource busy"

    Hi there,
    I'm having trouble rebooting my Xserve G4. The server has been up for 128 days, and a previous admin had installed some software updates, and I recently applied several new ones including 'Java for Mac OS X 10.5 Update 5', QuickTime 7.6.6 and Safari 4.0.5.
    It appears it's been trying to reboot ever since the first set of updates, but is not able to. What is strange is that even after having applied the updates mentioned, Server Admin still lists these same software updates as new, uninstalled updates, and asks me to install them.
    Also, the CPU usage is running at around 60%, and diskarbitrationd and kextcache seem to be the main CPU hogs.
    I have tried asking the machine to reboot through Server Monitor, and it fails, stating:
    14/05/2010 10:32:42: Starting remote hardware monitoring for ‘laramie.gcal.ac.uk’
    14/05/2010 10:32:43: Server contacted successfully
    14/05/2010 10:32:43: Connection to server established
    14/05/2010 10:33:01: Restart request sent, waiting for confirmation…
    14/05/2010 10:33:01: Server restarting
    14/05/2010 10:33:12: Failed to contact server
    14/05/2010 10:38:46: Restart request sent, waiting for confirmation…
    14/05/2010 10:39:10: Server restarting
    14/05/2010 10:49:18: Configuration sent, waiting for confirmation…
    14/05/2010 10:49:19: Configuration sent, waiting for confirmation…
    14/05/2010 10:49:24: Configuration received by server and now active
    14/05/2010 10:49:24: Configuration received by server and now active
    But the server never actually reboots.
    I've also tried 'sudo reboot' at the shell, and this generates:
    laramie:~ swadmin$ sudo reboot
    reboot: / is busy updating; waiting for lock
    reboot: couldn't lock for reboot: Resource busy
    Here's what's in /var/log/system.log, on a continuous loop:
    May 14 11:04:36 laramie servermgrd[55638]: --Module servermgr_xserve's response has retain count of 1.
    May 14 11:04:37 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:04:37 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:04:38 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter[39316]): Exited with exit code: 1
    May 14 11:04:38 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 9 seconds
    May 14 11:04:40 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 7 seconds
    May 14 11:04:41 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:04:41 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:04:42 laramie com.apple.launchd[353] ([0x0-0x1540c3f7].com.apple.finder[39326]): Exited with exit code: 1
    May 14 11:04:44 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 3 seconds
    May 14 11:04:45 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:04:45 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:04:48 laramie servermgrd[55638]: --Module servermgr_xserve's response has retain count of 1.
    May 14 11:04:48 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:04:48 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:04:49 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter[39346]): Exited with exit code: 1
    May 14 11:04:49 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 8 seconds
    May 14 11:04:50 laramie com.apple.launchd[353] ([0x0-0x1540e3f9].com.apple.finder[39347]): Exited with exit code: 1
    May 14 11:04:51 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 7 seconds
    May 14 11:04:52 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:04:52 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:04:54 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 4 seconds
    May 14 11:04:55 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:04:55 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:04:57 laramie com.apple.launchd[353] ([0x0-0x154113fc].com.apple.finder[39370]): Exited with exit code: 1
    May 14 11:04:57 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 1 seconds
    May 14 11:04:58 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:04:58 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:04:59 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter[39378]): Exited with exit code: 1
    May 14 11:04:59 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 9 seconds
    May 14 11:05:00 laramie servermgrd[55638]: --Module servermgr_xserve's response has retain count of 1.
    May 14 11:05:00 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 8 seconds
    May 14 11:05:01 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:01 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:03 laramie com.apple.launchd[353] ([0x0-0x154143ff].com.apple.finder[39392]): Exited with exit code: 1
    May 14 11:05:04 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 4 seconds
    May 14 11:05:04 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:04 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:06 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 2 seconds
    May 14 11:05:07 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:07 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:10 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter[39413]): Exited with exit code: 1
    May 14 11:05:10 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 9 seconds
    May 14 11:05:10 laramie com.apple.launchd[353] ([0x0-0x15416401].com.apple.finder[39415]): Exited with exit code: 1
    May 14 11:05:10 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 8 seconds
    May 14 11:05:11 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:11 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:14 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 4 seconds
    May 14 11:05:15 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:15 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:17 laramie com.apple.launchd[353] ([0x0-0x15419404].com.apple.finder[39433]): Exited with exit code: 1
    May 14 11:05:18 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 1 seconds
    May 14 11:05:18 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:18 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:21 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter[39445]): Exited with exit code: 1
    May 14 11:05:21 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 9 seconds
    May 14 11:05:22: --- last message repeated 1 time ---
    May 14 11:05:22 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:22 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:24 laramie com.apple.launchd[353] ([0x0-0x1541c407].com.apple.finder[39454]): Exited with exit code: 1
    May 14 11:05:24 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 5 seconds
    May 14 11:05:25 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:25 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:27 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 3 seconds
    May 14 11:05:28 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:28 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:30 laramie com.apple.launchd[353] ([0x0-0x1541e409].com.apple.finder[39477]): Exited with exit code: 1
    May 14 11:05:31 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:31 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:31 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter[39480]): Exited with exit code: 1
    May 14 11:05:31 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 9 seconds
    May 14 11:05:33 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 7 seconds
    May 14 11:05:34 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:34 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:37 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 3 seconds
    May 14 11:05:37 laramie com.apple.launchd[353] ([0x0-0x1542140c].com.apple.finder[39498]): Exited with exit code: 1
    May 14 11:05:37 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:37 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:03 laramie com.apple.launchd[353] ([0x0-0x154143ff].com.apple.finder[39392]): Exited with exit code: 1
    May 14 11:05:04 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 4 seconds
    May 14 11:05:04 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:04 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:06 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 2 seconds
    May 14 11:05:07 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:07 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:10 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter[39413]): Exited with exit code: 1
    May 14 11:05:10 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 9 seconds
    May 14 11:05:10 laramie com.apple.launchd[353] ([0x0-0x15416401].com.apple.finder[39415]): Exited with exit code: 1
    May 14 11:05:10 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 8 seconds
    May 14 11:05:11 laramie kextd[24]: 0x17ad40 exited without unlocking '/'
    May 14 11:05:11 laramie kextd[24]: / is still busy, delaying reboot
    May 14 11:05:14 laramie com.apple.launchd[1] (com.apple.UserNotificationCenter): Throttling respawn: Will start in 4 seconds
    Here's the output of 'kextstat':
    kextstat
    Index Refs Address Size Wired Name (Version) <Linked Against>
    1 1 0x0 0x0 0x0 com.apple.kernel (9.8.0)
    2 26 0x0 0x0 0x0 com.apple.kpi.bsd (9.8.0)
    3 3 0x0 0x0 0x0 com.apple.kpi.dsep (9.8.0)
    4 33 0x0 0x0 0x0 com.apple.kpi.iokit (9.8.0)
    5 35 0x0 0x0 0x0 com.apple.kpi.libkern (9.8.0)
    6 34 0x0 0x0 0x0 com.apple.kpi.mach (9.8.0)
    7 18 0x0 0x0 0x0 com.apple.kpi.unsupported (9.8.0)
    8 1 0x0 0x0 0x0 com.apple.iokit.IONVRAMFamily (9.8.0)
    9 1 0x0 0x0 0x0 com.apple.driver.AppleNMI (9.8.0)
    10 1 0x0 0x0 0x0 com.apple.iokit.IOSystemManagementFamily (9.8.0)
    11 1 0x0 0x0 0x0 com.apple.iokit.ApplePlatformFamily (9.8.0)
    12 29 0x0 0x0 0x0 com.apple.kernel.6.0 (7.9.9)
    13 1 0x0 0x0 0x0 com.apple.kernel.bsd (7.9.9)
    14 1 0x0 0x0 0x0 com.apple.kernel.iokit (7.9.9)
    15 1 0x0 0x0 0x0 com.apple.kernel.libkern (7.9.9)
    16 1 0x0 0x0 0x0 com.apple.kernel.mach (7.9.9)
    17 14 0x35594000 0x14000 0x13000 com.apple.iokit.IOPCIFamily (2.6) <7 6 5 4>
    18 4 0x355ae000 0x5000 0x4000 com.apple.driver.IOPlatformFunction (1.8.7d5) <12>
    19 0 0x355c5000 0x10000 0xf000 com.apple.driver.AppleMacRISC2PE (1.8.7d5) <18 17 12 7 5 4>
    20 0 0x35688000 0x6000 0x5000 com.apple.BootCache (30.4) <7 6 5 4 2>
    21 1 0x3578e000 0x4c000 0x4b000 com.apple.iokit.IOHIDFamily (1.5.5) <7 6 5 4 2>
    22 0 0x357e2000 0x4000 0x3000 com.apple.security.TMSafetyNet (3) <7 6 5 3 2>
    23 0 0x35806000 0xb000 0xa000 com.apple.nke.applicationfirewall (1.6.77) <7 6 5 4 2>
    24 0 0x35860000 0x1e000 0x1d000 com.apple.security.seatbelt (107.12) <7 6 5 3 2>
    25 0 0x3a2f0000 0x4000 0x3000 com.apple.driver.AppleFlashNVRAM (1.0.5) <12>
    27 0 0x3a376000 0xa000 0x9000 com.apple.driver.AppleMacRiscPCI (3.4.0) <17 12>
    28 0 0x3b39b000 0x8000 0x7000 com.apple.driver.AppleI2C (4.0.0d2) <12>
    29 0 0x3b3b3000 0x4000 0x3000 com.apple.driver.AppleCPUThermo (2.0.0a0) <12>
    30 0 0x3b44f000 0x6000 0x5000 com.apple.driver.AppleKiwiRoot (1.0.5f1) <17 12>
    31 2 0x3b673000 0x5b000 0x5a000 com.apple.iokit.IOFireWireFamily (3.4.9) <6 5 4 2>
    32 0 0x3b712000 0x2f000 0x2e000 com.apple.driver.AppleFWOHCI (3.9.7) <31 17 7 6 5 4 2>
    33 1 0x3b7e3000 0x5000 0x4000 com.apple.iokit.IOKeyLargo (1.7.2f1) <12>
    34 0 0x3b7fc000 0x7000 0x6000 com.apple.driver.AppleKeyLargo (1.7.2f1) <33 18 17 12>
    35 3 0x3b966000 0x37000 0x36000 com.apple.iokit.IOUSBFamily (3.4.9) <7 6 5 4 2>
    36 0 0x3ba59000 0xe000 0xd000 com.apple.driver.AppleUSBOHCI (3.4.6) <35 17 6 5 4>
    37 0 0x3ba76000 0x3000 0x2000 com.apple.driver.AppleBlower (2.0.0) <12>
    38 0 0x3ba87000 0x4000 0x3000 com.apple.driver.MacIOGPIO (1.3.0d0) <12>
    39 0 0x3ba9c000 0x5000 0x4000 com.apple.driver.I2CGPIO (1.3.0d0) <12>
    40 2 0x3bb84000 0x22000 0x21000 com.apple.iokit.IOSCSIArchitectureModelFamily (2.1.1) <6 5 4 2>
    41 1 0x3bbb7000 0xc000 0xb000 com.apple.iokit.IOSCSIParallelFamily (1.5.2) <40 6 5 4 2>
    42 0 0x3bbfb000 0x18000 0x17000 com.apple.driver.AppleLSIFusionMPT (2.0.3) <41 17 6 5 4 2>
    43 0 0x3bc27000 0x3000 0x2000 com.apple.driver.AppleKeyswitch (1.0.4d1) <12>
    44 0 0x3bc86000 0x4000 0x3000 com.apple.driver.AppleMPIC (1.5.3) <17 12>
    45 2 0x3bd0e000 0x12000 0x11000 com.apple.iokit.IOATAFamily (2.0.1) <6 5 4 2>
    48 0 0x3bd4e000 0x4000 0x3000 com.apple.driver.AppleVIA (1.5.1d1) <12>
    49 0 0x3bd6a000 0x4000 0x3000 com.apple.driver.AppleGPIO (1.3.0d0) <18 12>
    50 0 0x3be74000 0x16000 0x15000 com.apple.driver.ApplePMU (2.5.6d2) <21 12 7 6 5 4>
    51 0 0x3bee6000 0x3000 0x2000 com.apple.iokit.IOUSBUserClient (3.4.9) <35 6 5 4>
    52 0 0x3bf9b000 0x10000 0xf000 com.apple.driver.AppleUSBHub (3.4.9) <35 6 5 4>
    53 0 0x3c029000 0x4000 0x3000 com.apple.driver.AppleKiwiATA (1.0.2f1) <45 17 12>
    55 5 0x3c13f000 0x21000 0x20000 com.apple.iokit.IOStorageFamily (1.5.6) <7 6 5 4 2>
    56 0 0x3c19c000 0x13000 0x12000 com.apple.iokit.IOATABlockStorage (2.0.6) <55 45 6 5 4 2>
    58 0 0x3c2f5000 0x6000 0x5000 com.apple.driver.XsanFilter (2.7.91) <55 12>
    60 0 0x3c4f4000 0x24000 0x23000 com.apple.driver.AppleRAID (3.0.19) <55 6 5 4>
    61 2 0x356c5000 0x26000 0x25000 com.apple.iokit.IOGraphicsFamily (1.7.3) <17 7 6 5 4>
    62 1 0x356eb000 0x18000 0x17000 com.apple.iokit.IONDRVSupport (1.7.3) <61 17 7 6 5 4>
    63 0 0x3567d000 0x3000 0x2000 com.apple.driver.AppleI2S (1.0.1f1) <12>
    64 1 0x35703000 0xc000 0xb000 com.apple.iokit.IOSerialFamily (9.4) <7 6 5 4 2>
    65 0 0x3570f000 0x9000 0x8000 com.apple.driver.AppleRS574Serial (1.3b7) <64 12>
    66 0 0x35718000 0x4000 0x3000 com.apple.driver.AppleLED (2.0.0a2) <12>
    67 0 0x3571c000 0x4000 0x3000 com.apple.driver.AppleLM87 (2.0.0) <12>
    69 0 0x357e6000 0xf000 0xe000 com.apple.driver.AppleVSP (2.2.2) <12>
    70 3 0x35811000 0x1f000 0x1e000 com.apple.iokit.IONetworkingFamily (1.6.1) <7 6 5 4 2>
    71 0 0x35830000 0xb000 0xa000 com.apple.iokit.IOFireWireIP (1.7.7) <70 31 6 5 4 2>
    72 1 0x35723000 0x4000 0x3000 com.apple.kext.OSvKernDSPLib (1.1) <6 5>
    73 2 0x3b49d000 0x20000 0x1f000 com.apple.iokit.IOAudioFamily (1.6.9fc5) <72 6 5 4 2>
    74 0 0x35727000 0x5000 0x4000 com.apple.driver.VirtualAudioDriver (2.5.8f1) <73 12>
    79 0 0x3b4bd000 0x17000 0x16000 com.apple.iokit.AppleBCM5701Ethernet (2.2.3b1) <70 17 6 5 4 2>
    80 0 0x3b3f5000 0xb000 0xa000 com.apple.iokit.AppleGMACEthernet (1.5.9f1) <70 17 6 5 4 2>
    82 0 0x3a2f8000 0x3000 0x2000 com.apple.driver.AppleFPButton (1.0.5a1) <12>
    83 0 0x3a31a000 0x3000 0x2000 com.apple.driver.AppleHWClock (1.5.2d0) <18 12>
    84 0 0x3b4df000 0x44000 0x43000 com.apple.ATIRadeon (5.4.8) <62 61 17 12 4 2>
    86 0 0x3b400000 0x5000 0x4000 com.apple.driver.AudioIPCDriver (1.0.6) <73 6 5 4 2>
    90 0 0x3b57b000 0x16000 0x15000 com.apple.driver.DiskImages (199) <55 7 6 5 4 2>
    91 0 0x3bd9a000 0xd000 0xc000 com.apple.filesystems.autofs (2.0.2) <7 6 5 4 2>
    92 1 0x22c9d000 0xe000 0xe000 com.apple.driver.ndrv.ATY,BlueStar.0x22ca6248 (1.0.0f251)
    93 0 0x3b555000 0x1b000 0x1a000 com.apple.iokit.IOSCSIBlockCommandsDevice (2.1.1) <55 40 6 5 4 2>
    I'd be grateful for any help or advice in clari
    Message was edited by: gregariousfruit

    I got sick of the error so hard-rebooted the server manually. Seems to be fine now, and software updates work as normal.

  • HT1526 I'm trying to delete files from the trash and an .InProgress file in Time Machine that cannot be moved to the trash. I cannot unmount the TM disk either.  If I use the chflags -R nouchg  command, I get a "Resource busy" message. Any suggestions?

    I've got one or maybe two problems.  Time Machine routinely crashes and there is a file in the TM folder that is an .InProgress file at the end of successful backups. Can't delete it, even using various sudo commands in Terminal.  These come back with a "Resource busy" message.
    Similarly, there is a Microsoft Office alias in my trash that will not delete, again including various delete or Terminal commands.  Also "Resource busy"
    I can't reformat the TM volume since it cannot unmount and it also cannot unmount the whole disk, which contains some other backup files I'd rather keep.
    Any suggestions?
    Mike

    I'm not sure I can be very helpful since I was doing a lot of things and ultimately the problems went away.  But one thing that definitely seemed to help was to shut down, restart, do something, shut down again and repeat.  So with a clean start, try to move the file to the trash.  If that works, shut down restart and look to see if it is still in the trash.  Empty the trash. Shut down if it appears to empty and then restart.  It seemed sometimes that the computer was doing what I wanted then something was overriding this and restoring.  The shutdowns immedately after I could do something but before it engaged an override operation seemed to keep this from happening. 
    Sorry to not have more to offer but...

  • Resource busy time out oracle message - Concurrency and Locks

    I have a requirement to generate gapless invoice and receipt number in our application. so i have currently used the below approach.
    a. created table with a column to hold the invoice and receipt number sequence value.
    b. whenever transaction gets succeed. i will lock the table which holds the invoice number and receipt number inorder to avoid the sequential number slipages.
    Issue
    1. since the application belongs to online payment through portal by customers, when concurrent users trying to pay and while generating receipt number's, i am facing with "resource busy time out" message frequently. Here i noticed when user1 locks the table to access the receipt number value and session is not committed or rollback and another session user2 trying to access the same resource, in this scenario i am facing this error.
    Frequency of encountering this error is low, but customer was telling us this error is show stopper and affects normal business.
    Is there any alternative solution or method can be applied to overcome this problem?
    Current SQL used in application
    cursor <cursor name> is.
    select <column_name>
    into <variable>
    from <table name>
    for update of wait 5
    update <table name> set <column name> = value + 1
    where current of <cursor name>

    1e0ea4a1-1610-4dec-a44c-4ee1f46ba1a4 wrote:
    I have a requirement to generate gapless invoice and receipt number in our application. so i have currently used the below approach.
    Engage the business and inquire WHY this "requirement" exists. I have personally never seen an audit requirement wherein invoices MUST be devoid of gaps (that's not to say they do not exist, just that I've never seen one
    They certainly must be unique, but that's what a sequence will do for you. If the business absolutely needs gapless information, then they will have to be willing to pay the price which is going to be longer transaction times (as requests queue in a busy system to get this sought after gapless resource). Your job is to explain this to them ... nothing comes without a cost.
    The only thing you can really do (assuming you engage the business and the requirement doesn't change) is ensure the transactions are designed in such a manner that
    1) they complete as fast as possible AND that the locking is done at the latest possible stage of the transaction
    2) there is no user interaction (you cannot allow the users a "review" screen of any sort ... because users get silly sometimes and go for a coffee while reviewing things)
    Cheers,

  • 'screen' no longer works in Yosemite - Resource Busy

    For many years I have used USB serial devices to connect to external machines, using commands like
    $ screen /dev/tty.usbserial-FTFZXCV 115200
    Since the upgrade to Yosemite, this no longer works.  The screen commands give an error
    'screen cannot open /dev/tty.usbserial-FTFZXCV for R/W - Resource Busy'
    There was a similar question from April but that talked about using lost to identify an orphan session. 
    $ lsof | grep usbserial   # no output
    $ pgrep screen # no output.
    The permission seems sensible:
    $ ls -l /dev/tty.*
    crw-rw-rw-  1 root  wheel   18,   8 21 Nov 19:42 /dev/tty.Bluetooth-Incoming-Port
    crw-rw-rw-  1 root  wheel   18,   6 21 Nov 19:42 /dev/tty.Bluetooth-Modem
    crw-rw-rw-  1 root  wheel   18,   0 21 Nov 19:42 /dev/tty.usbserial-FTZXCV

    From Sony:
    In regard to your inquiry, compatible drivers for MAC OS Yosemite will be released by the end of this year.
    If needed, please contact me at the phone number below.
    Regards,
    SONY

  • Disk Utility reports "resource busy" and can't create an disk image

    HI,
    Just succesfully updated to Mountain Lion on my MBA and iMac. No problems. A very smooth proces.
    But, on my iMac the Disk Utility are not able to create new images at all! I'm not sure if this relates directly to the update, as
    DU works fine on the MBA.
    I have tried to create a simple disk image from a folder, sparse bundle disk images and sparse disk images - with and without encryption.
    They al gave this output from DU: "Unable to create "MYDiskImage.sparsebundle." (Resource busy).
    I understand from other postings on the web that others have experienced the same message from time to time, but have not seen a fix for it anywhere.
    I can see the "disk iamge" in the DU window (left pane) but are not able to locate it with Finder or on the computer anywhere, but are even able to "repair the
    disk image with DU, but then there is actually no disk image when trying to locate it. Very strange.
    Any help?
    The DU log has this info:
    1. Creating a sparsebundle
    2012-08-01 07:46:16 +0200: Creating Image “MyDiskImage.sparsebundle”
    2012-08-01 07:46:16 +0200: Initializing…
    2012-08-01 07:46:16 +0200: Creating…
    2012-08-01 07:46:27 +0200: Formatting…
    2012-08-01 07:46:28 +0200: Finishing…
    2012-08-01 07:46:29 +0200: Unable to create “MyDiskImage.sparsebundle.” (Resource busy)
    2012-08-01 07:46:29 +0200:
    2012-08-01 07:47:01 +0200: Verify and Repair volume “disk3s2”
    2012-08-01 07:47:01 +0200: Starting repair tool:
    2012-08-01 07:47:01 +0200: Checking file system2012-08-01 07:47:01 +0200: Checking Journaled HFS Plus volume.
    2. Creating a disk image from a folder
    2012-08-01 07:59:10 +0200: Creating Image “Parallels køb juli 2012.dmg”
    2012-08-01 07:59:10 +0200: Initializing…
    2012-08-01 07:59:11 +0200: Creating…
    2012-08-01 07:59:20 +0200: Finishing…
    2012-08-01 07:59:21 +0200: Unable to create “Parallels køb juli 2012.” (Resource busy)
    2012-08-01 07:59:21 +0200:

    Hi Darth,
    Thanks for the suggestion. Somehow I managed to solve the issue (the question was posted in July), I  think I restarted the computer a couple of times, but it's interesting that you mention Drive Genius and Drive Pulse, as I also had that app running!
    Maybe Drive Pulse was also turned of here in my process and helped to solve the issue.
    Anyhow, thanks.

  • Unable to add partition on raid array, device or resource busy.

    Greetings,
    I want to be able to create a disk image of a software raid of one of my arch box.
    I'm able to create my image with G4U successfully. I'm also able to restore my image without error on my new box.
    When my system boot up, I make sure that my raid array are up by doing cat /proc/mdstat.
    I can see that md1 and md2 are 2 of 2 and active raid 1. But, when I look at md0 this is what I got:
    md0 : active raid1 sdb3[1]
               6289344 blocks [2/1] [_/U]
    I try to add the partition sda3 to md0 array with this command:
    mdadm --manage /dev/md0 --add /dev/sda3
    The output of this command give me this :
    mdadm: Cannot open /dev/sda3: Device or resource busy.
    It seems that this error only occurs on /dev/md0 (/) array. I'm 100% sure that both, my image and my drive (vmware hdd) are good.
    This is my partition table:
    /dev/sda1 /dev/sdb1 = /boot (md1) 100MB
    /dev/sda2 /dev/sdb2 = swap (md2) 2048MB
    /dev/sda3 /dev/sdb3 = / (md0) 8GB
    I have also tried the image creation with Acronis... same error.

    I solved my issue.
    My menu.lst was wrong..
    kernel /kernel26 root=/dev/md0 ro
    I should add this to my menu.lst:
    kernel /kernel26 root=/dev/md0 ro  md=0,/dev/sda3,/dev/sdb3
    Now it work.
    I followed the archlinux raid guide who's telling this:
    Nowadays (2009.02), with the mdadm hook in the initrd it it no longer necessary to add kernel parameters concerning the RAID array(s).
    Which is wrong because my distro is 2009.02, if someone can add a note to the wiki it can be usefull.
    Thanks for your support

  • Time Machine Backups external drive developed problem which the disk repair utility cannot fix, so suggested reformat. I can't reformat because the "Resource Busy". How can I reformat this drive?

    My Western Digital external hard drive which I use as a Time Machine Backup stopped working. I tried repairing the disk using the Disk Utility program,but got the message that the utility can't repair the disk and to erase and reformat the disk. When I try that, I get the message the operation can't be completed because "Resource Busy", even though Time Machine is turned off. Any suggestions for repairing the drive/disk?
    Thank you.

    See Pondini's TM FAQs for starters.

  • Getting "resource busy" when trying to copy from an external USB drive

    Hi, I have an external (Seagate FreeAgent Desk 1.5TB) USB drive attached to my MacBook Pro (2009) running 10.6. I am trying to copy the files back to my laptop. However, when I copy them in the Finder, I get a message saying that some of the files are "in use". So I even tried copying using Terminal, and often I get this kind of message:
    $ cp -pr /Volumes/Movies/2008-06-01\ Legoland /Users/Andy/Desktop/m
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 14;38;18: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 14;41;40: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;03;24: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;04;03: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;13;21: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;14;16: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;15;40: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;16;23: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;17;19: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;51;14: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;51;42: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;51;50: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/clip-2008-06-01 15;53;34: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/iMovie Cache/Cache.mov: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/iMovie Cache/Cache.mov: could not copy extended attributes to /Users/Andy/Desktop/m/2008-06-01 Legoland/iMovie Thumbnails/iMovie Cache/Cache.mov: Resource busy
    cp: /Volumes/Movies/2008-06-01 Legoland/iMovie Thumbnails/iMovie Cache/Cache.plist: Resource busy
    After this happens, when I do "ls /Volumes/MyDriveName" I get zero results, nothing. I cannot unmount or eject the USB drive. I have to physically kill power to it, and then plug it back in. Then my MBP recognizes it again, and I can work with it for a short time before I hit this problem again. Copying some files works, but mostly they do not. I hope I have not lost these files.
    I ran Disk Utility, and it can't do anything with this drive... it keeps saying it cannot unmount it.
    Oddly, I can "ls" every file in every directory on this drive after I reconnect it (i.e. until the problem happens). So it seems like my data is sort of there, at least the directory is.
    Is there something more robust than Disk Utility that I can try? Any idea why I cannot eject the disk? And especially, what this "Resource busy" and "in use" message is about? This is coming straight after a reboot, and it only happens for SOME files, so it's not likely to be an obvious usage by some open app.

    Hmm, check out this program http://www.hamsoftengineering.com/products/wkm/wkm.html ... it might lead to some more clues. It seems like as soon as you plug it in, the system latches onto it. I'm guessing because it's an iMovie file, which OS X scans for, so all applications have the ability to grab that media that it's messing things up.
    Suggestions...copy those files, and rename them.
    Check out the app above to see what's holding onto the files.
    Check me out over at www.itarsenal.com for some remote control support on the house if you still need help.

  • Can't drop text index (ORA-00054: resource busy) - causes?

    Thanks, you were right! It works now, but I have another issue. I only added about 75 MB of PDFs (20 files) into my table, and indexed it. Indexing took about 4 minutes. But now, whenever I try to drop the index, I get this error:
    ORA-00054: resource busy and acquire with NOWAIT specified
    I tried waiting an hour, and it still gives me the error - it really shouldn't be doing anything. Would a memory or storage space issue cause this? I'd appreciate any help you could give. Thanks.

    Try drop index <name> force

  • 'Resource Busy' problem when installing OSX 10.5.4 from external firewire

    Hi,
    I'm giving my old powerbook to a friend and would like to wipe it and reinstall 10.5 on the system. The catch is that the internal DVD player is fried.
    I have an external firewire dvd player than I use to install.
    The installer boots up properly, but when I go into disk utility to erase or repartion the drive, I receive a "resource busy" error.
    The hard drive shows up in the left window, but the hard drive volume does not. I do not have the ability to mount or unmount the volume for that drive.
    How can I gain access to the drive to repartition (or erase) the volume, so I can do a clean install?
    Please advise,
    and thanks.
    -S

    Never had that issue. If you can boot from the ext DVD player, then you should be able to mount/unmount the int HD's volume. You might try on another computer or use another computer, hooking up the PB in target disk mode.

  • Using DD in terminal or Restore in Disk Utility gives me 'Resource Busy' er

    Hello, I'm trying to restore an old Hard Drive image OS.dmg to a usb hard drive that I have.
    I'm using the command:
    dd if=/Users/Shared/OS.dmg of=/dev/disk5 bs=1m
    And I'm getting
    dd: /dev/disk5: Resource busy
    What would cause this error? I'm not sure why it's "busy"
    Thanks
    Josh
    PS.. I get the exact same thing when i try to do it in DiskUtility

    Try using the lsof command to list the open files on /dev/disk5.
    Is /disk5 enough of a description? It does not match what the df command in Terminal would show, which specifies both a device and a partition on the device.

  • "ORA-00054 Resource Busy Error"  when running SQL*Loader in Parallel

    Hi all,
    Please help me on an issue. We are using Datastage which uses sql*loader to load data into an Oracle Table. SQL*Loader invokes 8 parallel sessions for insert on the table. When doing so, we are facing the following error intermittently:
    SQL*Loader-951: Error calling once/load initialization
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00054: resource busy and acquire with NOWAIT specifiedSince the control file is generated automatically by datastage, we cannot modify/change the options and test. Control File for the same is:
    OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)
    LOAD DATA INFILE 'ora.2958.371909.fifo.1' "FIX 1358"
    APPEND INTO TABLE X
    x1 POSITION(1:8) DECIMAL(15,0)  NULLIF  (1:8)  = X'0000000000000000',
    x2 POSITION(9:16) DECIMAL(15,0)  NULLIF  (9:16)  = X'0000000000000000',
    x3 POSITION(17:20) INTEGER  NULLIF  (17:20)  = X'80000000',
    IDNTFR  POSITION(21:40)   NULLIF  (21:40)  = BLANKS,
    IDNTFR_DTLS  POSITION(41:240)   NULLIF  (41:240)  = BLANKS,
    FROM_DATE  POSITION(241:259) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (241:259)  = BLANKS,
    TO_DATE  POSITION(260:278) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (260:278)  = BLANKS,
    DATA_SOURCE_LKPCD  POSITION(279:283)   NULLIF  (279:283)  = BLANKS,
    EFFECTIVE_DATE  POSITION(284:302) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (284:302)  = BLANKS,
    REMARK  POSITION(303:1302)   NULLIF  (303:1302)  = BLANKS,
    OPRTNL_FLAG  POSITION(1303:1303)   NULLIF  (1303:1303)  = BLANKS,
    CREATED_BY  POSITION(1304:1311) DECIMAL(15,0)  NULLIF  (1304:1311)  = X'0000000000000000',
    CREATED_DATE  POSITION(1312:1330) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (1312:1330)  = BLANKS,
    MODIFIED_BY  POSITION(1331:1338) DECIMAL(15,0)  NULLIF  (1331:1338)  = X'0000000000000000',
    MODIFIED_DATE  POSITION(1339:1357) DATE "YYYY-MM-DD HH24:MI:SS"  NULLIF  (1339:1357)  = BLANKS
    )- it occurs intermittently. When this job runs, no one will be accessing the database or the tables.
    - When we do not run in parallel, then we are not facing the error but it is very slow (obviously).

    Just in case, I am also attaching the Datastage Logs:
       Item #: 466
       Event ID: 1467
       Timestamp: 2009-06-02 23:03:19
       Type: Info
       User Name: dsadm
       Message: main_program: APT configuration file: /clu01/datastage/Ascential/DataStage/Configurations/default.apt
         node "node1"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
         node "node2"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
         node "node3"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
         node "node4"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
          node "node5"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
         node "node6"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
        node "node7"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
       node "node8"
              fastname "machine_name"
              pools ""
              resource disk "/clu01/datastage/Ascential/DataStage/Datasets" {pools ""}
              resource scratchdisk "/clu01/datastage/Ascential/DataStage/Scratch" {pools ""}
       Item #: 467
       Event ID: 1468
       Timestamp: 2009-06-02 23:03:20
       Type: Warning
       User Name: dsadm
       Message: main_program: Warning: the value of the PWD environment variable (/clu01/datastage/Ascential/DataStage/DSEngine) does not appear to be a synonym for the current working directory (/clu01/datastage/Ascential/DataStage/Projects/Production).  The current working directory will be used, but if your ORCHESTRATE job does not start up correctly, you should set your PWD environment variable to a value that will work on all nodes of your system.
       Item #: 468
       Event ID: 1469
       Timestamp: 2009-06-02 23:03:32
       Type: Warning
       User Name: dsadm
       Message: Lkp_1: Input dataset 1 has a partitioning method other than entire specified; disabling memory sharing.
       Item #: 469
       Event ID: 1470
       Timestamp: 2009-06-02 23:04:22
       Type: Warning
       User Name: dsadm
       Message: Lkp_2: Input dataset 1 has a partitioning method other than entire specified; disabling memory sharing.
       Item #: 470
       Event ID: 1471
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: Xfmer1: Input dataset 0 has a partitioning method other than entire specified; disabling memory sharing.
       Item #: 471
       Event ID: 1472
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: Lkp_2: When checking operator: Operator of type "APT_LUTProcessOp": will partition despite the
    preserve-partitioning flag on the data set on input port 0.
       Item #: 472
       Event ID: 1473
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: SKey_1: When checking operator: A sequential operator cannot preserve the partitioning
    of the parallel data set on input port 0.
       Item #: 473
       Event ID: 1474
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: SKey_2: When checking operator: Operator of type "APT_GeneratorOperator": will partition despite the
    preserve-partitioning flag on the data set on input port 0.
       Item #: 474
       Event ID: 1475
       Timestamp: 2009-06-02 23:04:30
       Type: Warning
       User Name: dsadm
       Message: buffer(1): When checking operator: Operator of type "APT_BufferOperator": will partition despite the
    preserve-partitioning flag on the data set on input port 0.
       Item #: 475
       Event ID: 1476
       Timestamp: 2009-06-02 23:04:30
       Type: Info
       User Name: dsadm
       Message: Tgt_member: When checking operator: The -index rebuild option has been included; in order for this option to be
    applicable and to work properly, the environment variable APT_ORACLE_LOAD_OPTIONS should contain the options
    DIRECT and PARALLEL set to TRUE, and the option SKIP_INDEX_MAINTENANCE set to YES;
    this variable has been set by the user to `OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)'.
       Item #: 476
       Event ID: 1477
       Timestamp: 2009-06-02 23:04:35
       Type: Info
       User Name: dsadm
       Message: Tgt_member_idtfr: When checking operator: The -index rebuild option has been included; in order for this option to be
    applicable and to work properly, the environment variable APT_ORACLE_LOAD_OPTIONS should contain the options
    DIRECT and PARALLEL set to TRUE, and the option SKIP_INDEX_MAINTENANCE set to YES;
    this variable has been set by the user to `OPTIONS(DIRECT=TRUE, PARALLEL=TRUE, SKIP_INDEX_MAINTENANCE=YES)'.
       Item #: 477
       Event ID: 1478
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Lkp_2,6: Ignoring duplicate entry at table record 1; no further warnings will be issued for this table
       Item #: 478
       Event ID: 1479
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,0: SQL*Loader-951: Error calling once/load initialization
       Item #: 479
       Event ID: 1480
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,0: ORA-00604: error occurred at recursive SQL level 1
       Item #: 480
       Event ID: 1481
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,0: ORA-00054: resource busy and acquire with NOWAIT specified
       Item #: 481
       Event ID: 1482
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,6: SQL*Loader-951: Error calling once/load initialization
       Item #: 482
       Event ID: 1483
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,6: ORA-00604: error occurred at recursive SQL level 1
       Item #: 483
       Event ID: 1484
       Timestamp: 2009-06-02 23:04:41
       Type: Warning
       User Name: dsadm
       Message: Tgt_member_idtfr,6: ORA-00054: resource busy and acquire with NOWAIT specified
       Item #: 484
       Event ID: 1485
       Timestamp: 2009-06-02 23:04:41
       Type: Fatal
       User Name: dsadm
       Message: Tgt_member_idtfr,6: The call to sqlldr failed; the return code = 256;
    please see the loader logfile: /clu01/datastage/Ascential/DataStage/Scratch/ora.23335.478434.6.log for details.
       Item #: 485
       Event ID: 1486
       Timestamp: 2009-06-02 23:04:41
       Type: Fatal
       User Name: dsadm
       Message: Tgt_member_idtfr,0: The call to sqlldr failed; the return code = 256;
    please see the loader logfile: /clu01/datastage/Ascential/DataStage/Scratch/ora.23335.478434.0.log for details.

  • Creating Image "photography_chris.dmg" Unable to create , resource busy

    I have re-started the mac but to no avail, this appears in the console log. I haven't a clue. Thankyou.
    Creating Image “photography_chris.dmg” Unable to create “photography_chris. Resource busy.
    Have searched google but everyone is is giving complex answers to what should be so lego basic!

    oh for pity's sake, have you ever seen that cartoon with dastardly and mutley (mutley being the dog) in wacky races? Well i feel like that dog right now. All this time I was clicking on NEW image in the disc utilities instead of the drop down menu DISK image - it's actually misleading for non tech guys you know, they really should put NEW image in the dialogue box so that it is PLAINLY obvious to all that there are two very different processes here. Because in the help information it constantly refers to new images and disc images interchangeably....

  • Adding default constraint causes ORA-00054: resource busy

    Hi,
    i ran a script and got error below. Why am i getting error "ORA-00054: resource busy" when adding a default constraint to table? On other evironments such error didn't occure, only in particualr special one the error occured.
    Is it possible that table has too much traffic/locks i nthat environment? How can i rewrite my script?
    Should i instal lthe script in OFFLINE mode?
    In Oracle 11g, Linux Os i runned such script (in Online mode, system not offline):
    ALTER TABLE Casino.Physicaltables ADD WinnerListEnabled NUMBER(1);
    COMMENT ON COLUMN Casino.Physicaltables.WinnerListEnabled  IS '<BOOLEAN> Defines if winner list is turned on or off.';
    ALTER TABLE Casino.Physicaltables MODIFY WinnerListEnabled DEFAULT 0;
    ALTER TABLE Casino.Physicaltables MODIFY (WinnerListEnabled CONSTRAINT NC_Pts_WinnerListEnabled NOT NULL NOVALIDATE);
    UPDATE Casino.Physicaltables SET WinnerListEnabled = 0 WHERE WinnerListEnabled IS NULL;
    COMMIT;
    ALTER TABLE Casino.Physicaltables MODIFY CONSTRAINT NC_Pts_WinnerListEnabled ENABLE VALIDATE;And output was such:
    \\dserver\Live\release\12.6\0.10\sql\live_sql_12.4.0.5_to_12.6.0.10.zip
    Elapsed: 00:00:00.09
    ALTER TABLE Casino.Physicaltables MODIFY WinnerListEnabled DEFAULT 0
    ERROR at line 1:
    ORA-00054: resource busy and acquire with NOWAIT specified

    Any DDL will cause an exclusive lock on the corresponding record in the dictionary. The error message indicates the object is in use by someone else.
    Solutions:
    1 Apply the code in a maintenance window when no one is there. DDL should NOT be run in a live system during production.
    2 Put the database in restricted mode, provided no one has the restricted session privilege
    3 Make sure your application uses a non-default service (ie service <> database name) and shut down that service using srvctl and/or dbms_service.
    There is no such thing as 'OFFLINE mode'
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for