Database creation: use machine name instead of ip address.
I am creating a new database using the Database Configuration Assistant. After the install, it tells me that the EM can be approached through http://192.168.198.128:1158/em. However, since the ip-address is dynamic, i'd prefer to refer to the machine name instead of the ip address. During the setup I could not see where to change this.
Regards,
Rick
user10064100 wrote:
Thanks for your replies, I will try that. Version info: 10.2.0, on a Windows Server 2k3. The server runs in a virtual machine, which is pretty much the root of the problem: it tends to change ip addresses when restarting it. I will now install the loopback adapter and see what happens.
Edited by: user10064100 on 8-dec-2008 7:48Ah, a server on a virtual machine. Why didn't you say that in your initial posting? I would think that would be much different situation than the usual 'changing ip' configuration of placing a sandbox database on a DHCP desktop or laptop machine...
I don't have any experience with VM's, so I'll leave that to those that do. At the least, I'd expect the loopback adapter to not necessarily be your solution. That's for the assumptions that I clearly stated in my first response. If those assumptions don't match your situation (and it is now clear that they don't) then you need consider that before taking any advice based on those assumptions.
Similar Messages
-
Using domain name instead of ip address
I have a tomcat server installed on machine1(server). I can access this server from other computer on intranet using http://ipAddressOfServer/. Now, I want to access the server using a domain name, for example http://domainName.com. Can we do that in Tomcat or does it require to install any third party software.
You can associate a Virtual Host to the loopback IP address 127.0.0.1 read about Virtual Hosts here: http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
But with the above configuration alone you can access your app via http://somedomainname.com only on your local machine, no one else on the internet will see it. -
How to change host to just use "machine name" in URL
I've installed WebCenter Suite on a MS Windows machine. Due to the ip setup I also had to install the Loopback adapter to get things to work. Now everything seems to run, but the URLs always have my machine name plus the domain it's on. Since I need others to be able to access this installation, that's an issue and I need the host to just be my machine name instead of the machine name and full domain. For example, right now the wiki would be accessed:
http://MyMachineName.mydomain.com/owc_wiki
I need the URLs (and the redirects that occur) to always work like:
http://MyMachineName/owc_wiki
I guess the basic question is.. how do you change the "host" within a WebCenter installation?
Thanks in advance.Hi DDDDD(etc),
Check out the Oracle Application Server Administrator's Guide section 7.2 - it details the instructions.
http://download-uk.oracle.com/docs/cd/B32110_01/core.1013/b32196/host.htm#BHBBJEBF
Regards,
John -
How to connect the database (JDBC) using service name rather than SID
How should we make the connection to the database using service name. Initially, we are using the SID to make the database connection, with following setting in the data-source.xml in OC4J using ABCDB as the SID.
<data-sources>
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="jdbc/ABCDB"
location="jdbc/ABCDB"
pooled-location="jdbc/OracleDSPooled"
xa-location="jdbc/xa/OracleDSXA"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="ABC"
password="ABC"
url="jdbc:oracle:thin:@191.1.4.126:1521:ABCDB"
/>
</data-sources>
It work, but now we need to make the connection using this service name ABCSERVICE, but it doesn't work in the OC4J (JDBC). May I know how should we handle this connection?
Thanks and Regards,
PangFinally, I got the solution to make the database connection using service name, with putting the tnsname setting in URL portion.
url="jdbc:oracle:thin:@(description=(address=(host=191.1.4.126)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME = ABCSERVICE)))"
And now, it is working fine.
Regards,
Pang -
Hello,
I followed the following step by step guide for SAML-based claims authentication with ADFS:
http://technet.microsoft.com/en-us/library/hh305235.aspx
The authentication works well; however, Sharepoint shows the users’ email everywhere including at the top right suite-bar. I rather to see users’ display name instead of email. Is there any way to have SharePoint shows user’s display name instead of email
address when the primary SAML claim is email address?
Thank you,You need to be able to import the identity store into the UPA. See http://sharepointobservations.wordpress.com/2013/08/06/sharepoint-2013-configure-user-profile-service-for-adfs-provider/ for
a good step-by-step on how this is configured.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
How to use "machine name" in new report vi?
I have a computer on a network that has Microsoft excel installed. On another computer I have an application that will take an excel file and stuff a bunch of data from a database into specific cells to generate a report. The vi works fine on my computer (where excel is loaded locally) but when I try and run the VI and access excel remotely I get an error message as follows:
Error -41106 occurred at NI_Excel.lvclass:new report subVI.vi -> NI_report.lvclass:New Report.vi -> printTestSheet.vi
Possible reason(s):
Report Generation Toolkit: Microsoft Word or Excel did not open. Make sure Microsoft Word or Excel is installed.
Error -41106 occurred at NI_Excel.lvclass:new report subVI.vi -> NI_report.lvclass:New Report.vi -> printTestSheet.vi
Possible reason(s):
Report Generation Toolkit: Microsoft Word or Excel did not open. Make sure Microsoft Word or Excel is installed.
I have included the ip address of the remote machine to the "machine name" input of the "New Report" vi.
Any suggestions/solutions?
Gerry ThompsonHi Gerry,
One reason that you may get this error is if Distributed COM wasn't enabled on the remote machine. See this Microsoft KB for how to check or enable that functionality.
If that doesn't help; let me know, and I'll try to setup a similar test case on my end. The process isn't well documented, and I haven't seen any existing examples, so I'd like to see what it takes to get it running.
All the best,
Fred V -- Product Support Engineer -- LabVIEW R&D -- National Instruments -
Database creation using ant/maven/liqubase
Dear ALL:
I am creating the database instance using the ant/maven scripts and following are the things I tried but some how it is not creating the database.
I have installed the 64bit oracle 11gR2 on windows 7 and configured the default database (ORCL). after installation I opened up the command prompt and tried sqlplus and it get connected and I can see the tables. However when I tries to do it using the build script it fails. Following are few things I tried out.
I plan to created 'orcl as the database with sid=orclusing the ant command 'ant -Denv=dev clean create-db -d' but it failed saying orcl is already running and you need to shut down it and I think it is expected because I am creating the database named orcl which is already created. Then I changed database name to dms and sid=dms then it throws error that you cant connect to the server with following error.
SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 12 16:17:11 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12560: TNS:protocol adapter error
SP2-0640: Not connected
ORA-12560: TNS:protocol adapter error
more information about listener: the output of - lsnrctl stat
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-JAN-2011 16:18:04
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 12-JAN-2011 16:16:51
Uptime 0 days 0 hr. 1 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\santosh\product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File c:\oracle\santosh\diag\tnslsnr\unknown\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 2 handler(s) for this service...
Service "qc_dms" has 1 instance(s).
Instance "qcdms", status READY, has 1 handler(s) for this service...
Service "qcdmsXDB" has 1 instance(s).
Instance "qcdms", status READY, has 1 handler(s) for this service...
The command completed successfully
Can someone help me out ? how ever the same thing is working fine on the oracle virtual box running on ubuntu 10.04.
thank,
SantoshI didnt used ORADIM in the script. here is the script that I am using .
<target name="create-db-oracle" >
<echo>creating database ([${database.name}])</echo>
<exec dir="${target.script.dir}" executable="sqlplus" output="${target.log.dir}/create-db.log" failonerror="true">
<arg line="/nolog @create-db_${database.flavor}.sql" />
</exec>
</target>
with following connection properties
<properties>
<db.version>1.0</db.version>
<liquibase.remote.db.prompt>true</liquibase.remote.db.prompt>
<db.migrate>all</db.migrate>
<database.driver>oracle.jdbc.driver.OracleDriver</database.driver>
<database.url>jdbc:oracle:thin:@${database.host}:${database.port}/${database.name}</database.url>
<database.user>santosh</database.user>
<database.schema.user>project</database.schema.user>
<database.admin.user>system</database.admin.user>
<database.flavor>oracle-11g</database.flavor>
<database.name>dcm</database.name>
</properties>
<properties>
<database.host>localhost</database.host>
<database.port>1521</database.port>
<database.password>A_Pass123</database.password>
<database.schema.password>projectpassword</database.schema.password>
<database.admin.password>oracle#</database.admin.password>
</properties>
Edited by: user548284 on Jan 12, 2011 5:56 PM -
Reports with wrong Server details (using ODBC name instead of server name)
Post Author: jomuir
CA Forum: Administration
When I save a report either in Crystal Reports 11 (File save as, Enterprise u2013 Central Management Server) or Central Manager Console, Objects New Object I get an error.
On looking at the database all reports I am adding or saving are automatically taking the wrong server details, and it is a greyed out field, so I cannot edit it. I presumed it is getting this information from my ODBC settings, but appears to be using the ODBC name/description as the server name (The Database and usernames are correct). This is happening on every report!
Any ideas what I am doing wrong? How I can save or add new reports with the correct details?
Not sure if this will help, but the error message is:- Failed to open the connection. D:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\wdcsql1.reportjobserver\~tmp117852b044ee296.rptPost Author: jomuir
CA Forum: Administration
No, Crystal Reports in not installed on the server, and the ODBC settings are not setup on the server. However I did add the correct ODBC settings on the server but this has made no difference.
So do I need to setup all the ODBC settings in advance of anyone saving a report (I will need to try and find obtain them all)?
Should the server also have a version of Crystal Reports on it?
One report is working but it was added by the guy that installed it, and this report is using the same database as all the reports that I have added, and should be the same ODBC settings.
The server (server username) does not have access to the original location of the reports, so it cannot run the reports - however when I save them to the server via enterprise or the import tool, does a version of the report get saved on the server? If so can you point me in the direction of them, so I can try and run them via the server? -
Web Service Client using computer name instead of IP
Hi,
I've built a small EJB web service with a JAVA application deployed via JAVA Web Start for the client.
I testing the application on our LAN and it worked perfectly on one machine. I tested it on another machine and I get an erro along the lines of:
HTTP Transport Error java.net.UnknownHostException: Ian
"ian" being the computer name of the server machine hosting the EJB we service. I presume the program worked on the first machine as it new which computer on the LAN was "ian", whereas the second machine didnt'.
The applications were built in NetBeans and the only place i can see the "ian" address being used is in the client WSDL file:
<service name="VOQAOnline">
<port binding="tns:VOQAOnlineSEIBinding" name="VOQAOnlineSEIPort">
<soap:address location="http://ian:8080/VOQAOnline-EJBModule/VOQAOnline"/>
</port>
</service>Netbeans seems determined to keep this address using the computer name, even if i delete the web service refernce add it again using the server ip address. I've also tried editing the WSDL file in the client JAR post compile, however the error still occurs, so maybe the problem is somewhere else?
The App server I am using is JBoss 4.0.3. Maybe there is a configuration on the server i need to do?
Eventually I plan to deploy the client app over the Internet, so using the computer name is clearly insufficient and it needs to use the IP. It's really annoying how it works on some machines on the network but not others. Any ideas on how to solve this?You can associate a Virtual Host to the loopback IP address 127.0.0.1 read about Virtual Hosts here: http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
But with the above configuration alone you can access your app via http://somedomainname.com only on your local machine, no one else on the internet will see it. -
Control Internet access using machines names
Hello to all, I have some machines (> 100) that are DHCP client and are on different subnets. I need that users that work on these machines don't access Internet. Is a there a way on TMG 2010 to create any
kind of control to accomplish this need?
Regards, EEOC.Hi,
You can only control the traffic with IP addresses not computer names. A other way to limit internet access is to use users and groups in TMG firewall policy rules. The clients must be Webproxy or TMG clients
regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.galileocomputing.de/3276?GPP=MarcGrote -
Hi,
when i am creating database using DBCA then i get error
I am using Linux NL2 2.6.18-84.el5xen #1 SMP Fri Feb 29 16:42:34 EST 2008 x86_64 x86_64 x86_64 GNU/Linux.
[oracle@NL2 ~]$ dbca
DISPLAY not set.
Set DISPLAY environment variable, then re-run.
when
[oracle@NL2 ~]$ echo $DISPLAY then it has given blank ..
i do not know how to set DISPLAY variable?
your early response is appericiated.
thanks in advance
Edited by: user647572 on Sep 9, 2010 5:58 AM
Edited by: user647572 on Sep 9, 2010 6:02 AMHi -
I cannot get dbca to display on my xp machine.
I installed xming and have xclock running.
Started putty and enabled X11, and this is the result:
echo $DISPLAY
localhost:11.0
When I start running dbca, I basically get no response.
It is running on the linux server, but I get no display (X window)
to work from. My colleague has experienced the exact same
issue.
Thanks for your attention,
Mark -
Automatic Row Processing (DML) using synonym name instead of table
I want my APEX form to select info using the table name but perform all the DML (add, change, delete) using the synonym name. I created the form using the wizard and went into the "Process Row of xxx" process that was created. I tried changing the table name to synonym name under the 'Source: Automatic Row Processing (DML)' section, but it still uses the table name. Is this possible or do I need to manually create processes using the synonym names
Hi,
when I change the Table Name property in the "Automatic Row Processing (DML)" process to a non existing table it raises an error when I run the page and try to save something. So it's actually using the value.
Does the synonym point to the same table or a different table? What is the intention behind selecting from the table but updating through the synonym?
Patrick
My APEX Blog: http://www.inside-oracle-apex.com/
The APEX Builder Plugin: http://builderplugin.oracleapex.info/
The ApexLib Framework: http://apexlib.sourceforge.net/ -
Database creation using backups files
Hi,
I would like to create a test database from backup of my production database.
I am new to this task.
Please correct me if I am wrong.
in production server
1.Login as sysdba in the and issue
"alter database backup controlfile to trace" command
in test server
2.Create a user oratest
2.Copy all the data files from production server
3.Copy the Oracle home
4.Edit the trace file
i.CREATE CONTROLFILE SET DATABASE "prod" RESETLOGS
in place of
CREATE CONTROLFILE REUSE DATABASE "test" NORESETLOGS
ii.Remove the recover database and alter database open lines.
iii.Edit the data files with new path in test server.
iv.save as db_create.sql
5.create the new database by executing
i.sqlplus '/as sysdba'
ii.startup nomount
iii.@db_create.sql
iv.alter database open.
What changes I have to do after copying initprod.ora to inittest.ora?
Thanks,Your question is lacking the 4-digit version of the database, and the O/S.
For Oracle 10g and higher, using database control, it would be much more easy to duplicate the database to another server, using rman.
The procedure you describe is incomplete and incorrect and will fail for several reasons.
2.Create a user oratest -- why?
2.Copy all the data files from production server -- obviously the production database needs to be shutdown for this, or all files will be inconsistent
3.Copy the Oracle home -- if you created a new user oratest, and the user on the production server is oracle, this is not going to work, as the user and group info is linked into the Oracle executable. Also the O/S and version must be identical.
If you created a new user, you need to reinstall Oracle, if your O/S version is not identical you need to relink Oracle.
4 i is incorrect
Obviously, in inittest.ora all occurrences of prod need to replaced by test.
But then again: use RMAN and the only command you need is duplicate database, and the production database can stay online.
Sybrand Bakker
Senior Oracle DBA -
Database creation using DBCA silent installation
Hi,
I have installed oracel 11g release 2.
but when i create database using dbca slient installation . I am getting below error.
Copying database files
DBCA_PROGRESS : 1%
DBCA_PROGRESS : 2%
ORA-12547: TNS:lost contact
ORA-12547: TNS:lost contact
DBCA_PROGRESS : 4%
DBCA_PROGRESS : 37%
Creating and starting Oracle instance
ORA-12547: TNS:lost contact
DBCA_PROGRESS : 38%
ORA-12547: TNS:lost contact
DBCA_PROGRESS : 40%
ORA-12547: TNS:lost contact
DBCA_PROGRESS : 45%
DBCA_PROGRESS : 50%
DBCA_PROGRESS : 51%
ORA-12547: TNS:lost contact
DBCA_PROGRESS : 56%
ORA-12547: TNS:lost contact
ORA-12547: TNS:lost contact
ORA-12547: TNS:lost contact
DBCA_PROGRESS : 57%
ORA-12547: TNS:lost contact
Please suggest reason of it.
Thanks in advancecpp = 4.1.2-51.el5 is needed by gcc-4.1.2-51.el5.i386
glibc-devel >= 2.2.90-12 is needed by gcc-4.1.2-51.el5.i386
libgcc >= 4.1.2-51.el5 is needed by gcc-4.1.2-51.el5.i386
libgomp >= 4.1.2-51.el5 is needed by gcc-4.1.2-51.el5.i3
I am getting above error ... how to find dependent rpm file..As it is already mention in error . So first install cpp rpm then glibc-dlevel rpm and so on as mention above in your message.
--neeraj -
Physical database creation using Grid Control fail
I have tried several times to create a physical standby using Grid Control. Everytime, the job failed at the step "DBClone -> Destination Preparation". The log file indicated the following error message:
PLS-00553: character set name is not recognized.
When I check the spfile, I find that an extra word "PuTTY" was inserted into the spfile as shown in the following spfile, therefore, the instance cannot be started. In addition, everytime when issuing the command "cat spfilermslag.ora", the word "PuTTY" will automatically appear in the command line after the "cat spfilermslag.ora" command.
$ cat spfilermslag.ora
gé ú&PuTTYrmslag.__db_cache_size=150994944
rmslag.__large_pool_size=4194304
rmslag.__shared_pool_size=71303168
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/app/oracle/admin/rmslag/udump'
[oracle@wppnode2 dbs]$ PuTTY
What is going on here? How can I fix the problem?
Thanks!You might just have to do it the old fashioned way. At least it will be a good learning experience.
Maybe you are looking for
-
How do I find out the full spec of a MAC Pro
I've just purchased 3 Mac Pro workstations which were a build to order spec. I don't want to open the boxes and break the seals, does anyone know if I can find the spec from the model or serial number?
-
How to park a Asset & Vendor combination line items in tcode FV60
Respected Members, I want to park a document which consists one line item to vendor and other line item to asset. We can use tcode F-63 but it wont give the withholding tax,so we have to use the tcode FV60 but we are not getting any field to put asse
-
I have a Mac at home and use iCal to organise my life. I also have a MobileMe account which allows me to sync my iCal with my iPhone and to keep my on-line MobileMe calendar up to date, which I access using my office PC at work. I now have to upgrade
-
Hi, I am getting error "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2869." while installing SAP B1DE. Note: Downloaded the B1DE from B1DE:SAP Business One
-
How to Install Airport Extreme Utility Software on MacBook Air
Here's my dilemma: I have an iMac G5 which I use with Remote Disk to install software on my MacBook Air. But when I try to use my new Airport Extreme install disk, I get an error telling me the software cannot be installed over a network. If I try co