HiWe have multiple TeamSite installations on different servers. I've created a simple perl script which can copy files from one setup to another and setting the EA's. My problems is that it looks like I do not have permissions to do so even though I'm a "teamsite master" on both setups. The output of my file::copy is: "Copy failed: No such file or directory" but it looks like a generic error, which does not tell the correct issue. I'm using the iw_cgi_wrapper to impersonate my cgi script. Any thoughts about this?TeamSite 7.1.0Windows server 2008 SERegardsThomas
Even though though You are a master, are you part of the groups both on the source side and target Workarea side? I suggest you should be. If not this way try running your script from a temp folder on the other server and see if you successfully copy the file to the target Workarea and set up Extended attributes to it.Thanks
Thanks for the replay. I tried creating a new branch along with a new workarea with owner set to me and I still can't copy anything to the workarea. I found out something interesting: Connection to server A with remove desktop, trying to reach server B's shares (default and IWServer) gave the following error: "\\serverB\default is not accessible. You might not have permission to use this network resource"...etc. I checked the shares on server A, but they look fine. Could this be my problem? Any workarounds?
Ooh Now that you mention, so what my understanding is that you are on Server A and you did not map your default of serverB at all and trying to work that way. That will not work, you need a drive letter which is mapped to the windows explorer and then you try doing the copy it should work. Agian, I am presuming that you have a group assigned to your workarea and you are a member in it.Thanks
Mapping \\serverB\default or \\serverB\default\main\branchX\WORKAREA\workareaX from serverA gives the following error: The specified server cannot perform the requested operation. The workarea is shared with a ts group where i'm a member. I'm also a member of the branch as administrator. Thank you for looking at this
What do you get when you ping serverB from serverA
Are the two servers connected to the same domain / the same network (****.****.****.****) ?
It gives the same error.Yes, the servers are located in the same domain. ServerA has ip: ****.****.****.221 and serverB has ****.****.****.220 (where **** for both servers are identical). One more finding: Mapping a netshare from a win2k3 server works. I'm able to list all files in the iwstore. Could this be a win2k8 specific permission issue?
So basically your server B is not recognized from Server A. I would recommend that you talk with your Sys admin and have a port open which will basically let you talk to ServerB from ServerA. Once this is established it a cake walk.thanks
Tried that as well. I have no problem mapping files from another share from serverB (or serverA). The only shares i cannot map is from the iw y-drive (default & IWServer). Crating a share in ex serverB\default\main\branchX\WORKAREA\workareaY doesn't work either. It like permission is overwritten from somewhere else, but are not shown in the teamsite UI. Maybe i need to set some kind of parameter in iw.cfg which allow file listing in windows?
well here is a question, can you browse to this particular workarea on serverB in Windows Explorer. I guess it wouldn't allow you to do so. If it doesn't then you have to set permissions in the same way from the root parent directory down to give access for you to all folders either enlisting you as a independent user or a group in which you are a member.
Why not just use OpenDeploy to copy the files from one server to another?
...Great idea. But can OpenDeploy set the EA's or will I have to create some kind of custom script? Any thoughts?