just couple of suggestions :-
,rmdir: Unable to delete directory <-- since this is error thrown : checkout following :-
1. if user mapping is proper and that user has access to remove folders from that directory. Check Manually! (c:\windows\rsc will give more details. and agentinfo <appserver> )
2. if that folder is in use by some other process, it will give error and not able to delete.
Finally, if its 2nd thing blokcing case, pls install Windows->Sysinternals -> ProcExp tool and check for who is using that folder/file. if you get some search results then try closing those apps and make sure no one is accessing those file/folder. and try manually deleting .. if its allowing to delete.. and then, restore and try with JOB ! ..
Please, feel free to comment if above is not resolving your case.
Vinayak S Dhok
Thank you for your answer.
The user mapping is good, and the error is a connection timed out
The appserver is a linux redhat 6.2.
Sorry, since this is Linux, here are few checks :-
- Please, take backup of that directory which is giving error.
- Check manually running same command with same user like RSCD is mapped. if this is successful.
- If that is failing, then , may be you need to use rm -rf <directory> command in your script. ... but this is dangerous command... so please have proper validations in place before using.
finally, if above steps are not resolving, Please, can you take debug logs of this job.. so that it will give more details to pinpoint ....
Vinayak S Dhok
Run the job w/ Debug mode and attach log here.
debug mode isn't going to help here, it's a nsh problem most likely and the job debug mode doesn't show anything related to that.
what do you see in the rscd log from the target server there when the rmdir command is run ?
the rscd log rotates too quickly on our appservers, I don't have yet logs. The time out error occurs on cd //appserver or rmdir //appserver/dir commands. As soon as I have logs of this job in rscd.log I will analyse them.
1 of 1 people found this helpful
You can increase the number of rolled logs in the rsc/log4crc.txt file.