Can't Run Executable Files on DVD - fstab issue?

Herta Van den Eynde herta.vandeneynde at gmail.com
Sun Sep 6 22:50:47 UTC 2009


Hi Dave,

"bad interpreter: Permission denied" can be the result of a number of
causes.

What does the command "mount" return for your dvd drive?
What is the permission on the files you're trying to execute? ('ls -l' +
'id' from the process from which you are trying to run the executables)
What does 'ls  /bin/sh' return?
When you "vi -b" the file, do the lines terminate with "^M"?
What does "lsattr" of the file return?

Kind regards,

Herta

Can you tell us more about the way the dvd was created?

2009/9/2 Dave Bacon <dbacon at mail.owls.lib.wi.us>

> Hello,
>
> When attempting to run executables from DVDs on our new Red Hat
> Enterprise 5 server, we receive the following error.
>
> bash: ./suu: /bin/sh: bad interpreter: Permission denied
>
> I was told that the problem is possibly related to not having the exec
> option enabled in /etc/fstab for the DVD drive.  Could I please get
> assistance on what I should change or add to fstab to allow running
> executable files on the DVD drive?  Please see below for a copy of our
> "df -h" and fstab information.  Thank you - Dave Bacon
>
> (df -h)
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                     3.9G  592M  3.1G  16% /
> /dev/mapper/VolGroup00-LogVol05
>                     3.9G  137M  3.6G   4% /home
> /dev/mapper/VolGroup00-LogVol04
>                     3.9G  350M  3.4G  10% /var
> /dev/mapper/VolGroup00-LogVol03
>                     3.9G  137M  3.6G   4% /tmp
> /dev/mapper/VolGroup00-LogVol02
>                     7.8G  3.7G  3.7G  50% /usr
> /dev/sda3             190M   28M  153M  16% /boot
> tmpfs                 5.8G     0  5.8G   0% /dev/shm
> /dev/scd0             3.7G  3.7G     0 100% /media/610OMG_81
>
> (/etc/fstab)
> /dev/VolGroup00/LogVol00 /                       ext3    defaults        1
> 1
> /dev/VolGroup00/LogVol05 /home                   ext3    defaults        1
> 2
> /dev/VolGroup00/LogVol04 /var                    ext3    defaults        1
> 2
> /dev/VolGroup00/LogVol03 /tmp                    ext3    defaults        1
> 2
> /dev/VolGroup00/LogVol02 /usr                    ext3    defaults        1
> 2
> LABEL=/boot             /boot                   ext3    defaults        1 2
> tmpfs                   /dev/shm                tmpfs   defaults        0 0
> devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
> sysfs                   /sys                    sysfs   defaults        0 0
> proc                    /proc                   proc    defaults        0 0
> /dev/VolGroup00/LogVol01 swap                    swap    defaults        0
> 0
>
>
> --
>
>               _________________________________________
>
>                             Dave G. Bacon
>                       Computer Network Manager
>                   Outagamie Waupaca Library System
>                225 N. Oneida St., Appleton, WI  54911
>                920/832-6193(voice),  920/832-6422(FAX)
>                       dbacon at mail.owls.lib.wi.us
>                         http://www.owlsweb.info
>               _________________________________________
>
>
> ---------------------------------------
> Checked by MailScan Anti-Virus Software
>
>
>
> --
> redhat-sysadmin-list mailing list
> redhat-sysadmin-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list
>



-- 
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20090907/af3eeffb/attachment.htm>


More information about the redhat-sysadmin-list mailing list