1753632 Members
5723 Online
108798 Solutions
New Discussion юеВ

Re: Need Solution

 
Vishal_1980
Regular Advisor

Need Solution

Hello Expert ,

 

PFA script.

 

I run this script for  HP-UX & AIX severs.

ON some server this script will run successfully ,therefore on some server it is showing the below error...

 

My path of the script is /opt/sdmx/bin ....

ANd i am running the script using the : # sudo configurefilter , command ( configurefilter is the name for the script)...

i was geting error on few servers ,below is the error:

 

"sudo: unable to execute /opt/sdmx/bin/configureFilter: No such file or directory"

 

Attaching the script ....

Request you to please check & suggest the changes...

 

Thanks & have a great day ahead...

Vishal....

 

 

4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: Need Solution

>"sudo: unable to execute /opt/sdmx/bin/configureFilter: No such file or directory"

 

Does the script's interpreter exist on the machines:

#!/usr/bin/python
Vishal_1980
Regular Advisor

Re: Need Solution

Hello Dennis,

yes it do exist on the machines...
I can run it on  many servers therefore some servers throwthis error...will you please help me out in solving this...

Thanks & regards,
Vishal

Dennis Handly
Acclaimed Contributor

Re: Need Solution

>yes it does exist on the machines.
>I can run it on many servers therefore some servers throw this error.

 

On each machine you need to check the existence of the script and the interpreter:

ll /opt/sdmx/bin/configureFilter /usr/bin/python

 

Make sure you check as the user in question and not as root.  I.e. permissions on directories may be wrong.

Vishal_1980
Regular Advisor

Re: Need Solution

Great ..thanks Dennis,

Sure i will check this & let you know about this.

Thanks & have a great day ahead,

Best regards,
Vishal