Installing Oracle 11gR2 client from a batch file and it returns before done
Hello,
While installing Oracle 11gR2 client on XP and 7 from a batch file. When it launches the OUI from the batch file, it returns to the batch file before the installer finishes. So, there is no way for my script to know when the installer is done, or to glean a return code to test for success. This is particularly annoying...
I've also used the "call" command to force my batch file to wait, to no avail. Anyone have any clues about this one?
Thanks in advance!
--Robert
Srini,
Awesome! Worked like a charm.
Many thanks!
--Robert
Similar Messages
-
Check oracle db status from windows batch file?
Hi
any body have a batch to do that
i want to check connecting , not just the service
thanks very muchI have a process in batch files (dos programming )which prepare some files then call oracle store procedures, i need to have a way to check >if the database is up(open) before i start my processingHow can I tell if the light will light without turning on the switch?
While it can be done, the simplest & easiest way is to try to connect for real & trap any error which may result from it not working. -
How to check Oracle DB Status from Windows batch file
Hi,
I need a script which can be used to check the Oracle Database Status from windows command batch file.
Thanks,
KishoreHi Virendra,
I have followed the steps mentioned in ur reply, But couldn't get the output.
I am getting the below error
C:\>db_utility.bat PLPDEV
ERROR:
ORA-12560: TNS:protocol adapter error
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_string>] | /
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_string>] | /
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
C:\>
Below is my bat file
@echo off
set ORACLE_SID=%1
echo sys/ltd1_plp as sysdba
echo set cmdsep on
echo set cmdsep '"'; --"
echo set term on
echo "select status from v$instance;"
) | sqlplus -s
Thanks -
Uncertain why this is happening? Each time I try to install the Oracle Client 11.2.0.3 on my laptop, I get this popup stating Error in CreateOUIProcess():5." Wny
Absolutely. Even tried running as xAdministrator on the laptop. The Error in CreateOUIProcess message still raised.
This is what I see in the install log
Contents from Install.log Using paramFile: C:\Oracle\client\OracleClient64\client\install\oraparam.ini
The commandline for unzip:
C:\Oracle\client\OracleClient64\client\install\unzip -o ..\stage\Components\oracle.jdk\1.5.0.30.03\1\DataFiles/"*.jar" -d "C:\Users\XADMIN~1\AppData\Local\Temp\OraInstall2015-04-27_12-52-55PM" -
Getting Problem installing Oracle 11gR2 on Windows 7 x64
Hello everyone,
beforhand thank you for helping a rookie. :-)
I getting an error message that my installation path contains empty spaces. C:\Program Files\....
In previous Releases of Oracle you could cancel these error message. Not in 11gR2.
Does anyone know a solution to install Oracle 11gR2 Client in the Windows Program Files (x86) / Program Files folder?
I modified the *.rsp File line "Complete path of the Oracle Home" with double quotes like in the previous Versions.
tried the environment variable "%...%" and also the DOS writing style "PROGRA~2".
Oracle takes over the complete notation.
Iam Working on a Windows 7 64 Bit Machine with an english Kernel.
Have to install: Oracle Client 11gR2 64 bit
Thank you in advance.
Best regardsWas there ever any thoughts on this issue? I'm using Oracle 11G R1 and it lets me cancel past errors saying I can't install to c:\program files\oracle because it has spaces and the programs I use also work perfectly fine.
Now, we're using Win 7, thus want to use Oracle 11G R2 so it won't fail OS checks and why not use the newest, right? Well, as stated here, you cannot cancel past "space" error any longer. I was going to try %programfiles% but it appears that that won't work; LAME!
Also, the runtime install for R2 says it's going to be 200MB more than the runtime install for R1, why would that be the case? That's a LOT more!
Thanks, Nick -
Installing Oracle 9i client on remote PC with out using distrib on cd-rom
Hello!
I have a such problem. I must install oracle client on a remote PC with no user assistant (with out usin cd-rom, I must use distrib from local hard drive).
When I trying to launch setup file ORACLE 9i from Hard drive I have an error abut using java.
So that I want to ask. may be some one knew ho to install Oracle 9i client from distrib which dispose on local hard drive???Hi,
The minimum supported version for windows 7 is 10.2.0.5. Unsupported version may work, but it will create unexpected issues.
How to Install Oracle 10gR2 on MS Windows 7/Windows 2008R2 (Doc ID 1173433.1)
Thanks,
Krishna -
Using 10g SQL Plus from a batch file
I installed the Oracle Database 10g Express Client and configured my ODBC and tnsnames.ora settings, and I think I have it all right, because when I open the SQL Command Line I can connect to the database just fine using:
connect <username>/<password>@<database>
However, when I try to log in through a non-SQL command line or batch file using the syntax:
sqlplus <username>/<password>@<database>
I get the error "ORA-12154: TNS:could not resolve the connect identifier specified." That syntax used to work for me with 9.2. Does the functionality still exist in 10.2?
Update #1:
The sqlplus login works from a normal command widow if I first CD C:\XEClient\bin. I still can't get it to work from a batch file, even when I specify the path. Does this mean the batch file command can't find my tnsnames.ora? If so, what environment variable do I need to set? I already have the client directory in the Path and ORACLE_HOME variables.
Update #2:
I started randomly trying every Oracle environment variable I could find a reference to, and found that setting TNS_ADMIN to the C:\XEClient\bin directory worked.
I don't need any responses to this post, so it can be deleted by an admin.
Edited by: user11241849 on Jan 13, 2010 12:05 PMHi Toni,
It is my first post here and I though telepathy already operated here :)
it is Oracle 9 I am talking about.
actually, I have 2 batch files
File 1, lets say the file name is batch1.bat and the contents are
sqlldr user/pwd@tnsname control='Control.ctl' data='data.txt'
File 2, batch2.bat and the contents are
Batch1.bat
Sqlplus user/pwd@tnsname @callproc.sql
Now if I run Batch2.bat, then only the first line to be executed which calling the batch1.bat , the second line (sqlplus) never executed!
Best Regards,
Yousef
Edited by: yousef_bayyari on 10-Nov-2009 06:25 -
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Version: B
Author: Dude, 24. May 2011
The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
Access to the Internet is required.
The instructions cover the following additional topics:
- Converting Red Hat based Oracle XE installer to Ubuntu.
- Work-around for missing /sbin/chkconfig tool.
- Install Oracle XE into a different directory or disk volume.
- Relocate and configure the Oracle user and default login directory.
- Uninstall, reconfigure and perform first database backup.
- Notes and web links.
- Troubleshooting
h3. A) System Setup and Prerequisites
h4. A.1. System Access
You will need terminal command line, root and system console access to perform the setup tasks.
To open a Terminal at the system console:
Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
sudo apt-get install openssh-server
sudo passwd root
Verify:
ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
The following is required in order to install Oracle 11gR2 XE:
sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
sudo apt-get install vimh4. A.3. System Swap space
Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
To analyze current swap space and memory configuration:
sudo cat /proc/meminfo
To install a 1 GB swapfile named swapfile in /, for example:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
(this may take a while)
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.orig
sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
Verify:
sudo swapon -a
sudo swapon -sh4. A.4. Kernel Parameters
Oracle 11g XE requires the following additional kernel parameters:
sudo nano /etc/sysctl.d/60-oracle.conf
(Enter the following)
# Oracle 11g XE kernel parameters
fs.file-max=6815744
net.ipv4.ip_local_port_range=9000 65000
kernel.sem=250 32000 100 128
kernel.shmmax=536870912
(Save the file)
Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
Verify: sudo cat /etc/sysctl.d/60-oracle.conf
Load new kernel parameters:
sudo service procps start
Verify:
sudo sysctl -q fs.file-max
-> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
Install Oracle XE to separate disk volume:
From the system console menu: System > Administration > Disk Utility
Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
Notice the device name e.g. /dev/sdb
Get the drive UUID:
sudo blkid
e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
Modify /etc/fstab to automatically mount the volume at system startup:
sudo cp /etc/fstab /etc/fstab.original
sudo nano /etc/fstab
(Add the following, using determined UUID, for exmple)
UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
(Save the file)
Create the mount-point, mount the new volume and set ownership and privileges:
sudo mkdir /u01
sudo mount -a
sudo chown root:root /u01
sudo chmod 755 /u01
Verify:
df -h
or restart the systemYou can also install Oracle XE into a specific directory:
Create a symbolic link to store the installation into an existing directory, for instance:
sudo mkdir /home/oracle-xe
sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
Please see section E.3. to download the Oracle 11gR2 XE installer.
Select the version listed for Linux x64.
sudo unzip linux.x64_11gR2_OracleXE.zip
sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
(This may take a while)h4. C.2. Create a special chkconfig script
The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
Create /sbin/chconfig:
sudo nano /sbin/chkconfig
(Cut and paste the following)
#!/bin/bash
# Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
file=/etc/init.d/oracle-xe
if [[ ! `tail -n1 $file | grep INIT` ]]; then
echo >> $file
echo '### BEGIN INIT INFO' >> $file
echo '# Provides: OracleXE' >> $file
echo '# Required-Start: $remote_fs $syslog' >> $file
echo '# Required-Stop: $remote_fs $syslog' >> $file
echo '# Default-Start: 2 3 4 5' >> $file
echo '# Default-Stop: 0 1 6' >> $file
echo '# Short-Description: Oracle 11g Express Edition' >> $file
echo '### END INIT INFO' >> $file
fi
update-rc.d oracle-xe defaults 80 01
(Save the file)
Set appropriate execute privileges:
chmod 755 /sbin/chkconfig
Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
h4. C.3. Install and configure Oracle XE
sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
/etc/init.d/oracle-xe configure
(This will take a while)
Remove the /sbin/chkconfig script, which is no longer needed.
sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
Exit all Oracle user sessions:
sudo /etc/init.d/oracle-xe stop
sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
sudo userdel oracle
sudo useradd -s /bin/bash -G dba -g dba -m oracle
sudo passwd oracle
Verify:
sudo id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
It is not essential to allow the Oracle user to use sudo, but it is convenient:
usermod -G admin oracle
Verify:
id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
sudo su -
-> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
The following will correct the problem if necessary:
Login as user Oracle or use:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following command:
EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
exith3. D) Unintstall, Reconfigure and Troubleshooting
h4. D.1. Uninstall Oracle 11g XE
The following will completely uninstall and remove Oracle 11g XE:
Login as user root:
sudo su -
/etc/init.d/oracle-xe stop
dpkg --purge oracle-xe
rm -r /u01/app
rm /etc/default/oracle-xe
update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
Type the following in a terminal window:
/etc/init.d/oracle-xe stop
sudo rm /etc/default/oracle-xe
/etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
Login as user Oracle:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following commands:
shutdown immediate
startup mount
alter database archivelog;
alter database open;
exit
Login to system console of the Oracle user account:
Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
h4. E.1. Oracle 11g XE limitiations overview
- It will consume, at most, processing resources equivalent to one CPU.
- Only one installation of Oracle Database XE can be performed on a single computer.
- The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
- The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
- HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
h4. E.2. Documentation and Links
Official documentation for Oracle 11gR2 XE can be found at:
http://www.oracle.com/pls/xe112/homepage
h4. E.3. Oracle 11g XE downloads
The Installer is available from the Oracle Technology Network at:
http://www.oracle.com/technology/products/database/xe
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
h4. E.4 APEX links and archives
The APEX archives can be found at:
http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
The APEX download site is:
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
h3. F) Troubleshooting
... in progress
Regards and best of luck!
Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
The configuration script tells you "You must be root user to run the configure script. Login as root user and
then run the configure script."
This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems. -
Problems Installing Oracle 9i Client
I got problems while I'm trying to Install Oracle 9i Client on a Windows 98 PC.
When I run Setup.exe file, nothing happens, I cant See Setup dialogs.
Somebody knows what is happening.
I appreciate some help
Best regardsThis was posted by someone else sometime ago. I'm posting it again for your reference. hope this helps.
raja
You must read carefully the following steps here. If you previously installed any Oracle's products on your machine, I strongly recommend you to clean up thoroughly before install the new products.
================================================================
Uninstallation
The easiest way to remove ALL traces of Oracle software, for an 8i installation, is:
(1) Using regedit, remove the key \\HKEY_LOCAL_MACHINE\\SOFTWARE\ORACLE.
(2) Remove all the Oracle services (usually called Ora-something) from \\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
(3) Go to the ORACLE_HOME directory (usually C:\Oracle\Ora81). Go to the BIN directory beneath this. Rename the file OCIW32.DLL to something like OCIW32.OLD.
(4) Reboot your box.
(5) Once you have logged on again, delete the directories C:\Program Files\Oracle and C:\Oracle.
(6) Right-click on My Computer, select Properties->Environment. Edit the environmental variable PATH to remove all refernces to files in the two directories you have just deleted.
(7) Remove the Oracle folders from your Start menu.
*** Obviously, using regedit on your machine always entails risks, and I won't be held responsible if you end up trashing your system. However, the above procedure is one I have used many times with complete success. You have been warned! ;) ***
As to logging on, the "standard" Oracle accounts are:
SYS/change_on_install (SYSDBA - database owner)
SYSTEM/manager (Owns various VIEWs and utility PACKAGEs)
and (optionally):
SCOTT/tiger (Training account containing some sample tables)
If you're using PO8i on the local machine, you shouldn't need to worry about setting up NET*8 (Oracle's networking protocols)
=================================================================
Windows 95 and 98
This will remove all Oracle products, Oracle services, and Oracle registry entries from your computer.
Complete the following steps to create a Clean Machine. Backup any relevant databases before proceeding!
On Windows 95 and Windows 98:
1. Ensure you shutdown your Oracle. Right click on the Oracle Icon in the toolbar and click on the shutdown option.
2. Un-install all your Oracle products if possible. Use universal installer to do that. Ignore this step if you dont have universal installer on your machine.
3. In regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
4. Delete the ORACLE key.
5. Edit your AUTOEXEC.BAT file and remove your %ORACLE_HOME%\bin and JRE paths from the path setting.
6. From the Windows Explorer (or from the command prompt), delete the Oracle directory (Oracle Base).
7. Delete <system_drive>:\Program Files\Oracle (from the Windows NT Explorer or from the command prompt).
8. Delete Icons from <system_drive>: \Windows\Start Menu\Programs\Oracle - <HOME> and <system_drive>:\Windows\StartMenu\Programs\Oracle Installation Products. Where <HOME> is the previous HOME name.
9. Reboot your computer.
On Windows NT:
1. Ensure you are logged in as a user with Administrator privileges.
2. Stop all Oracle Services through Control Panel Services. Use universal installer to un-install your Oracle products. Ignore un-install if you dont have universal installer on your machine.
3. Using regedit (at the command prompt, type regedit), go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE and delete the ORACLE key.
4. Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, and remove all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services that begin with ORACLE.
5. Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application, and remove all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application that begin with ORACLE.
6. Close regedit.
7. From the Control Panel, open System.
8. If JRE was installed by Oracle, remove the %ORACLE_HOME%\BIN path and the JRE path. For example, you may see a path similar to this one: C:\ORACLE\ORAxx\BIN;G: \Program Files\Oracle\jre\1.1.7\bin. Go to Start > Control Panel > System > Environment tab. Click on the system variable path and modify the path.
9. Delete Icons from <system_drive>:\Winnt\Profiles\All Users\Start Menu\Programs\Oracle - <HOME> and <system_drive>:\Winnt\Profiles\All Users\Start Menu\Programs\Oracle Installation Products. Where <HOME> is the previous HOME name.
10. Delete <system_drive>:\Program Files\Oracle (from the Windows NT Explorer or from the command prompt).
11. Reboot your computer.
12. Delete all ORACLE_BASE directories (You can find the Oracle homes listed in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOMES).
================================================================
Doc ID:
Note:131299.1
Subject:
Oracle Installer 8.1.X Hangs on Machines with Pentium 4
Processors
Type:
ALERT
Status:
PUBLISHED
Content
Type:
TEXT/PLAIN
Creation
Date:
02-JAN-2001
Last
Revision Date:
18-APR-2001
This alert was modified 16-January-2001 by specifying specific
Oracle Universal
Installer Versions in the the Versions Affected section.
Oracle Universal Installer (OUI) for 8.1.x Hangs on Machines
with Pentium 4
Processors
~~~~~~~~~~~~~~~~~~
Versions Affected
~~~~~~~~~~~~~~~~~
Oracle 8.1.5
============
Oracle Universal Installer 1.6.0.9.0
Oracle 8.1.6
=============
Oracle Universal Installer 1.7.0.19.0
Oracle 8.1.7
==============
Oracle Universal Installer 1.7.1.9.0
Platforms Affected
~~~~~~~~~~~~~~~~~~
Any platform that uses the Intel Pentium 4 processor, with the
Sun JRE
and Symmantec JIT will encounter this problem. Windows NT,
Windows 2000
and NetWare platforms are confirmed to be affected.
Description
~~~~~~~~~~~
When installing Oracle Products with the Oracle Universal
Installer (8.1.x)
on machines that use the Sun JRE and Symmantec JIT, the
installer hangs.
Specifically for the Windows platform, the following version
of the Symmantec
JIT or earlier will encounter the failure:
Symantec Java! JustInTime Compiler Version 3.10.107 for JDK
1.2.
Details regarding this issue can be found at:
http://developer.intel.com/design/processor/future/manuals/knowni ssue.htm
How to determine if you have Symmantec Java for JDK 1.2:
1. Select the file "symcjit.dll" and right click on it.
2. Select Properties, then the Version tab.
3. Under Microsoft Windows*, the properties of the DLL are:
"Symantec Java! JustInTime Compiler Version 3.10.107 for
JDK 1.2 Copyright (C)
1996-99 Symantec Corporation Dynamic Link Library file".
DLLs older than this will also not work. "
Likelihood of Occurrence
~~~~~~~~~~~~~~~~~~~~~~~~
Any platform that uses the Intel Pentium 4 processor, with the
Sun JRE
and Symmantec JIT will encounter this problem. Windows NT,
Windows 2000 and NetWare platforms are confirmed to be
affected.
Possible Symptoms
~~~~~~~~~~~~~~~~~
The failure typically is that the affected application simply
terminates.
Workaround
~~~~~~~~~~
Not only will OUI be affected by this bug, most of the
post-install
configuration tools will also be affected. Running these
tools with "-nojit"
specified will avoid the hang, but it is not simple to specify
"-nojit" for
some of the products.
The following workaround works for the Windows operating
system:
a. Copy only the install directory from the CD to the hard
disk ,say, e:\temp.
b. Open oraparam.ini and make the following modifications
(Assuming CD
drive is f:)
* Change the "SOURCE=" line to use the full path to the CD
instead of a
relative path. (i.e., SOURCE=f:\stage\products.jar)
* Change the "JRE_LOCATION" line to use the full path to the
CD instead of a
relative path. (i.e.,
JRE_LOCATION=f:\stage\Components\oracle\swd\jre\1.1.7\1\DataFiles
\Expanded)
* Change the "OUI_LOCATION" line to use the full path to the
CD instead of a
relative path. (i.e.,
OUI_LOCATION=f:\stage\Components\oracle\swd\oui\1.6.0.9.0\1\DataF
iles\Expanded
* Change the "JRE_MEMORY_OPTIONS" line to add "-nojit" as the
first argument.
(i.e., JRE_MEMORY_OPTIONS=-nojit -ms16m -mx32m)
^^^^^^
* Other entries should remain the same
c. Launch setup.exe from the temporary location on your hard
drive (i.e.
e:\temp\install\win32\setup.exe). This will use the
modified
oraparam.ini and pick up the information from the CD since
the absolute
locations are specified.
Choose a Custom install and choose not to create a database
during the
install. This way, the Database Configuration Assistant will
not be launched
during installation.
The Net8 Configuration Assistant will still be launched, and
there is no way
to suppress it. You will need to kill the Net8 Configuration
Assistant if it
hangs due to the bug. The installation still will have been
successful, and
you can run the DBCA and NetCA after installation.
To kill NetCA if it hangs during installation:
In the "Configuration Tools" window, highlight the "Net8
Configuration
Assistant" and click "Stop". If that does not work, look for
the most recent
JRE process using the Task Manager, and kill it manually.
NOTE: the OUI
itself will also have a jre process. Be sure to kill the one
with the most
recent date, which should be the jre process being used for
Net8CA, not the
one for OUI itself.
After killing the configuration tools and continuing through
the installation
to the "End of Installation" screen, you should modify the
configuration tools
to use "-nojit", then call the appropriate tools from the
Start Menu.
Once installation is complete, each of the following files in
the ORACLE_HOME
needs to be modified:
assistants\dbca\dbassist.cl
assistants\dbma\dbmig.cl
assistants\ifa\ifa.cl
bin\elogin.cl
bin\owm.cl
ldap\oidamdin\oidadmin.cl
network\tools\netasst.cl
network\tools\netca.cl
owm\install\instelogin.cl
owm\install\instowm.cl
Edit the contents of the above files to add "-nojit" as shown
below:
Command=("C:\Program Files\Oracle\jre\1.1.7\BIN\JREW" -nojit
-classpath ....
this is the only thing you need to add --> ^^^^^^
Then, launch the necessary tools, like Net8CA and DBCA from
the Start Menu.
Patches
~~~~~~~
Currently there is not a patched installer available to deal
with this
problem, the workaround listed above must be used.
References
~~~~~~~~~~
[BUG:1507768] INSTALLER FAILS WHEN RUNNING ON NEW PENTIUM 4
(IV) PROCESSORS
[BUG:1507946] INSTALLER FAILS WHEN RUNNING ON NEW INTEL
PENTIUM 4 (IV) PROCESSORS
@[BUG:1518935] SYMCJIT.DLL DOESN'T WORK WITH THE NEW P4
PROCESSORS
Oracle
Support Services.
Copyright (c) 1995,2000 Oracle Corporation. All Rights
Reserved. Legal Notices and Terms of Use.
================================================================
The solution of making a local copy of the installation CD on
the hard disk and renameing symcjit.dll to symcjit.old does
work to allow installation of Oracle Client 8.1.7 on a Pentium 4
This function is useful and you can find two file to rename
===============================================================
Windows ME
Solution to the installation of Oraclei8.1.7 PE in Windows Millennium
Oracle does not support installing version 8.1.7 PE into
Windows Millennium.
As an unsupported workaround, you may add the following line
to the [compatibility95] section of win.ini prior to
installation:
Jrew=0x00080000
After setup is complete, Oracle will recommend a reboot.
There is one additional step necessary prior to reboot;
Oracle may add a non-standard path statement to the
autoexec.bat file. Please modify this SET PATH
statement to use short-filenames if you find a quoted
LFN string represented as part of the path. You can
confirm that the path was merged successfully into the
registry after reboot by examining the PATH variable
in the registry at
HKLM\System\CurrentControlSet\Control\SessionManager\Environment
Symptoms of a missing Oracle path statement in the registry are that Net8 Easy Config will not launch.
Please note that Oracle does not support the use of this
product in Windows ME, but have authorized these workarounds
for testing purposes only.
===============================================================
Windows XP Home Edition
Oracle 8i is not certified on windows XP. Even if yes, it must be Windows XP Professional.
You can install Oracle8i on windows XP Home Edition, try like this:
1 - Copy your Oracle CD into hard disk in your
machine. For example Copy from oracle8i CD into C:\Oracle\ ...
2 - Search the two files named Symcjit.dll on the D drive (where you have copied Oracle8i. You can found them in (example):
C:\Oracle\stage\Components\oracle.swd.jre\1.1.7.30\1
\DataFiles\Expanded\jre\win32\bin\symcjit.dll
3 - Rename this file (Example): symcjit_back.dll (make sure to find two files and rename them)
4 - Execute the Oracle setup.exe from C:\Oracle\setup.exe
===============================================================
When Oracle 8i dies on the install or the installer hangs, here is the fix for this, make sure that you have Service Pack 2 installed.
1. \JRE\1.3.1\ From Sun. (You can download java program at http://java.sun.com/products/jdk/1.1/jre/download-jre-windows.html)
2. Install the java file.
There is also a problem in the installation disk.
3. Make a copy of the Oracle 8i disk on the local hard disk.
4. Do a search for the two files called symcjit.dll and rename them for example: symcjit.old.
5. Install Oracle from the win32 directory.
================================================================
PLEASE NOTE THAT ORACLE DOESN'T SUPPORT THE USE OF THOSE PRODUCTS IN WINDOWS ME, BUT HAVE AUTHORIZED THESE WORKAROUNDS FOR TESTING PURPOSES ONLY -
Unable tu install Oracle 9i Client on Win XP Professional
Hello!
I have problems installing Oracle 9i Client on Windows XP Professional. The error appears when I try launching the setup.exe file from the "Disk1" folder on my HD. The message error says something like "I can't run the set up". If somebody have any ideas please help me.double click autorun.exe in the autorun folder.
-
After installing Oracle 11gR2 it shows - There are no installed products
I am trying to install oracle 11gR2 on my laptop on windows xp sp-3. every thing was going right but when it was installing dbca, when it reached at 85% of install, it provided me following error..
Enterprise manager configuration failed due to the following error-
null
Refer to the log file at C:\app\Administrator\product\11.2.0\dbhome_1\cfgtoollogs\dbca\orcl\emConfig.log for more details.
You can retry configuring this database with Enterprise Manager later by manually running C:\app\Administrator\product\11.2.0\dbhome_1\bin\emca script
At the end I am going to past the log file as well.
Now probelm is when i manually try to run emca. It does not run. and then i decided to deinstall oracle 11gR2, but when i try to deinstall Oracle 11gR2 from Universal Installer and clicked installed product then it showed me folling
*"There are no installed products"*
This is strange for me. now i am confused what to do, services are running but i can not run emca script. I am stuck, if any body can help me in this regard i will be very thank ful....
the logfile created is following....
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.EMConfig addEMCALogFile
CONFIG: ORACLE_BASE :C:\app\Administrator\product\11.2.0\dbhome_1
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\Administrator\product\11.2.0\dbhome_1\oui
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\Administrator\product\11.2.0\dbhome_1\oui
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\app\Administrator\product\11.2.0\dbhome_1\cfgtoollogs\dbca\orcl\emConfig.log.
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\Administrator\product\11.2.0\dbhome_1\oui
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\Administrator\product\11.2.0\dbhome_1\oui
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter REP_DB_RUNNING_HOST.
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:10:55 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYS
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: DBSNMP
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: ORA-28000: the account is locked
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-28000: the account is locked
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:978)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:917)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngineLoacly(GeneralUtil.java:441)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:637)
at oracle.sysman.emcp.DatabaseChecks.validateUserCredentials(DatabaseChecks.java:1066)
at oracle.sysman.emcp.ParamsManager.validatePassword(ParamsManager.java:3417)
at oracle.sysman.emcp.EMDBPreConfig.validatePassword(EMDBPreConfig.java:4087)
at oracle.sysman.emcp.EMDBPreConfig.checkConfigParams(EMDBPreConfig.java:1633)
at oracle.sysman.emcp.EMDBPreConfig.checkParameters(EMDBPreConfig.java:1403)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:209)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:195)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
at java.lang.Thread.run(Thread.java:595)
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:10:59 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYS
Mar 18, 2011 1:11:02 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:05 AM oracle.sysman.emcp.DatabaseChecks updateAccountStatus
CONFIG: DBSNMP password modified
Mar 18, 2011 1:11:05 AM oracle.sysman.emcp.DatabaseChecks updateAccountStatus
CONFIG: Unlocked DBSNMP account
Mar 18, 2011 1:11:05 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:05 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:05 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:05 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:05 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:05 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: DBSNMP
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYS
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYS
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: orcl
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:06 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYS
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 1273847978
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYSMAN
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: ORA-28000: the account is locked
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-28000: the account is locked
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:978)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:917)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngineLoacly(GeneralUtil.java:441)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:637)
at oracle.sysman.emcp.DatabaseChecks.validateUserCredentials(DatabaseChecks.java:1066)
at oracle.sysman.emcp.ParamsManager.validatePassword(ParamsManager.java:3417)
at oracle.sysman.emcp.EMDBPreConfig.validatePassword(EMDBPreConfig.java:4087)
at oracle.sysman.emcp.EMDBPreConfig.checkConfigParams(EMDBPreConfig.java:1685)
at oracle.sysman.emcp.EMDBPreConfig.checkParameters(EMDBPreConfig.java:1403)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:209)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:195)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
at java.lang.Thread.run(Thread.java:595)
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYS
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.DatabaseChecks updateAccountStatus
CONFIG: SYSMAN password modified
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.DatabaseChecks updateAccountStatus
CONFIG: Unlocked SYSMAN account
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYSMAN
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 18, 2011 1:11:14 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYS
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : mazke.MyDslDomain
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: mazke.MyDslDomain
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: C:\app\Administrator\product\11.2.0\dbhome_1, and user: SYS
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: orcl
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file C:\app\Administrator\product\11.2.0\dbhome_1\sysman\config\emd.properties to C:\app\Administrator\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file C:\app\Administrator\product\11.2.0\dbhome_1\sysman\config\emd.properties has been copied to C:\app\Administrator\product\11.2.0\dbhome_1\sysman\config\emd.properties.emca.tmp
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file C:\app\Administrator\product\11.2.0\dbhome_1\sysman\config\emoms.properties to C:\app\Administrator\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca.tmp
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file C:\app\Administrator\product\11.2.0\dbhome_1\sysman\config\emoms.properties has been copied to C:\app\Administrator\product\11.2.0\dbhome_1\sysman\config\emoms.properties.emca.tmp
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file C:\app\Administrator\product\11.2.0\dbhome_1\sysman\emd\targets.xml to C:\app\Administrator\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file C:\app\Administrator\product\11.2.0\dbhome_1\sysman\emd\targets.xml has been copied to C:\app\Administrator\product\11.2.0\dbhome_1\sysman\emd\targets.xml.emca.tmp
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.EMConfig perform
SEVERE: null
Refer to the log file at C:\app\Administrator\product\11.2.0\dbhome_1\cfgtoollogs\dbca\orcl\emConfig.log for more details.
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
java.lang.NullPointerException
at oracle.cluster.impl.install.InstallGroupImpl.<init>(InstallGroupImpl.java:127)
at oracle.cluster.impl.install.HAInstallImpl.<init>(HAInstallImpl.java:51)
at oracle.cluster.impl.install.InstallFactoryImpl.getHAInstall(InstallFactoryImpl.java:139)
at oracle.cluster.install.InstallFactory.getHAInstall(InstallFactory.java:130)
at oracle.cluster.deployment.ClusterwareInfo.isHAInstalled(ClusterwareInfo.java:231)
at oracle.sysman.emcp.util.ClusterUtil.isHASInstalled(ClusterUtil.java:283)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:255)
at oracle.sysman.emcp.EMDBPreConfig.invoke(EMDBPreConfig.java:195)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:250)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:583)
at oracle.sysman.assistants.dbca.backend.PostDBCreationStep.executeImpl(PostDBCreationStep.java:968)
at oracle.sysman.assistants.util.step.BasicStep.execute(BasicStep.java:210)
at oracle.sysman.assistants.util.step.Step.execute(Step.java:140)
at oracle.sysman.assistants.util.step.StepContext$ModeRunner.run(StepContext.java:2667)
at java.lang.Thread.run(Thread.java:595)
Mar 18, 2011 1:11:15 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\Administrator\product\11.2.0\dbhome_1\oui
Kind Regards
Mazahir AbbasHi,
Which OUI you are using to deinstall 11gR2? It means you have some other oracle software also installed on your lap top. In 11G, you can't use OUI to deinstall the 11gr2 software and you need to user deinstall utility instead. Either you can download deinstall utility from OTN, or you can also run it from oracle home which you are deinstalling, as follows
On your command prompt, replace ORACLE_HOME with the oracle home path on your laptop then execute following.
ORACLE_HOME\deinstall\deinstallFor OEM database control, your DBSNMP account is locked. Unlock that account.
Follow following commands steps you configure it.
emca -repos recreate
emca -deconfig dbcontrol db
emca -config dbcontrol dbSalman -
Install Oracle 11gR2 RAC : Cannot remove directory bootstrap under /tmp
Folks,
Hello. I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer and according to the tutorial
http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
I am installing Grid infrastructure. I am on step 7 of 10 (verify Grid installation enviroment) and get this error:
"Free Space: Rac2: /tmp
Cause: Could not determine mount point for location specified.
Action: Ensure location specified is available.
Expected value: n/a
Actual value: n/a "
In order to fix the above error, I run "cluster verification utility" according to
http://docs.oracle.com/cd/E14072_01/rac.112/e10717/cvu.htm I run the following command:
[ora11g@rac1 \]$ /home_grid/runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
Output:
/bin/rm: cannot remove directory '/tmp/bootstrap': Operation not permitted
./runcluvfy.sh:line 99:/tmp/bootstrap/ouibootstrap.log: permission denied
From the above output, we can see the directory bootstrap under /tmp causes the problem. The solution is to remove the directory bootstrap. I run the 2 commands:
[ora11g@rac1 tmp]$ rmdir bootstrap
Output: Operation not permitted
[ora11g@rac1 tmp]$ rm -rf bootstrap
Output: cannot remove bootstrap: Operation not permitted.
[ora11g@rac2 tmp]$ ls
Output: there is no 'bootstrap' directory.
My questions are:
First, does "cannot remove boostrap in rac1" cause that /tmp in rac2 could not be determine mount point ?
Second, can any folk help to remove the directory bootstrap under /tmp ?
Thanks.Folks,
Hello. Thanks a lot for replying. I have just run the 2 commands:
[root@rac2 \]# chown -R ora11g:dba /u01
[root@rac2 \]# chmod -R 775 /u01
ora11g is the user who installs the Grid and /u01 is the directory where Grid is installed and dba is the group.
I go back to Grid Installer Step 7 of 10 in rac1 and check again and see as below:
Free Space: Rac2 : /tmp
Cause: Could not determine mount point for location specified.
Action: Ensure location specified is available
Expected Value: n/a
Actual Value: n/a
The problem is not solved after run the above 2 commands in rac2.
In addition, I have run Cluster Verification Utility using the command:
[ora11g@rac1 grid]./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -r 11gR2 -orainv ora11g -verbose
Output: All of items for rac2 are passed. There is only one item for rac1 is failed as below:
Check default user file creation mask:
NodeName: rac1
Available: 0002
Required: 0022
Comment: failed
As we see above, the result of CVU command is not the same with Grid Installer step 7 of 10 (Installation Environment Verification):
CVU command doesn't find /tmp mount point problem for rac2 that Grid Installer does.
Grid Installer step 7 of 10 doesn't find user file creation mask problem for rac1 that CVU command does.
I have tried to find out whether creation mask failed for rac1 causes /tmp problem for rac2. I have changed the line "umask 002" to "umask 0022" for rac1 in each of the 3 files below and run CVU command each time for each file:
rac1:
/etc/bashrc
/etc/profile
/etc/csh.cshrc
But chang the line "umask 002" to "umask 0022" for rac1 in each of the above 3 files does not solve the problem.
My questions are:
First, why is the result of CVU command not the same with that of Grid Installer step 7 of 10 ?
Second, why change the line "umask 002" to "umask 0022" in 3 files can't solve creation mask problem for rac1 ?
Third, how to solve /tmp problem for rac2 and creation mask problem for rac1 ?
Thanks. -
Unable to install Oracle XE Client on Ubuntu 8.04 - "no such user"
Hi,
I've just installed Oracle XE client on my desktop machine (64bit Ubuntu 8.04), and I had to manually create some users and groups:
sudo groupadd nobody
sudo groupadd oinstall
sudo useradd -s /bin/bash -g oinstall -G dba oracle
sudo passwd oracle
before the install would complete, due to what appears to be incorrect arguments to useradd by the installer.
It took quite a lot of hunting to find the above, and I'm a little concerned since no one else seems to have had the same problems.
I installed using:
$ sudo dpkg -i --force-architecture oracle-xe-client_10.2.0.1-1.0_i386.deb
(the force-architecture was required for the server install on my server, so I did the same here)
I read the install instructions on the oracle pages
(http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABFEDEI) and didn't see anything about having to manually create these accounts, and I seem to have followed the rest of the instructions correctly.
What did I do wrong? I'm probably going to have to do it again sometime, and I'm a little concerned that I might have just been causing trouble for myself by doing those extra manual steps.
Note that I had to provide a password for the oracle user; how does oracle manage to log in using this account, since I didn't have to provide it anywhere?
Any help/advice would be appreciated,
many thanks,
William
BTW I'm really not happy with the preview/post message thing in this forum; I'm using Firefox 3.0.1 and if you use preview then the back button clears the entire text (yay, thanks!); I tried to be more cunning next time, and use the back button instead, but then none of the "preview", "post message" and "cancel" buttons work... so this was my third attempt at writing this message, and it's somewhat shorter than the original, like my patience :pBTW I'm really not happy with the preview/post
message thing in this forum; I'm using Firefox 3.0.1
and if you use preview then the back button clears
the entire text (yay, thanks!); I tried to be more
cunning next time, and use the back button instead,
but then none of the "preview", "post message" and
"cancel" buttons work...It's not Firefox related - same issue with other browsers.
Please put your entry regarding this into this thread:
Preview not working correctly - works now
That's the right place for this issue...
Cheers! -
How to execute a .sql file from a batch file
Hi all
I've to take backup of a database weekly twice on every wednesday & Friday @ 5pm IST. I've written a hot backup script, which works every well.
now i want to automate the script. ie i want this script to run on wednesday & friday @ 5pm without any human interfearance ie with out actually any1 executing this script.
i created a batch file prod.bak with the following lines
@echo off
set oracle_sid=testdb
set oracle_home=d:\oracle\ora92
sqlplus /nolog
connect sys as sysdba/oracletest@testdb
this batch file when eexecuted connects me to sql prompt.
Now i want to execute my backup script bkp.sql automatically when it is connected to sql prompt.
(i tried with these lines in the above batch file...
call bkp.sql---it just opens the bkp.sql file in notepad & displays the script
start bkp.sql---same as call
connect / as sysdba/pwd@[email protected] --- does not work simply remains a the sql prompt.
At 17:00 /Every:w,f "d:\bkp.sql"---does not work simply remains at the sql promt.)
Can any1 let me know what should i write in the batch file that will execute the bkp.sql file automatically after it gets connected to sql prompt. M using oracle 9i.
I'll manage he time through windows utility of scheduling task.. Let me know how to execute the .sql file from a batch file.
Thanks
TriptiTry
sqlplus "sys/oracletest as sysdba" @bpk.sql
Working locally, and having set the ORACLE_SID, you don't need to specify the SqlNet alias (@testdb).
Remember to put an exit at the end of the bpk.sql script. -
How to run 11g Form from a batch file (.bat) !
Hi,
Previously, I run my Form 6i from a batch file (with Windows Schedular Tasks) as below;
E:\orant\bin\ifrun60.exe e:\lock.fmx
This form lock some items on a certain date (with the help of Windows Schedular Task).
How can this possible in Forms 11g ?
Kindly guide !
Regards.
Vick.Well are you talking about doing that on a free standing/developer machine or are you thinking of on the
server? In any case forms6i was a native application and forms11 is a web application that requires weblogic, even on the developer machine.
I think you will have to start from square one describing what you are trying to do.
Soapbox: I really think if forms "went back" to having a native deployment option it would be highly treasured. Here is a case where we are still running 6i for that reason. We have a situation where they interview clients at another location using a laptop. The laptop form brings up successive question screens, which questions are asked of the clients and their responses recorded. If the interview data is lost we cannot bring these people back and do it over. In the meantime the wifi connecting back to the database server can go bad. It can get over-loaded, it can just crap out. The firewalls on the way can decide rightly or wrongly to time the connection out. There's a bunch of ways the connection can get dropped. So what we do is that form saves a copy of the data to the disk in a file before it tries to submit it to the database, which could fail. So we have a backup. Can't easily do that in 11. I have yet to have gotten webutil to work. It's a mobile option that is becoming popular and forms should do it, have the ability for the form to run independently on the client including an ability to save data and of course if you saved it, people will want to be able to sync it back to the database when the client is reconnected.
Maybe you are looking for
-
Error when creating data model - Internal Server Error
When trying to create a new Data Model in BI Publisher (11.1.1), we are getting a "Internal Server Error" message and the page to create data models wont display. We are able to login to BIP with any user, but we cant do anything else- (seems due to
-
IPhone 4 won't turn on whatsoever!
My iPhone very frequently has been turning off and then it will turn back on. It just recently turned off by itself and will not turn back on. Nothing comes up on the screen when I plug it into a charger nor will the sleep button+home button work. My
-
I Can't Play .MP4 and .mkv Files Backed up in Time Machine
I backed up My Macbook to an external hard drive in my passport / Time Machine. I am attempting to play both .mp4 and mkv files in quicktime and vlc respectively. They worked when they were on my computer, but I they won't open now. I even tried t
-
IPhoto keeps crashing on Slideshows
Hi Can anyone help? I have tried all I know to fix it, but don't seem to succeed: iPhoto keeps crashing whenever I create or view a slideshow. I have read in another blog that quick time can create issues. Hence I removed quick time and emptied the t
-
What happened on the UFL webinar?
<p>For those of you who tuned into the UFL webinar this morning you may have noticed that I had an error returned from the evaluate method of my User Function. As I promised on the call, I did some additional digging into the issue as soon as the web