10 Replies Latest reply on Nov 21, 2013 1:06 AM by Omkar Hajare

    How to run nexec command from nsh prompt

    Atul Matkar

      Hi, I am getting below error when executing nexec command from nsh prompt. Any clue..?

       

      sl73bsaapd002%  nexec sl73vnvealog01 /opt/syslog-ng/sbin/delete.pl

      /bin/bash: /opt/syslog-ng/sbin/delete.pl: No such file or directory

      sl73bsaapd002%

       

      In Depot i created .nsh script which is simply calling perl file. In nsh job i am pointing this nsh script and executing it on destination server. But the job fails saying

       

      /bin/bash: /opt/syslog-ng/sbin/delete.pl: No such file or directory

       

      Any idea how can we fix this error?