故障现象:
$ sqlplus / as sysdba
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
分析:网上都说是timezone和timezlrg文件的权限不正确,可我压根没这两个文件了,
怎么办,且看如下分析
--看看timezone和timezlrg文件是否正常
$ cd /home/oracle/database/oracore/zoneinfo
$ ls -lt
总计 16
-rw-r--r-- 1 oracle dba 4672 6月01 2006 readme.txt
--竟缺失了,马上想到去RAC的另外一个节点取文件过来
--FTP连过去
$ ftp 192.168.1.56
连接至 192.168.1.56。
220 p550b FTP server (Version 4.2 Tue Nov 14 12:49:19 CST 2006) ready.
名称(192.168.1.56:root):root
331 Password required for root.
密码:
230-Last unsuccessful login: Thu Dec 30 10:43:55 BEIST 2010 on /dev/pts/4 from 192.168.180.27
230-Last login: Fri Apr 1 09:27:15 BEIST 2011 on /dev/pts/1 from 192.168.180.29
230 User root logged in.
--进入到远程主机相应目录
ftp> cd /home/oracle/database/oracore/zoneinfo
250 CWD command successful.
ftp> pwd
257 "/home/oracle/database/oracore/zoneinfo" is current directory.
ftp> get *.dat
--FTP怎么会不支持模糊,先输入详细名称完成任务吧
200 PORT command successful.
550 *.dat: No such file or directory
ftp> ls -lt
200 PORT command successful.
150 Opening data connection for /bin/ls.
total 1128
-rw-r--r-- 1 oracle dba 404884 Jan 11 2007 timezlrg.dat
-rw-r--r-- 1 oracle dba 161123 Jan 11 2007 timezone.dat
-rw-r--r-- 1 oracle dba 4672 Jun 01 2006 readme.txt
226 Transfer complete.
--FTP获取远程文件
ftp> get timezlrg.dat
200 PORT command successful.
150 Opening data connection for timezlrg.dat (404884 bytes).
226 Transfer complete.
在 2.03e-318 秒内接收到 4589539693338558464 字节(5930 千字节/秒)