[oracle@mesap3 FMB]$ ./Compilier_Menu.sh
Compiling Menu SF_MENU_01.mmb ....
FRM-91500: Unable to start/complete the build.
[oracle@mesap3 FMB]$ cat Compilier_Menu.sh
#!/bin/sh
for x in `ls *.mmb`
do
echo Compiling Menu $x ....
/oracle/ias/fr/bin/frmcmp.sh userid=user/password@dbname batch=yes module=$x module_type=Menu compile_all=yes window_state=minimize
done
解決步驟(主要是XDisplay原因):[@more@]1)
[root@mesap3 ~]$ xhost +
[root@mesap3 ~]# vncserver
New 'mesap3.sunled.com:1 (root)' desktop is mesap3.sunled.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/mesap3.sunled.com:1.log
[root@mesap3 ~]# cat /root/.vnc/mesap3.sunled.com:1.log
Wed Dec 29 13:44:29 2010
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
2)[oracle@mesap3 FMB]$
export ORACLE_HOME=/oracle/ias/fr
export PATH=$ORACLE_HOME/bin:$PATH
#export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
#export TERM=xterm --vt220
export DISPLAY=localhost:1
Compiling Menu SF_MENU_01.mmb ....
FRM-91500: Unable to start/complete the build.
[oracle@mesap3 FMB]$ cat Compilier_Menu.sh
#!/bin/sh
for x in `ls *.mmb`
do
echo Compiling Menu $x ....
/oracle/ias/fr/bin/frmcmp.sh userid=user/password@dbname batch=yes module=$x module_type=Menu compile_all=yes window_state=minimize
done
解決步驟(主要是XDisplay原因):[@more@]1)
[root@mesap3 ~]$ xhost +
[root@mesap3 ~]# vncserver
New 'mesap3.sunled.com:1 (root)' desktop is mesap3.sunled.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/mesap3.sunled.com:1.log
[root@mesap3 ~]# cat /root/.vnc/mesap3.sunled.com:1.log
Wed Dec 29 13:44:29 2010
vncext: VNC extension running!
vncext: Listening for VNC connections on port 5901
vncext: Listening for HTTP connections on port 5801
vncext: created VNC server for screen 0
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
2)[oracle@mesap3 FMB]$
export ORACLE_HOME=/oracle/ias/fr
export PATH=$ORACLE_HOME/bin:$PATH
#export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
#export TERM=xterm --vt220
export DISPLAY=localhost:1
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/678020/viewspace-1043863/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/678020/viewspace-1043863/