This post started as a shameless copy of
Jeff Smiths Resetting Your Oracle User Password with SQL Developer - but it ended in a trilogy about OSX, Oracle and SQLDeveloper.
In my first
two posts I made myself comfortable with Oracle instant client on my MacBook. Now I want to use it for something more serious, like changing passwords.
Even with all the modifications from previous post SQLDeveloper still does not show the
Reset Password... option. The reason: it just don't know about the library correctly.
First the
PATH as shown in previous post is not set in an
(more...)
In
my previous post I showed how to create an universal binary for Oracle instant client so I don't need to care about 32/64 bit anymore.
Now I try to show how to set some environment variables so I only need to enter
sqlplus and can start my work without preparing anything first.
I know I could do this in my local
.profile, but I was looking for a more centralized way to provide them, maybe on a shared desktop where basic applications are installed just once.
This is all about OSX Mountain Lion - I'm working on 10.
(more...)
Recently Oracle
announced a new Oracle Instant Client for OSX. As always
there is a 32-bit and a 64-bit version available.
I was curious if they can be merged together to an universal binary. The short answer: yes, they can.
It all starts with downloading the instant client zips for 32 and 64 binary. I loaded basic and sqlplus and unzipped them into 2 directories instantclient_11_2_32 and instantclient_11_2_64. I also created a target directory instantclient_11_2.
Then the simple script
for i in `ls instantclient_11_2_32`
do
lipo -create ~/instantclient_11_2_{32,64}/$i -output ~/instantclient_11_2/$i || cp ~/instantclient_11_2_64/$i ~/instantclient_11_2/$i
done
did the work with this
(more...)
At the moment I am trying to travel to Edinburgh for a week of Exadata Prove of Concept.
The basic idea was to leave Vienna on sunday evening and arrive in Edinburgh on sunday night.
As I tried to do an online checkin on Saturday evening - I discovered the flights where shifted to monday evening. - That was not my initial plan as one day missing on a 5 days PoC is not so nice.
After some research I discovered my initial flight from Vienna to Amsterdam was cancelled. But there was still an earlier flight on sunday lunchtime.
(more...)

Oracle Databases has a powerful set of grants and permissions. One of the easy philosophies behind it is just to hide anything a user is not allowed to see. Technically this leads to an error message
ORA-00942: table or view does not exist.
More precisely it should give a text like
table or view does not exist or you are not allowed to access it.
For an ordinary user/schema separation there might be no big difference: If user
A can not read table
B.TAB it's of no value for user
A whether the object does not exist or is just not
(more...)
In this post I try to show what's going on if a local listener dies in a 11gR2 RAC environment. My basic question is: When does (a)
SCAN-Listener knows the local Listener disappeared?
My testcase (a sandbox):

In the Oracle DBA World at the moment
CVE-2012-1675 is a great issue. Oracle announced
some methods how to secure existing systems. But these are sometimes not that easy, and there is no backport for older systems.
As I investigated the problem how to secure a
connection manager I was hinted at
Note:1455068.1.
The solution is somewhat easy: Only allow incoming connections to
your systems. e.g.
(rule=(src=*)(dst=10.220.8.114)(srv=*)(act=accept))In a well designed environment where you can separate your DB Servers from others at low network layers, a set of CMAN
(more...)
As I have to dig into
srvctl more than I liked to do, I figured the documentation is not complete (at least for my installation of 11.2.0.2):
the Documentation for
srvctl upgrade claims
The srvctl upgrade database command upgrades the configuration of a database and all of its services to the version of the database home from where this command is run.
But there is a 2nd option missing totally:
Usage: srvctl upgrade model -s <source-version> -d <destination-version> -p {first|last} [-e <name>=<value>[,<name>=<value>, ...]
in more detail:
srvctl upgrade model -h
Upgrade the Oracle Clusterware resource types and (more...)