what is oradiag_ folder?

I never installed Oracle on my system and don’t know why these directories kept being created, but I finally managed to stop them from reappearing. Here’s how it’s done. First, head over to: cd ~/oradiag_<username>/diag/clients/user_<username>/host_*/trace/ and then head sqlnet.log You should see an error message complaining about a directory not existing for r/w. For me, … Read more

Spring Batch ORA-08177: can’t serialize access for this transaction when running single job, SERIALIZED isolation level

From official doc – 4.3.1 The default isolation level for that method is SERIALIZABLE, which is quite aggressive: READ_COMMITTED would work just as well; READ_UNCOMMITTED would be fine if two processes are not likely to collide in this way. However, since a call to the create* method is quite short, it is unlikely that the … Read more

How can I connect to Oracle Database 11g server through ssh tunnel chain (double tunnel, server in company network)?

Yes, it’s possible. E.g. on Linux, run ssh -N -Llocalport:dbserver:dbport yourname@connectionserver where localport is the port on your machine which will be forwarded (can be 1521 if there is no local instance of oracle running) dbserver is the name or IP of the database server dbport is the port of the database (usually 1521) yourname … Read more

Installing Oracle Instant Client

The instantclient works only by defining the folder in the windows PATH environment variable. But you can “install” manually to create some keys in the Windows registry. How? 1) Download instantclient (http://www.oracle.com/technetwork/topics/winsoft-085727.html) 2) Unzip the ZIP file (eg c:\oracle\instantclient). 3) Include the above path in the PATH. 4) Create the registry key: Windows 32bit: [HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE] … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)