AIX:无法执行二进制文件,0403-006执行许可被拒绝 [英] AIX : cannot execute binary file, 0403-006 execute permission denied

查看:1803
本文介绍了AIX:无法执行二进制文件,0403-006执行许可被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用AIX7.我想详细了解以下错误情况

I am working on AIX 7. I like to know more in detail about the following error scenarios

  • 无法执行二进制文件
  • 0403-006执行权限被拒绝

对于第一案例,在搜索中很可能是

for the first case, on search it was likely that,

当您尝试在32位操作系统上运行64位软件时,您可能会 有那个错误. AIX是64位的,我一直在尝试使用mysql 安装XAMPP,出现上述错误.我假设32/64 位软件可以在64位操作系统上正常运行.

when you are trying to run 64 bit software on a 32 bit OS, you may have that error. AIX is 64 bit, and I have been trying to use mysql by installing XAMPP, where I am getting the above error. I assume 32/64 bit software will be okay with 64 bit OS.

第二情况下,

尽管我已经以root用户身份登录,并且文件权限为755 [ -rwxr_xr_x]的执行权限被拒绝.

though I have logged in as a root, and file permissions are 755 [ -rwxr_xr_x ] execution permission is denied..

如果我能知道为什么出现上述情况以及解决该问题的最佳方法,我将感到非常高兴.

I will be very happy, if I could know why the above situations occur and the best way to resolve it.

预先感谢!

推荐答案

使用 ls -l <​​/strong>列出目录中文件的权限

Use ls -l to list the permissions for your files in the directory

如果相关文件没有x(执行),则需要添加它

If the file concerned does not have x (execute) you need to add it

chmod a + x myfile.sh

这篇关于AIX:无法执行二进制文件,0403-006执行许可被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆