I am creating a new database using Database Configuration Assistant.
It is a Typical Installation
The process is stuck on step 4/5.
I am using oracle database 19c.
I am posting this after waiting for 2 hours. Please advise me on how can I fix this :-)
Down you have loacation of DBCA log directory and databases alert.log.
Most likely db creation failed due to some prerequisities (space, OS limits, ...).
Check alert log first, then check most recently modified file on DBCA directory.
Also, if you're installing on Linux, 19c is nearly 3 years old, lot of things changed since then. runInstaller has an option applyRU.
In worst case you will have to download recent RU(release update) patchset and let installer apply this patch before starting actual installation.
Related
I have a massive (200 million record) database stored in MySql 8.0.022. I have tried to get MySql Workbench to dump the database to an external SSD, but I keep getting the message "Could not get mysqldump version".
I have scoured all the threads for almost a week, tried all the proposed solutions that have been proposed, and it just will not work.
For some inexplicable reason, every version of Workbench that I install simply fails to connect to the mysqldump executable that is stored in /usr/local/mysql-8.0.22-macos10.15-x86_64/bin.
My data is currently trapped on my MacBook, and I need to make a backup so I can get it onto and AWS server but I am totally stumped. I'm completely self taught, and find MySql incredibly dense and hard to understand, so can anyone please help me out? Thanks. Ian
MySql Workbench does a pretty good job of logging when there is an issue. You should be able to find out what your specific issue is by reviewing the workbench log file.
OS
Location
Windows
%AppData%\MySQL\Workbench\log\wb.log
macOS
~username/Library/Application Support/MySQL/Workbench/log/wb.log
Linux
~username/.mysql/workbench/log/wb.log
You can also locate your log files (all of them) by going to the Workbench menu:
Help → Locate Log Files
You will likely see an error at the bottom of the file indicating the problem. For example:
17:07:07 [ERR][wb_admin_export.py:get_mysqldump_version:126]: Could not parse version number from mysqldump.exe:
file not found
I am installing Oracle 19c (19.3) for Microsoft Windows x64 (64-bit) in VM. It is stuck at 44%. I checked the details and there is a warning message saying that there isn't enough memory. Before the installation, I checked my VM memory and storage. There is more than enough memory and storage. Before installing, Oracle runs a check and there succeeded, no failed. Despite all that, the installation still stuck.
This is the warning message:
[WARNING] [DBT-11209] Current available memory is less than the required available memory (1,638MB) for creating the database.
CAUSE: Following nodes do not have required available memory :Node:ec2amaz-97eqf7fAvailable memory:1.4685GB (1539828.0KB)
Please see
https://github.com/oracle/vagrant-projects/issues/241
If it is a single instance install, please consider to create the scripts with DBCA instead using DBCA - gives you more control whats going on splitting the shell script calling the separate SQL files
Please see Helmut Hutzlers Blog
https://www.hhutzler.de/blog/start-gimr-database-fails-12-2-installation/
He was member of same team then me before Oracle shutdown Software Support in Europe in March 2016. He got more then 25 years experiance - In a couple of days I will leave Oracle, too. Last one swiches the light bulbs off.
So I have successfully installed Oracle DB 19c and connected it to Oracle SQL Developer. I am able to create tables and run queries. Furthermore, I can connect to ADW with both python and SQL Developer and any changes that I commit are seen in all locations. I am trying to connect the ADW database to Power BI. I am running all this on a personal Windows 10 Pro laptop with plenty of SSD & RAM.
In a new window of Power BI I click Get Data and then Oracle Database followed by Connect. When I do this I get a pop up that says:
The recommended provider ('Oracle.DataAccess.Client') is not installed. You can continue with your current provider, however it has been deprecated and may not work correctly.
I clock OK. Enter my Server as the TNS Name that I have used for my python and SQL Developer instances. In my ADW database, I have a table called TEST. It's a simple table with 1 column with the years 2015 through 2020 in it. Been using this to test to see if things are working. So I click on the DirectQuery and run the SQL statement SELECT * FROM TEST under the Advanced options menu and select OK. A sign in window pops up and I select the Database table and enter my correct ADW username and password. The same one that I can use to access this table from SQL Developer and then select Connect. When I do, I get this error:
Details: "The provider being used is deprecated: 'System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.'. Please visit https://go.microsoft.com/fwlink/p/?LinkID=272376 to install the official provider."
So I go to the website and download the ODAC122011_x64 file from Oracle and unzip it. When I double click the setup.exe file inside the directory I get a yes/no user control account menu and I select yes and then a command prompt window flashes very quickly and then nothing happens. I ran a super slow motion capture from my phone to capture what the command window showed and below is what I see:
Starting Oracle Universal Starter...
Checking monitor: must be configured to display at least 256 color Higher than 256 . Actual 4294967290 Passed
Preparing to launch Oracle Universal Installer from C:\Users\<my username>\AppData\Local\Temp\OraInstall2020 09:20_09-04 {???}
Please wait .._
It does nothing after this I have tried running the oui.exe file under the install subdirectory and get nothing and I have tried running the install.exe file in Oracle Universal Installer that I acquired when installing Oracle DB 19c and I get the following error when I target the install.exe file for installation:
OUI-10118:C/Users/{my username}/Downloads/ODAC122011_x64/Setup.exe is either a directory or a corrupt file. Specify a valid filename.
This is a file that I just directly downloaded from Oracle's website and unzipped to a directory with no spaces in the directory location. I have the latest version of Java installed (JDK 15).
I am not sure the proper work around here. Why can't I get my Power BI to connect to my Oracle ADW table using the methods described in this article. Those are the instructions that I used. It appears that I need this ODAC application but I don't understand why it won't install.
Can anyone help me resolve this issue? Thanks!
Edit: I am using 64-bit on each application.
Update: Still having issues. I checked the log and this is what I am seeing:
Using paramFile:
C:\Oracle\Oracle_PowerBI_ODAC\ODAC122011_x64\install\oraparam.ini
Checking monitor: must be configured to display at least 256 colors. Actual 4294967296 Passed
The number of files bootstrapped for the jre is 0.
The number of files bootstrapped for the oui is 0.
the client version need not match the server version, Removing all other versions, and making sure that I had the x64 version,
You need the latest ODP.net library to use Oracle. Please download it here:http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
I figured out the solution after reviewing this post. Apparently having over 2TB of free space on a hard drive causes this problem. You have to go into command prompt and create a temporary file to get your free space under 2TBs using something like this:
fsutil file createnew temp_1TB_file 1200000000000
Run the setup.exe again and then delete the temp file after.
Update: After doing all this I still was running into the same issues in Power BI. Then I read the troubleshooting notes from this page more closely and realized that I might have found the problem when it said:
If you downloaded Power BI Desktop from the Microsoft Store, you might be unable to connect to Oracle databases because of an Oracle driver issue.
I uninstalled the PowerBI Desktop that I had installed from Microsoft Store and installed it from the download from its website and tried connecting to Oracle ADW again through PowerBI and IT WORKED!!! So much troubleshooting but it finally works!
I am trying to install oracle10g but it comes up with an exception of missing file isqlplus.ini.
iSQLPlus is web-based version of SQLPlus, so I presume that nothing terrible will happen if you ignore this error (presuming that this will be the only error you get during installation). SQLPlus will still work.
Where did you acquire installation files from? The only legal source is Oracle Technology Network's Download section (I'm not talking about Oracle partners nor edelivery); maybe your version is corrupt?
Furthermore, how come you're installing 10g? This is a 4 major versions old database (the newest is 18c, then 12c, 11g, 10g). 10g isn't available any more, and is out of support for 5 years now (unless I'm wrong about it). OK, you may have a valid reason to install it (would you mind to share it with us)? If not, I'd suggest you to install a newer database version.
I've been trying to use Oracle 12c and SQL Developer on a Virtual Machine running Oracle Linux for weeks now but the process gets worse and worse and this is the fifth time I do the same installation again.
I used oracle-rdbms-server-12cR1-preinstall for the preinstallation process, I also added the groups DBA, OPER, BACKUPDBA, DGDBA, KMDBA, and RACDBA.
I then used the./runInstaller file that comes with the Database and went through the installation process without any issues. But when the installation finished and I closed the installer, there is no trace of SQL Developer anywhere.
I'm not even sure if the Oracle Database was actually installed correctly, I've been running this command to see if it returns me anything in order to check if the database is actually installed but I don't know if i'm correct.
Don't give up. You can do it!
The daunting part of Oracle Database is that you are installing the exact same binaries for your learning environment as the largest bank on this planet has installed in their production environment! Oracle Database is a very sophisticated RDBMS and it takes years to learn it!
Oracle Database and SQL Developer
Oracle Database and SQL Developer are two separate products. You can download both from OTN and install them separately.
Database creation
Did you create a database (datafiles) while installing the binaries? There is a checkbox in the installer for that. You can create a database using the tool dbca (Database Creation Assistant) in the $ORACLE_HOME/bin folder.
Instance not running.
pmon is a vital process for the instance (processes + memory) which indicates it hasn't started. Check /etc/oratab if there is a database added to the file. If yes, fire up!
# set the environment
$. oraenv
ORCLDB
# login as sys and start the database
$sqlplus / as sysdba
SQL>startup
Best of luck!
Bjarte