随笔分类 -  系统相关

摘要:问题描述:Detection of Platform Module failed: 没有检测到有效的 Platform ID 华为欧拉系统搭建本地yum源,执行dnf makecache后,报错”Detection of Platform Module failed: 没有检测到有效的 Platfo 阅读全文
posted @ 2024-05-22 09:37 巴州夜雨 阅读(674) 评论(0) 推荐(0) 编辑
摘要:Failed to open /sysroot/etc/fstab: Input/output error 解决办法: umount /dev/dm-0 xfs_repair -v -L /dev/dm-0 reboot 阅读全文
posted @ 2023-11-16 11:22 巴州夜雨 阅读(289) 评论(0) 推荐(0) 编辑
摘要:[root@7 ~]# systemctl stop auditd.service Failed to stop auditd.service: Operation refused, unit auditd.service may be requested by dependency only (i 阅读全文
posted @ 2023-10-18 15:27 巴州夜雨 阅读(744) 评论(0) 推荐(0) 编辑
摘要:#2:定位僵尸进程ID。 ps -A -o stat,ppid,pid,cmd |grep -e "^[Zz]" ps -ef|grep "defunct" #3. 查看服务 结束。 阅读全文
posted @ 2023-09-14 11:12 巴州夜雨 阅读(13) 评论(0) 推荐(0) 编辑
摘要:一.下载:首先下载Beyond Compare最新版本,链接如下:https://www.scootersoftware.com/download.php 下载完直接解压打开,如果之前使用过,会出现:评估模式错误,输入密钥或购买提示 此时我们通过删除registry.dat,再试用30天,具体操作如 阅读全文
posted @ 2023-03-09 16:07 巴州夜雨 阅读(526) 评论(0) 推荐(0) 编辑
摘要:报错 subprocess.CalledProcessError: Command 'krb5-config --libs gssapi' returned non-zero exit status 127 解决 yum install krb5* 阅读全文
posted @ 2023-02-24 12:09 巴州夜雨 阅读(502) 评论(0) 推荐(0) 编辑
摘要:1. 要排除特定文件,请将文件的相对路径传递给--exclude选项。在下面的例子中,文件src_directory/file.txt不会被传输: rsync -a --exclude 'file.txt' src_directory/ dst_directory/ 2. 排除特定目录与排除文件相同 阅读全文
posted @ 2023-02-17 11:46 巴州夜雨 阅读(878) 评论(0) 推荐(0) 编辑
摘要:选项-h, --help # 显示帮助信息; -V, --version # 显示版本信息. (这个选项不能与其他选项组合); -q, --quiet # 不打印状态消息;状态 --state # 显示firewalld的状态; --reload # 不中断服务的重新加载; --complete-r 阅读全文
posted @ 2023-01-13 10:57 巴州夜雨 阅读(80) 评论(0) 推荐(0) 编辑
摘要:nc -uvz 11.0.19.11 123 //command not found,则yum install nc Ncat: Version 7.50 ( https://nmap.org/ncat ) Ncat: Connected to 11.0.19.11:123. Ncat: UDP p 阅读全文
posted @ 2022-12-05 15:53 巴州夜雨 阅读(39) 评论(0) 推荐(0) 编辑
摘要:EERROR: for xxxx UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60 ERROR: for xxx xx UnixHTTPConnectionPool(host=' 阅读全文
posted @ 2022-12-02 16:38 巴州夜雨 阅读(620) 评论(0) 推荐(0) 编辑
摘要:重启服务器,报错: Authorization not available. Check if polkit service is running or see debug message for more information. 解决: 1.systemctl reinstall polkit 阅读全文
posted @ 2022-11-17 17:13 巴州夜雨 阅读(9623) 评论(0) 推荐(0) 编辑
摘要:服务器重启后进入了紧急模式,附图所示: 依提示journalctl -xb查看系统日志,发现是/home目录挂载异常: 解决:使用管理口或KVM设备登录服务器。 1. 取消开机自动挂载。注释掉“/dev/mapper/centos-home /home xfs efaults 0 0”(即在行首加上 阅读全文
posted @ 2022-11-17 17:04 巴州夜雨 阅读(2777) 评论(0) 推荐(0) 编辑
摘要:Linux环境的VMware里跑了个win系统,运行一段时间后总是报错如下: The virtual machine’s operating system has attempted to enable promiscuous mode on adapter ‘Ethernet0’. This is 阅读全文
posted @ 2022-11-12 17:48 巴州夜雨 阅读(333) 评论(0) 推荐(0) 编辑
摘要:记录apache2安装过程。 1.$sudo apt install -y apach2 2.$/etc/apach2/ports.conf Listen 8001 //修改默认的端口80为8001 3.$/etc/apach2/sites-enabled/000-default.conf //修改 阅读全文
posted @ 2022-11-08 09:56 巴州夜雨 阅读(68) 评论(0) 推荐(0) 编辑
摘要:$ docker-compose down [53206] INTERNAL ERROR: cannot create temporary directory! 维护服务的时候,报这个错误,是磁盘空间不足导致的。 阅读全文
posted @ 2022-11-07 14:56 巴州夜雨 阅读(463) 评论(0) 推荐(0) 编辑
摘要:第一行:周期范围内的负载情况 11:21:29 为当前时间;up 25days 为自上次重启来系统运行时间;1 user 当前登录用户数;load average:72.17 55.19 58.58 为系统负载,分别为1分钟、5分钟、15分钟系统负载平均值,一般负载不超过CPU核心数。这台服务器是2 阅读全文
posted @ 2022-10-09 11:45 巴州夜雨 阅读(313) 评论(0) 推荐(0) 编辑
摘要:dynamic system tuning daemon,然后卡住: 解决: 1.按 alt+F2 进入命令行界面 2.登录系统 3.sudo systemctl set-default multi-user.target //设置开机启动dos界面 4.重启后,以命令行模式进系统。 结束。 阅读全文
posted @ 2022-10-08 15:17 巴州夜雨 阅读(1295) 评论(0) 推荐(0) 编辑
摘要:时间服务器172.31.1.4 客户端:172.31.1.2,172.31.1.3 服务端: 1. 更改/etc/chrony.conf。其中,对于内网环境,必须要启用local stratum 10。因为你需要将本机的时间,给客户端做时间同步。 server 172.31.1.4 iburst s 阅读全文
posted @ 2022-09-22 17:46 巴州夜雨 阅读(551) 评论(0) 推荐(0) 编辑
摘要:创建cron任务,报错如下: # crontab -e no crontab for root - using an empty one Error detected while processing /root/.vimrc: line 2: E492: Not an editor command 阅读全文
posted @ 2022-09-15 10:40 巴州夜雨 阅读(668) 评论(0) 推荐(0) 编辑
摘要:想监控root打开文件的数量,于是在脚本里写了lsof -u root|wc -l 但是通过crontab执行后,显示不识别lsof命令。 解决办法:在脚本里的lsof前面加上/usr/sbin。即/usr/sbin/lsof -u root|wc -l 结束。 阅读全文
posted @ 2022-09-14 15:41 巴州夜雨 阅读(94) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示