DBA Oracle 11g on Windows or Linux?
Advise me please, oracle under windows or linux, which is in demand?I'm a beginner, so I can't understand wat to learn. I am an ASP.Net with c#
oracle DBA career evolution programmer. A few comments are more
appreciated.
Thank you
Amjad
Hello
First of all, and that learning about windows on linux. Know a few operating system commands before going for linux. I tried to
explain certain commands in brief. Also check out the link below:
http://rafioracledba.blogspot.com/search/label/UNIX%20For%20DBA
Best regards
Rafi.
http://rafioracledba.blogspot.com/
Tags: Database
Similar Questions
-
Oracle cross-platform Windows to Linux migration
Hi all!
Have a problem to need advice.
I have a WIndows server 2003 R2 (32-bit) with Oracle 11.2.0.1 and I migrate to Linux with Oracle 11.2.0.4
I've been reading on and try to use on windows expdp and impdp on Linux.
I have the sequence right to make this migration?
Export to create 1) file form Windows (expdp) I need I create full dump?
(2) then import them using impdp on Linux. Little bit confused becuse windows and linux by using other fails the path to data files and how Max easy to do this?
Thank you very much!
This happens because you have a different character in the source to the target database database.
For example, if you export a character defined single-byte and import into the multibyte character set it is likely that you will encounter this problem because a single character who now uses a single byte in the source database can use 2 bytes (or more) in the target database.
See: MOS DOC ID 1297961.1
-
How clearup unsuccessful installing oracle 11g R2 on redhat linux 5
Hello world
Try to install oracle 11g R2 on the test server Red Hat linux 5 (according to the quick installation guide), I did the following tests:
trial (1): failed by giving the file not found error. I discovered that I need to I have unzipped the source files in a dir.
(2) trial: failed because there is no static IP address
trial (3): failed because that/etc/hosts was not set correctly.
the installation was supposed to be in default dir/home/oracle/app
the problem is that before every test I just renamed app app_old and once again the new installation with the default settings.
I have now to clearup this whole mess, I know this isn't simply deleting the directory created, because I need to free the RAM memory reserved for the crteated of databases in all previous installations.
Help please,
Thanks for your timeHi Alain;
Similar topic discussed here before. Please check:
Uninstall db Oracle 11 g r1 OS linux 5
Uninstall db Oracle 11 g r1 OS linux 5How do I uninstall datbase 11g
How do I uninstall datbase 11gRespect of
HELIOS -
Latest version of the Oracle 11g for Windows Client
I was able to download Oracle 11 g Client base of
http://www.Oracle.com/technology/software/products/database/Oracle11g/111060_win32soft.html
Anyone know if this what they have for 11g? Oracle has provided any patches in addition to this group?I'll have to specify this patch #: 6890831 and I should specify Windows (32) for platform? The Oracle Clients are Windows machines.
Yes that's correct.
-
Oracle 11g on Windows XP - TCP with SSL
Hello
have successfully installing Oracle 11 g on a Windows XP computer that is used as a small server in a test/test environment.
This machine is running in my local environment without external connections Windows Firewall is disabled.
A java test program written to connect to the server using TCP / through a connection of plaintext using the driver oracle thin JDBC works very well.
Wanted now to set up the server so that it would accept SSL connections (ultimately with counterpart, but without authentication server or client authentication as a configuration to boot).
Used Oracle Net Manager to configure the server as follows:
(Note: have used red ink hightlight settings I don't know if they are needed)
Listener.ora listener.ora # Network Configuration file: C:\ORACLE11G\app\oracle\product\11.2.0\NETWORK\ADMIN\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\ORACLE11G\app\oracle\product\11.2.0)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:C:\ORACLE11G\app\oracle\product\11.2.0\bin\oraclr11.dll")
)
)
LISTENER_TCPS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC2484))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCPS) (HOST = 192.168.178.103)(PORT = 2484))
)
)
SSL_CLIENT_AUTHENTICATION = FALSE
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = AOPENMINI)(PORT = 1521))
)
)
ADR_BASE_LISTENER = C:\ORACLE11G\app\oracle
TRACE_LEVEL_LISTENER_TCPS = USER
ADR_BASE_LISTENER_TCPS = C:\ORACLE11G\app\oracle\product\11.2.0\log
tnsnames.ora tnsnames.ora # Network Configuration file: C:\ORACLE11G\app\oracle\product\11.2.0\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.PMT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = AOPENMINI)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCPS) (HOST = 192.168.178.103)(PORT = 2484))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PMT)
)
)ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = AOPENMINI)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCPS) (HOST = AOPENMINI)(PORT = 2484))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.168.178.103)
)
)SQLNET.ora
sqlnet.ora # Network Configuration file: C:\ORACLE11G\app\oracle\product\11.2.0\NETWORK\ADMIN\sqlnet.ora
# Generated by Oracle configuration tools.# This file is actually generated by netca. But if customers can opt for
# install 'Software Only', this file does not exist and without the native
authentication #, they will not be able to connect to the database on NT.SQLNET. AUTHENTICATION_SERVICES = (NONE)
SSL_VERSION = 0
TRACE_LEVEL_CLIENT = USER
NAMES. DIRECTORY_PATH = (TNSNAMES, EZCONNECT)
SSL_CLIENT_AUTHENTICATION = TRUE
TRACE_LEVEL_SERVER = USER
WALLET_LOCATION =
(SOURCE =
(METHOD = FILE)
(METHOD_DATA =
(DIRECTORY = C:\ORACLE11G\app\oracle\product\11.2.0\admin\PMT\wallet)
)
)ADR_BASE = C:\ORACLE11G\app\oracle\product\11.2.0\log
Here is the error I get
error Caused by: java.net.ConnectException: connection refused: connect
at java.net.PlainSocketImpl.socketConnect (Native Method)
at java.net.PlainSocketImpl.doConnect (unknown Source)
at java.net.PlainSocketImpl.connectToAddress (unknown Source)
at java.net.PlainSocketImpl.connect (unknown Source)
at java.net.SocksSocketImpl.connect (unknown Source)
at java.net.Socket.connect (unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect (unknown Source)
at oracle.net.nt.TcpsNTAdapter.connect(TcpsNTAdapter.java:114)
at oracle.net.nt.ConnOption.connect(ConnOption.java:123)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:337)
For some reason, the server doesn't listen on port 2484 at all (running telnet localhost 2484 on the server itself leads to no possible connection).
Is not not a network expert I'm stuck here and would appreciate any help on how to overcome this problem of set-up.
Thank you
Why a listener 2nd for the TCPS? Why not use a single listener - as is the default value recommended?
Do you have SSL certificates (root complete auth chain) for the server in the portfolio of Oracle for this server - with the generated SSL certificate request, signed by a root authority?
To see the server tcp listener endpoints, use the netstat command. Enable SQL * Net follow-up on the side of the listener if you need to trace and debug connections to the listener. Activate too on the client side if you need to trace the calls from the client to the listener.
-
Y at - it Oracle 11g for windows 64-bit XE?
Hey, guys:
I am a newbie to install Oracle. I need to install Oracle XE 11 g. I checked it on Oracle, only Oracle Database Express Edition 11 g Release 2 for windows x 32. My OS is Windows 7 64 bit. I am so worried if there are potential compatibility problems. There are Oracle XE 11 g for windows 64-bit (or is it important to work with OC4J 10 g oc4j_extended_101350 and APEX 4.1 earphone)? Whereas I have to install a listener OC4J and Oracle APEX. I am concerned about this compatibility issue more. (I installed OC4J 10 g (oc4j_extended_101350) and installed as a windows associated with the application javaservice service, he spent a lot of time to solve the problem of compatibility)
Thank you very much!
SamThis has been asked and answered several times in these forums - use the search function of pl - https://forums.oracle.com/forums/search.jspa?threadID=&q=XE+AND+64+AND+windows&objID=c18&dateRange=all&userID=&numResults=15&rankBy=10001
HTH
Srini -
"post requesties of installing oracle database 11g on windows".
can any tell me what are the post installation requesties of installing oracle 11g on windows database?
Thanks and greetings
Vikash
"All Izz well".See the documentation
http://download.Oracle.com/docs/CD/E11882_01/install.112/e10843/postcfg.htm#i1006313See you soon
Concerning
Renjith Malet -
Hi all
I tried to install oracle 11g on windows 7 but when database creating the installer hang and error log display.Hello
First of all, you must make sure that the event viewer service is running, all you have to do is to go to
my computer right click Properties then in computer management, you will find event viewer.Second, expand the event viewer and go to system and make a right, and then click clear log.
You can do the same step for application.then come back again and try to create the database :)
-
use of temporary space in oracle 11g rac
Hello
Oracle version: oracle 11g r2
OS: linux
storage: asm on exadata
Please help us understand the use of the temp
{code}
SQL > set linesize 1000
SQL > set pagesize 1000
SQL > col USERNAME format a20
SQL > col SPID format a10
SQL > col MODULE format a30
SQL > col PROGRAM format a30
SQL > SELECT s.sid, s.serial #, s.username
2, p.spid, s.module, p.program
3, SUM (su.blocks) * tbsp.block_size/1024/1024 mb_used
4, su.tablespace
5. FROM v$ sort_usage su
6, v$ session s
dba_tablespaces tbsp
7, $v 8 p process
9 WHERE su.session_addr = s.saddr
10 AND su.tablespace = tbsp.tablespace_name
11 AND s.paddr = p.addr
GROUP 12 OF
13 s.sid, s.serial #, s.username, s.osuser, p.spid, s.module,.
14 p.program, tbsp.block_size, su.tablespace
15 ORDER BY s.sid;USERNAME SID SERIAL # SPID MODULE PROGRAM MB_USED TABLESPACE
---------- ---------- -------------------- ---------- ------------------------------ ------------------------------ ---------- -------------------------------
11 2092 DBSNMP 2861 emagent_SQL_oracle_database Oracle @ [email protected] 8 TMP4SQL > select * from v$ temp_space_header;
FILE_ID BYTES_USED, BYTES_FREE BLOCKS_FREE RELATIVE_FNO BLOCKS_USED NOM_TABLESPACE
------------------------------ ---------- ---------- ----------- ---------- ----------- ------------
TMP1 2 + 12 222274816 33554432 2048 1024 3.6418E
TMP3 4 + 11 19283968 75497472 4608 1024 3.1595E
TMP4 5 + 11 19687936 0 0 1024 3.2257E
TMP5 6 + 13 688638464 0 0 1024 1.1283E{code}
Why isn't bytes_used reclaim as only 8 MB is currently using
Thank you
PMP
I wanted to tell temp is never off allocated. So, if a 'bad' query explodes temp. the only thing you can do is to create a new and drop the old one.
11 GB temp is clearly ridiculous. Usually, this is caused by the merge join Cartesian paths in your instructions.
-----------
Sybrand Bakker
Senior Oracle DBA
-
Hi, I have installed oracle 11g on windows to test the object. I am facing a few questions:
(1) after connecting to the database. I ran the command "Shutdown". I took a lot of time. but after that I ran the startup. now, the database does not start uo back.
It is said: ORA-01031: insufficient privileges
(2) how can we check the status of the database, either running or down
I know that in linux, we can check it in ps - ux | grep tns
is there a similar command in windows
(3) in addition, I created the general database using dbca utility. but it has not made the default tables. IE emp, dept etc.
I guess these are the base that is created tables.
Thank you
Baku Amadou S.Hello
I use here an example dbname is orcl
1. Please check the pfile is present. ORACLE_HOME\database\initorcl.ora
2. Please check the services.msc as vinayak said.if Oracleserviceorcl function isn't there, create the service as c:\...>oradim-nouveau - sid orcl syspwd - sys
3. the service must be present and started.if not... start it by right click--> Start.
4. set the oracle_sid = oracle_sid.c:\...>set * orcl *.
5. check if it is set.c:\...>echo '% oracle_sid % '.
6. connect to oracle sys as sysdba c:\...>sqlplus
7. starting the database instance.c:\...>startup
8. see the status of the instance.c:\...sql>select of v$ instance;
9. see the status of the database.c:\...sql>select of the v database open_mode $;If you get an error, please report it.
Kind regards
Rameau -
Migration from windows to Linux - not able to activate maintenance mode
Salvation of DBA
After Migration from windows to Linux, I'm not able to activate maintenance mode, it gives the following error.
Please select an option:
1 activate the Maintenance Mode
2. turn off the Maintenance Mode
3. return to the main Menu
Enter your choice [3]: 1
sqlplus-s & un_apps / * @/s03/oracle/prodappl/ad/11.5.0/patch/115/sql/adsetmmd.sql ENABLE
An error occurred while executing adsetmmd.sql.
Continue as if it was successful [No.]:
Please tell me the way farword.
Best regards
Suresh GeldaYou're welcome, Suresh.
Also thanks to Arnoud :)
-
Database Oracle from Windows to Linux migration
Hey guys,.
I'm database oracle 11g R2 in Windows 7 migration to Red hat 5 (64-bit) Linux using RMAN by transport.sql file. I installed Oracle 11 g R2 on the two system.
But the problem is that my data files are scattered in different locations (I mean that all are not in the same directory) and I did not have enough space to all copy in the same directory. Can someone tell me how I'm supposed to write several locations as value the NAME of FILE DB CONVERT parameter when creating transport using RMAN script, I know the command for a directory only.
RMAN > Convert the new database database linuxdb
script of transport for "C:\test\transport.sql."
db_file_name_convert 'C:\oracle\oradata\orcl\' "C:\test".
the platform "Linux IA < 32 bit >";
This command allows to convert all the files in the database that resides in the orcl directory and place them in the test directory. But in my case, all the files are not in the directory orcl
and I can't copy other files in there because I don't have enough space on the entire system.
I can't create transport script several times because it is incorrect.
I appreciate your thoughts and suggestions.
You can specify as many pairs of directories as needed
db_file_name_convert = ('/ u01/ora/files ' ' / u02/ora/files ' ' / u01/ora/file9 ' ' / u02/ora/file9 ')
-
I'm trying to install and run the client Oracle 11 g for Linux on Ubuntu 10.04
Now, I made these:
sudo bash
Groupadd oinstall
Groupadd dba
useradd oracle
usermod-g oinstall-G - dba oracle
passwd oracle
mkdir OU1/Pei/app
chown-r oracle.oinstall /uo1
chmod-r 775 /uo1
apt - get install do binutils gcc elfutils unixodbc pdksh sysstat
mkdir/home/oracle
chown-r oracle.oinstall/home/oracle
xhost local: VMLINUX files
Su - oracle
DISPLAY =: 0.0; Export DISPLAY
xclock # to check if the display works.
*. / runInstaller *.
I get the checklist of items that must be corrected, deleted, so I simply ignore and completion of the installation. But when I run a command in the installed folder, such as log/no sqlplus , sqlplus will not start.
Why is this?
Also, which version of Linux is supported by Oracle 11g?
Thank you.ztech123 wrote:
Guys,This is the error message:
root@VBLinux: OU1 / / app/oracle/oraInventory # sqlplus
sqlplus: command not foundThere is no updated database in place for the moment.
Have you read and listen to the installation guide?
Of course, as you know, Ubuntu is not a supported platform.
That said, the error you report the OS shell informing you that there is no executable file called "sqlplus" is located in one of the directories listed in your PATH.
Side comments:
You should not install oracle as root.
You should not run any utility oracle as root.
You should not use root for any task at all who does not absolutely require it. -
Oracle on Linux and Windows Client question database server: NetMgr Windows and Linux NetMgr
People,
Hello. I have installed Oracle Database 11 g 2 server in the Oracle Linux 5 Starter PT853 Instance of database virtual machine. Then I installed Oracle Database 11 g 2 client for 32-bit Windows XP 64 - bit Windows virtual machine. Now I face the problem of connection of the VMs 2 as below:
In Manager Net Linux Server Machine:Service name: PT853
Connection type: default database
"TCP/IP Protocol".
Host name: localhost
Port name: 1521Listener: LISTENER
Protocol: TCP/IP
Host: localhost
Port: 1521
I test the Service PT853 with "SYSADM" username and password "SYSADM". The connection is successful.
In the Windows XP Client computer, the information in the Net Manager is the same, but the connection is not successful. Its details are as below:
NET Service Name: PT853
Protocol: TCP/IP
The database Machine host name: localhost
Port number: 1521
Name of the Basic Service: PT853
Connection type: default database
I have test the Service using "SYSADM" UserID and password to 'SYSADM' which are the same with Linux, but this error: TNS: listener does not currently of service requested in connect descriptor.
I followed this tutorial http://www.vmware.com/support/ws5/doc/ws_devices_serial_2vms.html to configure 2 virtual machines in Windows 7 host machine.In Windows XP Oracle database Client Installer directory, the "tnsnames.ora" file has an entry that matches the name Service in Net Manager. Directory of database server installation Oracle Linux, the file 'tnsnames.ora' has no entry because I installed the server of Oracle database with the instance of database startup PT853.
I tried to test 2 virtual machines in the way as below:In Linux, [user@localhost ~] $ping WindowsXP_HostName
Release: Unknown host WindowsXP_HostName
At the Windows XP command prompt:
C:\ping localhost.localdomain
Its release: ping localhost 127.0.0.1 with 32 bytes of data...
Reply from 127.0.0.1: bytes = 32 time = 2ms TTL = 128
He meets a few times and then disconnected by itself. It seems that Windows XP is ping itself and not Linux server. The host name of the Linux server is 'localhost' as well. It is a kind of confusion for me.
From the information above, we can see that 2 VMs cannot connect between them. Net Manager in Windows XP Oracle Client unable to connect its Service PT853 with the Oracle Linux database server.My question is:
Can any folk tell me how to connect Oracle Client in Windows XP with the Oracle Linux database server?
Very grateful in advance.user8860348 wrote:
People,
Hello. Thanks much for the reply. I am very grateful for your help.
In Manager Net Linux Server Machine:
Service name: PT853
Connection type: default database
"TCP/IP Protocol".
Host name: 192.168.196.102
Port name: 1521Listener: LISTENER
Protocol: TCP/IP
Host: 192.168.196.102
Port: 1521I test the Service PT853 with "SYSADM" username and password "SYSADM". The connection is successful.
In the Windows XP Client computer, the information in the Net Manager is the same as below:
NET Service Name: PT853
Protocol: TCP/IP
The host of the database Machine name: 192.168.196.102
Port number: 1521
Name of the Basic Service: PT853
Connection type: default databaseI test the Service using the "SYSADM" username and password "SYSADM" which are the same with Linux and the connection is successful as well.
IP 192.168.196.102 is Linux. This means that oracle database Client in Windows XP may log into Oracle Database Server under Linux. Don't you think I'm not mistaken? If so, I'm very happy and very grateful to you.
"Do you think I'm not mistaken?
By definition, if you can establish a connection, then you are correct.
-
Where can I download Oracle 11g R2 for Windows 7 64 bit Client? Thanks in advance.
Where can I download Oracle 11g R2 for Windows 7 64 bit Client? Thanks in advance.
Maybe you are looking for
-
I reset my Apple Watch and I can no longer use it, whenever I press the power button, it gives me the sign of loading
-
Need best driver of ATI X 1600 for Satellite Pro A100-830
Hey I use my Satellite Pro A100-830 (PSAACE-00W002EN) for the most part to play my games, but unfortunately I can't. It seems that Toshiba doesn't provide good enough graph-drivers because every time I play, for example: half-life 2, I get this error
-
I got a message saying that caslexec has stopped working
I have a message saying that caslexec has stopped working, I don't know what it is and don't know how to fix it
-
Norton IS link under hpdiwaliutsav not received
I bought the hp pavilion touchsmart 14-b171tu on 6 November 2013 and my redemption hpdiwaliutsav[personal information deleted]code. I hven t received the NORTON IS what link I get is only occasional letters from HP always say i, ll get in the next 15
-
How to set the date and time on an hp j5780?
I need to know how to set the date and time on an HP j5780! Help!