上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页
摘要: 前端时间服务器从win2003换成了centos。生产环境从tomcat for windows 移植到 tomcat for linux 也很顺利。几乎没有改动。过了几天发现$tomcat_home/logs/catalina.out文件越来越大,越来越大。都上了G了。我记得在win下自动每天切割。这可如何是好。于是马上baidu一下。发现各种各样切割办法。选了一种比较简单,也不是很完美的办法。vi cut_catalina.outdate=$(date -d yesterday "+%Y%m%d")cp $catalina_home/logs/catalina.out 阅读全文
posted @ 2011-09-20 10:31 【小洲】 阅读(1848) 评论(1) 推荐(0)
摘要: 参考了一下网上的各种日志且看,功力不够很多命令不会用,于是综合之下整合出了一种简单的用法。保存为cut.sh,并授予执行权限。logroot='/usr/local/nginx/logs'currentdate=$(date -d "yesterday" +"%Y%m")access=$logroot/access/$currentdatemkdir -p $accessfilename=$(date -d "yesterday" +"%d")mv $logroot/access.log $acce 阅读全文
posted @ 2011-09-19 10:18 【小洲】 阅读(229) 评论(0) 推荐(0)
摘要: 下载解压了Oracle SQL Developer工具,运行时,启动不了,报错信息如下:---------------------------Unable to create an instance of the Java Virtual MachineLocated at path:<SQLDEVELOPER>\jdk\jre\bin\client\jvm.dll---------------------------是JVM参数设置的问题,我的解决方案如下:<SQLDEVELOPER>\ide\bin\ide.conf修改该文件,设置“AddVMOption -Xmx 阅读全文
posted @ 2011-09-19 09:00 【小洲】 阅读(879) 评论(0) 推荐(0)
摘要: 近期查看alert_orcl.log,发现经常有类似的error:Errors in filed:\app\qiao\diag\rdbms\orcl\orcl\trace\orcl_arc3_3904.trc:ORA-19815: WARNING: db_recovery_file_dest_size of 2147483648 bytesis 100.00% used, and has 0 remaining bytes available.************************************************************************You 阅读全文
posted @ 2011-09-16 10:33 【小洲】 阅读(812) 评论(0) 推荐(0)
摘要: OS:Windows XP WebApp Server:Tomat5.5 WebLogic server 10 (中文版)IDE:Bea workshop for weblogic platform。一.IDE注意事项创建动态web项目,选择是否共享j2ee库,如果共享,则需要域的共享库里面包含项目所需的库,比如beeHive netUi;不共享,则将所需的库拷贝到WEB-INF/lib目录,并自动创建相关配置文件于WEB-INF下如果访问页面时出现如下错误:index.jsp:2:4: 使用该 URI 无法找到标记库。可能是因为 URI 不正确或解析 .tld 文件时出错。<%@tag 阅读全文
posted @ 2011-09-15 11:15 【小洲】 阅读(1458) 评论(0) 推荐(0)
摘要: ## set uid and gid of processuser webproxy ngboss;## how many process will be startedworker_processes 10;## worker_cpu_affinity defineworker_cpu_affinity 000000000100 000000001000 000000010000 000000100000 000001000000 000010000000 000100000000 001000000000 010000000000 100000000000;## how many open 阅读全文
posted @ 2011-09-15 11:11 【小洲】 阅读(2003) 评论(0) 推荐(0)
摘要: 说明:Linux 2.6以上内核支持ext3的在线扩容第一种情况:直接添加一个新硬盘# df -h 看看现在硬盘的情况Filesystem Size Used Avail Use% Mounted on/dev/mapper/VolGroup00-LogVol00 6.7G 5.2G 1.3G 81% //dev/sda1 99M 12M 82M 13% /boottmpfs 633M 0 633M 0% /dev/shm# fdisk -l 可以看到新添加的硬盘/dev/sdbDisk /dev/sda: 8589 MB, 8589934592 bytes255 heads, 63 sect 阅读全文
posted @ 2011-09-14 11:49 【小洲】 阅读(2379) 评论(0) 推荐(0)
摘要: 在CentOS 5上安装Oracle 10.2.0.1 RAC的cluster software的时候,在最后一步,第二个节点,执行root.sh的时候,报告error while loading shared libraries: libpthread.so.0的错误,详细错误信息如下:[root@rac2 crs]# /u01/crs/oracle/product/10.2.0/crs/root.shWARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by rootWARNING: directo 阅读全文
posted @ 2011-09-14 11:03 【小洲】 阅读(1698) 评论(0) 推荐(0)
摘要: 安装clusterware之前做一个检查,./runcluvfy.sh stage -pre crsinst -n rac1,遇到反馈错误ERROR: User equivalence unavailable on all the nodes.Verification cannot proceed.网上查了下,解决方法如下root@rac1 # mkdir -p /usr/local/binroot@rac1 # ln -s -f /usr/bin/ssh /usr/local/bin/sshroot@rac1 # ln -s -f /usr/bin/scp /usr/local/bin/sc 阅读全文
posted @ 2011-09-14 09:04 【小洲】 阅读(1610) 评论(0) 推荐(0)
摘要: Linux安装Oracle报Checking operating system version must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2问题的解决方法在Linux系统中安装oralce的过程中,如果Linux发行版本不是oracle的推荐版本,可能会报如下错误,导致runInstaller无法完成:Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux 阅读全文
posted @ 2011-09-14 09:03 【小洲】 阅读(916) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 19 下一页