My Oracle Support Banner

Error 45 Initializing In SQL*Plus When Running A Sql Script From OCFS (Doc ID 281450.1)

Last updated on FEBRUARY 01, 2023

Applies to:

SQL*Plus - Version to [Release 9.0.1 to Oracle10g]
Information in this document applies to any platform.


Executing a SQL script file, located on a non-local disk (filesystem), errors out with the following:
Error 45 initializing SQL*Plus
Internal error

Steps to reproduce are shown by example as follows:

1. Create a test.sql script on OCFS filesystem containing sql:
startup nomount

2. Check that test.sql script is in correct directory:
$ ls -l /ocfs/scripts
total 1
-rw-r--r-- 1 <user> <group> 16 Aug 25 18:11 test.sql

3. Invoke SQL*Plus:
$ sqlplus /nolog

SQL*Plus: Release - Production on Wed Aug 25 18:17:41 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.

4. Connect to database:
SQL> connect / as sysdba

5. Execute script:
SQL> @/ocfs/scripts/test.sql
Error 45 initializing SQL*Plus
Internal error


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.