Yes it seems no space but please could you provide me any sample format for
the bat file which will call .sh file from remote server.

On 15-Sep-2017 10:30 AM, "Jean-Louis Halleux" <[email protected]> wrote:

> **
> Dear AA,
>
> Can you confirm you pass username and password (with -u and -pw) on the
> command line of plink ? Are there spaces in any of them ?
>
> Best regards,
> Jean-Louis Halleux
> ARSmarts Support
>
> On 14 Sep 2017, at 22:46, Jaffer Mahsoob <[email protected]
> <[email protected]>> wrote:
>
> **
> Have you tried running the plink command using psexec (from
> sysinternals/Microsoft) as the system account and seeing if it still
> works?  I assume the AR Server is running as system, so it may be that the
> putty session info isn't available to system, etc...  Something like psexec
> -s plink (whatever the args are), see if plink, when run as system can
> actually execute in the manner you require...
>
> Just a thought...
> -Jaffer
>
> On Thu, Sep 14, 2017 at 12:52 PM, Abhi$hek <[email protected]> wrote:
>
>> **
>> Thanks for your kind response.
>> I have already tried with the simple text file creation and it worked
>> perfectly.
>>
>> But it's still fails when I am trying out the required scenario with the
>> help of AL or filter.
>>
>> Also via putty the Linux box as well as script is accessible from windows
>> Remedy server.
>>
>> On 14-Sep-2017 8:00 PM, "Frank Caruso" <[email protected]> wrote:
>>
>>> Have you tried turning on Active Link logging? It may show you whats
>>> wrong.
>>>
>>> Also, what I look to do in situations like this is take the task back to
>>> simple steps. Forget about the remote call to the server. Just create a
>>> simple batch file that creates a text file in the calling directory.
>>> Something like this: echo Hello World  > test.txt. That way you can figure
>>> out more clearly where your program is not working.
>>>
>>> Also, this type of logic is better suited for filters than active links.
>>> What will happen if your active link does run and calls the remote program
>>> but then a filter runs that stops the submit/modify process for whatever
>>> reason. Your ALink will then run again which may pose a problem.
>>>
>>> HTH
>>>
>>> Frank Caruso
>>>
>>> ____________________________________________________________
>>> ___________________
>>> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
>>> <https://u1941115.ct.sendgrid.net/wf/click?upn=7VZ2B1f3jupFzogQeIN6tg9L5UVbpPDRqiKFBJDoW7M-3D_cufojti4v5Gi1CwX3FSQ1oz2a-2Fp0jHyKJq2uc6Mms38vArSk9koEXtTgWtBS9eVSnp9yUTqZDN8Lrr3hi37R3ZZJRQOW089QvQ3RnZmoFbjAhSUKD5HTH7c8pIbQ5DSBkrq7UwShDlKlA5RB-2FpX-2FSAuWL67e6jeuQKOUWT7KT-2FKWcTaYobKLFmmymZGoNUvWWk-2FsG7c6iaIFGArV9AW48w-3D-3D>
>>> "Where the Answers Are, and have been for 20 years"
>>>
>> _ARSlist: "Where the Answers Are" and have been for 20 years_
>
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_
>
>
> _ARSlist: "Where the Answers Are" and have been for 20 years_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to