-
1 个月前
cifs文件系统上遇到file lock
疑难杂症
使用场景 把NAS共享,挂载到Linux上,cifs格式,然后将svn检出到共享,希望定时把共享的资源上传到SVN 在共享目录中拉取SVN时报错 svn: E200033: Another process is blocking the working copy database, or the underlying filesystem does not support file locking…
-
1 年前
内网服务器偶现网络异常的问题解决办法
疑难杂症
业务场景 内网服务器端口正常监听,ping正常,偶现socket连接失败,没有回包 解决办法 关闭net.ipv4.tcp_timestamps 关于net.ipv4.tcp_timestamps 详解 net.ipv4.tcp_timestamps 是Linux内核中开启TCP时间戳选项的内核参数,默认值为1(开启)。 开启后TCP报文会携带时间戳,核心作用是实现TCP窗口扩大和防止序列号回绕(…
-
1 年前
解决curl: (60) Peer‘s Certificate issuer is not recognized.错误
运维技术 疑难杂症
yum install 出错 curl: (60) Peer's Certificate issuer is not recognized. More details here: http://curl.haxx.se/docs/sslcerts.html 解决办法 安装 ca-certificates 包 yum install ca-certificates 启用动态 CA 证书 up…
-
2 年前
shell 如何处理带有空格的文件名
疑难杂症
场景 对目录下的所有文件进行打包并加密码 但是某些文件名中存在空格例如 “xxxx .psd” 报错提示 zip warning: name not matched: ./风格搞0506.psd zip error: Nothing to do! (try: zip -rP xxxx /data/cos/test/d1ee1633d80e92e0740b8201812fc331.z…
-
2 年前
/dev/sdb 提示 Device /dev/sdb excluded by a filter解决办法
疑难杂症 运维技术
无法创建PV,找不到分区表 [root@localhost etc]# pvcreate /dev/sdb Device /dev/sdb excluded by a filter 通过blkid发现磁盘类型为gpt [root@localhost etc]# blkid /dev/sdb: PTTYPE="gpt" /dev/sdc: PTTYPE="gpt" /dev/sdd: P…
Linux运维笔记|自动化运维攻城狮

