Skip to main content

in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

Hi Theo,

Do you have any details on what the phantom process was doing? And which product you are using and on which operating system? The error looks to be on the os level 'cp' command. 

Thanks,

Neil


in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

universe 11.3.1

Redhat 7.9


in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

Any feedback on what the phantom process was actually doing when it failed? 


in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

Theodore

While UniVerse 11.3.1 does not have direct ACL support it could well be an ACL that is blocking access - worth a check.

JayJay


in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

we are no using ACL


in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

it was copying files. it copied 15 files then had an issue with the remaining files.


in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

Theo,

Unix allows you to see which processes have an open file handle to any file , in AIX the command is fuser. You could add the fuser command to your script to see which processes have an open file handle on the file and investigate to see if this why the UNIX cp command is failing. From everything you have said so far, this is probally not a UniVerse problem but a Unix one.

#fuser VOC
VOC:  8388612
#fuser -u VOC
VOC:  8388612(root)


in my phantom log  I saw the msg  cp: failed to close (specific file name), I looked at the file checked permissions and  everything looked good. In the program it processed all of the previous files with no errors. the last for file showed these errors. the programs are running on 15 different server and none of the other servers have this issue.

comments? help?

Thanks,

Theo

Hi Theo,

When you first posted the inquiry I assumed your phantom was running a UniVerse command. Which is why I asked for some details. However, it looks like the phantom process may simply be copying files using the OS level 'cp' command? I did a google search on the error "cp: failed to close..." and got a few hits. They all point to something at the OS level. So as Jonathan notes, this is more likely an OS issue as anything to do with UniVerse. If you are running UV commands which happen to invoke the 'cp' command, it would be interesting to know those commands.

Thanks,

Neil