Author |
Message
|
varunraot |
Posted: Sun Jun 25, 2017 2:17 am Post subject: BFGIO0049E - The rename of the file fails |
|
|
Acolyte
Joined: 01 Jun 2011 Posts: 63
|
I have a situation where files intended for a particular server fails to get transferred from an IIB embedded agent to stand alone agent in the target server due to below error
BFGIO0049E: The rename of temporary file F:\A\B\C\D\QM_2017062416554300000_A_N_UDR.xml_20170624162751.received.xml.part to F:\A\B\C\D\QM_2017062416554300000_A_N_UDR.xml_20170624162751.received.xml failed.
The above incident results in .part file getting transferred leaving actual file in IIB system transit folder.
Any idea why does this occurs? This is limited to only one particular target server out of remaining 15 target servers that IIB transfers the file.
Following is the log capture trace of an IIB embedded agent indicating above error
2017-06-24T20:57:55.864Z!SYSTEM.FTE/Log/BRKMFGPR01.MFG_INTERFACES_/414d5120514d4d4647505230312020206b44455923ad191f!<?xml version="1.0" encoding="UTF-8"?><request version="1.00" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FileTransfer.xsd"><managedTransfer><originator><hostName>IIB Server</hostName><userID>SYSTEM</userID></originator><sourceAgent agent="BRKMFGPR01.MFG_INTERFACES_" QMgr="QMMFGPR01"/><destinationAgent agent="Target Agent" QMgr="QMMFGPR01"/><transferSet priority="0"><item mode="text" checksumMethod="MD5"><source recursive="false" disposition="delete"><file>C:\ProgramData\IBM\MQSI\common\FTE\BRKMFGPR01\MFG_INTERFACES_EG02\Transfers\UsageDecisionReversalOutputToXMLFileMF\FTE Output/QM_2017062416554300000_A_N_UDR.xml_20170624162751.received.xml</file></source><destination type="file" exist="overwrite"><file>F:\A\B\C\D/QM_2017062416554300000_A_N_UDR.xml_20170624162751.received.xml</file></destination></item></transferSet></managedTransfer></request>
2017-06-24T20:57:55.914Z!SYSTEM.FTE/Log/BRKMFGPR01.MFG_INTERFACES_/414d5120514d4d4647505230312020206b44455923ad191f!<?xml version="1.0" encoding="UTF-8"?><transaction version="4.00" ID="414d5120514d4d4647505230312020206b44455923ad191f" agentRole="sourceAgent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TransferLog.xsd" xmlns=""><action time="2017-06-24T20:57:55.913Z">started</action><sourceAgent agent="BRKMFGPR01.MFG_INTERFACES_" QMgr="QMMFGPR01" agentType="STANDARD"><systemInfo architecture="amd64" name="Windows Server 2012 R2" version="6.3"/></sourceAgent><destinationAgent agent="Target Agent" QMgr="QMMFGPR01"></destinationAgent><originator><hostName>IIB Server</hostName><userID>SYSTEM</userID><mqmdUserID>SYSTEM</mqmdUserID></originator><transferSet startTime="2017-06-24T20:57:55.913Z" total="1" bytesSent="0"><metaDataSet><metaData key="com.ibm.wmqfte.SourceAgent">BRKMFGPR01.MFG_INTERFACES_</metaData><metaData key="com.ibm.wmqfte.DestinationAgent">Target Agent</metaData><metaData key="com.ibm.wmqfte.MqmdUser">SYSTEM</metaData><metaData key="com.ibm.wmqfte.OriginatingUser">SYSTEM</metaData><metaData key="com.ibm.wmqfte.OriginatingHost">IIB Server</metaData><metaData key="com.ibm.wmqfte.TransferId">414d5120514d4d4647505230312020206b44455923ad191f</metaData><metaData key="com.ibm.wmqfte.Priority">0</metaData></metaDataSet></transferSet></transaction>
2017-06-24T20:58:00.767Z!SYSTEM.FTE/Log/BRKMFGPR01.MFG_INTERFACES_/414d5120514d4d4647505230312020206b44455923ad191f!<?xml version="1.0" encoding="UTF-8"?><transaction version="4.00" ID="414d5120514d4d4647505230312020206b44455923ad191f" agentRole="sourceAgent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TransferLog.xsd" xmlns=""><action time="2017-06-24T20:58:00.766Z">progress</action><sourceAgent agent="BRKMFGPR01.MFG_INTERFACES_" QMgr="QMMFGPR01" agentType="STANDARD"><systemInfo architecture="amd64" name="Windows Server 2012 R2" version="6.3"/></sourceAgent><destinationAgent agent="Target Agent" QMgr="QMMFGPR01" agentType="STANDARD"><systemInfo architecture="x86" name="Windows Server 2008" version="6.0 build 6002 Service Pack 2"/></destinationAgent><originator><hostName>SBYVMNTEBS03P</hostName><userID>SYSTEM</userID><mqmdUserID>SYSTEM</mqmdUserID></originator><transferSet index="0" size="1" startTime="2017-06-24T20:57:55.913Z" total="1" bytesSent="756"><item mode="text"><source disposition="delete" type="file"><file EOL="CRLF" encoding="Cp1252" size="710" last-modified="2017-06-24T20:57:55.856Z">C:\ProgramData\IBM\MQSI\common\FTE\BRKMFGPR01\MFG_INTERFACES_EG02\Transfers\UsageDecisionReversalOutputToXMLFileMF\FTE Output\QM_2017062416554300000_A_N_UDR.xml_20170624162751.received.xml</file><checksum method="MD5">68818ac9129704e16516d99b3f56165c</checksum></source><destination exist="overwrite" type="file"><file EOL="CRLF" encoding="Cp1252" size="710">F:\A\B\C\D\QM_2017062416554300000_A_N_UDR.xml_20170624162751.received.xml</file><checksum method="MD5">68818ac9129704e16516d99b3f56165c</checksum></destination><status resultCode="1"><supplement>BFGIO0049E: The rename of temporary file F:\A\B\C\D\QM_2017062416554300000_A_N_UDR.xml_20170624162751.received.xml.part to F:\A\B\C\D\QM_2017062416554300000_A_N_UDR.xml_20170624162751.received.xml failed.</supplement></status></item></transferSet></transaction>
2017-06-24T20:58:00.779Z!SYSTEM.FTE/Log/BRKMFGPR01.MFG_INTERFACES_/414d5120514d4d4647505230312020206b44455923ad191f!<?xml version="1.0" encoding="UTF-8"?><transaction version="4.00" ID="414d5120514d4d4647505230312020206b44455923ad191f" agentRole="sourceAgent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="TransferLog.xsd" xmlns=""><action time="2017-06-24T20:58:00.778Z">completed</action><sourceAgent agent="BRKMFGPR01.MFG_INTERFACES_" QMgr="QMMFGPR01" agentType="STANDARD"><systemInfo architecture="amd64" name="Windows Server 2012 R2" version="6.3"/></sourceAgent><destinationAgent agent="Target Agent" QMgr="QMMFGPR01" agentType="STANDARD"><endExits><exit name="class com.dupont.wmqfte.exits.FailedTransferNotificationFromDestination"><status><supplement>File transfer is not successful. Sent Email notification.</supplement></status></exit></endExits><systemInfo architecture="x86" name="Windows Server 2008" version="6.0 build 6002 Service Pack 2"/></destinationAgent><originator><hostName>IIB Server</hostName><userID>SYSTEM</userID><mqmdUserID>SYSTEM</mqmdUserID></originator><status resultCode="40"><supplement>BFGRP0034I: The file transfer request has completed with no files being transferred.</supplement></status><transferSet startTime="2017-06-24T20:57:55.913Z" total="1" bytesSent="756"><metaDataSet><metaData key="com.ibm.wmqfte.SourceAgent">BRKMFGPR01.MFG_INTERFACES_</metaData><metaData key="com.ibm.wmqfte.DestinationAgent">Target Agent</metaData><metaData key="com.ibm.wmqfte.MqmdUser">SYSTEM</metaData><metaData key="com.ibm.wmqfte.OriginatingUser">SYSTEM</metaData><metaData key="com.ibm.wmqfte.OriginatingHost">IIB Server</metaData><metaData key="com.ibm.wmqfte.TransferId">414d5120514d4d4647505230312020206b44455923ad191f</metaData><metaData key="com.ibm.wmqfte.Priority">0</metaData></metaDataSet></transferSet><statistics><actualStartTime>2017-06-24T20:57:56.650Z</actualStartTime><retryCount>0</retryCount><numFileFailures>1</numFileFailures><numFileWarnings>0</numFileWarnings></statistics></transaction> |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Jun 25, 2017 6:53 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Usually rename on a Windows server fails because the file is locked
(a process has it open), or the agent userid does not have security permission to rename the file.
Is there anything in the Windows Event Logs at this time? _________________ Glenn |
|
Back to top |
|
 |
varunraot |
Posted: Mon Jun 26, 2017 1:52 am Post subject: |
|
|
Acolyte
Joined: 01 Jun 2011 Posts: 63
|
Ok. Interesting. There was nothing in Windows log on IIB server as well as target server when this incident happened. |
|
Back to top |
|
 |
zpat |
Posted: Mon Jun 26, 2017 1:53 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
It's best to disable partial file processing when transferring files to the broker.
There is an option in winscp to do this. It's not a broker feature. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
varunraot |
Posted: Mon Jun 26, 2017 2:03 am Post subject: |
|
|
Acolyte
Joined: 01 Jun 2011 Posts: 63
|
Well, The transfer of files are happening from IIB message flow to the target server with the help of FTE output node( embedded agent).
Do we have any feature to avoid/eliminate partial file processing in above case? |
|
Back to top |
|
 |
zpat |
Posted: Mon Jun 26, 2017 2:13 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
OK, it's not a standard broker feature using SFTP or FTP.
I guess you have to look at the properties of the FTE output node and how the FTE is configured.
If it always uses the rename after transfer approach - then the id must have permissions to rename the file. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
|