Friday, October 10, 2008

OEM error oracle.sysman.emSDK.emd.comm.OperationException: could not write to targets.xml.bak file

# When changing configuration in OEM :-

oracle.sysman.emSDK.emd.comm.OperationException: could not write to targets.xml.bak file

# In emagent.trc many filesystem errors

emagent.trc.4:2008-10-10 01:11:41,951 Thread-1114 ERROR util.files: ERROR: nmeufos_new: failed in lfiopn on file: /opt/oracle/product/10.2.0/agent10g/sysman/emd/agntstmp.txt.error = 24 (Too many open files)
emagent.trc.4:2008-10-10 01:11:41,953 Thread-1114 ERROR util.files: ERROR: nmeufos_new: failed in lfiopn on file: /opt/oracle/product/10.2.0/agent10g/sysman/emd/agntstmp.txt.error = 24 (Too many open files)

# Caused by filesystem problems. Shutdown all Oracle processes, umount the filesystem, and run an fsck.