上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
  2012年3月5日
摘要: 迁移cacti后图表一直没出来....调试注意1.cacti->System Utilities->Technical Support 调试2.cacti 0.8.7e 不支持rrdtool-1.4.4可用1.3x,1.2x3.rrdtool 显示错误ERROR: This RRD was created on another architecture不同版本不兼容,32bit和64bit也不兼容解决不兼容方法1.在原服务器生成xml文件创建脚本文件dumprrdtool.sh#!/bin/shrrddump="/usr/local/rrdtool/bin/rrdtool 阅读全文
posted @ 2012-03-05 17:45 weaver_chen 阅读(748) 评论(0) 推荐(0) 编辑
摘要: 他的系统是CentOS,是RH派系的。我把vsftpd安装配置好了,以为大功告成,但客户端访问提示如下错误:500 OOPS: cannot change directory:/home/ftp原因是他的CentOS系统安装了SELinux,因为默认下是没有开启FTP的支持,所以访问时都被阻止了。//查看SELinux设置# getsebool -a|grep ftpftpd_disable_trans --> off或者ftp_home_dir-->off//使用setsebool命令开启# setsebool ftpd_disable_trans 1或者# setsebool 阅读全文
posted @ 2012-03-05 15:58 weaver_chen 阅读(18702) 评论(1) 推荐(1) 编辑
摘要: ProblemMy company is heavily dependant on SQL Server transactional replication and once in awhile the default alerts are not sufficient and sometimes we want to be able to disable alerts when we perform maintenance. In this tip I will show you a few scripts I have implemented to allow me to better m 阅读全文
posted @ 2012-03-05 11:06 weaver_chen 阅读(421) 评论(0) 推荐(0) 编辑
  2012年3月2日
摘要: 今天在测试Linux的LVM,在用lvreduce命令对之前的逻辑卷减少容量,并重启挂载,出现容量已经减少,但是df -h显示lvm挂载的/other分区的容量依然没有变,搜遍了Google和百度,没有找到答案。后来经过自己两天时间的摸索,终于知道了解决方法:说明:/dev/myvg/mylv是我创建的逻辑卷,该逻辑卷挂在/other分区(3.8G)下。[root@CentOS ~]# umount /dev/myvg/mylv[root@CentOS ~]# lvreduce -L -800M /dev/myvg/mylv/dev/cdrom: open failed: Read-only 阅读全文
posted @ 2012-03-02 17:49 weaver_chen 阅读(1969) 评论(0) 推荐(0) 编辑
  2012年2月28日
摘要: 又一年开始了,如果不出去玩几天,怎么对得起这一片绿树繁花呢。 阅读全文
posted @ 2012-02-28 22:16 weaver_chen 阅读(105) 评论(0) 推荐(0) 编辑
  2012年2月27日
摘要: 1)检查oracle系统临时表空间大小:select sum(bytes)/1024/1024 "temp size(M)" from dba_temp_files where tablespace_name='TEMP';2)查询undo表空间大小select sum(bytes)/1024/1024 "current undo size(M)" from dba_data_files where tablespace_name='UNDOTBS1';3)查询SGA和PGA:SQL> show parameter 阅读全文
posted @ 2012-02-27 22:29 weaver_chen 阅读(959) 评论(0) 推荐(0) 编辑
摘要: 1. Oracle安装完成后的初始口令? internal/oracle sys/change_on_install system/manager scott/tiger sysman/oem_temp2. ORACLE9IAS WEB CACHE的初始默认用户和密码?administrator/administrator3. oracle 8.0.5怎么创建数据库?用orainst。如果有motif界面,可以用orainst /m。4. oracle 8.1.7怎么创建数据库?dbassist5. oracle 9i 怎么创建数据库?dbca6. oracle中的裸设备指的是什么?裸... 阅读全文
posted @ 2012-02-27 22:22 weaver_chen 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 昨天进行了表空间迁移的维护,维护后出现一个问题:MYTEST用户下的表表空间迁移后索引存在失效。针对该问题和其他DBA进行了一些沟通,大家理解并不统一。后通过实际测试发现,表空间迁移后没有数据的表索引正常,但有数据的表的相关索引确实会失效,解决的方法是REBUILD索引(今早rubuild MYTEST下的所有索引,通过select INDEX_NAME,status from user_indexes确认status均为VALID的正常状态)。进一步查找资料发现:Moving a table changes the rowids of the rows in the table. This 阅读全文
posted @ 2012-02-27 20:47 weaver_chen 阅读(852) 评论(0) 推荐(0) 编辑
摘要: 关键字:基本概念,原理临时表的特点,什么时候用前段时间,新公司的面试官问了一个问题,临时表的作用,以前我们用缓存中间数据时候,都是自己建一个临时表。其实oracle本身在这方面就已经考虑很全了,除非有些高级应用,我再考虑自己创建临时表。由于本人对临时表的了解不是很多,于是回来搜集下这方面的资料,弥补下这块的不足。1、前言 目前所有使用Oracle作为数据库支撑平台的应用,大部分数据量比较庞大的系统,即表的数据量一般情况下都是在百万级以上的数据量。 当然在Oracle中创建分区是一种不错的选择,但是当你发现你的应用有多张表关联的时候,并且这些表大部分都是比较庞大,而你关联的时候发现其中的某一张或 阅读全文
posted @ 2012-02-27 18:08 weaver_chen 阅读(686) 评论(0) 推荐(0) 编辑
摘要: 尝试解决方法:曾经想使用alter database open resetlogs;来解决,但是结果提示如下:RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of alter db 阅读全文
posted @ 2012-02-27 18:03 weaver_chen 阅读(679) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页