RSS

Category Archives: Linux/Unix

compile jsp in EBS R12

compile jsp in EBS R12

Compile a jsp page:
cd $OA_HTML
$FND_TOP/patch/115/bin/ojspCompile.pl –compile -s ‘xxxx.jsp’ -log err.log –flush

Compile all jsp pages:
$FND_TOP/patch/115/bin/ojspCompile.pl –compile  –flush -p 4

Enable Automatic Compilation of JSP pages in R12
edit the $CONTEXT_FILE
Change value for the entry s_jsp_main_mode from justrun to recompile

run AutoConfig, restart the web tier services.

 

Tags:

httpd: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory

 

Review the HTTP log file. The error is very clear about the missing soft link. It would show this error:

<physical Path>/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
<physical Path>/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

cd $INST_TOP/logs/ora/10.1.3/opmn

vi HTTP_Server~1.log
--------
14/03/04 00:54:51 Start process
--------
/d01/oracle/VIS/inst/apps/VIS_r12/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/d01/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
--------
14/03/04 00:54:53 Start process
--------
/d01/oracle/VIS/inst/apps/VIS_r12/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
/d01/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
--------
14/03/04 10:22:12 Start process

Case:

missing prerequisite step

Solution ::

To implement the solution, please execute the following steps:

1. Shut down all Oracle Application Services.

2. As the unix root user, create a soft link as follows:

ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

3. Start up all Oracle Application Services.

 

Tags: , , , , ,

Link

rhel root password recovery

rhel root password recovery

 

Tags: , , ,

solved: error install oel 5.7 GPT partition

After partitioning the disks when I installed Oracle Enterprise Linux 5.7 64bit, it gave me the following error message:
“Your boot partition is on a disk using the GPT partitioning scheme but this machine cannot boot using GPT”.
I searched the solution on the net, and someone said the protected MBR GPT partition entire needs to be deleted.
So I entered the rescue mode and deleted the MBR on the disks as below.
# dd if=/dev/zero of=/dev/sda bs=512 count=1
I reinstalled the system again, it worked.

 

Tags: , , , , , ,

Enable remote desktop on Linux using VNC|setup VNC client

VNC client setup.

1- give a password for VNC client connection “for each user you will use in the VNC remote desktop connection e.g. user (oracle)”

su – oracle

$ vncpasswd

2- edit vnc configuration file, in the line starts with VNCSERVERS=; add users you want to connect with in pair format “number:username”
# vi /etc/sysconfig/vncservers

#add
VNCSERVERS=”1:root 2:oracle”

3- to make VNC services start with system start
#chkconfig vncserver on

4- if you have firewall enable on Red Hat, be sure that your firewall configuration won’t block connection from remote computer by open port TCP 5901 for remote access.

5- edit oracle user VNC setting to force to load Gnome
$ vi /home/oracle/.vnc/xstartup

*uncomment unset line and exec line
*edit the last line from ‘twm &’ to ‘startx &’ for Gnome and ‘startkde &’ for KDE Desktop.

6-to restart the service

# service vncserver restart

 
 

Tags: , , ,

lshw Command — gather HW information in linux

1) install  lshw  ==> for kernel 2.6.9 ==> lshw-2.14-1.el4.rf.i386.rpm ==>https://www.dropbox.com/s/b7vft3khb95r29z/lshw-2.14-1.el4.rf.i386.rpm

2) use the command

lshw –help

lshw -html >MyLinuxBox.html

 
Leave a comment

Posted by on September 24, 2013 in administration, Linux/Unix, OS, Tips

 

Tags: , , , , , ,

Configuration device mapper multipath on OEL5

Shared

http://wp.me/pDczL-8y

 
Leave a comment

Posted by on September 21, 2013 in administration, Linux/Unix, OS

 

Tags: , , , ,