Hi,I am trying to deploy content from my Solaris OD base server to a LINUX OD receiver server. Base is able to establish connection with receiver and even directory comparison is going on but in the end deployment is failing due inability to fetch file from the socket. Below is the receiver log:LIB: 2010-01-27 16:35:48 LOGFILE=[/opt/software/interwoven/OpenDeploy/6.2.0/OpenDeployNG/log/rcv.test-zxtm.MYDEFINITIONNAME.ap21cnedc204.to.btwoszxtm.btlabs.bt.com.log]LIB: 2010-01-27 16:35:48 Locale=[UTF-8]LIB: (2) 2010-01-27 16:35:48 Bound to port 61100LIB: 2010-01-27 16:35:48 [Wed Jan 27 16:35:48 2010] Deployment INITIATEDLIB: id=m139 2010-01-27 16:35:48 Interwoven OpenDeploy(6.2.0.0.0 Build 68916 Interwoven 20071109)LIB: id=m139 2010-01-27 16:35:48 LIB: Component Version (6.2.0.0.0 Build 68916 Interwoven 20071109)LIB: id=m139 2010-01-27 16:35:48 Protocol Version(5.0) OKLIB: id=m139 2010-01-27 16:35:48 Connection Id(id=m139)LIB: id=m139 2010-01-27 16:35:48 platform: server(UNIX), client(UNIX)LIB: id=m139 2010-01-27 16:35:48 Transaction Mode: ONLIB: id=m139 2010-01-27 16:35:48 Mode(normal)LIB: id=m139 2010-01-27 16:35:48 Protocol(normal)LIB: id=m139 2010-01-27 16:35:48 Buffer Size (8000)LIB: id=m139 2010-01-27 16:35:48 Host(ap21cnedc204)LIB: id=m139 2010-01-27 16:35:48 User(root)LIB: id=m139 2010-01-27 16:35:48 Deployname(.test-zxtm.MYDEFINITIONNAME.btwoszxtm.btlabs.bt.com)LIB: (2) id=m139 2010-01-27 16:35:48 Connection accepted!LIB: (2) id=m139 2010-01-27 16:35:48 Buffer Size (8000)LIB: id=m139 2010-01-27 16:35:48 Number of local_directories to deploy: 1LIB: id=m139 2010-01-27 16:35:48 BEGINNING Transactional DeploymentENG: 2010-01-27 16:35:48 GMT+00:00 Thread-6 After SETUP res=0ENG: 2010-01-27 16:35:48 GMT+00:00 Thread-6 exiting setupENG: 2010-01-27 16:35:48 GMT+00:00 Thread-6 entering awaiting-dotaskENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 still waiting for 0ENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 exiting awaiting-dotaskENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 entering dotaskENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 COMPARELIB: id=m139 2010-01-27 16:35:49 FailedCommit 0.LIB: id=m139 2010-01-27 16:35:49 Destination directory [/opt/software/OD-install/zxtm/content]LIB: (2) id=m139 2010-01-27 16:35:49 parent = /opt/software/OD-install/zxtm/contentLIB: id=m139 2010-01-27 16:35:49 Options: deploy file_perm=0644 dir_perm=0755 date_different ignore_acls do_manifest_for_dnr ps_name= verbose_level=5LIB: id=m139 2010-01-27 16:35:49 COMPARE - dst[/opt/software/OD-install/zxtm/content] with src[/export/home/iwadmin/odtest]LIB: (3) id=m139 2010-01-27 16:35:49 Getting directory info for (.)LIB: (3) id=m139 2010-01-27 16:35:49 Path(./mailBody.html) included.LIB: (2) id=m139 2010-01-27 16:35:49 (mailBody.html) missing from destination.LIB: (2) id=m139 2010-01-27 16:35:49 COMPARING doneENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 After COMPARE res=0ENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 write Longline TASKDONE in COMPARE sub stageENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 PRECOMMITLIB: id=m139 2010-01-27 16:35:49 FailedCommit 0.LIB: (3) id=m139 2010-01-27 16:35:49 DEPLOYING to destination path [/opt/software/OD-install/zxtm/content]LIB: (3) id=m139 2010-01-27 16:35:49 directive[get ./mailBody.html]LIB: id=m139 2010-01-27 16:35:49 Receiving item(./mailBody.html)LIB: (3) id=m139 2010-01-27 16:35:49 dir for tempfile [/opt/software/OD-install/zxtm/content]LIB: (3) id=m139 2010-01-27 16:35:49 -- Processing file(/opt/software/OD-install/zxtm/content/mailBody.html)LIB: (3) id=m139 2010-01-27 16:35:49 file created[/opt/software/OD-install/zxtm/content/mailBody.html.iwtmp]LIB: 2010-01-27 16:35:49 00028LIB 00017: 2010-01-27 16:35:49 ERROR: Could not get file data(./mailBody.html) from socket.LIB: 2010-01-27 16:35:49 ERROR: DoCopying() failed, check target log.LIB: 2010-01-27 16:35:49 ERROR: Failed deploying local_directory[0] () to ()LIB: 2010-01-27 16:35:49 ERROR: Failed 1 of 1 local_directoriesENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 After PRECOMMIT res=-1ENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 exiting dotaskENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 entering awaiting-rollbackENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 Got task failed in precommitENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 still waiting for 0ENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 exiting awaiting-rollbackENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 entering rollbackENG: 2010-01-27 16:35:49 GMT+00:00 Thread-6 failedCommit=false shouldWait=trueLIB: id=m139 2010-01-27 16:35:49 FailedCommit 0.LIB: id=m139 2010-01-27 16:35:49 ROLLBACK Transactional DeploymentLIB: id=m139 2010-01-27 16:35:49*** ROLLBACK performed: Saved txlist file (/tmp/iwdirGFPzcs) ***Please help !Regards,Ankit
ERROR: Failed applying access to (path_to_file)(or)ERROR: Could not get file data(./filename) from socket.Possible Cause:Need to run OD as rootTry running the deployment as root.
Hi Jagan/Nipper,I figured it out. Jagan is right. In my deployment configuration file, under the 'permissionRules' element I had mentioned the permission for files & directories on the target but did not specify the user & group that is to be set on the target server. As a result , file was being created but user/group were not being set and eventually deployment was failing. This would not happen if I run OD receiver through root. But once I mentioned user & group under 'permissionRules' element, deployment was done successfully. I was not aware that this could happen when OD receiver is running through non-root user. This is definitely a learning.Thank you guys for your valuable inputs.Regards,Ankit
. . .LIB: 2014-03-06 02:14:24 ERROR: DoCopying() failed, check target log.. . .