摘要: 我们团队准备改造现有的监控机制由于性能原因考虑将业务数据趋势图由VBA生成改造成用python的matplotlib顺便记录下一个cookbookhttp://www.scipy.org/Cookbook-------还有http://www.lfd.uci.edu/~gohlke/pythonlibs/===========================================依次安装python 2.7numpy-MKL-1.6.2.win32-py2.7matplotlib-1.1.0.win32-py2.7basemap-1.0.4.win32-py2.7(测试下)----- 阅读全文
posted @ 2012-08-11 10:49 4admin2root 阅读(540) 评论(0) 推荐(0)
摘要: windows 2003 server 企业版 SP2安装好后,进行过系统更新过段时间,远程桌面无法连接了具体现象为: 输入IP地址后,连接,画面一闪而过,又回到了原来的输入IP对话框重启系统后,能正常连接,但过不了多久现象依旧。系统显卡:ATI ES1000系列,其驱动程序为系统默认按照 搜到的方法:修改注册表[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]添加一条“dword”,值为16进制的20"SessionImageSize"=dword: 阅读全文
posted @ 2012-08-11 10:44 4admin2root 阅读(1973) 评论(0) 推荐(0)
摘要: 前些天由于安全等原因,应客户要求,去除了PUBLIC用户的UTL_FILE的权限结果导致了全部数据库报类似如下错误:ORA-12012: error on auto execute of job 52ORA-04068: existing state of packages has been discardedORA-04063: package body "ORACLE_OCM.<package name>" has errorsORA-06508: PL/SQL: could not find program unit being called(ORACLE 阅读全文
posted @ 2012-08-11 10:33 4admin2root 阅读(525) 评论(0) 推荐(0)
摘要: 1、登陆到服务器端2、service mysql stop3、mysqld --skip-grant-tables4、重置密码[root@testdb1 ~]# mysql -u root -pEnter password: Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 1Server version: 5.5.25 MySQL Community Server (GPL)Copyright (c) 2000, 2011, Oracle and/or its affilia 阅读全文
posted @ 2012-08-11 10:20 4admin2root 阅读(199) 评论(0) 推荐(0)
摘要: 系统监控nagioscaticopennmszabbixmonit\安全检测tripwiresnortchkrootkit性能分析nmon配置管理puppetchef 阅读全文
posted @ 2012-08-11 10:17 4admin2root 阅读(312) 评论(0) 推荐(0)
摘要: 数据库 oracle 10.2.0.4 RAC 2 nodes操作系统 redhat 5.3 x64周末升级系统,数据库一个过程出现编译问题,没太在意周一发现错误还在,错误信息:Error 604 trapped in 2PC on transaction 67.38.6337026. Cleaning up.Error stack returned to user:ORA-00604: error occurred at recursive SQL level 1ORA-00376: file 40 cannot be read at this timeORA-01110: data fil 阅读全文
posted @ 2012-08-11 09:56 4admin2root 阅读(400) 评论(0) 推荐(0)
摘要: 今天创建一个过程报编译错误于是show error 找到了 错误的地方是对一个包没有执行权限于是想多个数据库对比下用户权限结果看到DBA_TAB_PRIVS以为是表的权限,直接忽略了悲催啊,DBA_TAB_PRIVSDBA_TAB_PRIVSdescribes all object grants in the database.Related ViewUSER_TAB_PRIVSdescribes the object grants for which the current user is the object owner, grantor, or grantee. ColumnDat... 阅读全文
posted @ 2012-08-11 09:55 4admin2root 阅读(1192) 评论(0) 推荐(0)
摘要: OS : REDHAT 5.3 X64[root@testdb1 el-5-x86_64]# ruby -vruby 1.8.5 (2006-08-25) [x86_64-linux]下载所有puppet软件-rw-r--r-- 1 root root 160028 06-12 16:01 facter-2.0.0rc4.tar.gz-rw-r--r-- 1 root root 10629 06-12 16:01 mcollective-2.0.0-1.el5.noarch.rpm-rw-r--r-- 1 root root 1898410 06-12 16:01 puppet-2.7.14. 阅读全文
posted @ 2012-08-11 09:53 4admin2root 阅读(226) 评论(0) 推荐(0)
摘要: oracle 10.2.0.4OS redhat 5.3 x64bdump====-rw-r----- 1 oracle oinstall 3775 Jun 7 10:48 testdb2_lms1_20121.trc-rw-r----- 1 oracle oinstall 3775 Jun 7 10:48 testdb2_lms0_20112.trc-rw-r----- 1 oracle oinstall 1014 Jun 7 10:48 testdb2_diag_20104.trc-rw-r----- 1 oracle oinstall 784 Jun 7 10:48 testdb2_lg 阅读全文
posted @ 2012-08-11 09:45 4admin2root 阅读(402) 评论(0) 推荐(0)
摘要: require 'rubygems'require 'watir'url_logout="http://bbs.chinaunix.net/member.php?mod=logging&action=logout"url_login="http://bbs.chinaunix.net/member.php?mod=logging&action=login&logsubmit=yes"ie = Watir::IE.newie.goto(url_logout)ie.goto(url_login)ie.t 阅读全文
posted @ 2012-08-11 09:42 4admin2root 阅读(175) 评论(0) 推荐(0)
摘要: 脚本语言bash (shell)pythonexpectvbs工具svnsyslognmon网管软件(snmp的、nagios之类的) 阅读全文
posted @ 2012-08-11 09:40 4admin2root 阅读(146) 评论(0) 推荐(0)
摘要: 预计将关注如下语言C、java、perl、python、ruby 阅读全文
posted @ 2012-08-11 09:26 4admin2root 阅读(155) 评论(0) 推荐(0)
摘要: 问题持续很久了曾几何时 数据是好好的 ID也是顺序增长的后来 (居然是去年,发生了什么早忘了)数据就终止在那里了看应用日志 没发现任何异常近期需要这批数据紧急找开发单位现场排查打开日志为debug发现:ORA-00001 unique constraint (string.string) violated啥也不说了哪位大哥改了sequence啊??-------------------总结:即使是同一个开发单位,也是分部门的,怀疑是内部没有沟通好 阅读全文
posted @ 2012-08-11 09:19 4admin2root 阅读(130) 评论(0) 推荐(0)
摘要: 见到不止一次了生产系统中RAC服务器上 压缩大文件单个进程还好连续几个gzip进程后IO CPU 100%一会儿 RAC的这个实例就重启了生产故障啊!! 阅读全文
posted @ 2012-08-11 09:17 4admin2root 阅读(116) 评论(0) 推荐(0)