ORA-12345: user string lacks CREATE SESSION privilege in database link (linkname string)

Cause : Tehr eaer esvrea lpsosbil ecuasse ofrt hsi emsasg:e iFrts,y o uwlilg e ttihsm essaeg fi oyu ruesranm ei nteh escnodd aatbsaes pceiife dwsa ontg rnatde hteC RAET ESSESOINs ytse mpirvlieeg.S eocn,d oyuw ill egtt hsi emsasg ei fteh suenraem pseicfeidi nt h ecnoncets tirn go fteh adtbaaes iln kdfeiintoinw a snto rgatne dteh RCETAES ESSINO yssetmp rviielg.e

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Teh catoiny o utkaed eepnsd puo nteh acues fo htem essaeg:I nt h efris tcsae ,esnuer hta tyuoru srenmaei nt h esceodnayr adtbaaes awsg rnatde hteC RAET ESSESOINs ytse mpirvlieeg.I nt h esceodn acs,e nesruet h euesranm esepcfiide ni htec onnetc tsrnigo ft h edtaaabs elnikd eifntiino awsg rnatde hteC RAET ESSESOINs ytse mpirvlieeg ni htes eocnadr ydtaaabs.e

update : 17-08-2017
ORA-12345

ORA-12345 - user string lacks CREATE SESSION privilege in database link (linkname string)
ORA-12345 - user string lacks CREATE SESSION privilege in database link (linkname string)

  • ora-10865 : Control tracing of notification operations
  • ora-26730 : %s 'string' already exists
  • ora-38458 : invalid operation "string" for XPATH_FILTER_PARAMETERS
  • ora-09350 : Windows 32-bit Two-Task driver unable to allocate context area
  • ora-15179 : missing or invalid alias name
  • ora-31155 : attribute string not in XDB namespace
  • ora-09934 : Link of current password file to old failed.
  • ora-10932 : trace name context forever
  • ora-32630 : multiple assignment in automatic order MODEL
  • ora-25132 : UNIQUE constraint (string.string) disabled and validated in ALTER TABLE EXCHANGE PARTITION
  • ora-37601 : (XSPGERRTEMP) Ran out of temporary storage while writing to analytic workspace with ID=number. Free some temporary storage immediately. You can do so, for example, by DETACHING an analytic workspace.
  • ora-27005 : cannot open file for async I/O on device not supporting async
  • ora-29386 : plan or consumer group string is mandatory and cannot be deleted or modified
  • ora-16245 : paging in transaction string, string, string
  • ora-02335 : invalid datatype for cluster column
  • ora-28052 : the account is disabled
  • ora-28238 : no seed provided
  • ora-19577 : file string is MISSING
  • ora-13422 : invalid model coordinate parameter
  • ora-25962 : join index prevents multitable insert or merge
  • ora-09361 : Windows 3.1 Two-Task driver unable to lock context area
  • ora-37101 : (XSVPART01) Partitioning information can only be given for variables dimensioned by a PARTITION TEMPLATE.
  • ora-02076 : sequence not co-located with updated table or long column
  • ora-26508 : null materialized view connection
  • ora-00091 : LARGE_POOL_SIZE must be at least string
  • ora-06548 : no more rows needed
  • ora-01041 : internal error. hostdef extension doesn't exist
  • ora-19240 : XP0020 - context item must be node in an axis expression
  • ora-21708 : inappropriate operation on a transient object
  • ora-16525 : the Data Guard broker is not yet available
  • Oracle Database Error Messages



    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.