This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin-2.5.0 net share wbadmin no longer working post update


Thank you Achim,

I was already using a single quotes to send the command via ssh, such as:
ssh -q -n 'command here'

I added the single quotes on the path itself such as:
-backuptarget:'\\SERVERNAME\PATH\TO\SHARE'

and this time it worked via cygwin terminal,
but it still does not work via ssh for some reason

On cygwin on the windows nodes, I made sure they are using bash
on the linux node by default we use kornshell

Since nothing has changed, do you think this difference in shell may
be the difference?


On Thu, Apr 14, 2016 at 11:12 AM, Achim Gratz <Stromeko@nexgo.de> wrote:
> Alexandria Gutierrez <alegutier <at> gmail.com> writes:
>> Here is where I noticed that the issue must have been related to cygwin:
>> Using the exact same same wbadmin command in the example above, and
>> running it on a windows terminal (cmd), the backup works just fine.
>> Then I open a cygwin terminal and type the exact same wbadmin command
>> and the I get the error again.
>
> The only difference between the two invocations above would be the removal
> of the quotes when using a UN*X shell, while CMD would leave those in.
> Also, depending on how you had set up the old and new Cygwin you may ended
> up using a different shell.  You might want to put single quotes around the
> complete argument list for the webadmin command or just the part in double
> quotes.  If that works on the command line, try again via ssh.
>
>
> Regards,
> Achim.
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]