Use screen, nohup or not?
当你有需求将一个进程放在后台跑时,切忌使用nohup or screen.screen需要在你run脚本之前运行,nohup可以修改已经运行的进程。 /usr/bin/nohup command [argument...] /usr/bin/nohup -p [-Fa] pid [pid...] /usr/bin/nohup -g [-Fa] gpid [gpid...] /usr/xpg4/bin/nohup command [argument...][@more@]We can try to use solaris dtrace to check what happens internally.bash-3.00# cat sig.d#!/usr/sbin/dtrace -sproc:::signal-send/args[1]->pr_fname == $$1/{printf("%s(pid:%d ) is sending signal %d to
vmware workstation ACE + RH LINUX 5 + clusterware10 RAC安装相关问题
如果使用ssh而不是rshFailed to upgrade Oracle Cluster Registry configuration 防火墙最好关闭VIPCA报错SWAP不足VIP添加过程中不断offlineDBCA无法在节点2创建数据库[@more@]如果使用ssh而不是rsh:需要确保/usr/local/bin/ssh存在,可以使用softlink。否则runcluvfy.sh会识别不出ssh连通性,不能通过。mkdir -p /usr/local/binln -s -f /usr/bin/ssh /usr/local/bin/sshln -s -f /usr/bin/scp /usr/local/bin/scpexec /usr/bin/ssh-agent $SHELLFailed to upgrade Oracle Cluster Registry configuration具体原因参照metalink note: ID
Oracle Enterprise Manager(OEM)的SQLSERVER插件安装
SQLSERVER PLUGIN:1 介质准备1.1 从ORACLE官方主页下载OEM agent. http://www.oracle.com/technology/software/products/oem/index.html1.2 下载SYSTEM MONITOR PLUGINShttp://www.oracle.com/technology/software/products/oem/htdocs/system-monitoring-connectors.html2 介质安装2.1 在将要监控的SQLSERVER端,安装最新的OEM agent. (确保OS版本和介质版本符合)安装之前,在/etc/system下面添加OEM的服务器地址 安装完成之后,OEM监控端应该可以看到新的host.2.2 SQLSERVER建立用户名和密码:1. 新建管理用户,具有sysadm权限。2. 确认
How to show file names with special character
ls -alt "a" -> shows nothingls -alt -> shows a[@more@]ls -alt > a.outvi a.out -> you'll see 'a^$'
Java Date timezone problem
Be careful when you're using Date for your java application.When you have a different timezone setting between your application client and the application server host, you may see time different with what you want.Like:Date dt = new Date();It will show you a time with your local timezone, when you're wring a jsp file which need to get the current time, it will not be the server time.Try use Calendar instead:Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT-07:00"));[@m
can't enable result cache
result_cache_max_size can't be set to big than 0, reason could be:1. make sure you're using enterprise edition2. set memory parameter(at least shared_pool_size), sga_target or memory target also helps.[@more@]
[From metalink] 11g MEMORY_TARGET Parameter Dependency [ID 452512.1]
Modified 06-JAN-2010 Type BULLETIN Status PUBLISHEDIn this DocumentPurposeScope and Application11g MEMORY_TARGET Parameter DependencyReferencesApplies to: Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.1.0.6Information in this document applies to any platform.PurposeAutomatic memory management can be configured using a target memory size initialization parameter MEMORY_TARGET and a maximum memory size initialization parameter MEMORY_MAX_TARGET. Oracle Database then tunes to the tar