错误提示:-bash: ./killmountrestart.sh: /bin/bash: bad interpreter: Operation not permitted/killmountrestart.sh是脚本名字。内容如下:#!/bin/bash/opt/IBM/HTTPServer/bin/apachectl stopsleep 5pkill -9 httpsleep 5pkill -9 javasleep 5umount /opt/community/cache/sleep 5mount -t nfs 192.168.151.201:/opt/community/cache /opt/community/cache/sleep 5/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1sleep 20/opt/IBM/HTTPServer/bin/apachectl startroot账户下编写,所有用户有权限:[root@lt1-btvwz-spaceweb4 flv]# lltotal 200drwxrwxrwx 9 weblogic weblogic 4096 Jan 25 2010 flv_images-rwxrwxrwx 1 weblogic weblogic 345 Aug 18 14:44 killmountrestart.sh-rwxrwxrwx 1 weblogic weblogic 670 Jun 1 09:08 killrestartdrwxrwxrwx 2 weblogic weblogic 131072 Dec 22 2010 tempflvdrwxrwxrwx 2 weblogic weblogic 36864 Dec 22 2010 tempvideo可是还是那个提示。
- 1 回答
- 0 关注
- 867 浏览
添加回答
举报
0/150
提交
取消