Re: Deactivation Error
Posted: 21 Nov 2013, 06:36
What module is it, does it contain a program or daemon, etc., that is running? Generally speaking, when I've had trouble deactivating, it's been because there's a process still running or a binary from another module that requires a library contained in the module in question. There may be better ways to troubleshoot it, but if it were me and I was trying to avoid a reboot (I rarely am because I reboot all the time), I might try changing to init 3 and deactivating manually, searching for executables in the module and making sure they aren't running, or see if you can find out what's keeping a file there open. This is an ugly hack but it might shed some light on the situation -- replace 003-lxde.xzm with your module name:
HTH
Code: Select all
for a in `find /mnt/live/memory/images/003-lxde.xzm/`; do b=`echo $a|sed -e 's@/mnt/live/memory/images/003-lxde.xzm@@g'`;lsof $b; done