Posts

Showing posts from February 12, 2010

How to install "BASH" on HP-UX 11.31

1) Copy the below .depot files in /var/tmp cd /var/tmp termcap-1.3.1-ia64-11.31.depot gettext-0.17-ia64-11.31.depot 2) Swinstall –s /var/tmp/termcap-1.3.1-ia64-11.31.depot Swinstall –s /var/tmp/gettext-0.17-ia64-11.31.depot 3) type bash at prompt.

ORA-22990: LOB locators cannot span transactions

Below is the error reported in BPEL opmn logs :- ############ <2010-02-07 10:50:59,852> <:logerror>Error while invoking bean "cube engine": Cannot update lob column.The process domain was unable to update the lob column "3" in the datastore. The exception reported is: ORA-22990: LOB locators cannot span transactions Please check that the machine hosting the datasource is physically connected to the network. Otherwise, check that the datasource connection parameters (user/password) is currently valid. sql statement: BEGIN INSERT INTO cube_scope( cikey, domain_ref, scope_bin ) VALUES ( ?, ?, '0' ) RETURNING scope_bin INTO ?; END; ORABPEL-04040 Cannot update lob column. The process domain was unable to update the lob column "3" in the datastore. The exception reported is: ORA-22990: LOB locators cannot span transactions Please check that the machine hosting the datasource is physically connected to the network. Oth

OC4j container load balancing is not happening in Clustered OC4J and one node is getting loaded with active requests

Issue :- Mod_oc4j not able to connect to OC4J . Below error in apache logs(error logs) ######### Sun Feb 7 10:55:58 2010] [error] [client 100.1.2.101] [ecid: 1265525758:172.1.2.3:18412:0:1429,0] File does not exist: / $OH/Apache/Apache/htdocs/error/HTTP_BAD_GATEWAY.html.var [Sun Feb 7 10:56:00 2010] [warn] [client 100.1.2.101] oc4j_socket_recvfull timed out [Sun Feb 7 10:56:00 2010] [error] [client 100.1.2.101] [ecid: 1265525456:172.1.2.3:25882:0:294,0] mod_oc4j: request to OC 4J ab.testworld.com :12543 failed: recv failed (errno=4) [Sun Feb 7 10:56:00 2010] [warn] [client 100.1.2.102] oc4j_socket_recvfull timed out [Sun Feb 7 10:56:00 2010] [error] [client 100.1.2.102] [ecid: 1265525458:172.1.2.3:15032:0:1931,0] mod_oc4j: request to O C4J ab.testworld.com:12506 failed: Connect failed ######### Solution in metalink :- Troubleshooting MOD_OC4J_0080 MOD_OC4J_0058 MOD_OC4J_0035 MOD_OC4J_0121 MOD_OC4J_0013 Errors In the HTTP Server error_log file

Application gets automatically undeployed after OC4J container restart

Whenever we were restarting the OC4J Container , we observed that some of the applications automatically gets undeployed and are not visible in enterprise manager console.We found below errors in the container logs which are due to the wrong entries in server.xml and default-website.xml file Then we deleted those physical appliation folders from the $OH/j2ee/testoc4j/applications and restarted the container and then deployed the J2EE applications again. It worked even after the restart. Issue :- opmn referreing to wrong entries in server.x ml and default-website.xml file. Solution :- Delete application folders from $OH/j2ee/testoc4j/applications and redeployed the applications. ############# 09/06/21 17:27:13 [SEVERE]: Error instantiating application at file $OH/j2ee/testoc4j/applications/test.ear: Unable to get A pplicationConfig for test1 : Error creating deployment directory: IO Error: error in opening zip file 09/06/21 17:27:13 [SEVERE]: Error instantiating appl

Some useful and tricky UNIX commands

1) Global Replacement Commant in vi :- 1,$s/xyz/abc/g 2) For alligning of the content in vi :- set noai nosm (no auto intended and no show match) 3) Shutdown from remote command prompt :- shutdown -t 00 (Windows) 4) To see blocked session in windows :- qwinsta \Server:100.1.2.100 (windows) 5) how to extract cpio file :- cpio -icdmv #greater than symbol # # file_name # 6) To find which PID using port :- lsof -i TCP:portno or lsof -i tcp | grep #portnumber# 7) To find IP address of server :- netstat -in 8) To Find files "generated/modified" today and remove them from unix :- ls -ltr | awk '{print $7 " " $9}' | grep -w `date "+%d` | awk '{print $2}' | xargs rm 9) To find the files containing a specific string :- Find . –type f –print | xargs grep “vinay” 10) To get ram/os details on HP :- /usr/contrib/bin/machinfo 11) To get disk details on HP :- ioscan -fnkC disk 12) To find a file larger then the 10GB :- find /u01/sof