I need to configure the log shipping within 2 servers.
primary server : 10.3.5.xxx
secondary server : 202.10.5.xxx
The agent job for xcopy at the secondary fail to copy the transaction log backup file from primary server's network path folder. The error from history show that :
Logon failure: unknown user name or bad password.
I tried open the command DOS and test to use the xcopy command to copy any file from that folder(from primary) but it was fail with this error :
Invalid drive specification
0 File(s) copied
However, I copy use the xcopy command at the command DOS primary server to copy a file from secondary server's network path, then it work.
I suspect certain firewall port not open yet. I already tried open 1433,445,136,137 and 139. but still can not work... what else....
The sql agent services is running on domain user account and all those network path folder is granted for everyone with full control access.
The domain user already being added for local administrator user group as well.
SQL agent user group also added with the domain user as well.
Anyone have answer? Thanks for help.