1.进度条不动问题
I met a problem. Installation hang at 65%, it seems that related with “ons.config.tmp”.
After checking the error log of installation in$ORACLE_BASE/oraInventory/logs(/opt/oracle/oraInventory/logs is in my case), I found tons of this message:
“Caught UnknownHostException: bogon: bogon”
I guess this may cause by the hostname issue, so issue hostname
[oracle@localhost logs]$ hostname
bogon
After change hostname to localhost from bogon as root, problem seems to be resolved.
[root@localhost logs]# hostname localhost
[root@localhost logs]# hostname
localhost
After change hostname, the installation process pass very quickly.
2.error in invoking target ntcontab.o of makefile
在安装的时候报上面的错误,经过查找,发现是gcc-3.4.6-9和gcc-c++-3.4.6-9两个包没有装好。
解决办法:
1. rpm -e gcc-3.4.6-9
提示gcc-c++-3.4.6-9依赖gcc-3.4.6-9这个包
2. rpm -e gcc-c++-3.4.6-9
成功;
3. rpm -e gcc-3.4.6-9
成功;
4. cdrom->Redhat/rpms->运行gcc-3.4.6-9.i386.rpm和gcc-c++-3.4.6-9.i386.rpm
成功;
5. 在oracle安装报错的提示界面选择retry,这个错误解决了!
3.提示符错误
进入linux后提示符显示-bash-3.2
我的用户名突然变成bash -3.2#
正解1:
原因是把root下自己home内的/.bashrc之类的文件删掉了
解决方法: cp -a /etc/skel/. /home/xx
xx为你的用户名 .后面有空格
然后重新启动
etc/skel目录一般是存放用户启动文件的目录,添加用户时,这个目录下的文件自动复制到新添加的用户的家目录下,既然删除了就手动复制一下啦~