上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: data guard switchover切换异常查看DG数据库备份库发现,switchover_status为SWITCHOVER LATENTSQL> select OPEN_MODE,PROTECTION_MODE,PROTECTION_LEVEL,SWITCHOVER_STATUS from v$database;OPEN_MODE PROTECTION_MODE PROTECTION_LEVEL SWITCHOVER_STATUS---------- -------------------- -------------------- ... 阅读全文
posted @ 2014-03-11 16:23 holycrap 阅读(324) 评论(0) 推荐(0) 编辑
摘要: startup mount restrict;drop database;alter database add standby logfile thread 1 group 8 '/oracle/app/oradata/ora11g/ora_sdb08_1' size 524288000;增加日志组,和日志 阅读全文
posted @ 2014-03-11 14:03 holycrap 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 有a和b两台机器,现要将a机器的user1用户添加到b机器的user2用户信任列表里,使a机器的user1用户可以直接ssh到b机器的user2用户步骤:1,进入a机器/home/user1/.ssh目录,如果没有,执行mkdir -p /home/user1/.ssh,检查该目录下是否有一个id_rsa.pub文件,如果没有,执行ssh-keygen -t rsa 命令,该目录下会生成该文件.复制该文件的内容;2,进入b机器/home/user2/.ssh目录,如果没有就创建,在该目录下 执行 vi authorized_keys ,在最后一行将步骤1复制的内容粘贴到这里,然后保存退出;3, 阅读全文
posted @ 2014-03-07 16:13 holycrap 阅读(208) 评论(0) 推荐(0) 编辑
摘要: set linesize 可以解决设置行打印的字符长度,set linesize 400解决 阅读全文
posted @ 2014-03-01 11:25 holycrap 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 2、It could happen to anyone./That happens.谁都可能会遇到这种情况3、I’m a laundry virgin.(注意virgin的用法,体会老美说话之鲜活)8、I think it works for me.(work为口语中极其重要的小词)9、Rachel, you are out of my league(等级,范畴).你跟我不是同一类人11、Given your situation, the options with the greatest chances for success would be surrogacy.(given表示考虑到的意 阅读全文
posted @ 2014-02-27 13:05 holycrap 阅读(371) 评论(0) 推荐(0) 编辑
摘要: What are you trying to say?(你到底想说什么?)Don't be silly.(别胡闹了。)How strong are your glasses?(你近视多少度?)Just because.(没有别的原因。)It isn't the way I hoped it would be.(这不是我所盼望的。)You will never guess.(你永远猜不到。)No one could do anything about it.(众人对此束手无措。)I saw something deeply disturbing.(深感事情不妙。)Money is 阅读全文
posted @ 2014-02-27 13:04 holycrap 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 1. 不要使用extern来做函数和变量的定义extern int g_test=10;这样做编译器会认为是变量定义而非声明;2. 尽量避免使用extern来处理全局变量和函数声明使用了extern说明,使用了其他模块的全局变量,或者在头文件中没有声明的函数。正确的解决办法应该是模块间接口应该定义清楚,而不是用extern来进行跨模块处理 阅读全文
posted @ 2014-02-22 16:55 holycrap 阅读(176) 评论(0) 推荐(0) 编辑
摘要: #ifndef __SIGNAL_COMMON_H#define __SIGNAL_COMMON_H#include #define NGX_OK 0#define NGX_ERROR -1#define NGX_AGAIN -2#define NGX_BUSY -3#define NGX_DONE -4#define NGX_DECLINED -5#define NGX_ABORT -6#define ngx_memset_zero(bu... 阅读全文
posted @ 2014-01-21 12:22 holycrap 阅读(214) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include "mime.h"#include "http_common.h"static const char* methods[]={ "GET", "POST"};static int get_version(const char* versionPos, char* version){ char* versionEnd = NULL; int versionlen = 0; if(versionPos == NULL || version == NU 阅读全文
posted @ 2014-01-14 15:01 holycrap 阅读(176) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include /*-----------------------------------------------------------------functionname: file_existparam: NAreturn: NAauthor: xxxx check if file is exist in webapp history: create by xxxx, 2014.1.08, add simple abilities-------------------------... 阅读全文
posted @ 2014-01-14 14:39 holycrap 阅读(151) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页