CentOS/Ubuntu/Mac

刘超 25天前 ⋅ 5331 阅读   编辑

  根据遇到的问题总结一些排查问题的方法,总结如下:

版本 问题 方法
centos7以上
Failed to start ***之类的问题 可以先用systemctl status ***查看一下,如果从日志中看不出啥来,再用journalctl –xe查看一下,看看能看出啥

 下面是遇到的一些问题:

分类 问题 是否解决
系统 版本
CentOS 别名 bash: cd: /home/jichaol/liujichao: No such file or directory
vi/vim vi/vim error: E45: 'readonly' option is set (add ! to override)
  sed command a expects \ followed by text
yum Warning: RPMDB altered outside of yum
ftp Copying files to remote side failed. Could not create file.
scp /usr/bin/scp: Argument list too long
ntp ntpdate[48165]:no server suitable for synchronization found
ntpdate the NTP socket is in use, exiting
ntpdate bind() fails permission denied
ssh Permission denied (publickey).
  执行scp报Host key verification failed
xshell 主机密钥导入失败 所选文件不是有效的主机密钥文件
Permissions 0664 for 'id_rsa' are too open.
ssh: Could not resolve hostname ojump: Name or service not known
Failed to start OpenSSH server daemon
'abrt-cli status' timed out  
network Failed to start LSB Bring updown networking
ping ping: unknown host bj-zw-bigdata-db
centos centos某个节点挂了
Mac   程序 Sullime
  rm: Sublime Text for Mac 3190 : Resource busy
    Eclipse
    mac eclipse识别不了 @Slf4j ,@Getter ,@Setter等注解


注意:本文归作者所有,未经作者允许,不得转载

全部评论: 0

    我有话说: