Administrator
|
I have a batch file I am trying to write which takes a copy of my repositories using emadmin copy. The destination path contains a space and I am striking out on how to make it work. set BASE=C:\Users\rsargent\Documents\Instantiations\VA Smalltalk\ set BACKUPS=%BASE%TestBackup\ for %%R in (*.dat) do emadmin copy -p whatever -o "%%R" "%BACKUPS%%%R.backup" I have tried variations such as trying to escape the space using ^, doubling the quotes around the destination path expression, and some other less sensible things. I get the following: Code page (ANSI): 1252 Connected to source server Connected to destination server Copying localhost:autotester.dat => localhost:C:\Users\rsargent\Documents\Instantiations\VA Smalltalk\TestBackup\autotester.dat.backup Destination path invalid or inaccessible. (I get the same thing when I try it from the command line rather than from the batch file. e.g. emadmin copy -p whatever "autotester.dat" "C:\Users\rsargent\Documents\Instantiations\VA Smalltalk\TestBackup\autotester.dat.backup" ) Does anyone know how to make this work? You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/882a3d4f-4b5e-4660-a7f9-bf990eb60e1f%40googlegroups.com. |
Hi Richard,
-- Seems to work for me...of course I'm using a version that will be released with 9.2.2, so I guess I need to know what version and bitness you are working with so I can try it. - Seth On Wednesday, May 20, 2020 at 2:47:27 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/8e51dfaa-ecb9-4f02-a53a-d33676a630a7%40googlegroups.com. emsrv.png (46K) Download Attachment |
Administrator
|
On Wednesday, May 20, 2020 at 12:02:38 PM UTC-7, Seth Berman wrote:
--
Good point. I was originally using an 8.6 version (I don't know which one, nor care). I then tried it with the 9.2x86 version of emadmin. In both cases, the emsrv version was 9.2x86. And, I double checked that C:\Users\rsargent\Documents\Instantiations\VA Smalltalk\TestBackup\ does exist.
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/1cecfcbe-365d-4ee9-a18a-3a302565f4fd%40googlegroups.com. |
In reply to this post by Richard Sargent
Hi Richard,
-- I just tried the one from 9.2x86 and 9.0x86 and I got the same results...seems to work. Can you try add putting emsrv into debug logging mode (-s3 which is currently undocumented...it generates a ton of output..so be careful to remove it later). Then try the emadmin copy again. It seems like the "open()" command on the emsrv server side is generating an error. would be nice to know what the return code is. - Seth On Wednesday, May 20, 2020 at 2:47:27 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/6d8343bf-edfc-4a8a-93fa-3367d053092d%40googlegroups.com. |
Administrator
|
Log file attached.
-- On Wednesday, May 20, 2020 at 12:35:05 PM UTC-7, Seth Berman wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/d2df487b-ecfb-4f65-93ec-61e2f0fe2853%40googlegroups.com. emsrv_diagnostics.log (11K) Download Attachment |
Hi Richard, - Does the account running the emsrv process have permissions to write to that directory? - Seth On Wednesday, May 20, 2020 at 4:12:44 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/bd8bad39-d499-41e2-b609-670d362a9eb1%40googlegroups.com. |
Administrator
|
On Wednesday, May 20, 2020 at 1:22:32 PM UTC-7, Seth Berman wrote:
--
That's a little hard to figure out. The service is configured to login as Local System. System has full access, but are the two the same or different? I found the solution. It was using a user I set up as ENVYManager. And the new folder didn't have access specifically for that user. Thanks!
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/5952bbd2-cca0-4a3c-9c96-621d1be60a0d%40googlegroups.com. |
Hi Richard,
-- "I found the solution. It was using a user I set up as ENVYManager. And the new folder didn't have access specifically for that user." Yes, that's what I was guessing. In my case, my emsrv service happens to be run under my own user...which of course has access to write to my own Documents folder. - Seth On Wednesday, May 20, 2020 at 4:35:48 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/2d074d44-7758-4a5e-b72a-aaeb04a0974c%40googlegroups.com. |
Administrator
|
On Wed, May 20, 2020 at 1:38 PM 'Seth Berman' via VA Smalltalk <[hidden email]> wrote:
One could wish for better error messages. :-)
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/CAGNapEMkRJEcTSWgShTZtarAPgteWM56EDumKEbSyEb6JB5UDQ%40mail.gmail.com. |
Hi Richard,
-- Yes, agreed. In this case it would require to re-engineer the emsrv functions a bit so it passes appropriate information back to the emadmin client. Other than that...*most* problems are solved by putting emsrv into -s2 or -s3 mode and following the logic trail. - Seth On Wednesday, May 20, 2020 at 4:43:28 PM UTC-4, Richard Sargent wrote:
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To view this discussion on the web visit https://groups.google.com/d/msgid/va-smalltalk/4a8e41bf-0b63-4108-add6-c6962b5b30f6%40googlegroups.com. |
Free forum by Nabble | Edit this page |