Quantcast
Channel: There is a time and/or date difference between the client and server - Server Fault
Viewing all articles
Browse latest Browse all 3

There is a time and/or date difference between the client and server

$
0
0

I am running a Build Job using Jenkins. The Jenkins job executes a command shown below that simply copies a test file from server A to server B. Jenkins resides on Server A and well as the command file. The Servers are running Windows Server 2008 R2.

copy C:\Users\myuser\test.txt""\\ServerB\myfolder\test.txt"

The command fails with the error message:

There is a time and/or date difference between the client and server.

Jenkins uses the Windows account myuser. If you log onto ServerA as myuser and run the command, it works just fine.

The System Admin ran the command w32tm /resync on both servers. No effect.

If I change the command to copy to Server C instead, it works fine from Jenkins.

Tried rebooting Server B, no luck.

The times and timezones on the servers all look the same down to the second.

Any ideas on how to fix this this?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images

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