Error while installing Oracle Apex - oracle

I want to install Oracle Apex 5.1.1 in my Oracle 11g database. While installing it was not properly installed so I uninstalled it. I cross checked it with dba_registry table that there is no more Oracle Apex installed. But when I tried to install it again I am getting an error that already there is an Oracle Apex installed. I crossed checked again with db_registry table but there is no Oracle Apex installed.
I am getting the error:
'APEX_050100' already exists.
When I checked in the dba_segments table I found there is an owner 'APEX_050100'. I don't know if this is creating issue.
I have a database connections between local and production region which is in a different virtual machine. Both are having same username and password. The production one has Oracle Apex installed. I am trying to install the Oracle Apex in my local one.

You can try running the #apxremov.sql script before installation starts. This script is used to remove all currently installed versions of Oracle Apex from the database.

Oracle APEX will definitely work on Oracle 11. Just run #apxremov.sql as sysdba within APEX directory (on the server) and you'll be good to reinstall it.

First of all Apex 5 will not work on Oracle 11, it only works on 12. The problem you are having is due to existing schema, possibly a failed installation. See Apex docs for "failed installation" removal step.

Related

Toad for Oracle, No valid Oracle clients found. You need at least one 64-bit client properly configured

I get this error when I launch Toad for Oracle.
No valid Oracle clients found. You need at least one 64-bit client properly configured.
This has been happening since I upgraded the Oracle Client to Oracle 12c from 11g.
Here is what I have done so far to try to resolve it based on internet research:
I checked the path variable, it's currently set to C:\xyz\Oracle\ora12.1\client_2\bin, and there is an Oracle installation at this path.
I checked the TNS_ADMIN variable, it is currently set to C:\xyz\Oracle\ora12.1\client_2\network\admin. This also appears to be valid and correct, there is a tnsnames.ora file under this path.
SQL Plus works without issues, and Oracle SQL Developer also works without issues.
Is there anything else I can try to resolve this issue? Unfortunately, uninstalling and reinstalling Toad is not an option at this point as I do not have access to a new setup.
The issue is due to not having the Oracle Database installed on your computer.
You can download the database here: https://www.oracle.com/database/technologies/appdev/xe.html
Once the zip file is downloaded and extracted, run setup.exe. Once that is complete, the Oracle DB will be installed on your machine and the error will no longer appear.
With TOAD you need to have oracle client installed on your computer and you must configure the related TNSNAMES.ORA to connect to the server.
If you use SQLDeveloper you can do without oracle client installation.

How to install two oracle versions, 11g and 12c?

I want to install Oracle 11g and 12c in my computer for 2 diferent applications.
I have already Oracle 11g installed and it works very well, but when I installed 12c it didn't work and 11g stop running not knowing why. I had to uninstall it, and now 11g is working again, altought I still needing to install 12c but I don't know how to do it wothout crashing 11g.
I want to know if someone of you can tell me how to do it and how can I change between both instances.
Thanks.
If you want to install both Oracle 11GR2 and 12C, then install in different Oracle Homes.
Please note that when you install Oracle 12C, the service account for that database, will override any other Oracle permissions. So if you're using directories where your table-spaces are living in the same place for each database version, then the permissions for 11G will be overridden by 12c permissions. You'll need to manually adjust the permissions on the file locations respectively.
If you have troubles with listeners, then you'll need to indicate different listeners and their associated Oracle Home.
Please take a look here if you find any troubles with the listeners after having both databases installed.: Oracle 11g and 12c on same windows machine, 12c listener fails to start
If you have any problems then you can always review the trace files on the database, to determine why one isn't starting.
$ORACLE_HOME\virtual\diag\rdbms{SID}{SID}\alert\log.xml
OR
$ORACLE_HOME\virtual\diag\rdbms{SID}{SID}\trace\

APEX can't access login page fresh windows fresh install

I am trying to install apex 18 on oracle database 18 on a fresh windows 10 the installation process goes with no errors and all set
and there is not other software that may result in port interfere
when I installed the oracle I did not create a container there is no orclpdb installed some tutorials mentioned that I should not create it in order to install the apex
when I run the command to check apex status it returns valid
I installed the apex using
sqlplus / as sysdba
#apexins sysaux sysaux temp /i/
#apexldimg c:\software
#apexconf
please help this is my 18th try I have changed os changed oracle version and apex I know this is an already asked question but noun of the previous solutions helped me
when I try localhost:8081/apex/apex_admin I get a user name and password dialog:

v$version still showing 9i in sql developer after upgrade to 10g

I was working on Oracle 9i. I got it upgraded to 10g 3 hr. back. But when I query v$version to check the version in SQL Developer, it shows Oracle 9i.
Could you please let me know if I need to modify any settings in the SQL Developer tool to reflect the upgraded version?
Thanks,
Savitha
If you are referring to a client upgrade, you can get the Oracle Home being used by SQL Developer by clicking Help->About->Properties and checking the value for oracle.home. Usually the name of the Oracle Home will give you an indication of the version of Oracle that you are using. If not, navigate to the BIN directory in ORACLE HOME and execute sqlplus /nolog.

Installing Oracle XE (older) AFTER installing APEX 10g?

Awhile back I installed the Oracle 10g XE database on my dev machine. Since then, I installed Application Express over top of the XE installation. In other words, it's APEX running on 10g. I found I don't really need APEX after all (it's turned out I'm developing in ASP.NET and Oracle instead), and I recall having more of a GUI to manage the XE 10g instance BEFORE I installed APEX.
Can I remove APEX while leaving my original XE installation? I tried to re-install the original XE, but I didn't see a way of doing this without installing a new HOME (which I'd rather not do; it confuses me). TIA.
Oracle XE comes with APEX installed, along with a ( from memory ) APEX based XE management tool. What it sounds like you actually did was was upgrade/over install a newer version of APEX, then remove APEX all together.
Probably the easiest thing to do would be to backup your user schema's using exp or expdp ( data pump ) , uninstall XE, reinstall XE and then import your user schema's. This will get XE back to how you want it.
There's a bunch of stuff (such as the PL/SQL embedded gateway) that is there irrespective of what you did. You also get a bunch of stuff under the FLOWS_020100 (I think).
What happens when you install, for example, Apex 3.2 on XE is that it creates a new schema (FLOWS_030200 or APEX_0400000 or whatever), and repoints a bunch of synonyms from FLOWS_020100 to the new schema.
Sometimes (because of the space restrictions in XE) you drop the FLOWS_020100 schema. If so, your best bet is probably to copy out anything in the database you need, un-install XE and reinstall it.
If you still have the old schema, you can have a go at following the 'reverting' instructions as you would for a failed upgrade.
AFAIK Apex installs web server and some scripts into the database. Your gui to manage xe should change, though. Are you sure you are accessing the same port?
Also, there is SqlDeveloper, quite good tool for oracle databases.
Finally, have you tried oracle ADF for application development?

Resources