Linux常见的故障和原因约50个

本文概述了IT技术中常见的问题,包括文件和目录操作错误、网络连接问题(如DNS解析、远程连接失败等)、修改系统基础配置难题、用户管理错误以及脚本定时任务配置挑战。
摘要由CSDN通过智能技术生成

一、文件和目录类

  1. File exist 文件已经存在
  2. No such file or directory 没有这个文件或目录(这个东西不存在)
  3. command not found 命令找不到(没有这个命令)
  4. invalid option 无效的参数(不可用的参数)
  5. overwrite 覆盖
  6. remove regular empty file 是否删除普通文件(空的)?
  7. is a directory xxx是一个目录
  8. descend into directory 是否进入目录
  9. Invalid level 无效的层数,层数必须大于0
  10. Can't open file for writing 无法打开这个文件
  11. No write since last change
  12. xx column window is too narrow 窗口只有xx列太窄了 无法完全显示
  13. xxx not a directory 不是一个目录
  14. 查看压缩包的时候报错
  15. You have mail in /var/spool/mail/root
  16. permission denied
  17. Warning: Changing a readonly file
  18. 'readonly' option is set (add ! to override)
  19. cp: omitting directory ‘/oldboy/’
    unexpected end of file 或 Unexpected EOF in archive
    gzip: stdin: not in gzip format 压缩包不是gzip格式或压缩包损坏

二、网络连接类

1.远程连接错误 Connection Failed 连接失败

2.yum安装软件故障提示 Could not resolve host无法解析主机

3.yum安装软件提示:Nothing to do (没事做)

4.没有找到叫treea的软件包

5.Name or service not known 域名无法识别(无法上网)

6.No route to host 没有访问主机的路由(此路不通)

7.Connection Refused 连接拒绝

三、修改系统基础配置类

1.重启网卡报错 device not present

2.修改主机名过程中,命令行中主机名没有变化

3.hostname命令修改主机名(临时 重启服务器之后失效)

4.命令行中的主机名部分没有改变?

四、用户相关错误

1.user 'oldboy' already exists

2.no such user

3. Only root can do that.

4.Only root can specify a user name.

5.Creating mailbox file: File exists

6warning: the home directory already exists.

/etc/sudoers: syntax error near line 105 <<<

五、脚本及定时任务

no crontab for root 没有配置定时任务

no crontab for root - using an empty one 没有定时任务,创建空的定时任务

crontab: installing new crontab 更新定时任务配置

  • 5
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值