Skip to main content

-4:Error in unlinking


Technote (troubleshooting)


Problem(Abstract)

AIX 6.1 on 64 bit hardware.

Scripts intermittently fail with -4:Error in unlinking in script.old log.
The error occurs in ENVIRON portion of script. Note: subsequently rerunning script is successful.
-4:Error in unlinking /usr/edina/./temp//wrktmp/smgr41ap7d

Symptom

-4:Error in unlinking /usr/edina/./temp//wrktmp/smgr41ap7d

smgr:18481400:04122012:110601: -1:Ended dndtnaso_sftp:

Cause

On 64 bit hardware the process id (PID) numbers are longer than the 32 bit PIDs.

The smgr executable uses a portion of the PID as a temporary file name and this
portion of the PID is NOT unique for the 64 bit PID numbers. When multiple smgr invocations
attempt to use the same file name, files are created or deleted/unlinked.

Resolving the problem

Fix smgr resolves the issue. Contact support.

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Sterling Gentran:Server for UNIX


Software version:
6.1


Operating system(s):
AIX


Reference #:
1592185


Modified date:
2013-04-23

Translate my page

Content navigation