Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
今天在linux上安装oracle的时候,运行runInstaller命令时,系统报错:[oracle@linux201 Disk1]$ ./runInstaller [oracle@linux201 Disk1]$ Initializing Java Virtual Machine from /tmp/OraInstall2008-04-25_04-03-11PM/jre/bin/java. Please wait...Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.<clini
Job长时间运行不能退出的分析
今天接到公司运维人员反映说在一台DB上执行grant execute on DBMS_LOCK to xxx操作特别慢,等待了很长时间都不能执行完成。我登录到数据上执行了一下,5分钟后,执行还没用完成,便手动结束了。然后尝试执行grant别的权限,发现很快就执行完成了, 只有执行grant execute on DBMS_LOCK to xxx的时候特别慢。再次执行,在大约10分钟后,抛出错误ORA-04021: timeout occurred while waiting to lock object SYS.DBMS_LOCK。看来是由于DBMS_LOCK包被锁了,导致执行grant慢。从v$access视图中查看到占用DBMS_LOCK的用户:SQL> select * fr