-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

Document information


More support for:

Sterling Gentran:Server for UNIX

Software version:

6.1

Operating system(s):

AIX

Reference #:

1592185

Modified date:

2013-04-23

Translate my page

Machine Translation

Content navigation