Problem while running root.sh in RAC Node

I am currently configuring RAC on linux using VMWARE Server using the following link .My host Operating System is Windows XP and guest O/S Cent OS.Shared disks have been configured on my C drive for ocr,voting disk,asm.
http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php
I have performed all the steps succesfully but during the installation of Clusterware Software from node RAC1 it asks for the execution of root.sh from both the nodes.
Currently I am running root.sh from first node but it gets hanged at "Startup will be queued to init within 90 seconds" and doesn't move from there on..Also according to the link I am following I should be experiencing below output while running root.sh from Node RAC2 instead of RAC1 which I am experiencing....Please suggest on this ...
# cd /u01/crs/oracle/product/10.2.0/crs
# ./root.sh
WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
WARNING: directory '/u01' is not owned by root
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
assigning default hostname rac1 for node 1.
assigning default hostname rac2 for node 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac1 rac1-priv rac1
node 2: rac2 rac2-priv rac2
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Oracle Cluster Registry for cluster has already been initialized
Startup will be queued to init within 90 seconds.
---------------------------

Will someone update on this?

Similar Messages

  • Problem in running root.sh in last RAC node!

    i installed 10G rac ,and when i run root.sh in last node ,i get error from vipca
    The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs
    i googled this ,many people suggest to rerun the vipca, but i have no x server ,so how can i run vipca in term?

    i use centos5.6,and i try to run vipca silent
    # bin/vipca -silent -nodelist "rac1,rac2" -nodevips "rac1/rac1-vip/255.255.255.0/eth0,rac2/rac2-vip/255.255.255.0/eth0"
    The given interface(s), "eth0" is not public. Public interfaces should be used to configure virtual IPs
    # bin/oifcfg getif
    eth0 192.168.100.0 global public
    eth1 10.10.17.0 global cluster-interconnect
    here is my /etc/hosts
    192.168.100.101 rac1
    192.168.100.102 rac2
    192.168.100.201 rac1-vip
    192.168.100.202 rac2-vip
    10.10.17.221 rac1-priv
    10.10.17.222 rac2-priv
    and i try
    rac2 # bin/srvctl add nodeapps -n rac1 -o mycrshome -A 192.168.100.201/255.255.255.0/eth0
    rac2 # bin/srvctl add nodeapps -n rac2 -o mycrshome -A 192.168.100.202/255.255.255.0/eth0
    rerun root.sh on rac2
    get an error
    ip address "rac1-vip" already been used, enter another unused ip address
    use crs_stat check all node is offline
    Edited by: 859340 on 2011-7-7 下午6:09

  • RAC installation hang while running root.sh

    Hi, I'm installing 10gR2 on AIX 5.3 ML05 with HACMP 5.3, CRS & RAC S/W will be installed on local disk, and all other database files, voting disk & OCR are on RAW device on SAN storage. When I was installing CRS and running runinstaller, it prompts me to run root.sh on each node, then I run it on the first node with user "root" but the script hang after showing lines:
    Now formatting voting device: /dev/reaivd01
    Now formatting voting device: /dev/reaivd02
    Now formatting voting device: /dev/reaivd03
    Format of 3 voting devices complete.
    Startup will be queued to init within 30 seconds.
    I've tried to grep any CRS daemon started but cannot find any. Then I tried to start CRS manually but failed to start. Please help and thanks in advance!

    I found the following error in /tmp/crsctl.xxxxx:
    Failure in CSS initialization opening OCR.
    It is running the command "crsctl check boot". Anyone help? thanks!

  • Cluster Installation Error while running root.sh

    Hi all,
    Please help
    I tried to install clusterware but when i run root.sh on first node it shows as below
    [root@rac11g1 etc]# /u01/app/oraInventory/orainstRoot.sh
    Changing permissions of /u01/app/oraInventory to 770.
    Changing groupname of /u01/app/oraInventory to oinstall.
    The execution of the script is complete
    [root@rac11g1 etc]# /u01/crs/oracle/product/11.1.0/crs/root.sh
    WARNING: directory '/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/u01/crs/oracle' is not owned by root
    WARNING: directory '/u01/crs' is not owned by root
    WARNING: directory '/u01' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    Oracle Cluster Registry configuration upgraded successfully
    The directory '/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
    The directory '/u01/crs/oracle/product' is not owned by root. Changing owner to root
    The directory '/u01/crs/oracle' is not owned by root. Changing owner to root
    The directory '/u01/crs' is not owned by root. Changing owner to root
    The directory '/u01' is not owned by root. Changing owner to root
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: rac11g1 rac11g1-priv rac11g1
    node 2: rac11g2 rac11g2-priv rac11g2
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Now formatting voting device: /dev/sdd1
    Format of 1 voting devices complete.
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Cluster Synchronization Services is active on these nodes.
    rac11g1
    Cluster Synchronization Services is inactive on these nodes.
    rac11g2
    Local node checking complete. Run root.sh on remaining nodes to start CRS daemon
    On the Second Node
    [root@rac11g2 crs]# ./root.sh
    WARNING: directory '/u01/crs/oracle/product/11.1.0' is not owned by root
    WARNING: directory '/u01/crs/oracle/product' is not owned by root
    WARNING: directory '/u01/crs/oracle' is not owned by root
    WARNING: directory '/u01/crs' is not owned by root
    WARNING: directory '/u01' is not owned by root
    Checking to see if Oracle CRS stack is already configured
    /etc/oracle does not exist. Creating it now.
    Setting the permissions on OCR backup directory
    Setting up Network socket directories
    Oracle Cluster Registry configuration upgraded successfully
    The directory '/u01/crs/oracle/product/11.1.0' is not owned by root. Changing owner to root
    The directory '/u01/crs/oracle/product' is not owned by root. Changing owner to root
    The directory '/u01/crs/oracle' is not owned by root. Changing owner to root
    The directory '/u01/crs' is not owned by root. Changing owner to root
    The directory '/u01' is not owned by root. Changing owner to root
    Successfully accumulated necessary OCR keys.
    Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
    node <nodenumber>: <nodename> <private interconnect name> <hostname>
    node 1: rac11g1 rac11g1-priv rac11g1
    node 2: rac11g2 rac11g2-priv rac11g2
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    Now formatting voting device: /dev/sdd1
    Format of 1 voting devices complete.
    Startup will be queued to init within 30 seconds.
    Adding daemons to inittab
    Expecting the CRS daemons to be up within 600 seconds.
    Cluster Synchronization Services is active on these nodes.
    rac11g2
    Cluster Synchronization Services is inactive on these nodes.
    rac11g1
    Local node checking complete. Run root.sh on remaining nodes to start CRS daemon
    When i run root.sh on first node it shows that the second node is not active which is accceptable
    but when i run on second node it shows that fisrt node is not active
    please help i'm stuck here from past 2 days
    Bala
    Edited by: Bala0575 on Jun 16, 2010 3:48 AM

    Did you run cluvfy.sh before performing the instalation, if so did it report any errors. I would suggest running it now in "pre crsinst" mode and report any findings back. If CVU says everything is good then I would recommend talking to Oracle Support.
    It looks like CSS is running on node1 at the end of its root.sh, yet its dead when root.sh is run on node 2.... makes me wonder if its root.2h on node2 thats killing it.
    Run "cluvfy stage -pre crsinst" and post the output back to the forum please?
    Yours,
    Bob

  • Hi Experts , I am currently facing problems while running restricted version copy .. The log says 0 location products copied and that the process has has timed out. the error message is /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014, th

    Hi Experts , I am currently facing problems while running restricted version copy in sap apo .. The log says 0 location products copied and that the process has timed out. the error message is " /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014 " , then ending in time limit exceeded. could anyone explain why this happens. please note even if the log says 0 location products copied , in reality they have have been partially copied.
    Regards
    Jerel

    Hi, thank you for your replies, I found out few things about my servlet, and its portability
    and i have few questions, although i marked this topic as answered i guess its ok to post
    I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
    of the modified files to the user for them to download the modified files.
    What i am using to get the tempdir i will paste
    File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
    System.out.println(baseurl);
    baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
    baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
    links to the user for download ?
    and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
    And i want to create unique directory for each request made to the servlet , so file names dont clash.
    one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
    Reply A.S.A.P. please..
    Thanks and regards,
    Mihir Pandya

  • Problem while running client program in Netbeans4.0

    Hi,
    I am facing the following problem while running a client program in Nebeans4.0.
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x7C9012B4
    Function=RtlInitAnsiString+0x1B
    Library=C:\WINDOWS\system32\ntdll.dll
    Current Java thread:
    at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
    at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:770)
    at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1059)
    at java.net.InetAddress.getAllByName0(InetAddress.java:1009)
    at java.net.InetAddress.getAllByName0(InetAddress.java:981)
    at java.net.InetAddress.getAllByName(InetAddress.java:975)
    at weblogic.rjvm.RJVMFinder.getDnsEntries(RJVMFinder.java:370)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:181)
    - locked <0x1007ff78> (a weblogic.rjvm.RJVMFinder)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:125)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:291)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:234)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:195)
    at AcfClient.getHomeRef(AcfClient.java:73)
    at AcfClient.forceSession(AcfClient.java:43)
    at AcfClient.main(AcfClient.java:34)
    Dynamic libraries:
    0x00400000 - 0x00406000      C:\Data\j2sdk1.4.2_04\jre\bin\java.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x08138000      C:\Data\j2sdk1.4.2_04\jre\bin\client\jvm.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x6BD00000 - 0x6BD0D000      C:\WINDOWS\system32\SYNCOR11.DLL
    0x10000000 - 0x10007000      C:\Data\j2sdk1.4.2_04\jre\bin\hpi.dll
    0x00390000 - 0x0039E000      C:\Data\j2sdk1.4.2_04\jre\bin\verify.dll
    0x003B0000 - 0x003C9000      C:\Data\j2sdk1.4.2_04\jre\bin\java.dll
    0x003D0000 - 0x003DD000      C:\Data\j2sdk1.4.2_04\jre\bin\zip.dll
    0x02DA0000 - 0x02DAF000      C:\Data\j2sdk1.4.2_04\jre\bin\net.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\System32\mswsock.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x66210000 - 0x66219000      C:\WINDOWS\system32\netware\NWWS2NDS.DLL
    0x50D50000 - 0x50D95000      C:\WINDOWS\system32\NETWIN32.DLL
    0x50D00000 - 0x50D15000      C:\WINDOWS\system32\CLNWIN32.DLL
    0x50DF0000 - 0x50E10000      C:\WINDOWS\system32\LOCWIN32.DLL
    0x50DB0000 - 0x50DD9000      C:\WINDOWS\system32\NCPWIN32.dll
    0x71AD0000 - 0x71AD9000      C:\WINDOWS\system32\WSOCK32.dll
    0x66220000 - 0x6622C000      C:\WINDOWS\system32\netware\NWWS2SLP.DLL
    0x1C000000 - 0x1C007000      C:\WINDOWS\system32\NWSRVLOC.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\imagehlp.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 497K [0x10010000, 0x100b0000, 0x104f0000)
    eden space 512K, 89% used [0x10010000, 0x10083158, 0x10090000)
    from space 64K, 57% used [0x100a0000, 0x100a9478, 0x100b0000)
    to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
    tenured generation total 1408K, used 129K [0x104f0000, 0x10650000, 0x14010000)
    the space 1408K, 9% used [0x104f0000, 0x10510438, 0x10510600, 0x10650000)
    compacting perm gen total 4096K, used 2122K [0x14010000, 0x14410000, 0x18010000)
    the space 4096K, 51% used [0x14010000, 0x14222828, 0x14222a00, 0x14410000)
    Local Time = Fri Aug 26 10:26:03 2005
    Elapsed Time = 2
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
    # An error report file has been saved as hs_err_pid1280.log.
    # Please refer to the file for further information.
    Can anyone pls let me know what could be the problem.
    Thanks in adv.

    Hi,
    This type of error
    java.lang.NoClassDefFoundError: javax/naming/Context
    will occur when the client program could not able to locate lib/j2EE.jar file.
    So set the classpath correctly and make sure that you have correctly defined the JAVA_HOME environment variable in .bat script.
    Hope this will help you.
    Regards,
    Anil.
    Technical Support Engineer.

  • How to get dbms_scheduler to run jobs on different RAC nodes

    lets say I have 3 jobs and I want to run each on different RAC nodes. How do I do this?

    Hi,
    Pierre's response shows the easiest way to do this on 10g (create a service for each instance, then a job class for each service, then assign jobs to specific job classes).
    In 11g there is a more direct method, you can just set the INSTANCE_ID attribute of a job using dbms_scheduler.set_attribute.
    Note that for PL/SQL jobs Oracle recommends using services instead of instance ids because they provide better availability if one instance goes down or has to be taken down.
    Hope this helps,
    Ravi.

  • I have met problem while running script

    i have met problem while running script catalog.sql in oracle 10g r2 , while running it came out from the Database and then i can't get into the database please help ..
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> @C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catproc.sql
    DOC>######################################################################
    DOC>######################################################################
    DOC> The following PL/SQL block will cause an ORA-20000 error and
    DOC> terminate the current SQLPLUS session if the user is not SYS.
    DOC> Disconnect and reconnect with AS SYSDBA.
    DOC>######################################################################
    DOC>######################################################################
    DOC>#
    DECLARE
    ERROR at line 1:
    ORA-01012: not logged on
    Disconnected

    You should post it to the Database forum.....
    Greetings...
    Sim

  • Error while running root.sh in 11GR2 2 node cluster

    Hi Friends,
    I am trying to setup 11gR2 2 node RAC on RHEL 4.7. The cluvfy script shows everything as passed and grid infrastructure installation completes fine until I ran root.sh script. The root.sh script when run on node 1 exits with following error in console
    DOCRAC1-N310 []:./root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:>ORACLE_OWNER= oracle
    >ORACLE_HOME= /app/oracle/grid
    >
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
    [n]: y>Copying dbhome to /usr/local/bin ...
    The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
    [n]: y>Copying oraenv to /usr/local/bin ...
    The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
    [n]: y>Copying coraenv to /usr/local/bin ...
    >
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2011-01-06 13:20:18: Parsing the host name
    2011-01-06 13:20:18: Checking for super user privileges
    2011-01-06 13:20:18: User has super user privileges
    Using configuration parameter file: /app/oracle/grid/crs/install/crsconfig_params
    PROTL-16: Internal Error
    Command return code of 41 (10496) from command: /app/oracle/grid/bin/ocrconfig -local -upgrade oracle oinstall
    Failed to create or upgrade OLRWhen I checked the logs in $GRID_HOME/log/<Node1>/client
    I can see errors in ocrconfig_12426.log as
    Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. All rights reserved.
    2011-01-06 13:20:19.133: [ OCRCONF][2564297536]ocrconfig starts...
    2011-01-06 13:20:19.134: [ default][2564297536]utgdv: Could not find occonfig_loc property or ocrconfig_loc pointing to nothing
    [ OCRCONF][2564297536]Error retrieving OCR configuration. Return [4]. procr_get_conf rc [41] error buffer [Error retrieving ocrconfig_loc property.]
    2011-01-06 13:20:19.134: [ OCRCONF][2564297536]Error [4] retrieving configuration type
    2011-01-06 13:20:19.134: [ OCRCONF][2564297536]Exiting [status=failed]...and in crsctl.log
    [  CRSCTL][2566642592]Command::initStatic: clsugetconf failed with return code 4, status 1
    2011-01-06 13:19:01.372: [  CRSCTL][2566642592]Command::checkConfig: clsugetconf returned unknown status
    2011-01-06 13:19:11.502: [ default][2566642592]utgdv: Could not find occonfig_loc property or ocrconfig_loc pointing to nothing
    [ default][2566642592]Error retrieving OCR configuration. Return [4]. procr_get_conf rc [41] error buffer [Error retrieving ocrconfig_loc property.]
    [  CRSCTL][2566642592]Command::initStatic: clsugetconf failed with return code 4, status 1
    2011-01-06 13:19:11.503: [  CRSCTL][2566642592]Command::checkConfig: clsugetconf returned unknown statusI have tried to deinstall, reconfigure , but still no luck. I will be trying to use Oracle Deinstall utlity now. Before that I would like to get comments from experts
    Thanks ,
    SSN.

    Consider moving this question to the Real Application Clusters forum.
    Confirm that +/app/oracle/grid/crs/install/crsconfig_params+ exists before running root.sh - if it does, please post contents using tags to encapsulate the config text data.
    Are you using ASM for managing voting and OCR disk storage, or are you manually setting these to specific block devices?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • 11gR2 RAC installation in AIX fails while running root.sh on node2

    Hi
    We are in the process on installing 11gR2 RAC on AIX 6.1
    But the installation is failing on node 2while running root.sh with the following error.
    DiskGroup DATA creation failed with the following message:
    ORA-15018: diskgroup cannot be created
    ORA-15017: diskgroup "DATA" cannot be mounted
    ORA-15003: diskgroup "DATA" already mounted in another lock name space
    Configuration of ASM failed, see logs for details
    Did not succssfully configure and start ASM
    CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
    CRS-4000: Command Stop failed, or completed with errors.
    Command return code of 1 (256) from command: XXXXX/grid/bin/crsctl stop resource ora.crsd -init
    Stop of resource "ora.crsd -init" failed
    Failed to stop CRSD
    Please help
    Regards

    HI,
    the second node (second root.sh) should not want to "create" the diskgroup data, since it is already there.
    This pretty much sounds like you tried to start both root.sh (on the first node and on the second node) at the same time, not waiting for it to finish on the first node.
    It is important, that before you start the root.sh on the second node, it has to be finished successfully on the first node for the cluster to update the information.
    Sebastian

  • A web developer problem while running a web application

    Hi all,
    I'm novice to J2EE.
    I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
    I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
    when i access my web application by specifying the proper server and port no and context root it is showing
    either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
    Now let me elaborate what i've done till now.
    My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
    My servlet is ServExamp.java
    I created a folder called "Suresh". In that folder created another folder called "WEB-INF". In WEB-INF created a folder called "Classes".
    Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
    The source code is :
    package Sai;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class ServExamp extends HttpServlet
    public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
    PrintWriter out=res.getWriter();
    java.util.Date today=new java.util.Date();
    out.println("<html>"+"<body>"+
    "<h1 align=center>HF\'s Chapter1 Servlet </h1>"
    +"<br>"+today+"</body>"+"</html>");
    Now i'm almost done creating a web application. Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to the servlet. I constructed web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
    The web.xml file source is :
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>Hello World Web Application</display-name>
    <description>Test Servlet</description>
    <servlet>
    <servlet-name>ServExamp</servlet-name>
    <servlet-class>Sai.ServExamp</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ServExamp</servlet-name>
    <url-pattern>/Suresh</url-pattern>
    </servlet-mapping>
    </web-app>
    Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
    My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
    1) clicked on deployments, then navigated to "Web Application Modules" .
    2) Clicked "Deploy new Web Application Module"
    3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a valid web application.
    4) I Clicked that radio button and clicked "Target Module".
    5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"
    I clicked Deploy.
    6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.
    I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
    It was not showing my servlet (showed a 403 error)
    Error - 403
    This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    I think so it came b'coz I don't have an index.html or index.jsp page.
    7)Instead,I added my servlet on to the URL it provided.
    http://localhost:7001/Suresh-2/Suresh
    It is showing these error code: Http: 505 resource not allowed
    The page cannot be displayed
    The page you are looking for cannot be displayed because the address is incorrect.
    Please try the following:
    If you typed the page address in the Address bar, check that it is entered correctly.
    Open the localhost:7001 home page and then look for links to the information you want.
    Click Search to look for information on the Internet.
    when i just type : http://localhost:7001/ -> Error 404 not found error
    it's showing
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
    I want to run my web application & any help would be appreciated.
    Thanks in advance.
    with regards,
    S.SayeeNarayanan.
    Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
    Then executed my webapplication it is showing
    error-505 resource not allowed.
    --------------------------------------------------------------------------------------------

    try a fully qualified path to the pem file

  • A small problem while running my webapplication

    Hi all,
    I'm novice to J2EE.
    I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
    I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
    when i access my web application by specifying the proper server and port no and context root it is showing
    either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
    Now let me elaborate what i've done till now.
    My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
    My servlet is ServExamp.java
    I created a folder called "Suresh".  In that folder created another folder called "WEB-INF".  In WEB-INF created a folder called "Classes".
    Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
    The source code is :
    package Sai;
    import javax.servlet.;*
    import javax.servlet.http.;*
    import java.io.;*
    public class ServExamp extends HttpServlet
    public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
    PrintWriter out=res.getWriter();
    java.util.Date today=new java.util.Date();
    out.println("<html>"+"<body>"+
    *"<h1 align=center>HF\'s Chapter1 Servlet </h1>"*
    +"<br>"+today+"</body>"+"</html>");
    Now i'm almost done creating a web application.  Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to
    the servlet. I constructed  web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
    The web.xml file source is :
    *<!DOCTYPE web-app*
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    *"http://java.sun.com/dtd/web-app_2_3.dtd">*
    *<web-app>*
    *<display-name>Hello World Web Application</display-name>*
    *<description>Test Servlet</description>*
    *<servlet>*
    *<servlet-name>ServExamp</servlet-name>*
    *<servlet-class>Sai.ServExamp</servlet-class>*
    *</servlet>*
    *<servlet-mapping>*
    *<servlet-name>ServExamp</servlet-name>*
    *<url-pattern>/Suresh</url-pattern>*
    *</servlet-mapping>*
    *</web-app>*
    Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
    My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
    *1) clicked on deployments, then navigated to "Web Application Modules" .*
    *2) Clicked "Deploy new Web Application Module"*
    *3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a*
    valid web application.
    *4) I Clicked that radio button and clicked "Target Module".*
    *5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"*
    I clicked Deploy.
    *6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.*
    I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
    It was not showing  my servlet (showed a 403 error)
    Error - 403
    This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
    I think so it came b'coz I don't have an index.html or index.jsp page.
    *7)Instead,I added my servlet on to the URL it provided.*
    http://localhost:7001/Suresh-2/Suresh
    It is showing these error code: Http: 505 resource not allowed
    The page cannot be displayed
    The page you are looking for cannot be displayed because the address is incorrect.
    Please try the following:
    If you typed the page address in the Address bar, check that it is entered correctly.
    Open the localhost:7001 home page and then look for links to the information you want.
    Click  Search to look for information on the Internet.
    when i just type : http://localhost:7001/   -> Error 404 not found error
    it's showing
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.4.5 404 Not Found*
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code
    SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding
    address.
    I want to run my web application & any help would be appreciated.
    Thanks in advance.
    with regards,
    S.SayeeNarayanan.
    Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
    Then executed my webapplication it is showing
    error-505 resource not allowed.
    --------------------------------------------------------------------------------------------

    cross posted (amazingly dukes offered in both)

  • Error while running root.sh

    Hi, I am trying to install Oracle 9i (9.2.0.1.0) in my Red Hat Advanced Server 2.1 and everything went fine from installing to linking it. But when it´s asked me to run root.sh as root it gives me an error while trying to install LSSV. It´s an dependency error with libncurses.so.4. orclclnt-nw_lssv.Build.71-1 needs this file I mentioned.
    Is the installation of my OS with problems? I am not sure if this (libncurses.so.4) should be installed with the OS or if Oracle installs it! After that, I decided to ignore this error and tried to continue with the installation but dbca gives me an error. I don´t think it´s related with LSSV but I would like to make sure is that´s nothing wrong with the installation!
    Can anyone help solve this problem? Thanks!

    Hi,
    Rename the file and continue the installation again.
    Regards,
    Umair

  • Error after running root.sh on second node

    hi,
    i have installed clusterware on a 2 node system running on RHEL 5
    i followed the prereqs , and solved all the errors i encountered
    after clusterware installation , it asks to run root.sh on all the nodes
    when i ran root.sh on second node
    it gave this error
    Running vipca(silent) for configuring nodeapps
    /home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: error while loading
    shared libraries: libpthread.so.0: cannot open shared object file:
    No such file or directory
    so i follwed metalink note 414163.1
    after that i called it a day
    in the morning , wheni started both nodes
    and started vipca on second node
    it gave this error
    PRKH:1010 unable to communicate with crs services
    the i ran ps-ef | grep crs
    root 3201 1 0 15:37 ? 00:00:00 /bin/sh /etc/init.d/init.crsd run
    crsctl check crs gave
    failure 1 contacting css daemon
    cannot communicate with crs
    cannot communicate with evm
    what should i do to start these services?

    crsd and cssd logs were empty and there was no relevant info in crs alert
    i am just reinstalling clusterware now
    one thing i wanted to ask
    why does owner ship of raw files change back to root (after node restart)
    even though i chnged them to oracle

  • Problem while running BEx Query

    Hi All,
    I had reqiurement of calculating the difference of the two dates.I calculated Date Difference but I am getting problem when I run the Query.
    The problem is " I am finding the difference between Schedule Line Date and Posting Date. There are some blank spaces in the cube over Schedule Line Date and also over Posting Date. While running the Query Blank Space is taken as # symbol and while calculating the differences it is giving the differences in Lakhs."
    Can anybody help me to solve the problem " To remove the # symbol and calculate the differences properly".
    Thanks in advance.
    With Regards
    Mahi

    Hi,
    Use the Boolean concept like below:
    I hope you are using formula varibles to get Dates into the formula.
    Lets assume fv1 is formulavarible on Schedule line date and FV2 is Formula varible on Posting date.
    (FV1 == '' OR FV2 == '') * 0 + (FV1 <> '' AND FV2 <> '') * (FV1-FV2).
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for

  • Can't decide Macbook Pro 15 or Retina

    Hello! This is my first post here so excuse me if I'm doing anything wrong! I'm going to buy my first Mac but I can't decide if I should buy a Macbook Pro 15 or a Retina. I'm in college and I'm going to use it for FinalCut, Photoshop, Logic Pro and s

  • HT4191 iphone notes sync

    I have followed all of the instructions and I STILL can't sync my notes from my iphone to my mac. Can anyone help? I went to i tunes and tried deleting duplicates, that worked on the phone but they still don't appear in my email folders.  When I dese

  • Interfacing StyledDocument and XML

    Hello, I'm trying to make an xml editor, but am stumped on the javax.swing.text.StyledDocument interface. The problem is that DefaultStyledDocument isn't suited to store xml, and HTMLStyledDocument is well, html. What I want is a document class that

  • Mismatch in linenumbers of ABAP editor and debugger

    Hi all, although the ABAP program is shown as active in our editor, we sometimes have a mismatch in line numbers between ABAP editor and debugger. E.g.: FORM ITEM_PRINT in report RVADOR01 starts at linenumber 1403 in our ABAP editor. Debugger shows l

  • FB01 - Unable to do  Posting

    Hi experts, i ned to post some open items for a customer ina given coc cod but am getting an errror " Posting is only possible with a zero balance; correct document  " .. what is this  and how to correct this? Thanks Dany