DBCA error adding a new instance to a RAC.
Hi all,
I'm facing the following problem:
I'm running Oracle Clusterware & RAC 11.2.0.2 over Solaris SPARC 64.
I've two servers for a RAC. I recently added one new server.
addNode.sh works fine, and I want to add a new instance with dbca. Everything seems to be fine, but when I want to select my database to add the instance dbca runs into the following error:
"Connection to the database cannot be established because the listener could be down. Please make sure that the service is registered with a listener and the listener is up.
Connection to the database failed. Please sure that service "node01-vip:1521:rac1" is registered with the listener, username system has SYSDBA privilege, password is correct and then try again".
My RAC Database is up and running, I run the following command with cluvfy to check database configuration readiness (what should be accomplish, because is running!)
-bash-3.00$ cluvfy stage -pre dbcfg -n node01,node02,node03 -d /u01/app/oracle/product/11.2.0/db_1
Performing pre-checks for database configuration
Checking node reachability...
Node reachability check passed from node "node03"
Checking user equivalence...
User equivalence check passed for user "oracle"
Checking node connectivity...
Checking hosts config file...
Verification of the hosts config file successful
Check: Node connectivity for interface "bge0"
Node connectivity passed for interface "bge0"
Check: Node connectivity for interface "bge1"
Node connectivity passed for interface "bge1"
Node connectivity check passed
(Log too long, I truncated it)
Checking CRS integrity...
CRS integrity check passed
Checking node application existence...
Checking existence of VIP node application (required)
VIP node application check passed
Checking existence of NETWORK node application (required)
NETWORK node application check passed
Checking existence of GSD node application (optional)
GSD node application is offline on nodes "node03,node02,node01"
Checking existence of ONS node application (optional)
ONS node application check passed
Time zone consistency check passed
Pre-check for database configuration was successful.
And....
bash-3.00$ ps -fu oracle | grep inherit
oracle 21888 1 0 19:48:20 ? 0:00 /u01/oracle/11.2.0/grid/bin/tnslsnr LISTENER_SCAN1 -inherit
oracle 22079 1 0 19:48:51 ? 0:00 /u01/oracle/11.2.0/grid/bin/tnslsnr LISTENER -inherit
oracle 28817 26726 0 20:30:26 pts/1 0:00 grep inherit
-bash-3.00$ srvctl config listener -l LISTENER
Name: LISTENER
Network: 1, Owner: oracle
Home: <CRS home>
End points: TCP:1521
what can I do?
Am I doing something wrong?
Thanks in advance!!
Hi,
I am facing the same problem when adding new instance on new node, even when i try with silent mode. Can you please elobrate more how did you fix the problem ?
[oragmaxt@adpltcod01 ~]$ dbca -silent -addInstance -nodeList adpltcod01,adpltcod02,adpltcod03 -gdbName gmaxt.adweag.local -instanceName gmaxt3 -sysDBAUserName sys -sysDBAPassword f1rewa11
Look at the log file "/oragmaxt/app/oragmaxt/cfgtoollogs/dbca/gmaxt0.log" for further details.
[oragmaxt@adpltcod01 ~]$ vi /oragmaxt/app/oragmaxt/cfgtoollogs/dbca/gmaxt0.log
Connection to the database cannot be established because the listener could be down. Please make sure that the service is registered with a listener and the listener is up.
Connection to the database failed. Please make sure that service "adpltcod01-vip:1521:gmaxt1" is registered with the listener, user name "sys" has SYSDBA privilege, password is correct and then try again.
Regards
Similar Messages
-
ORA - 01034 : ORACLE NOT AVAILABLE Error while creating new instance.
I was trying to create new instance in unix environment. I have configured all my shell scripts to run and install but while performing the install I get the
following error message and fails.
ORA-01034: ORACLE not available
I have previously installed an instance using same scripts but fails this time when I copy the scripts and modify them in new folder. Pointed out the path in the scripts correctly.
I am a junior DBA and I would appriciate your help.Paste here scripts, your .profile (or environment variables according to Oracle) and your init.ora
-
Adding a new instance of a movieclip
Hi,
I want to add a new instance of a MovieClip named chair_mc in my .as file but am not sure where to place it. I also want to bring in two other MovieClip symbols but am not sure where to place this. This is the code:
package
import flash.display.MovieClip;
import flash.events.MouseEvent;
public class officescene extends MovieClip
public var chair_mc:clip;
public function officescene():void {
chair_mc = new clip();
this.addChild(chair_mc);
chair_mc.buttonMode = true;
chair_mc.x=10;
chair_mc.y=10;
chair_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
chair_mc.addEventListener(MouseEvent.MOUSE_UP, mouseReleasedHandler);
private function mouseDownHandler(event:MouseEvent):void {
chair_mc.startDrag();
private function mouseReleasedHandler(event:MouseEvent):void {
chair_mc.stopDrag();
Thanks!package {
import flash.display.MovieClip;
import flash.events.MouseEvent;
public class birdsmove extends MovieClip
public var bird01_mc:Clip1;
public var bird02_mc:Clip2;
public var bird03_mc:Clip3;
public var bird04_mc:Clip4;
public var bird05_mc:Clip5;
public var bird06_mc:Clip6;
public var bird07_mc:Clip7;
public function birdsmove()
bird01_mc = new Clip1;
addChild(bird01_mc);
bird01_mc.buttonMode = true;
bird01_mc.x=100;
bird01_mc.y=100;
bird01_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
bird01_mc.addEventListener(MouseEvent.MOUSE_UP, mouseReleasedHandler);
bird02_mc = new Clip2;
addChild(bird02_mc);
bird02_mc.buttonMode = true;
bird02_mc.x=200;
bird02_mc.y=50;
bird02_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
bird02_mc.addEventListener(MouseEvent.MOUSE_UP, mouseReleasedHandler);
bird03_mc = new Clip3;
addChild(bird03_mc);
bird03_mc.buttonMode = true;
bird03_mc.x=100;
bird03_mc.y=100;
bird03_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
bird03_mc.addEventListener(MouseEvent.MOUSE_UP, mouseReleasedHandler);
bird04_mc = new Clip4;
addChild(bird04_mc);
bird04_mc.buttonMode = true;
bird04_mc.x=200;
bird04_mc.y=200;
bird04_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
bird04_mc.addEventListener(MouseEvent.MOUSE_UP, mouseReleasedHandler);
bird05_mc = new Clip5;
this.addChild(bird05_mc);
bird05_mc.buttonMode = true;
bird05_mc.x=300;
bird05_mc.y=300;
bird05_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
bird05_mc.addEventListener(MouseEvent.MOUSE_UP, mouseReleasedHandler);
bird06_mc = new Clip6;
addChild(bird06_mc);
bird06_mc.buttonMode = true;
bird06_mc.x=400;
bird06_mc.y=350;
bird06_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
bird06_mc.addEventListener(MouseEvent.MOUSE_UP, mouseReleasedHandler);
bird07_mc = new Clip7;
addChild(bird07_mc);
bird07_mc.buttonMode = true;
bird07_mc.x=100;
bird07_mc.y=350;
bird07_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
bird07_mc.addEventListener(MouseEvent.MOUSE_UP, mouseReleasedHandler);
public function mouseDownHandler(event:MouseEvent):void
bird01_mc.startDrag();
bird02_mc.startDrag();
bird03_mc.startDrag();
bird04_mc.startDrag();
bird05_mc.startDrag();
bird06_mc.startDrag();
bird07_mc.startDrag();
public function mouseReleasedHandler(event:MouseEvent):void
bird01_mc.stopDrag();
bird02_mc.stopDrag();
bird03_mc.stopDrag();
bird04_mc.stopDrag();
bird05_mc.stopDrag();
bird06_mc.stopDrag();
bird07_mc.stopDrag(); -
Configuring Listeners error while converting single instance db to RAC +ASM
Every time when I refresh the db with production db and try to convert to cluster db using rconfig I get this error.
Verified xml file and every thing is correct in it.
rconfig convertTOrac.xml
Converting Database LABDB. to Cluster Database. Target Oracle Home : /u01/app/oracle/product/10.2.0.4/db_1.
Setting Data Files and Control Files
Adding Database Instances
Adding Redo Logs
Enabling threads for all Database Instances
Setting TEMP tablespace
Adding UNDO tablespaces
Adding Trace files
Setting Flash Recovery Area
Updating Oratab
Creating Password file(s)
Configuring Listeners
<?xml version="1.0" ?>
<RConfig version="1.1" >
<ConvertToRAC>
<Convert>
<Response>
<Result code="1" >
Got Exception
</Result>
<ErrorDetails>
oracle.sysman.assistants.rconfig.engine.ListenerCreationException: oracle.sysman.assistants.util.NetAPIException: TNS-04404: no error
caused by: oracle.net.config.ConfigException: TNS-04414: File error
caused by: TNS-04610: No literals left, reached end of NV pair
Operation Failed. Refer logs at /u01/app/oracle/product/10.2.0.4/db_1/cfgtoollogs/rconfig/rconfig.log for more details.
</ErrorDetails>
</Response>
</Convert>
</ConvertToRAC></RConfig>
You have new mail in /var/spool/mail/oracle
I know its a problem with TNS but still i could not figure out where I am going wrong. Here is the TNS.
Parameter:
*.local_listener=LISTENERS_LABDB
*.remote_listener=''
TNS: Same has been updated in all the 3 nodes but still no luck.
LABDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = melrhrac2lab1-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = melrhrac2lab2-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = melrhrac2lab3-vip)(PORT = 1521))
(ENABLE = BROKEN)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = LABDB_APPSVR)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
LISTENERS_LABDB =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = melrhrac2lab1-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = melrhrac2lab2-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = melrhrac2lab3-vip)(PORT = 1521))
Regards,I tried commenting local_listener and also by setting local_listener='' but still no luck. It failed with same error while configuring listerners.
I would like to know what exatly it(configuring listeners) is trying to do. Please advice.
Note: I am not using a shared oracle home, each node in the cluster has its own oracle installation residing on local disk. Is a shared oracle home a pre-requisite for using rconfig?
Edited by: Brunie on Nov 14, 2009 10:31 PM -
Oracle ORA_16000 when trying to add standby instance to existing rac node
I attempted to use dbca to add a new standby instance to an existing cluster. The cluster is 4 nodes, Linux RHEL 5.3 Oracle 11.1.0.7. Also using ASM, asmlib, ocfs2 and shared block devices.
ASM instances are up and functional on all nodes. current config appears to be running normally and correctly.
I have a 4 instance database running on the cluster. I also have 3 physical standby active data guard instances running on 3 of the nodes. I wanted to add a new ADG instance to the 4th node.
While running dbca I received ORA-00604 and ORA-16000.
The active data guard database was open (read only) and redo apply was on. I am using data guard broker as well, but not grid control.
Does anyone have a procedure for adding an instance in this environment? Do I need to have the standby in mount state? If dbca won't work does anyone have a manual procedure for adding a new instance?
Thankszulo
Let's say you adding node nusclust160## to you existing cluster and dbca is a pain to use.
Extend clusterware to the nusclust160## server.
re: Page 64 of Oracle® Clusterware Administration and Deployment Guide 11g Release 1 (11.1)
1a.
Add undo tablespace to support additional node.
Re-check space for DATA1 on nusclust16007 and /dbdata/ORADB on sun16109.
As of Thursday, May 21, 2009 the DATA1 asm group has 53,584M free.
As of Thursday, May 21, 2009 the /dbdata/ORADB has 77G free.
In a separate terminal window on nusclust16007 run the following in sqlplus
CREATE UNDO TABLESPACE UNDOTBS4 datafile '+DATA1' SIZE 13300M AUTOEXTEND ON ;
This will take a long time to create this tablespace. Please minimize the window after submitting the ddl and move on to the next step.
1b.
Insure .bash_profile on nusclust160## should look like this:
vi .bash_profile
export ORACLE_HOSTNAME=nusclust160##
export ORACLE_SID=ORADB4
export ORA_CRS_BASE=/apps/ocr/oracle
export ORACLE_BASE=/apps/dbs/oracle
export PATH=/usr/ccs/bin:/usr/X/bin:/usr/bin:/usr/sfw/bin:/usr/sbin:/usr/local/bin
export server=`uname -n`
export PS1="$ORACLE_SID@$HOSTNAME >"
alias cls='clear'
alias More='more'
alias ll='ls -lt | more'
Gather IP addresses for fourth node from /etc/hosts:
222.65.125.### nusclust160##
222.65.125.### nusclust160##-vip
10.333.248.### nusclust160##-priv
2. Start Oracle Universal Installer:
Go to CRS_home/oui/bin and run the addNode.sh script on one of the existing
nodes. Oracle Universal Installer runs in add node mode.
The Oracle inventory on nusclust16007, nusclust16008, and nusclust16036 are found under:
/home/oracle/oraInventory
Use a X windows enabled session (The OUI takes 33 minutes)
cd /apps/ocr/oracle/product/11.1.0/crs/oui/bin
./addNode.sh
a. In the first screen specify a new node as :
Public Node Name: nusclust160##
Private Node Name: nusclust160##-priv
Virtual Host Name: nusclust160##-vip
If you receive the error:
" tar. ./bin/racgvip.orig: Permission denied"
Do the following:
cd /apps/ocr/oracle/product/11.1.0/crs/bin
ls -al racgvip.orig
paste here:
chown root:oinstall racgvip.orig
chmod 771 racgvip.orig
should now show:
-rwxrwx--x 1 root oinstall 19213 Feb 11 08:36 racgvip.orig
As root:
a.
On nusclust160##:
cd /home/oracle/oraInventory
./orainstRoot.sh
b.
On nusclust16007:
cd /apps/ocr/oracle/product/11.1.0/crs/install
./rootaddnode.sh
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Attempting to add 1 new nodes to the configuration
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 4: nusclust160## nusclust160##-priv nusclust160##
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
/apps/ocr/oracle/product/11.1.0/crs/bin/srvctl add nodeapps -n nusclust160## -A nusclust160##-vip/255.255.255.224/bge0
c.
On nusclust160##:
cd /apps/ocr/oracle/product/11.1.0/crs/
./root.sh
WARNING: directory '/apps/ocr/oracle/product/11.1.0' is not owned by root
WARNING: directory '/apps/ocr/oracle/product' is not owned by root
WARNING: directory '/apps/ocr/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
OCR LOCATIONS = /raw/ocr/ocrconf1,/raw/ocr/ocrconf2
OCR backup directory '/apps/ocr/oracle/product/11.1.0/crs/cdata/rac_cluster' does not exist. Creating now
Setting the permissions on OCR backup directory
Setting up Network socket directories
Oracle Cluster Registry configuration upgraded successfully
The directory '/apps/ocr/oracle/product/11.1.0' is not owned by root. Changing owner to root
The directory '/apps/ocr/oracle/product' is not owned by root. Changing owner to root
The directory '/apps/ocr/oracle' is not owned by root. Changing owner to root
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
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: nusclust16007 nusclust16007-priv nusclust16007
node 2: nusclust16008 nusclust16008-priv nusclust16008
node 3: nusclust16036 nusclust16036-priv nusclust16036
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 30 seconds.
Adding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
Cluster Synchronization Services is active on these nodes.
nusclust16007
nusclust16008
nusclust16036
nusclust160##
Cluster Synchronization Services is active on all the nodes.
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
4. After this is done crs_stat -t will show nusclust160## in the crs i.e.
I see:
Name Type Target State Host
ora....160##.gsd application ONLINE ONLINE sun...160##
ora....160##.ons application ONLINE OFFLINE
ora....160##.vip application ONLINE ONLINE sun...160##
Do not be concerned about ora.nusclust160##.ons being OFFLINE, as that will be fixed shortly in a step that follows this one.
5. As oracle :
On nusclust16007:
cd /apps/ocr/oracle/product/11.1.0/crs/bin
./racgons add_config nusclust160##:6251
This should take about one second to run.
If it says that it has already been added to the OCR you are fine.
If it hangs, you may need to reboot all servers to clear this issue.
6. Insure new node is properly added to ocr by running
On nusclust16007:
ocrdump
Check for the entries that show:
[DATABASE.ONS_HOSTS.nusclust160##.PORT]
ORATEXT : 6251
7. Check that your cluster is integrated and that the cluster is not divided into
partitions by completing the following operations:
On nusclust16007:
cd /apps/ocr/oracle/product/11.1.0/crs/bin
./cluvfy comp clumgr -n all -verbose
Should see Verification of cluster manager integrity was successful.
8.
Use the following command to perform an integrated validation of the Oracle
Clusterware setup on all of the configured nodes, both the preexisting nodes
and the nodes that you have added:
AS oracle on nusclust16007:
cluvfy stage -post crsinst -n all -verbose
Post-check for cluster services setup was successful.
good: Post-check for cluster services setup was successful.
9.
On nusclust160## as oracle run the following:
cd /apps/ocr/oracle/product/11.1.0/crs/bin
./crs_stat -t | grep OFFLINE
If you see this:
ora.nusclust160##.ons application ONLINE OFFLINE
then run this:
./crs_start -all
After:
./crs_stat -t
ora.nusclust160##.ons application ONLINE ONLINE nusclust160##
If you see the above then you can move on the next step.
Adding database binaries to the nusclust160## server and setting up the listener.
1.
From nusclust16007:
Open an X window (The OUI part takes 13 minutes)
cd /apps/dbs/oracle/product/11.1.0/db_1/oui/bin
./runInstaller -addNode ORACLE_HOME=/apps/dbs/oracle/product/11.1.0/db_1 $*
You should get a prompt to specify a new node, in this case you should see nusclust160## where you will need to put a check mark beside it.
2.
from nusclust160##:
Eventually you will be prompted to run the following as root on the new node
On nusclust160##
cd /apps/dbs/oracle/product/11.1.0/db_1
./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /apps/dbs/oracle/product/11.1.0/db_1
Enter the full pathname of the local bin directory: [usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /var/opt/oracle/oratab file...
Entries will be added to the /var/opt/oracle/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.
Finished product-specific root actions.
3. verification
Now set up the .bash_profile and .asm profile to on nusclust160## to support new ORADB4 and +ASM4 instances for the oracle userid.
On nusclust160##:
cp .bash_profile .bash_profile.bak
On nusclust16007:
sftp nusclust160##
put .bash_profile
On nusclust160##:
vi .bash_profile
change ORALCE_SID to ORADB4
cp .bash_profile .asm
vi .asm
change ORALCE_SID to +ASM4 in .asm file
which sqlplus
Should show the path below is $PATH environmental variable is set correctly.
/apps/dbs/oracle/product/11.1.0/db_1/bin/sqlplus
On nusclust160##:
oifcfg getif
This should show:
ce4 10.333.248.192 global cluster_interconnect
ce5 222.65.125.128 global public
4.
Run Netbackup Oracle Agent link script.
As oracle make sure ORACLE_HOME is fined.
env | grep ORACLE_HOME
then
cd /usr/openv/netbackup/bin/
./oracle_link
ls -al $ORACLE_HOME/lib/libobk.so
should show:
/apps/dbs/oracle/product/11.1.0/db_1/lib/libobk.so -> /usr/openv/netbackup/bin/libobk.so64.1
5.
On the target node, run the Net Configuration Assistant (NETCA) to add a
listener. Add a listener to the target node by running NETCA from the target node and
selecting only the target node on the Node Selection page.
I shall do the following on nusclust160## using X Windows
Now before I do this I see:
crs_stat -t
ora.nusclust160##.gsd application ONLINE ONLINE nusclust160##
ora.nusclust160##.ons application ONLINE ONLINE nusclust160##
ora.nusclust160##.vip application ONLINE ONLINE nusclust160##
Connect to nusclust160## and open up X windows session.
netca
Choose Cluster configuration.
select nusclust160## as the node to configure.
Choose Listener configuration, then Add.
When it prompts you for a listener name choose LISTENER as it will append _NUSCLUST160##(server name) to end of the LISTENER name to make a complete listener name.
At this point you will have listener to support the new node in the crs.
now
crs_stat -t
will show:
ora....0#.lsnr application ONLINE ONLINE nusclust160##
ora.nusclust160##.gsd application ONLINE ONLINE nusclust160##
ora.nusclust160##.ons application ONLINE ONLINE nusclust160##
ora.nusclust160##.vip application ONLINE ONLINE nusclust160##
At this point the necessary crs entries for gsd, ons, vip, and the listener on nusclust160## all we need now are the ORADB4 and +ASM4 instances added.
III. 7/11/2009 7:40 AM Sat [120 min] NTTA DBA
Use NON dbca method to create additional instances on the nusclust160## server. This will involve a complete shutdown of all RAC instances.
1.
Undo tablespace creation was taken care of in Step I,1. Check on the progress of the creation of tablespace UNDOTBS4 in the minimized window. Should see tablespace on primary and physical standby databases.
2. First we shall set up the +ASM4 instance on nusclust160## and add it to the cluster.
On nusclust160##
cd $ORACLE_HOME/dbs
vi init+ASM4.ora
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
# Cluster Database
cluster_database=true
cluster_database_instances=6
# Miscellaneous
diagnostic_dest=/apps/dbs/oracle
instance_type=asm
# Pools
large_pool_size=12M
asm_diskgroups='DATA1','ARCH','REDO1','REDO2'
asm_diskstring='/raw/asm'
+ASM1.instance_number=1
+ASM2.instance_number=2
+ASM3.instance_number=3
+ASM4.instance_number=4
3.
On nusclust16007
cd $ORACLE_HOME/dbs
sftp nusclust160##
put orapw+ASM1 /apps/dbs/oracle/product/11.1.0/db_1/dbs
put orapwORADB1 /apps/dbs/oracle/product/11.1.0/db_1/dbs
4.
On nusclust160##
cd $ORACLE_HOME/dbs
cp orapw+ASM1 orapw+ASM4
cp orapwORADB1 orapwORADB4
5.
On nusclust160##
cd $HOME
. ./.asm
sqlplus '/ as sysasm'
startup
create spfile from pfile='/apps/dbs/oracle/product/11.1.0/db_1/dbs/init+ASM4.ora' ;
shutdown immediate ;
startup
show parameters spfile
6. Now that we have a running asm instance add it the cluster.
On nusclust160##
srvctl add asm -n nusclust160## -i +ASM4 -o /apps/dbs/oracle/product/11.1.0/db_1
srvctl enable asm -n nusclust160## -i +ASM4
7. Now that we have an asm instance let's set up a database instance.
On nusclust16007/ORADB1 :
alter system set cluster_database_instances=6 scope=spfile ;
alter system set instance_name=ORADB4 scope=spfile sid='ORADB4' ;
alter system set instance_number=4 scope=spfile sid='ORADB4' ;
alter system set local_listener=LISTENER_ NUSCLUST160## scope=both sid='ORADB4' ;
alter system set thread=4 scope=both sid='ORADB4' ;
alter system set undo_tablespace=UNDOTBS4 scope=both sid='ORADB4' ;
alter database add logfile thread 4 group 28 ('+REDO1', '+REDO2' ) size 100M ;
alter database add logfile thread 4 group 29 ('+REDO1', '+REDO2' ) size 100M ;
alter database add logfile thread 4 group 30 ('+REDO1', '+REDO2' ) size 100M ;
alter database add logfile thread 4 group 31 ('+REDO1', '+REDO2' ) size 100M ;
alter database enable public thread 4;
Need to add 5 groups to support standby
So at the end of the day 900M will be added to REDO1(29,577M free) and 900M will be added to REDO2 (29,577M free).
8. Set up init.ora, listener.ora, and tnsnames.ora for ORADB4 on nusclust160##.
a. init.ora set up
cd $ORACLE_HOME/dbs
vi initORADB4.ora
SPFILE='+DATA1/ORADB/spfileORADB.ora'
b. add entries to tnsnames.ora:
ORADB4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
(INSTANCE_NAME = ORADB4)
ORADB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16007-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16008-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16036-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
LISTENERS_ORADB =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16007-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16008-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16036-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
LISTENER_NUSCLUST160## =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
ORADB_PRIM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16007-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16008-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust16036-vip)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
c. add entries to listener.ora, The entries for most of this file should be set already, just insure modifications that need to be made are made.
SID_LIST_LISTENER_NUSCLUST160## =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /apps/dbs/oracle/product/11.1.0/db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = ORADB)
(ORACLE_HOME = /apps/dbs/oracle/product/11.1.0/db_1)
(SID_NAME = ORADB4)
LISTENER_NUSCLUST160## =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = NUSCLUST160##-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 222.65.125.###)(PORT = 1521)(IP = FIRST))
9. Reload the listener.
lsnrclt
set current_listener LISTENER_NUSCLUST160##
reload
exit
10. Check audit trail, add instance to cluster, and start db instance.
a.
Check for audit directory and start the instance.
/apps/dbs/oracle/product/11.1.0/db_1/rdbms/audit
If this audit trail directory does not exist then create it.
b.
srvctl add instance -d ORADB -i ORADB4 -n nusclust160##
srvctl modify instance -d ORADB -i ORADB4 -s +ASM4
srvctl enable instance -d ORADB -i ORADB4
Will probably show: PRKP-1017 : Instance ORADB4 already enabled.
c.
sqlplus '/ as sysdba'
startup
**Because the cluster_database_instances parameter requires the complete shutdown of all instances in the cluster, you might have an issue when it attempts to start the instance. If you receive an error then run:
srvctl stop database -d oradb
sqlplus '/ as sysdba'
startup
shutdown
srvctl start database -d oradb
shutdown
srvctl start instance -d ORADB -i ORADB4 -o open
11.
Modify spfile of ASM1, ASM2, +ASM3
On nusclust16007
. ./.asm
sqlplus '/ as sysasm'
alter system set instance_number=4 scope=spfile sid='+ASM4' ;
On nusclust16008
. ./.asm
sqlplus '/ as sysasm'
alter system set instance_number=4 scope=spfile sid='+ASM4' ;
On nusclust16036
. ./.asm
sqlplus '/ as sysasm'
alter system set instance_number=4 scope=spfile sid='+ASM4' ;
b Modify tnsnames.ora on nusclust nusclust16007, nusclust16008, and nusclust16036
On nusclust16007
ORADB4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
(INSTANCE_NAME = ORADB4)
Add the following line to the ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the LISTENERS_ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the ORADB_PRIM alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
On nusclust16008
ORADB4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
(INSTANCE_NAME = ORADB4)
Add the following line to the ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the LISTENERS_ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the ORADB_PRIM alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
On nusclust16036
ORADB4 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORADB)
(INSTANCE_NAME = ORADB4)
Add the following line to the ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the LISTENERS_ORADB alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
Add the following line to the ORADB_PRIM alias:
(ADDRESS = (PROTOCOL = TCP)(HOST = nusclust160##-vip)(PORT = 1521))
c Add standby logs on primary to support 4th node.
alter database add standby logfile thread 4 group 32 ('+REDO1', '+REDO2' ) size 100M ;
alter database add standby logfile thread 4 group 33 ('+REDO1', '+REDO2' ) size 100M ;
alter database add standby logfile thread 4 group 34 ('+REDO1', '+REDO2' ) size 100M ;
alter database add standby logfile thread 4 group 35 ('+REDO1', '+REDO2' ) size 100M ;
alter database add standby logfile thread 4 group 36 ('+REDO1', '+REDO2' ) size 100M ;
12.
Test the cluster to make sure everything is set up correctly.
a. Shutdown resources.
On nusclust16007:
emctl stop dbconsole
ps -ef | grep perl
ps -ef | grep agent
ps -ef | grep java
On nusclust16008:
emctl stop dbconsole
On nusclust16036:
emctl stop dbconsole
On nusclust16008:
cd $HOME
. ./.rman
cd scripts
./go
shutdown immediate
cd $HOME
. ./.bash_profile
srvctl stop database -d oradb
crs_stop -all
crs_stat -t
b. Startup resources
On nusclust16007:
cd $HOME
. ./.bash_profile
crs_start -all
crs_stat -t
The command above should show everything up and running.
ocrcheck
On nusclust16008:
cd $HOME
. ./.rman
cd scripts
./go
startup
On nusclust16007:
emctl start dbconsole
On nusclust16008:
emctl start dbconsole
On nusclust16036:
emctl start dbconsole
How does that work for you?
-JR jr -
Unable to recreate ASM instance in 10g rac (2 node )
Hi,
I have successfully installed the clusterware and database software.during ASM installation it got failed, i i have cleaned up ASM setup.
Now i am not able to create asm instance it show following message
PRKS-1011:Failed to check status of ASM instance "+ASM1" on node "rac1",[
CRS-0210:Could not find resource ora.rac1.ASM1.asm
here are few output of commands and activity done
[oracle@rac1 ~]$ crs_stat -t
Name Type Target State Host
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
[oracle@rac1 ~]$
[oracle@rac1 ~]$ crs_profile -validate ora.rac1.ASM1.asm
CRS-0181: Cannot access the resource profile '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac1.ASM1.asm.cap'.
CRS-0180: Resource '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac1.ASM1.asm.cap' validation failed.
[oracle@rac1 ~]$ crs_profile -validate ora.rac2.ASM2.asm
CRS-0181: Cannot access the resource profile '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac2.ASM2.asm.cap'.
CRS-0180: Resource '/u01/app/oracle/product/10.2.0/crs_1/crs/public/ora.rac2.ASM2.asm.cap' validation failed.
[oracle@rac1 ~]$
[oracle@rac1 ~]$
[oracle@rac1 ~]$ crs_unregister ora.rac1.ASM1.asm
CRS-0210: Could not find resource 'ora.rac1.ASM1.asm'.
[oracle@rac1 ~]$ crs_unregister ora.rac2.ASM2.asm
CRS-0210: Could not find resource 'ora.rac2.ASM2.asm'.
I Have deleted following files
rm -Rf $ORACLE_BASE/admin/+ASM
rm -Rf $ORACLE_HOME/dbs/*ASM*
[oracle@rac1 ~]$ rm -Rf $ORACLE_HOME/dbs/*ASM*
[oracle@rac1 ~]$ rm -Rf $ORACLE_BASE/admin/+ASM
[oracle@rac1 ~]$ ssh rac2
Last login: Thu Feb 23 16:31:26 2012 from rac1.mylinux.localdomain
[oracle@rac2 ~]$ rm -Rf $ORACLE_BASE/admin/+ASM
[oracle@rac2 ~]$ rm -Rf $ORACLE_HOME/dbs/*ASM*
dbca -silent -deleteASM -nodelist rac1,rac2 -----AS per oracle DOC
Also removed entries from oratab file for ASM instances.
Dbca error message during asm instance creation for both node
PRKS-1011:Failed to check status of ASM instance "+ASM1" on node "rac1",[
CRS-0210:Could not find resource ora.rac1.ASM1.asm
PRKS-1011:Failed to check status of ASM instance "+ASM2" on node "rac2",[
CRS-0210:Could not find resource ora.rac2.ASM2.asm
Did i forget to remove entries for ASM instance somewhere.
Please help me.Hi,
I believe your OCR is corrupted....so restore the OCR from most recent backup (before error ).
Using crs_* commands on resources with the prefix ora.* (resources provided by Oracle) remains unsupported.
After restore OCR... remove ASM with "srvctl" command:
http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm#CHDBDDAD
Regards,
Levi Pereira -
Running into strange errors when creating a new instance
Hello:
I am running 9.2.0.8 on a Windows 2003 Server.
When I try to create a new instance, I chose a New Database/UTF-8/16KB Block Size. Everything else was default value. However, I get a "ORA-29807: specified operator does not exist" error. When I looked into the Create log file, the file, CreateDBCatalog.log has the following errors:
No errors.
No errors.
drop table AUDIT_ACTIONS
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
CREATE ROLE exp_full_database
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
CREATE ROLE imp_full_database
ERROR at line 1:
ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
drop table system.logstdby$skip_support
ERROR at line 1:
ORA-00942: table or view does not exist
Warning: View created with compilation errors.
Warning: View created with compilation errors.
CREATE ROLE exp_full_database
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
CREATE ROLE imp_full_database
ERROR at line 1:
ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
drop synonym DBA_LOCKS
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
drop view DBA_LOCKS
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
drop package body sys.diana
ERROR at line 1:
ORA-04043: object DIANA does not exist
drop package sys.diana
ERROR at line 1:
ORA-04043: object DIANA does not exist
drop table sys.pstubtbl
ERROR at line 1:
ORA-00942: table or view does not exist
drop package body sys.diutil
ERROR at line 1:
ORA-04043: object DIUTIL does not exist
drop package sys.diutil
ERROR at line 1:
ORA-04043: object DIUTIL does not exist
drop procedure sys.pstubt
ERROR at line 1:
ORA-04043: object PSTUBT does not exist
drop procedure sys.pstub
ERROR at line 1:
ORA-04043: object PSTUB does not exist
drop procedure sys.subptxt2
ERROR at line 1:
ORA-04043: object SUBPTXT2 does not exist
drop procedure sys.subptxt
ERROR at line 1:
ORA-04043: object SUBPTXT does not exist
No errors.
No errors.
No errors.
No errors.
drop type dbms_xplan_type_table
ERROR at line 1:
ORA-04043: object DBMS_XPLAN_TYPE_TABLE does not exist
drop type dbms_xplan_type
ERROR at line 1:
ORA-04043: object DBMS_XPLAN_TYPE does not exist
No errors.
DROP TABLE ODCI_SECOBJ$
ERROR at line 1:
ORA-00942: table or view does not exist
DROP TABLE ODCI_WARNINGS$
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
No errors.
No errors.
No errors.
drop sequence dbms_lock_id
ERROR at line 1:
ORA-02289: sequence does not exist
drop table dbms_alert_info
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
drop table SYSTEM.AQ$_Internet_Agent_Privs
ERROR at line 1:
ORA-00942: table or view does not exist
drop table SYSTEM.AQ$_Internet_Agents
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
DROP SYNONYM def$_tran
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DROP SYNONYM def$_call
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DROP SYNONYM def$_defaultdest
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DBMS_DEBUG successfully loaded.
PBUTL successfully loaded.
PBRPH successfully loaded.
PBSDE successfully loaded.
PBREAK successfully loaded.
DROP TYPE SYS.RewriteMessage FORCE
ERROR at line 1:
ORA-04043: object REWRITEMESSAGE does not exist
DROP TYPE SYS.RewriteArrayType FORCE
ERROR at line 1:
ORA-04043: object REWRITEARRAYTYPE does not exist
DROP TYPE SYS.ExplainMVMessage FORCE
ERROR at line 1:
ORA-04043: object EXPLAINMVMESSAGE does not exist
DROP TYPE SYS.ExplainMVArrayType FORCE
ERROR at line 1:
ORA-04043: object EXPLAINMVARRAYTYPE does not exist
No errors.
drop view sys.transport_set_violations
ERROR at line 1:
ORA-00942: table or view does not exist
drop table sys.transts_error$
ERROR at line 1:
ORA-00942: table or view does not exist
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
No errors.
drop operator XMLSequence
ERROR at line 1:
ORA-29807: specified operator does not exist
What does this mean?
venki
Edited by: thevenkat on Mar 11, 2009 10:17 PMVenki,
The ORA-00942 is okay because there is no existing object. But what stuck me is the ORA-01921 error which may indicate that this might not be a new database.
CREATE ROLE exp_full_database
ERROR at line 1:
ORA-01921: role name 'EXP_FULL_DATABASE' conflicts with another user or role name
CREATE ROLE imp_full_database
ERROR at line 1:
ORA-01921: role name 'IMP_FULL_DATABASE' conflicts with another user or role name
Are there any existing databases on this server? Have you tried to create it on other machine?I searched on Metalink too and found Doc ID: 237486.1 ORA-29807 Signalled While Creating Database using DBCA which say that eroror could be ignored. You may want to review that as well.
Ittichai -
Windows 64-Bit Oracle DBCA creating new Instance ORA-27102: out of memory
Wondering has anyone encountered this?
We are running Oracle 10 R2 running on Windows Server 2003 ( This database is on a 64-bit Platform)
Memory capacity is 16 GB on the server.
We are using DBCA to streamline db creation of the new “EDR” DB instance – here are a few different attempts we’ve done:
(all have failed )
FYI - during this installation we’ve monitored the memory allocation/usage of the Windows Server and there
was about 13-14 GB Free
The existing instance takes up less than 4GB of space.
We tried following:
1. Allocating 8GB of Memory to new EDR Instance without shutting down other Oracle Instance.
2. Allocating 8GB of Memory to new EDR Instance and shutting down other Oracle Instance
3. Rebooted Server keeping other oracle instance shutdown.
4. After Reboot Allocated 8GB to new EDR Instance
5. Attempted allocating less memory 2GB to new EDR instance
6. Early this morning we also tried omitting backup scheduling as part of configuration for DBCA
for that instance.
Each time we received error in DBCA GUI during DB Creation at 2% completion
ORA-27102: out of memory
oraclehome\product\10.2.0\db_1\cfgtoollogs\dbca\EDR
(cloneRmanRestore.log) first set of file created. (along with a RmanRestoreDatafile.sql, which failed (see log below)
then halted install/creation of DB
ORA-27102: out of memory
OSD-00025: additional error information
O/S-Error: (OS 1453) Insufficient quota to complete the requested service.
select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
ERROR at line 1:
ORA-01034: ORACLE not available
ORA-27102: out of memory
OSD-00025: additional error information
ORA-27102: out of memory
OSD-00025: additional error information
O/S-Error: (OS 1453) Insufficient quota to complete the requested service.
select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
ERROR at line 1:
ORA-01034: ORACLE not available
ORA-27102: out of memory
OSD-00025: additional error information
ORA-27102: out of memory
OSD-00025: additional error information
ORA-27102: out of memory
OSD-00025: additional error information
ORA-27102: out of memory
OSD-00025: additional error information
ORA-27102: out of memory
OSD-00025: additional error information
ORA-27102: out of memory
OSD-00025: additional error information
ORA-27102: out of memory
OSD-00025: additional error information
ORA-27102: out of memory
OSD-00025: additional error informationAfter much effort it was discovered it was a setting during the installation of a parameter which caused this error. Using the TEMPLATE to create a new instance, you can setup parameters
LOCK_SGA = TRUE
causes this error. In addition if in our situation, even if we did not use the "template" created a barebones DB instance. Once the parameter is updated in SQL*Plus it will cause the datbase to be in a in operable state.
You can start it up with a PFILE to fix it, In windows it required modifying the registry to FORCE the PFILE to load, by running on the commandline to use the PFILE it failed.
Hope this helps someone in the future..
ON WINDOWS DONT USE
LOCK_SGA = TRUE
It may work fine for Unix/LINUX OS? But in our current config it had problems. -
EP6 SP2 - Adding a new Dialog Instance
Hi,
I have two physical hosts. Host A was installed with State Controller, Dispatcher A and Server A. Recently, I have added a new Host B with Dispatcher B and Server B. Host A is the Central instance while Host B is the new Dialog instance. When I startup the node Server B in Host B, it was trying to synchronise the files with Host A but it ran into an error during synchronization. In node Server B, it was complaining of some error during startup with the go.bat. The error was :
Start synchronizing application irj. More details about the synchronization can
be found in INFO log files.
Application irj was locally stopped.
[com.sapportals.portal.prt.dispatcher.Dispatcher@10b0fd, 12/27/04 4:50:54 PM SGT
, System_Thread_12] Exiting main initialization procedure because of exception:
java.lang.NoClassDefFoundError: com/sap/portal/prt/sapj2ee/bridge/IAccessor
at com.sapportals.portal.prt.runtime.Portal.getLogger(Portal.java:402)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:283)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalC
oreInitializer.java:54)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalI
nitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitiali
zer.run(Dispatcher.java:160)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispat
cher.java:358)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher
.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispat
cher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:
391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(Serv
letContextFacade.java:3338)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(Serv
letContextFacade.java:2596)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(Serv
letsAndJspImpl.java:520)
at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(WebC
ontainer.java:258)
at com.inqmy.services.deploy.server.DeployServiceImpl.synchronizeLocal(D
eployServiceImpl.java:4441)
at com.inqmy.services.deploy.server.DeployServiceImpl.synchronizeLocal(D
eployServiceImpl.java:4370)
at com.inqmy.services.deploy.server.DeployServiceImpl.synchronizeApplica
tions(DeployServiceImpl.java:4293)
at com.inqmy.services.deploy.server.DeployServiceImpl.makeSynchronizatio
n(DeployServiceImpl.java:3943)
at com.inqmy.services.deploy.server.DeployServiceImpl.afterContainerStar
t(DeployServiceImpl.java:3935)
at com.inqmy.core.service.context.event.ContainerEventListenerWrapper.ru
n(ContainerEventListenerWrapper.java:146)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
WARNING: Dispatcher could not be set up:
javax.servlet.UnavailableException: Initialization of Dispatcher failed
javax.servlet.UnavailableException: Initialization of Dispatcher failed
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispat
cher.java:370)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher
.java:40)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispat
cher.java:113)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:
391)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(Serv
letContextFacade.java:3338)
at com.inqmy.services.servlets_jsp.server.ServletContextFacade.init(Serv
letContextFacade.java:2596)
at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.deploy(Serv
letsAndJspImpl.java:520)
at com.inqmy.services.servlets_jsp.server.WebContainer.commitDeploy(WebC
ontainer.java:258)
at com.inqmy.services.deploy.server.DeployServiceImpl.synchronizeLocal(D
eployServiceImpl.java:4441)
at com.inqmy.services.deploy.server.DeployServiceImpl.synchronizeLocal(D
eployServiceImpl.java:4370)
at com.inqmy.services.deploy.server.DeployServiceImpl.synchronizeApplica
tions(DeployServiceImpl.java:4293)
at com.inqmy.services.deploy.server.DeployServiceImpl.makeSynchronizatio
n(DeployServiceImpl.java:3943)
at com.inqmy.services.deploy.server.DeployServiceImpl.afterContainerStar
t(DeployServiceImpl.java:3935)
at com.inqmy.core.service.context.event.ContainerEventListenerWrapper.ru
n(ContainerEventListenerWrapper.java:146)
at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
at java.security.AccessController.doPrivileged(Native Method)
at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
Synchronization of missing application [irj] successfully completed.
Start synchronizing application MetaMatrix. More details about the synchronizati
on can be found in INFO log files.
Error : Background synchronization of application [MetaMatrix] did not succeed
, because : java.rmi.RemoteException: Error occured while synchronizing applicat
ion [MetaMatrix]. Committing deploy to container - EJBContainer failed.com.inqmy
.services.deploy.container.DeploymentException: ID020230 Cannot load bean <com.m
etamatrix.metadata.server.serverapi.MetadataServerAPIHome>, because Exception oc
cured in object instantiation: java.lang.NoClassDefFoundError: com/metamatrix/ap
i/exception/MetaMatrixComponentException; nested exception is:
com.inqmy.services.deploy.container.DeploymentException: ID020230 Cannot
load bean <com.metamatrix.metadata.server.serverapi.MetadataServerAPIHome>, bec
ause Exception occured in object instantiation: java.lang.NoClassDefFoundError:
com/metamatrix/api/exception/MetaMatrixComponentException
Any help would be appreciated...
Thanks.
regards,
MikeHi..
Do you plan have load balancing setup..then you can go for installating another dialog webas java for your existing portal..
youcan get the installation document at service.sap.com
https://websmp103.sap-ag.de/instguides..
see the webas java installation
You can install another webas java and connect to you existinfg portal as dialog instance...
Thanks
Gopal
(avoid points if it is useful) -
Error while adding a new col with check constriant
Hello
I tried adding a new column with check constraint but giving the error please correct me..
drop table testchk
create table testchk(typenm varchar2(5))
insert into testchk values('mon')
alter table testchk add typechk varchar2(5) default 'both' constraint chk_test check(typechk in('m','d') and typechk is not null)For the alter comman getting the ORA-02293 cannot validate error..
I dont want to create any other constriant like not null etc .. but need only one check constriant
ThanksYou cannot assign a default value = 'both' while the constraint allows only 'm' or 'd'.
This will work:
ALTER TABLE testchk ADD typechk VARCHAR2(5) DEFAULT 'both'
CONSTRAINT chk_test CHECK(typechk IN('m','d', 'both') AND typechk IS NOT NULL);Edited by: kordirko on 2010-05-14 18:41 -
Error while adding a new method to the Session Bean
Hello everyone. I'm using jdev 11g, ejb, jpa & jsf. Everything works fine. But when I try to add a custom method to the Session Bean, I'm having an error.
Here is my steps:
1) I added a new method to SessionBean.java. Something like this:
public void Hello() {
System.out.println("Hello!");
2) Then using Structure palette I exposed this method through Local interface and created data control
3) Finally, I made a command button binded to this method (just droped it from DataControls.dcx to my page)
When I start the page and click the button, I'm having the following error:
Error 500--Internal Server Error
javax.faces.el.EvaluationException: Method not found: Hello.execute(javax.faces.event.ActionEvent)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1227)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
... (I've truncated the log because there is nothing important in the missing part)Yes, I have binding in the page def. Everything is correct there:
<methodAction id="Hello" RequiresUpdateModel="true" Action="invokeMethod"
MethodName="Hello" IsViewObjectMethod="false"
DataControl="PriceServiceLocal"
InstanceName="PriceServiceLocal.dataProvider"/>
I've droped the method from the Data Controls panel -
Error while adding a new field to the Segment in we31
Hi ,
I am getting error when i am trying to add the new field to the cust. segment.
It is released for the adding the new fields i am cancelling the release , but i got a message like this
Error while resetting release of segment 'segment name'.
it is comming from the message class EA and message number 259.
Thanks in advance.
Reagrds,
bharaniHi,
Have you tried Cancelling the release before adding the version?
Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
Please let me know if it worked!
Vijay -
Serialization Error after adding a new field to BPM Process
Hi,
I have a BPM Process to which I added a new attribute userid and consuming the BPM process in a web dynpro application, I created a model using the BPM Process's Web Service but getting a serialization error that the model does not have a mandatory field with name [userid]. see below.
FYI.. I can trigger my BPM process through the Web Service in wsnavigator , the error I am getting is while executing the BPM Process from the custom webdynpro.
Any idea how to resolve the issue?
XML Serialization Error. GenericObject [
<modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
] does not have a mandatory field with name [userid].
[EXCEPTION]
com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. GenericObject [
<modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
] does not have a mandatory field with name [userid].
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFieldContent(SerializationUtil.java:1546)
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFields(SerializationUtil.java:1431)
at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericType(SerializationUtil.java:1383)
at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:168)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeParameter(SOAPTransportBinding.java:1731)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeRequest(SOAPTransportBinding.java:1683)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:254)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1272)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:952)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:907)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:49)
at com.sap.demo.wdpoc.wd.comp.wdpoc.Wdpoc.execute(Wdpoc.java:257)This question is not answered but I am marking it answered because I have to post more.
Sorry
-Ashwani -
Static context error, nothing declared static, new instance isn't working
I'm trying to get the IP address of a user using my applet. Nothing in my code is declared static.
InetAddress IP = InetAddress.getAddress();I get non-static method getAddress cannot be referenced from a static context.
I just read on another post with someone having a similar but not identical problem and someone replied saying you need to create a new instance. So I tried this:
InetAddress IP = new InetAddress();
//IP.getAddress();With this, I get the error: InetAddress(); is not public in java.net.InetAddress; cannot be accessed from an outside package
What can I do? It's probably something simple.
If you need code just ask, there's just alot of code and it might take awhile to recreate it.I'm trying to get the IP address of a user using my
applet. Nothing in my code is declared static.
InetAddress IP = InetAddress.getAddress();I get non-static method getAddress cannot be
referenced from a static context.
I just read on another post with someone having a
similar but not identical problem and someone replied
saying you need to create a new instance. So I tried
this:
InetAddress IP = new InetAddress();
//IP.getAddress();With this, I get the error: InetAddress(); is not
public in java.net.InetAddress; cannot be accessed
from an outside package
What can I do? It's probably something simple.
If you need code just ask, there's just alot of code
and it might take awhile to recreate it.In your first try the method you attempted to use can only be used in an instant of an InetAddress ie. ip.getAddress(). Therefore the compiler thought you were trying to call a static method that was really an instance method. On your second try you used the contructor of InetAddress which isn't public, so you can't use it. To make an InetAddress use any of the static methods of the InetAddress, which can be found at http://java.sun.com/j2se/1.4.1/docs/api/java/net/InetAddress.html -
DRM Error - Adding new member (3317)
I received the following error (#3317) when I tried to add a new member - can anyone please advise on how to fix this problem?
*\\Record #89 - Error adding member ABC12345 (3317)*
*\\Record #89 - Aggregate storage outlines only allow any shared member once in a stored hierarchy, including prototype.*
*ABC123456789 ABC12345 SAMPLE NAME S +*
Thanks!The answer lies within the error message itself,
Please check below thread,
Essbase Studio???
and also
http://docs.oracle.com/cd/E12032_01/doc/epm.921/html_errmsgs/aso.htm
-Murali
Maybe you are looking for
-
i am really satisfied with my nokia c6-01 but i dont know why it doesnt play smoothly rmvb files above cif resolution although it plays smoothly all other video formats up to 720p . i want to know whether it is a hardware or software limitation and i
-
Address Management: City File Active
Hi Experts, In my project there is a strong business requirement to activate the SAP Address Validation (trhough the City and Street Files Validation). So far, so good, as this is not problem for us (we also have the values of Cities and Streets to b
-
Invalid or Non existant IP Address
We have a 20 room hotel and have three Linksys WRT160N routers. Most guests can connect to the internet but a few can not. They get a message: "limited or no connectivity" and "invalid or Non-existant IP address". Any idea what I can do?
-
Wifi problem -- unable to connect to server SOLVED!
After trying all the methods suggested by people here, I finally can get my ipod touch connected to the internet and watch Youtube! Hurray. I use linksys WRT54G router. I have tried the following methods but in vain: (1) disabled the security (2) dis
-
NetBeans 6.1 and Java WebServer 7 problem under OpenSolaris
Hello, I have a big problem with NetBeans 6.1 (all upgrade installed) and Sun Java Webserver 7.0 (release 7.0U3 B06/16/2008 10:24); running under OpenSolaris snv_101a (2008.11 RC2). The web server is installed into /opt/webserver7/ and run fine, but