摘要: ORA-00245: control file backup failed;target is likely on a local file systemORA-00245: control file backup failed;target is likely on a local file systemTable of Contents1. 错误信息2. 原因3. 解决方法1 错误信息ORA-... 阅读全文
posted @ 2019-12-22 14:15 halberd.lee 阅读(691) 评论(0) 推荐(0) 编辑
摘要: ORA-12528 Table of Contents 1. 错误信息 2. 原因 3. 解决方法 3.1. 实例未打开 3.2. 监听相关 3.2.1. 动态监听改为静态监听 3.2.2. 配置local_listener 1 错误信息 ERROR:ORA-12528: TNS:listener: 阅读全文
posted @ 2019-12-22 13:18 halberd.lee 阅读(3487) 评论(0) 推荐(0) 编辑
摘要: Oracle Listener Table of Contents 1. 监听的作用 2. 静态监听与动态监听 2.1. 区别 2.2. 监听中的服务名和实例名 2.3. 配置示例 2.3.1. 静态监听 2.3.2. 动态监听 3. 密码 3.1. 设置密码 4. 相关脚本 4.1. 通过日志查看 阅读全文
posted @ 2019-12-22 12:34 halberd.lee 阅读(5602) 评论(0) 推荐(1) 编辑
摘要: Oracle SequenceOracle SequenceTable of Contents1. 序列迁移2. RAC中序列的注意事项2.1. cache + noorder2.2. cache + order3. 指定序列起始值1 序列迁移select 'drop sequence '||sequence_owner||'.'||sequence_name||';'||CHR(10)||'cr... 阅读全文
posted @ 2019-12-15 22:51 halberd.lee 阅读(695) 评论(0) 推荐(0) 编辑
摘要: awk 分组求和 分组求和 awk '{s[substr($2,1,6)] += $1} END{for(i in s) {print i, s[i]/(1024*1024*1024)} }' file_to_read.txt |sort -n 这里面用到了awk的知识和字典的知识。AWK 中需要了 阅读全文
posted @ 2019-10-28 17:31 halberd.lee 阅读(1592) 评论(0) 推荐(0) 编辑
摘要: Message NNNN not found; No message file for product=network, facility=TNS Table of Contents 1. 错误信息 2. 原因 3. 解决方法 1 错误信息 LSNRCTL for Linux: Version 18 阅读全文
posted @ 2019-10-27 12:58 halberd.lee 阅读(2467) 评论(0) 推荐(0) 编辑
摘要: vsftpd 常用功能参数配置及参数详解 Table of Contents 1. 配置超级服务 2. 配置匿名用户 3. 配置本地用户登录 4. 配置虚拟用户登录 5. 使用SSL登入 6. 日志文件 7. 传输模式 8. 传输速率设置 9. 超时设置 10. 用户创建的文件的权限 11. 连接数 阅读全文
posted @ 2019-10-24 19:35 halberd.lee 阅读(18641) 评论(0) 推荐(0) 编辑
摘要: PostgreSQL 12 源码安装 Table of Contents 1. 下载 2. 准备环境 3. 编译安装 4. 设置环境变量 5. 初始化数据库 6. 配置参数文件 6.1. postgresql.conf 6.2. pg_hba.conf 7. 数据库启动与关闭 7.1. 手动 7.2 阅读全文
posted @ 2019-10-18 17:48 halberd.lee 阅读(4710) 评论(1) 推荐(1) 编辑
摘要: ORA-00845: MEMORY_TARGET not supported on this system Table of Contents 1. 问题 2. 分析 3. 解决 1 问题 Oracle 11G 中出现了memory_target 参数,用以实现自动 内存管理 。这个参数的实际使用 阅读全文
posted @ 2019-10-10 00:33 halberd.lee 阅读(3093) 评论(0) 推荐(0) 编辑
摘要: wait_timeout 和 interactive_timeout Table of Contents 1. 参数说明 2. 原代码 3. interactive_timeout覆盖wait_timeout 4. 总结 1 参数说明 这里简单解释一下两个参数含义如下: interactive_ti 阅读全文
posted @ 2019-09-26 21:55 halberd.lee 阅读(820) 评论(0) 推荐(1) 编辑
摘要: java.sql.SQLRecoverableException: IO Error: Broken pipe Table of Contents 1. 错误信息 2. 分析 2.1. 连接池 2.2. TCP网络 2.3. 数据库监听 1 错误信息 ERROR [com.alibaba.druid 阅读全文
posted @ 2019-09-26 21:20 halberd.lee 阅读(2297) 评论(0) 推荐(1) 编辑
摘要: 分别详细介绍了 mysqldump / xtrabackup / mariabackup 工具的使用 阅读全文
posted @ 2019-08-23 18:54 halberd.lee 阅读(967) 评论(0) 推荐(0) 编辑
摘要: MACBOOK 破解wifi密码 Table of Contents 1. 安装homebrew 2. 安装aircrack-ng 3. 获取wifi网卡信息 4. 获取所有可识别的wifi信息 5. 监听wifi登录信息 6. 查看是否获取handshake信息 7. 获取密码字典 8. 破解 1 阅读全文
posted @ 2019-08-23 15:34 halberd.lee 阅读(9353) 评论(1) 推荐(0) 编辑
摘要: MAC PRO 安装homebrew Table of Contents 1. 简介 2. 安装和卸载 3. Homebrew使用 1 简介 Homebrew 是一款 macOS 平台下的软件包管理工具,拥有安装、卸载、更新、查看、搜索等 很多实用的功能。就像CentOS/RHEL 中的yum ,像 阅读全文
posted @ 2019-08-23 12:38 halberd.lee 阅读(253) 评论(0) 推荐(0) 编辑
摘要: CentOS / RHEL 7 防火墙 Table of Contents 1. 简述 2. 常用基本操作 2.1. 查看防火墙状态 2.2. 开启防火墙 2.3. 关闭防火墙 2.4. 开机自动启动防火墙 2.5. 开机关闭防火墙 3. firewalld配置 3.1. 重新加载配置 3.2. z 阅读全文
posted @ 2019-08-22 22:25 halberd.lee 阅读(405) 评论(0) 推荐(1) 编辑
摘要: ORA-01031: insufficient privileges Table of Contents 1. 错误信息 2. 官方解析 3. 情景分析 3.1. 登录 3.1.1. 用户属组缺失或不正确 3.1.2. 用户认证方式不对 3.1.3. ORACLE_SID 3.2. 对象权限不足 1 阅读全文
posted @ 2019-08-21 17:36 halberd.lee 阅读(3935) 评论(0) 推荐(0) 编辑
摘要: oracle 登录认证 Table of Contents 1. 简介 2. authentication_services 2.1. 不同登录方式的写法 3. sysdba角色登录认证 3.1. 无密本地登录 3.2. 密码文件 3.3. 是否开启密码文件验证 3.4. 限制sys登录方式 3.4 阅读全文
posted @ 2019-08-21 16:54 halberd.lee 阅读(2281) 评论(0) 推荐(0) 编辑
摘要: ORA-12162 Table of Contents 1. 错误信息 2. 分析及解决 2.1. 原因 2.2. 解决 1 错误信息 $ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 21 11:23: 阅读全文
posted @ 2019-08-21 16:23 halberd.lee 阅读(748) 评论(0) 推荐(0) 编辑
摘要: cannot restore segment prot after reloc: Permission denied Table of Contents 1. 错误信息 2. 解决方法 1 错误信息 $lsnrctl start lsnrctl: error while loading shared 阅读全文
posted @ 2019-08-10 02:35 halberd.lee 阅读(190) 评论(0) 推荐(0) 编辑
摘要: CentOS / RHEL 配置yum源 CentOS / RHEL 配置yum源 Table of Contents 1. 前言 2. 关于yum 2.1. yum是什么 2.2. yum特点 2.3. 安装yum 2.4. yum配置 2.5. 软件源 2.6. yum使用 2.7. yum常用 阅读全文
posted @ 2019-08-10 01:46 halberd.lee 阅读(3959) 评论(2) 推荐(0) 编辑
摘要: Linux cat中文正常vi中文乱码 问题示例 Linux cat中文正常vi中文乱码 问题示例 出现此问题,有可能是vim 编辑器的配置编码方面的问题。 出现此情况,在vim 编辑器中输入 :e ++enc=utf8 :e ++enc=zh_CN 如果上面两次处理的结果中,有一个可以让乱码变为中 阅读全文
posted @ 2019-08-09 16:53 halberd.lee 阅读(3675) 评论(0) 推荐(0) 编辑
摘要: 开机自动挂载ISO文件 Table of Contents 1. 概述 1.1. 通过fstab 1 概述 开机自动挂载ISO 文件有两种途径 。一种是通过配置fstab文件,开机时Linux自动识别并 挂载。另外一种是将挂载命令加入到开机后自动执行的脚本中, 一般为/etc/rc.d/rc.loc 阅读全文
posted @ 2019-08-06 14:06 halberd.lee 阅读(4682) 评论(0) 推荐(0) 编辑
摘要: druid 参数配置详解druid 参数配置详解Table of Contents1. 初始化连接2. 参数配置及说明 3. 注意事项3.1. 底层连接3.2. 空闲检查问题4. 不同配置文件4.1. jdbc中配置连接池4.2. springs中配置druid4.3. spring boot application.properties配置1 初始化连接在druid连接数据库的配置文件中,读写d... 阅读全文
posted @ 2019-08-05 18:35 halberd.lee 阅读(70248) 评论(7) 推荐(11) 编辑
摘要: Linux 双网卡绑定 Table of Contents 1. 什么是bind 2. 为什么要bind 3. 如何配置 4. 查看当前使用的网卡 1 什么是bind bind 是多网卡绑定的一种称谓。通俗来说,bind 是一种网卡集群的技术,可以将多块网卡 配置为主备或者负载均衡,它会虚拟出一块物 阅读全文
posted @ 2019-08-02 10:29 halberd.lee 阅读(1308) 评论(0) 推荐(0) 编辑
摘要: Oracle 中的进制转换Oracle 中的进制转换Table of Contents1. 进制名2. 10进制与16进制互相转换2.1. 10进制转换为16进制2.2. 16进制转换为10进制3. 2进制与10进制互相转换3.1. 2进制转10进制3.2. 10进制转2进制1 进制名进制英文全名缩写2binaryB8octalO10DecimalD16hexadecimalH2 10进制与16进... 阅读全文
posted @ 2019-07-28 15:22 halberd.lee 阅读(709) 评论(0) 推荐(0) 编辑
摘要: redis目前还不支持批量删除key的命令,但是我们有时需要删除符合某个规则的keys, 主要是整合查询key 与删除key的命令,通过管道符可以实现: 阅读全文
posted @ 2019-07-28 12:34 halberd.lee 阅读(799) 评论(0) 推荐(0) 编辑
摘要: Oracle 时区Oracle 时区Table of Contents1. 简介2. Oracle TimeZone2.1. 时区文件2.2. 时区名字2.3. 查询数据库或者会话时区2.4. 调整时区2.5. 查询在指定时区的当地时间1 简介由于地球经纬度及地球自转引起的经度方向,不同的经度的地方,所感受到的昼夜是不同的。有关国际会议决定将地球表面按经线从东到西,每隔经度15度划分一个时区,并且... 阅读全文
posted @ 2019-07-25 17:16 halberd.lee 阅读(4584) 评论(0) 推荐(0) 编辑
摘要: Mysql Errors Table of Contents 1. ERROR 1044 1.1. 42000 2. ERROR 1045 2.1. 28000 2.1.1. 无登录权限 2.1.2. 无文件访问权限 2.1.3. Mysql.user.password字段 3. ERROR 105 阅读全文
posted @ 2019-07-18 18:13 halberd.lee 阅读(470) 评论(0) 推荐(0) 编辑
摘要: OGG ERRORS 总结OGG ERRORS 总结Table of Contents1. libnnz11.so2. 004462.1. missing filename opening checkpoint file2.1.1. 错误信息2.1.2. 分析与解决2.2. could not find archived log2.2.1. 错误信息2.2.2. 分析与解决3. 009184. 0... 阅读全文
posted @ 2019-07-17 21:23 halberd.lee 阅读(2936) 评论(0) 推荐(0) 编辑
摘要: ERROR 1292(22007) Table of Contents 1. 1292 1.1. 22007 1 1292 1.1 22007 错误信息 ERROR 1292 (22007): Truncated incorrect DOUBLE value: '' 分析 该错误是由于 MySQL 阅读全文
posted @ 2019-07-16 13:59 halberd.lee 阅读(1471) 评论(0) 推荐(0) 编辑