0514-516 Device Configuration Database Lock Service


 
Thread Tools Search this Thread
Operating Systems AIX 0514-516 Device Configuration Database Lock Service
# 1  
Old 02-18-2016
Device Configuration Database Lock

Hello guys,

on one of our AIX VIO LPARs I can not remove hdiskpower devices, which seemed to presented to the VIO in an incorrect way and behaviour (not all paths can be seen, pseudo device name is unknown etc.)

Therefor I decided to deattach the hdiskpower device from PowerPath controll by:

1. powermt remove <hdiskpowerXX> ---> did not work

then directly via:
3. rmdev -Rdl <hdiskpowerXX> --> i got this message:

rmdev: 0514-516 Device configuration database lock service timed out.
Please retry the command later.


3. Check of the config_lock led me to:
Code:
# fuser /etc/objrepos/config_lock
/etc/objrepos/config_lock:  15466568 16449626 20316396 21364886 23265418 23724286 29032682 30015688

4. Examing the PIDs by ps:
Code:
15466568      - 647:39 cfgpower
# ps -A|grep 16449626
 16449626      -  0:00 powermt
# ps -A|grep 20316396
 20316396      -  0:00 cfgmgr
# ps -A|grep 21364886
 21364886      -  0:02 chcod_chrp
# ps -A|grep 23265418
 23265418      -  0:02 ha_star
# ps -A|grep 23724286
 23724286      -  0:00 cfgmgr
# ps -A|grep 29032682
 29032682      -  0:00 cfgmgr
# ps -A|grep 30015688
 30015688      -  0:00 cfgmgr

Question:

Is there any way out of this mass, without rebooting the VIOS LPAR?

Sincerely

Tomek

Moderator's Comments:
Mod Comment edit by bakunin: please use CODE-tags for for commands, terminal output and file content you present. Actually this is a rule here and you have accepted it. Thank you.

Last edited by bakunin; 02-18-2016 at 06:04 PM..
# 2  
Old 02-18-2016
kill -9 helps sometimes.
This User Gave Thanks to agent.kgb For This Post:
# 3  
Old 02-18-2016
Quote:
Originally Posted by agent.kgb
kill -9 helps sometimes.
In principle, yes, but isn't that a little over-enthusiastic? I tend to try kill -15 always first and only if the process in question is poorly written (and doesn't honour the signal) use kill -9 as a last resort.

The difference is that -15 gives the process to be ended a chance to clean up after itself: remove temporary files, remove allocated shared memory segments, remove opened sockets, ..., whereas -9 is a - to the process external - headshot.

Its suicide versus kill and, as we all know since the days of M.A.S.H, suicide is painless ... ;-))

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 4  
Old 02-19-2016
Additional information on that:

in the HMC I see the reference code 0999 (Disk Array Subsystem being configured)...
# 5  
Old 02-19-2016
Quote:
Originally Posted by tomek79
Additional information on that:

in the HMC I see the reference code 0999 (Disk Array Subsystem being configured)...
Yes - and several of your configuration processes already hang. Your perhaps best option is to reboot the system completely and take it from there. If even the cfgmgr already hangs with several instances there is something seriously wrong and i don't know if you are ever going to recover from that. A reboot will at least bring the system into a defined state.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 6  
Old 02-24-2016
Hey,

thx to all who gave constructive explanations and hints...

I decided to reboot all affected VIOS -> did work.... :-)
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

[nmcli] Where is the configuration file of device (redhat 7)

OS is redhat 7. # nmcli dev DEVICE TYPE STATE CONNECTION virbr0 bridge disconnected -- eno16777736 ethernet disconnected -- eno33554960 ethernet disconnected -- virbr0-nic ethernet disconnected -- lo ... (1 Reply)
Discussion started by: tien86
1 Replies

2. AIX

Cannot get shared lock on database for rpm on AIX 6.1

Hello, I was trying to install python on aix and it was taking too long and I closed the terminal. Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error. root:stud -> $ rpm -qa cannot get shared lock on database rpmQuery: rpmdbOpen()... (2 Replies)
Discussion started by: gaugeta
2 Replies

3. Red Hat

sftp configuration | to lock users to their home folder.

In generally I use vsftp but I want to improve our security so I decide to use sftp instead of vsftp. We know that ssh,scp and sftp are in openssh server. How can I lock only sftp user to their home folder? And to prevent some users for sftp like root as such in vsftp daemon? (3 Replies)
Discussion started by: getrue
3 Replies

4. Linux

Could not open the lock database - Apache WebDAV setup

I configured a WebDAV server using Apache. Here is my configuration: DAVLockDB /var/www/DAVLock.db <Location /majid> AllowOverride None Options +Indexes DAV On AuthUserFile /var/www/users.db AuthName Authentication AuthType Basic <Limit... (1 Reply)
Discussion started by: majid.merkava
1 Replies

5. AIX

cfgmgr: 0514-621 WARNING

Dear all i have a sun SL500 tape library attached to my AIX box while issue the command cfgmgr i have the below issue test>cfgmgr cfgmgr: 0514-621 WARNING: The following device packages are required for device support but are not currently installed. devices.fcp.changer please... (3 Replies)
Discussion started by: thecobra151
3 Replies

6. Solaris

Oracle Database and HTTPD Web Service

Hi, I have a Solaris 5.6 having an Oracle database.Now this server is being accessed by a web service interface.I cannot see anything other than httpd daemons running on my server. There is a frequent problem of the stopping of these httpd daemons . Now i am asked to find the root case.I talked... (1 Reply)
Discussion started by: asalman.qazi
1 Replies

7. Shell Programming and Scripting

Get Database Service Names

Hi Everyone, I want to know which database (Oracle,SQL,Informix...) are installed on Unix Machine. I have very limited experience on Unix Environment, :confused: So I have no idea of getting this information. But in windows we can get Service names using WMI. Is there any similar way of Doing... (5 Replies)
Discussion started by: Roshan1286
5 Replies

8. Shell Programming and Scripting

Shell script that reads from configuration file to get database

Hi intelligent beings, I am trying to write a script that 1. Accepts the following arguments: store_number div_number user_id div_code 2. Will read from a configuration file to get the Database 3. Use the div_code to determine which value to retrieve from the configuration file ... (1 Reply)
Discussion started by: dolo21taf
1 Replies
Login or Register to Ask a Question