case2:如果clone和adconfig都没有遇到报错,启动应用,运行报表报下面的错误,是由于主机的X11的服务没有启动,需要用root运行下面的脚本,修改主机名后存成.sh文件,在app主机上用root运行。
#!/bin/sh
if [ `ps -ef | grep vfb | grep -v grep|wc -l` -lt 1 ]; then
nohup /usr/bin/X11/X -force -vfb -x abx -x dbe -x GLX :0 &
fi
if [ `ps -ef | grep twm | grep -v grep|wc -l` -lt 1 ]; then
nohup /usr/bin/X11/twm -disp szxmr51-ts:0.0 &
fi
case3:
linux平台启动Apache的时候遇到下面的报错:
9/08/10 17:31:52 Start process
--------
/u01/oracle/VIS/inst/apps/VIS_r12test/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/u01/oracle/VIS/apps/tech_st/10.1.3/Apache/Apache/bin/httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
解决方法:ln -s /usr/lib/libdb-4.3.so /usr/lib/libdb-3.3.so
ln -s /usr/lib/libgdbm.so.2 /usr/lib/libdb.so.2