ORA-13331: invalid LRS segment

Cause : The given LRS segment was not a valid line string.

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

A valid LRS geometric segment is a line string geometry in Oracle Spatial. It could be a simple or compound line string (made of lines or arcs, or both). The dimension information must include the measure dimension as the last element in the Oracle Spatial metadata. Currently, the number of dimensions for an LRS segment must be greater than 2 (x/y or longitude/latitude, plus measure)

update : 23-05-2017
ORA-13331

ORA-13331 - invalid LRS segment
ORA-13331 - invalid LRS segment

  • ora-12722 : regular expression internal error
  • ora-29957 : cannot create a function-based domain index on a string table
  • ora-07569 : slspool: $CLOSE failure
  • ora-16055 : FAL request rejected
  • ora-30350 : specified dimension attribute does not exist
  • ora-28553 : pass-through SQL: invalid bind-variable position
  • ora-21560 : argument string is null, invalid, or out of range
  • ora-00150 : duplicate transaction ID
  • ora-12405 : invalid label list
  • ora-16181 : SGA specified for Logical Standby is too large
  • ora-30155 : An I/O Error occured during an OCIFile function call
  • ora-13385 : error in network manager: [string]
  • ora-10929 : trace name context forever
  • ora-00221 : error on write to control file
  • ora-07231 : slemcc: invalid file handle, seals do not match.
  • ora-12408 : unsupported operation: string
  • ora-02402 : PLAN_TABLE not found
  • ora-19034 : Type not supported during schema generation
  • ora-00606 : Internal error code
  • ora-07282 : sksaprd: string overflow.
  • ora-16163 : LGWR network server host attach error
  • ora-39088 : file name cannot contain a path specification
  • ora-16953 : Type of SQL statement not supported.
  • ora-39156 : error parsing dump file name "string"
  • ora-07260 : spdcr: wait error.
  • ora-32734 : Error occurred when sending Oradebug command to remote DIAGs
  • ora-16107 : all log data from primary has been processed
  • ora-14066 : illegal option for a non-partitioned index-organized table
  • ora-16167 : LGWR network server could not switch to non-blocking mode
  • ora-02460 : Inappropriate index operation on a hash cluster
  • 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.