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 : 27-04-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-31191 : Resource string is already checked out
  • ora-01190 : control file or data file string is from before the last RESETLOGS
  • ora-31460 : logfile location string is not an existing directory
  • ora-12419 : null binary label value
  • ora-01158 : database string already mounted
  • ora-19676 : one or more files failed during proxy backup or restore
  • ora-39104 : cannot call this function from a SQL parallel query slave process
  • ora-01299 : dictionary string corresponds to a different database incarnation
  • ora-00363 : log is not the archived version
  • ora-21706 : duration does not exist or is invalid
  • ora-01266 : Unable to create unique file name
  • ora-38499 : expression set already configured for stored/indexed attributes
  • ora-34019 : (MSCGADD03) workspace object is not a LIST PARTITION TEMPLATE.
  • ora-09320 : szrfc: unable to obtain the list of valid OS roles
  • ora-06571 : Function string does not guarantee not to update database
  • ora-00483 : During shutdown a process abnormally terminated
  • ora-21612 : key is already being used
  • ora-14327 : Some index [sub]partitions could not be rebuilt
  • ora-30364 : this level has the same set of columns as another
  • ora-39951 : incomplete values specified for PL/SQL warning settings
  • ora-06128 : NETTCP: unable to create mailbox
  • ora-02875 : smpini: Unable to get shared memory for PGA
  • ora-12679 : Native services disabled by other process but required
  • ora-29516 : Aurora assertion failure: string
  • ora-23540 : Redefinition not defined or initiated
  • ora-30437 : all job queue processes have stopped running
  • ora-36779 : (XSPGPOOLOUT) Invalid parameter value. Olap_page_pool_size must be between must be between 2097152 and 2147483647. Olap_page_pool_size remain unmodified.
  • ora-07500 : scglaa: $cantim unexpected return
  • ora-16817 : unsynchronized Fast-Start Failover configuration
  • ora-31500 : change source string is not a ManualLog change source
  • 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.