name of the comic in conflict after the database upgrade
Salvation of DBAI upgraded the database of 9206 to 10204 successfully.
but when I'm checking the pmon it showed different SID.
My actuall SID is PRD but it's showing Prod., for this reason, I am not able to create the xml file in the database layer.
Oracle@aqherpdb bdump] $ ps - ef | grep pmon
Oracle 31816 1 0 12:16? 00:00:00 ora_pmon_prod
Oracle 31869 31399 0 12:19 pts/3 00:00:00 grep pmon
[oracle@aqherpdb bdump] $
When choosing the database is show the following.
SQL > select name from v$ database;
NAME
---------
PRD
When I am setting up the xml file in the db layer it gives the following error.
level of adbldxml.pl [oracle@aqherpdb bin] $ perl = db = apps appsuser
From generation of context for db level files...
Using /s01/prod/proddb/10.2.0/jdk/bin/java JVM to run java programs...
Password APPS: applications
The log file for this session adbldxml is located at:
/S01/prod/proddb/10.2.0/appsutil/log/adbldxml_03211248.log
AC-00013: error: file: /s01/prod/proddb/10.2.0/network/admin/listener.ora is not a valid file, such as the SID database could not be found for connection string: prod
Cannot connect to the database with the settings above, please answer the Questions below
Enter the host name of the server: aqherpdb
Enter the Server Port: 1521
Enter the database server SID: PRD
Could not connect to the database: ORA-01034: ORACLE is not available
ORA-27101: shared memory realm does not exist
Linux error: 2: no such file or directory
Cannot connect to the database with the settings above, please answer the Questions below
Enter bin server[aqherpdb]:[oracle@aqherpdb the database host name] $
Please guide me to solve the problem above.
Best regards
Suresh Gelda
Suresh,
Follow these steps:
-Make a backup of the database-level files
-Run preclone (adpreclone.pl) on the database layer
-Stop the database and the database listener
-Change all the names of directory of PROD to PRD
-Run postclone (adcfgclone.pl) on the basis of data of level and enter the name of the correct database (PRD)
-Check that the database and the database listener are running
Kind regards
Hussein
Tags: Oracle Applications
Similar Questions
-
Unable to connect to sys giving the name of the database
Hi all
I can't connect to the sys user when you give the name of the database, but with no database name I can connect.
[oracle@ccoshs02xvdbs04 path] $ sqlplus sys/passwdA123system@mps01dev as sysdba
SQL * more: Production release 11.2.0.1.0 on Tue Mar 1 10:38:36 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-01017: name of user and password invalid. connection refused
Enter the user name:
ERROR:
ORA-01017: name of user and password invalid. connection refused
Enter the user name:
ERROR:
ORA-01017: name of user and password invalid. connection refused
SP2-0157: unable to connect to ORACLE after 3 attempts, leaving SQL * more
[oracle@ccoshs02xvdbs04 path] $ sqlplus sys/passwdA123system as sysdba
SQL * more: Production release 11.2.0.1.0 on Tue Mar 1 10:40:06 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > show parameter instance
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
whole active_instance_count
cluster_database_instances integer 1
instance_groups string
instance_name string mps01dev
instance_number integer 0
instance_type string RDBMS
open_links_per_instance integer 4
parallel_instance_group string
parallel_server_instances integer 1Purchase below and post result here
sqlplus sys/passwdA123system as sysdba alter user sys identified by passwdA123system conn sys/ passwdA123@mps01dev as sysdba
In this case if you can not connect then your entry mps01dev actually made another service.
-
Hello
I want to see the current name of the database?882656 wrote:
Hello
I want to see the current name of the database?1.) sys/XXX sqlplus as sysdba
2.) select name from v$ database;
-
ORA-01103: the 'RAC' name in the database control file is not "STB".
HIII..,.
Im doing my dataguard, my primary side installation is a RAC 2node and Eve is a single node. IM using Database 11 GR 2.
when im using the RMan command for duplication of data im getting the following error.
SQL statement: alter database mount rescue
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of Db in dual at 03/10/2011 18:33:58
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-03009: failure of the sql command on the channel clone_default at 03/10/2011 18:33:58
RMAN-11003: failure during parsing / execution of the SQL statement: alter database mount rescue
ORA-01103: the 'RAC' name in the database control file is not "STB".
Please can someone help me to solve the issue. ??
Thanks in advance...Hello
(1) If you use "DORECOVER" while cloning, please remove it.
(2) its still not, simply set the FRA and IEALTER system set DB_RECOVERY_FILE_DEST = '+ DATA ';
ALTER system set db_recovery_file_dest_size = 2GB;Note: Set it to primary and standby
Clone of the DB.
It works perfectly now, and once Reset original value if you do not want it.
Happy cloning :)
Kind regards
Rakesh -
Variable for the name of the database or server?
Can we use the BI Publisher variables in a model of EBS?
We are on 11.5.10.2 and we would be able to identify
I'm <? xdoxslt:get_variable($_XDOCTX,'CURRENT_SERVER_NAME')? >, but it does not work. Is there a documentation on the variables that are available?
We want to do in the model, rather than changing all of our programs of rdf to return the name of the database.
Thank you
AngieTo be more precise, such set of values are available in 10.1.3.4.1 (stand-alone version) according to the documentation:
http://download.Oracle.com/docs/CD/E12844_01/doc/BIP.1013/e14667/TOC.htm#BABIEJJINot sure if it's available in XMLP however.
In addition, if it is still he wouldn't return the name of the database. See if my previous suggestion might work for you.
see you soon
Jorge
PS If you find the answer to your question please give the points and close the message -
What is the sql SELECT statement to list all service names in the database?
What is the sql SELECT statement to list all service names in the database?
I tried
SELECT name FROM dba_services
But a long with valid service, he list also some other documents that are not the names of services.Hello
You can try this query:
select name, value from v$parameter where name = 'service_names';
Hope this helps.
Best regards
Jean Valentine -
How do you know the name of the database
As a normal database user... What are the options available for him to get the name of the database. Any user table will give the info?select ora_database_name from dual;
HTH
Anand -
How to display the name of the database?
Hello
I want to display the name of the database on the homepage of my application.
Is there an element of the APEX or the workspace view that can be used to retrieve the database name based?
Thanks in adavnce
AnnieHello:
What model/models use your pages? On page page-defintion look under the section "Models" and choose the one that is used for the "Page".
The substitution string must be terminated with a '.' as in & G_DBNAME.CITY
-
DB does not open after you rename the name of the database
Hi all
I tried to change the name of the db, so I created new controlfile trace and set it as. I created controlfile successfully, my open db with success, but when I stopped and tried again to open it I saw the below error message
CREATE CONTROLFILE SET DATABASE 'db2' RESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO01. NEWSPAPER "SIZE M 50,
GROUP 2 ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO02. NEWSPAPER "SIZE M 50,
GROUP 3 ' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\REDO03. NEWSPAPER "SIZE M 50
-STANDBY LOGFILE
DATA FILE
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSTEM01. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\UNDOTBS01. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSAUX01. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\USERS01. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB2. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB21. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB211. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB212. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB213. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB214. DBF',.
' C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB215. DBF'
WE8MSWIN1252 CHARACTER SET.
ALTER DATABASE OPEN RESETLOGS;
SQL > @e:\creatdbdb2.sql;
Created control file.
Database altered.
SQL > select file_name in dba_data_files;
FILE_NAME
---------------------------------------------------------------------------
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB215. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB214. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB213. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB212. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB211. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB21. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\DB2. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\USERS01. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSAUX01. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\UNDOTBS01. DBF
C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\SYSTEM01. DBF
11 selected lines.
SQL > shutdown immediate;
The database is closed.
The database is dismounted.
ORACLE instance stops.
SQL > startup;
ORACLE instance started.
Total System Global Area 612368384 bytes
Bytes of size 1250428 fixed
222301060 variable size bytes
381681664 of database buffers bytes
Redo buffers 7135232 bytes
Mounted database.
ORA-00313: open failed for the members of the Group of newspapers wire 2 1
ORA-00312: wire 2 1 online journal:
'C:\ORACLE\PRODUCT\10.2.0\DB_3\DATABASE\LOG2db2.ORA '.
ORA-27041: could not open the file
04002 - OSD: could not open the file
S/O-error: (OS 2) the system cannot find the file specified.845470 wrote:
control_files string C:\ORACLE\PRODUCT\10.2.0\DB_3\
DATABASE\CTL1NIRAJ. ORAI guess, you create controlfile as the directory of log files "C:\ORACLE\PRODUCT\10.2.0\ORADATA\db2\".
So now, you will need to change pfile to again match controlfile.sql>create pfile='c:\pfile.ora' from spfile;
Change the section of the command file "c:\pfile.ora" to match your NEW control file.
then start DB, using the new file pfilesql> startup mount pfile='c:\pfile.ora';
Check the locations of the data file and log files from views v$ datafile and v$ logfile.
If everything is ok - open the database and create spfile
sql>create spfile from pfile='c:\pfile.ora';
Published by: Nikolay Ivankin on 23.03.2012 11:23
-
Change the host name of the database server, which must change accordingly?
Hello
I have an oracle (instance 11.2.0.3.0) database is running on a Linux machine. (Release of Red Hat Enterprise Linux Server 5.8 (Tikanga))
now, the database is running.
issues related to the:
1. what files to change after change of server name? (tnsnames.ora? listener.ora? something else?)
2. what appropriate measures must be in what orders? thank you very much in advance
(we need to bounce back to the database, listener?)
PL see also MOS Doc 578169.1
HTH
Srini -
the service name and the name of the database are different.
Hello
I had created a database with name PROD, latter I renamed DB HAVE according to the request of management.
But I notice the following things.
1 OS ORACLE_SID variable level is always PROD. (.bash_profile also I have this entries)
2. starting at sql prompt DB_NAME is HAVE.
3 al ' service_name watch listener and instance name is PROD.
can someone please explain me, why oracle behaves like that.
Our applications work correctly with any questions so far.
[oracle@qual ~] $ echo $ORACLE_SID
PROD
[oracle@qual ~] $ sqlplus "/ as sysdba".
SQL * more: Release 10.2.0.1.0 - Production on Tue Mar 5 10:35:01, 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connect to an instance is idle.
SQL > startup
ORACLE instance started.
Total System Global Area 608174080 bytes
Bytes of size 1220868 fixed
209719036 variable size bytes
394264576 of database buffers bytes
Redo buffers 2969600 bytes
Mounted database.
Open database.
SQL > select name from v$ database;
NAME
---------
HAVE
SQL >! lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on March 5, 2013 10:38:30
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=qual.com) (PORT = 1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start date March 5, 2013 10:36:54
Uptime 0 days 0 hours 1 minutes 35 seconds
Draw level off
Security ON: OS Local Authentication
SNMP OFF
Parameter Listener of the /u001/app/oracle/product/10.2.0/network/admin/listener.ora file
The listener log file /U001/app/Oracle/product/10.2.0/network/log/listener.log
Summary of endpoints listening...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=qual.com) (PORT = 1521)))
(DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC0)))
Summary of services...
Service 'PLSExtProc' has 1 instance (s).
Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
Service "HAVE" has 1 instance (s).
Instance of "PROD", State LOAN, has 2 managers of this service...
Service 'PRODT_XPT' has 1 instance (s).
Instance of "PROD", State LOAN, has 2 managers of this service...
The command completed successfully
SQL > exit
Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.1.0 - Production
With partitioning, OLAP and Data Mining options
[oracle@qual ~] $This last I changed the name of DB to HAVE
Change the DB_NAME is not the ORACLE_SID. You must manually change the ORACLE_SID.
Stop the database instance.
Copy $ORACLE_HOME/dbs/initPROD.ora to $ORACLE_HOME/dbs/initPRODT.ora. (I assume that DB_NAME has already been upgraded IN the initPROD.ora)
Change your ORACLE_SID of PROD WERE and disconnect and connect again.
Make sure that your ORACLE_SID is now HAVE and that $ORACLE_HOME/dbs/initPRODT.ora
Now start the database instanceHemant K Collette
-
AS2 - problem with inserting of partition/name of the database/mysql
Hello
First of all... Sorry that I havn't put the ACE in a box, do not know how to do it on this forum!
Okay, so here's my problem:
I want to submit my score and the name in my database.
This is the script I've tried Flash.
Stop();
create objects loadVars
playerx = new LoadVars();
playerRegistered = new LoadVars();
playerRegistered.onLoad = showResult;
create the button handler code to call the function that sends & load php
_root.submitt.onRelease = submitScore;
function submitScore (): Void {}
playerx. Name = name_txt.text;
playerx.score = score_txt.text;
playerx.sendAndLoad ("register.php", playerRegistered);
}
This is the PHP script:
<? PHP
$connect = mysql_connect('x.com.mysql','x','password');
@mysql_select_db ('x', $connect);
$sql = "INSERT INTO high_scores_avoidthecars (name, score) VALUES ("'. ")" $_POST ['name']. '"," '. $_POST ['score'].'") ';"
? >
Nothing is posted to the database, no errors etc... any ideas?
If you went thru the link I provided you should see where you need to change the code that you did to get the Flash to work code. Here is a link to an example of work that takes into account the second part of the code in this link that involves sending data (from line 28) with your textfields, etc.
http://www.nedwebs.com/Flash/register.html
The main problem with your AS2 code involves the following line...
playerx.sendAndLoad ("register.php");
It should be...
playerx.sendAndLoad ("register.php", playerx. 'POST');
Here's the code I used for the example files, I did...
AS2 CODE
playerx = new LoadVars();
_root.submitt.onRelease = submitScore;
function submitScore (): Void {}
Response.Text = "clicked\n";
playerx. Name = name_txt.text;
playerx.score = score_txt.text;
playerx.sendAndLoad ("register.php", playerx, "POST");
}
playerx.onLoad = onLoadCallBack;
function onLoadCallBack (success)
{
Response.Text += "onLoad Processed\n";{if (success)}
Response.Text += "Success\n;
Response.Text += this.lVar1 + "\n";
Response.Text += this.lVar2;
} else {}
Response.Text = "load error".
}
}PHP CODE
<>
read the variables
$var1 = $_POST ['name'];
$var2 = $_POST ['mark'];Send variables
echo "& lVar1 = $var1 return &";.
echo "& lVar2 = $var2 returned as well &";.
?> -
By specifying the host name for the database during installation
I installed the database 11g r2 as a Server Desktop, anywhere during the installation it asked me to review or change the host name. It is automatically used as the host name "localhost" and wrote in listener.ora, so no other machine on the network is able to use it. Only, it connects since within the same machine. Please help how to specify the host name during installation.
Published by: user4928701 on July 8, 2011 23:15user4928701 wrote:
I installed the database 11g r2 as a Server Desktop, anywhere during the installation it asked me to review or change the host name. It is automatically used as the host name "localhost" and wrote in listener.ora, so no other machine on the network is able to use it. Only, it connects since within the same machine. Please help how to specify the host name during installation.Published by: user4928701 on July 8, 2011 23:15
lsnrctl stop
move/rename listener.ora to new/other file name
lsnrctl start
-
How to use use the name of the database schema in global variables?
I created a global variable with the following query:
"SELECT WeekID from * dr_errdb*.last_dailyload.
But when it goes into production and the CONTEXT is changed, certainly will not work because the database is set in the query ("dr_errdb").
What method and how the database directly from the SCHEMA to complete this query?
How to do something like this:
Select WeekID from 'a method '. last_dailyloadHello
rather than hardcode the name of schema, use the API< %="odiRef.getSchemaName" (« nom_logique","d")="" %="" >="" où="" le="" nom="" logique="" est="" le="" nom="" de="" votre="" schéma="" logique="" que="" vous="" avez="" définie="" dans="" la="" topologie="" et="" (j’espère)="" utilisez="" dans="" votre="" « schema »="" pendant="" l’actualisation="" de="" la="">
Therefore, you can change the physical schema as defined in the context that you use for the logic diagram to point to the different DB.
Your query is transformed in "SELECT WeekID from < %="odiRef.getSchemaName" (« nom_logique »,="" « d")%=""> >.last_dailyload.
See you soon
BOS
Published by: Bos on February 14, 2011 16:16
-
Insert the Image name in the database
I created a form with a file field to upload a picture and insert its name directly into the mysql database. The column type is varchar which name will be inserted via the form. Now, I get two problems. All the fields fill up the database with the exception of the name of the image. The name of the image must be inserted in the productImage column. He remanins null. No image is downloaded to the destination folder.
And also, on presentation of the form, I get this error.
Run database query error.
'ProductID' column cannot be null
I enclose the complete code. Could someone help? All I need is that the file is downloaded and name inserted in the mysql database in the specified column.
There is only two errors I see in your code:
First, you need around the loop shaped cfoutput tags - otherwise, the #i # naming fields won't work and all three will be called simply "productID #i #", etc...
Second, you must name dynamically variable 'file', no cffile. ServerFile. As each file is downloaded, the cffile. ServerFile will be associated with the value of the loop of the file [x].
I enclose your code with the changes commented so you can see what will happen. BTW, I tested this code and it works as expected.
Good luck
Maybe you are looking for
-
After reading a recent article in PCPRO he mentioned about changing the map you wireless laptop faster to has anyone done this and if so I would like to know the following things: (1) how and it requires(2) how was the replacement and what model(3) w
-
I lost my disc of windows 7 Home premium and my phone asks me to insert
My phone asks me to insert the disc from my windows 7, but I lost. I have the product key I can download windows 7 Home premium and burn it to a disk. Or what should I do...
-
I uninstalled microsoft fixed it believe I had a bad download, I can't fix it Center microsoft, fix internet explore a few trys to get to the Center over and over again after the signing, I can't download the microsoft fix it yet how to fix microsoft
-
Hello We recently had a problem with an EX90 and we requested an RMA. We received the new EX90 but it doesn't have the power adapter which seems to be also failed. Anyone know the part number of the AC adapter if we can order it? We received the powe
-
Three years ago the Defender has been uninstalled on my pc Windows 8.0. I can re-installed on my pc today?