您好,登錄后才能下訂單哦!
本篇內容介紹了“SUSE安裝oracle client客戶端出現卡死現象怎么解決”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!
在安裝log中有一下記錄
dsw:/u01/app/oraInventory/logs # tail -n 10 oraInstall2018-09-07_01-56-57PM.err at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734) at java.io.StreamTokenizer.nextToken(StreamTokenizer.java:734)
百度下,沒什么收獲,自己分析吧
思考1:是不是資源不足?
通過vmstat top free觀察內存不足
解決:添加swap
mkdir swap cd swap dd if=/dev/zero of=swapfile bs=1024 count=1000000 ##1G 創建swap文件 mkswap swapfile swapon swapfile ##激活swap文件 free cat /proc/swaps
解決了資源不足的情況,重新安裝問題依然存在,在無法解決問題的情況下,按照官方文檔開始排查可能出現的問題
This guide describes how to quickly install Oracle Database Client 11g Release 2 (11.2) on Linux x86 systems. It includes information about the following: ■ Reviewing Information About This Guide ■ Logging In to the System as root ■ Checking the Hardware Requirements ■ Checking the Software Requirements ■ Creating Required Operating System Groups and Users ■ Creating Required Directories ■ Configuring the oracle User’s Environment ■ Mounting the Product Disc ■ Installing Oracle Database Client ■ Performing an In-place Oracle Database Client Upgrade ■ What to Do Next? ■ Additional Information ■ Documentation Accessibility
排查可能出現問題的點:
1、Package Requirements
The following or later version of packages for SUSE Linux Enterprise Server 11 should be installed: binutils-2.19 gcc-4.3 gcc-c++-4.3 glibc-2.9 glibc-devel-2.9 libstdc++33-3.3.3 libstdc++43-4.3.3_20081022 libstdc++43-devel-4.3.3_20081022 libaio-0.3.104 libaio-devel-0.3.104 libgcc43-4.3.3_20081022 libstdc++-devel-4.3 make-3.81 sysstat-8.1.5
解決辦法:
掛載安裝介質,通過zypper安裝
zypper addrepo /opt/dsw01/suse/x86_64 ding zypper in binutils* zypper in gcc* zypper in glibc* zypper in libstdc* zypper in libaio* zypper in libgcc* zypper in libstdc* zypper in make* zypper in sysstat* rpm -qa |grep -E 'binutils|gcc|gcc-c++|glibc-devel|libstdc++|make|sys|libaio|libgcc|libstdc'
問題依然沒有定位
然后,繼續,文檔中并沒有說明操作系統的設備
懷疑,是不是操作系統參數問題?
cat /etc/sysctl.conf kernel.shmall = 2097152 kernel.shmmax = 2147483648 # Smallest of -> (Half the size of the physical memory) or (4GB - 1 byte) kernel.shmmni = 4096 # semaphores: semmsl, semmns, semopm, semmni kernel.sem = 250 32000 100 128 fs.file-max = 65536 # 512 * PROCESSES net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default=4194304 net.core.rmem_max=4194304 net.core.wmem_default=262144 net.core.wmem_max=262144
sysctl -p sysctl -a | grep <param-name>
是不是操作系統問題?
開始審查安裝操作系統的步驟去,調整以下:
默認是physical machine
這次修改為 virtual machine
問題解決!!
“SUSE安裝oracle client客戶端出現卡死現象怎么解決”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注億速云網站,小編將為大家輸出更多高質量的實用文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。