Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Pervasive Replication - DXDeploy Error - Failed to butil-copy file

$
0
0

Pervasive database (v10.21.0025) that replicates between two servers. Recently the replication became corrupted. At the advice of the previous DBA, I attempted a manual clean up of the replication job followed by a re-sync.

After the clean up of the old replication job, I run the DXDeploy /site=First c:\path\to\template\file.xml command.

I get the following error message:

*snip*

E 0640 07-17 11:46:27 Failed to butil-copy file c:\db\data\bvdata\bvdata\path\DX_OntRepWB\\FILE.DDF to c:\path\to\template\OntRepWB\DX_OntRepWB\FILE.DDF

I 0640 07-17 11:46:27 SMSG: DController beginning shutdown: 0 sessions and 0 listeners active

I 0640 07-17 11:46:27 SMSG: DController beginning shutdown: 0 sessions and 0 listeners active

I 0640 07-17 11:46:27 SMSG: DController stopping

I have restarted the server and run DXDeploy again with the same results.

If I shut down all the Pervasive Services, I can alter the file in various ways (delete, etc). If the services are up and running, I cannot.

Something appears to be locking the file. Not sure what it is exactly or if there is a way to unlock the file while running DXDeploy.

If anyone has any ideas, I'd love to hear them.


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>