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

Last updated on MAY 31, 2017

Applies to:

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

Symptoms

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 apcluste dba 16 Aug 25 18:11 test.sql

3. Invoke SQL*Plus:
$ sqlplus /nolog

SQL*Plus: Release 10.1.0.2.0 - 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
Connected.

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

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms