本篇内容介绍了“SUSE安装oracle client客户端出现卡死现象怎么解决”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细
本篇内容介绍了“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客户端出现卡死现象怎么解决”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注编程网网站,小编将为大家输出更多高质量的实用文章!
--结束END--
本文标题: SUSE安装oracle client客户端出现卡死现象怎么解决
本文链接: https://lsjlt.com/news/60151.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-10-23
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
2024-10-22
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0