NFS掛上去的資料無法執行 - Linux

By Andy
at 2008-11-30T15:39
at 2008-11-30T15:39
Table of Contents
※ 引述《achen0504 (因為了解產生感動)》之銘言:
: server.cluster:/home /home nfs rw,exec 0 0
: 執行的情況:
: [achen@node5 examples]$ ./pi3f90.out
: -bash: ./pi3f90.out: cannot execute binary file
: [achen@node5 examples]$ pgf90 pi3f90.f90 -o 2_pi3f90.out
: -bash: /cluster/server/program/pgi/linux86-64/8.0/bin/pgf90: cannot execute
: binary file
: 主機端的export
: [achen@server examples]$ cat /etc/exports
: /home 192.168.1.0/24(rw,async,no_root_squash)
: /disk1 192.168.1.0/24(rw,async,no_root_squash)
: google了很久好像沒人遇到這個問題
: 請問能給點線索要去檢查哪裡嗎?
會不會你的server和node一個是32-bit,一個是64-bit?
你試著把檔案copy過去看能不能執行
如果可以執行才來看看是不是NFS的問題
NFS不能執行可能是有設noexec的參數。
--
: server.cluster:/home /home nfs rw,exec 0 0
: 執行的情況:
: [achen@node5 examples]$ ./pi3f90.out
: -bash: ./pi3f90.out: cannot execute binary file
: [achen@node5 examples]$ pgf90 pi3f90.f90 -o 2_pi3f90.out
: -bash: /cluster/server/program/pgi/linux86-64/8.0/bin/pgf90: cannot execute
: binary file
: 主機端的export
: [achen@server examples]$ cat /etc/exports
: /home 192.168.1.0/24(rw,async,no_root_squash)
: /disk1 192.168.1.0/24(rw,async,no_root_squash)
: google了很久好像沒人遇到這個問題
: 請問能給點線索要去檢查哪裡嗎?
會不會你的server和node一個是32-bit,一個是64-bit?
你試著把檔案copy過去看能不能執行
如果可以執行才來看看是不是NFS的問題
NFS不能執行可能是有設noexec的參數。
--
Tags:
Linux
All Comments
Related Posts
廣告太多了吧~~

By Rebecca
at 2008-11-30T14:23
at 2008-11-30T14:23
Linux之下如何由gif製造出mpeg檔?

By Quintina
at 2008-11-30T04:01
at 2008-11-30T04:01
Ubuntu-8.10問題

By Ina
at 2008-11-30T02:31
at 2008-11-30T02:31
IP設定

By Ivy
at 2008-11-29T16:36
at 2008-11-29T16:36
Linux之下如何由gif製造出mpeg檔?

By Aaliyah
at 2008-11-29T15:23
at 2008-11-29T15:23