03 2024 档案

PG16_数据库连接太多导致数据库无法删掉
摘要:原始报错 ERROR: database "research db" is being accessed by other usersDetail: There are 20 other sessions using the database. 解决办法 You can use pg_termina 阅读全文
posted @ 2024-03-27 10:20 ac23 阅读(16) 评论(0) 推荐(0) 编辑
Ubuntu20.04下GCC编译器使用asan须知
摘要:背景 只在CFLAGS和CXXFLAGS加-fsanitize=address是不够的,会编译失败,报出一堆undefined reference to __asan_report_XXX这样的报错,例如 undefined reference to __asan_report_load1 各种各种 阅读全文
posted @ 2024-03-12 15:50 ac23 阅读(442) 评论(0) 推荐(0) 编辑
Ubuntu20.04使用apt安装以boost库为基础的C/C++开发环境
摘要:1.开启了x11功能的mobaxterm(mobaXterm默认开启了,其他的终端可能还要设置开启)上安装一些必要依赖 sudo apt install libxext6 libxrender1 libxtst6 libxi6 libfreetype6 -y sudo apt install fon 阅读全文
posted @ 2024-03-11 10:15 ac23 阅读(165) 评论(0) 推荐(0) 编辑
crontab定时执行shell脚本失败
摘要:解决办法 要定时执行的shell脚本开头引入你自己有访问权限的环境变量文件: #!/bin/sh . /home/hsy/.profile(这是Ubuntu的,如果是CentOS就改成bash_profile) . /home/hsy/.bashrc # 以下写你脚本的内容 crontab -e要这 阅读全文
posted @ 2024-03-06 14:30 ac23 阅读(15) 评论(0) 推荐(0) 编辑

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