Jan 062009
 

After installing Sun Java SE 6, you may find problems in unmounting the fuser control filesystem and mounted Windows Filesystems (NTFS) at system shutdown time. You may encounter the following error when the system tries to shutdown and unmount the file systems:

Can’t locl lock file /etc/mtab~: timed out

ntfs-3g: unknown option ‘-n’.
Please type ‘/sbin/mount.ntfs-3g –help’ for more information


This seems to be caused by the jexec service installed by Java SE 6.

opensuse11:/var/log # ps -ef | grep jexec
root      2304  2298  0 23:31 ?        00:00:00 /bin/sh /etc/init.d/jexec start
root      2315  2304  0 23:31 ?        00:00:00 /bin/sh /etc/init.d/jexec start
root      2316  2315  0 23:31 ?        00:00:00 /bin/sh /etc/init.d/jexec start
root      4738     1  0 23:36 ?        00:00:00 /bin/sh /etc/init.d/jexec start
root      4739  4738  0 23:36 ?        00:00:00 /bin/sh /etc/init.d/jexec start
root      4740  4739  0 23:36 ?        00:00:00 /bin/sh /etc/init.d/jexec start

To resolve the problem, disable this service as follows:

Open YaST from Applications – Computer – YaST menu.
systemservices

In the left pane, click System  and then System Services (Run Level)
jexec

From the list look for jexec and select then click Disable. This should disable the service and fix the shutdown problem.