-bash: /bin/ps: cannot execute binary file

crystal_heart 2006-09-06 12:14:46
我的Linux跑了几天,然后登陆上去出现这个:

login as: server
server@18.7.1.2's password:
Last login: Wed Sep 6 09:10:55 2006 from 21.21.12.16
-bash: /bin/hostname: cannot execute binary file
-bash: /bin/grep: cannot execute binary file
-bash: /bin/grep: cannot execute binary file
[server@xx ~]$


然后ps显示:

[server@xx ~]$ ps
-bash: /bin/ps: cannot execute binary file

这个是什么原因?
...全文
1327 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
crystal_heart 2006-09-08
  • 打赏
  • 举报
回复
[serverbuilder@localhost ~]$ cat .bashrc
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# User specific aliases and functions
lixiaosan 2006-09-08
  • 打赏
  • 举报
回复
你重新export一下PATH,
或者看一下.bashrc是否有异常
crystal_heart 2006-09-08
  • 打赏
  • 举报
回复
up
sharkoasis 2006-09-07
  • 打赏
  • 举报
回复
重启一下看看,看看是不是文件的可执行属性都被去掉了!
DentistryDoctor 2006-09-07
  • 打赏
  • 举报
回复
可能的原因太多了.重启试一下?
aleng18 2006-09-06
  • 打赏
  • 举报
回复
也可以重新启动一下。
aleng18 2006-09-06
  • 打赏
  • 举报
回复
可能是 path坏了。 检查一下。profile 。bashrc
  • 打赏
  • 举报
回复
换其他的SHELL环境呢?
Roxxette 2006-09-06
  • 打赏
  • 举报
回复
用root登录,看看是否能够执行。有可能是进程数量超过系统限制了
crystal_heart 2006-09-06
  • 打赏
  • 举报
回复
up

18,356

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 网络编程
c++c语言开发语言 技术论坛(原bbs)
社区管理员
  • 网络编程
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧