Intrusion Prevention
Intrusion Prevention

sensor_4_1r3.sh Upgrade

01.15.09   |  
‎01-15-2009 07:45 PM

I want OS Upgrade of IDP200 Sensor

But, "bash: ./sensor_4_1r3.sh: bad interpreter: Permission denied" output message.

 

[root@idp tmp]# ls
hmd.sock  lost+found  mondo-restore.log  sensor_4_1r3_patch.sh  sensor_4_1r3.sh
[root@idp tmp]# chmod 755 sensor_4_1r3.sh
[root@idp tmp]# ./sensor_4_1r3.sh
bash: ./sensor_4_1r3.sh: bad interpreter: Permission denied
[root@idp tmp]#

 

What is problem?

 

4 REPLIES
Intrusion Prevention

Re: sensor_4_1r3.sh Upgrade

01.17.09   |  
‎01-17-2009 02:21 AM

Hi,

Did you get this when using a non-root user?

can you please send me the output of the "ls -ltr" of the /tmp directory to check the size of the file and make sure the file is not corrupted.

Try to run the script from the /tmp using the "sh" and not "./" even if this is the same for most cases.

 

Richard    JNCIA-IDP 

Intrusion Prevention

Re: sensor_4_1r3.sh Upgrade

01.18.09   |  
‎01-18-2009 05:50 AM

Hi,

also, please verify the MD5 hash of the script you're trying to execute.

From the download website, the md5 for sensor_4_1r3.sh is:

deb433a930696d33ec958ebc3c959243

 

Cheers

Daniele

***Contributor at Router Freak blog***
Intrusion Prevention

Re: sensor_4_1r3.sh Upgrade

04.09.09   |  
‎04-09-2009 05:22 PM
As Daniele pointed out, please verify that the MD5 sum of your shar file is correct. Typically this sort of error happens when the shar file is downloaded to a Windows box and Windows automatically converts the newline characters to CR-LF sequences. This conversion corrupts the shar and causes the error you saw to occur.
Intrusion Prevention

Re: sensor_4_1r3.sh Upgrade

04.14.09   |  
‎04-14-2009 07:06 AM

Hi,

I confirm that you need to execute the installation script using "sh <filename>" and not "./<filename>"... this is for security.

 

Ciao Smiley Happy

Daniele

***Contributor at Router Freak blog***