I have a file of type "door" in solaris 10 (that is a means of interprocess communication). It is somehow left over and I would like to get rid of it. I can not just remove it with rm ...
ls -l
total 0
Dr--r--r-- 1 root root 0 Oct 12 2012 name_service_door
# rm name_service_door
rm: name_service_door not removed: Device busy
# lsof name_service_door
Obviously some process is still using it. However, lsof does not display anything. From a "ps -elf" is is also not clear who is using this. How can I get rid of this file?
Update: I rebootet the server, which of course killed all processes and thus released the file. I could then remove it. But still, I would be interested in knowing how to do this without rebooting (in production environments, that is not allways an option).