Isqlplus error SP2-00908
Hello to all,
I am currently getting the below error message
SP2-00908: iSQL*Plus may have been restarted without being properly shut down
I have checked the $ORACLE_HOME/bin/isqlplusctl script and found everything ok.
Also checked metalink notes 289815.1 and 273977.1 but unable to solve the error.
So please suggest me to solve this error.
OS=Linux
Database=10g RAC having 2 nodes
Thanx
Achyot
See if following thread helps.
SP2-00908 error on MAC OS X with 10g
Similar Messages
-
while login to isqlplus iget the error message
SP2-00908: iSQL*Plus may have been restarted without being properly shut down
we hav two servers. one is database server and other is fallback database server. we have installes oracle10g db on these servers. they are in cascading resource group. when i moved the resource group to fallback database server and oracle instance started there. then i shifted the resource group back to database server. and then started the instance and isqlplus.
after this the problem started.we are having IBM 7040 p670 server. created 4 LPARS DB1, Fallback DB of DB1, Application server 1, Application server 2. AIX is installed on all partitions. DB1 and DB2 are in cascading resource group. DB1 is primary. DB2 is fallback.
oracle .profile is attached
umask 022
export ORACLE_BASE=/oracle/oracle10g
export ORACLE_HOME=$ORACLE_BASE/10.1
export ORACLE_SID=test
export ORACLE_TERM=xterm
export DISPLAY=10.4.1.10:0.0
export ORACLE_OWNER=oracle
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin:/usr/sbin:/usr/bin:/
etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin;
export LIBPATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:$ORACLE_HOME/ctx/lib:/l
ib:/usr/lib:/usr/local/lib:$LIBPATH;
export CLASSPATH=$CLASSPATH:$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbm
s/jlib:$ORACLE_HOME/network/jlib; -
Error: sp2-0310 unable to open file c:\desktop\oracle\table.sql
I am not able to open any files that I have downloaded and put into a file path. I keep getting the error sp2-0310 unable to open file. I made sure to save my files in a path with no spaces. What can I do to resolve this error message.
Thanks.As already said, you need to verify you've really got the correct path. After that, you can also check to see that the file name is really table.sql. If you created the file in a simple text editor, sometimes the editor will append .txt to the file name. But if you have "Hide Extensions" turned on in Windows Explorer, then you wouldn't see the .txt extension. Check the file name and make sure it really is as you think and doesn't have another extension on it.
Finally, how are you trying to use the file in SQL*Plus? If the path and file name are correct, you should be able to do this:
SQL> get c:\desktop\oracle\table
and it should bring up the file into the SQL*Plus buffer. Or, you should be able to use:
SQL> @c:\desktop\oracle\table
to execute the contents of the file.
If you are simply using:
SQL> @table
then you could add the SQLPATH environment variable to point to c:\desktop\oracle and that would allow you to skip entering the path.
Hope this helps,
Karen -
Error SP2-0027 while using explain plan
I'm using explain paln command in order to get the tables
acceeded by a SQL query.
When I use the command with some of them, that's OK.
But when I use it with a query of 4999 characters, it gives me
this error message:
SP2-0027: Input is too long (> 2499 characters) - line ignored
Has anybody an idea to solve this problem or to change this
limit of 2499?user12043927 wrote:
Open the file (or copy the sql) in a text editor and then resave the file as a different file type.
In Microsoft Word, you click on File, Save As, then select file type 'text only with line breaks' and save the file. Once this is done, you can successfully run the script from SQL*Plus or Server Manager.You never get a second chance for your first impression.
As your first post you resurrect a ten year dead zombie post.
SWEET!
Can you find a post that is older & dormant to boost your post count? -
Error SP2-0640 when installing Statspack
Oracle 9.2.0.1.0 . Windows.
Trying to install statspack, keep getting the same error in spctab.lis
SP2-0640: Not connected
I have read this is a connect string issue. I have read I should run the spcreate.sql even as system instead of sys. I have unsuccessfully installed, then used the spdrop.sql to return.
I connect through SQL*Plus as this: sys/***@***** as sysdba - all on the one line.
I am able to create the perfstat user and allocate required tablespace and temp space, but when creating STATS$... tables the process fails with said error.
If I try to run later a query such as exec statspack.snap; I get this error
PLS-00201: identifier 'STATSPACK.SNAP' must be declared
Sources used:
http://www.akadia.com/services/ora_statspack_survival_guide.html
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm#21605
I read that one should run the three scripts individually:
spcusr.sql as sysdba
spctab.sql and spckg.sql as perfstat
Thanks.
Message was edited by:
Dan Asqlplus sys/***@*** as sysdba
has never worked on Windows
It should be sqlplus "sys/***@** as sysdba"
The first document you claim to have read actually does use the double quotes.
Posting an error message without context in this case is vague.
The PLS-00201 demonstrates statspack doesn't exist in the user PERFSTAT.
As you are calling an Ascii script, issues with a readable script usually can be resolved by reading the script.
When I read the script my conclusion is you never created the PERFSTAT user.
In either case, if you don't post spcusr.lis nor spctab.lis, I can only recommend you troubleshoot this yourself. It is not that difficult and you could actually learn something.
Sybrand Bakker
Senior Oracle DBA
Sybrand Bakker
Senior Oracle DBA -
Error - SP2-0135: symbol _e is UNDEFINED
Hi,
Can someone tell me how I can get rid of this message:
SP2-0135: symbol _e is UNDEFINED
when I log in to sqlplus:
[oracle@linux-sken$ sqlplus user@db1
SQL*Plus: Release 11.2.0.1.0 Production on Sun Jan 24 05:44:31 2010
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:**********
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining,
Oracle Database Vault and Real Application Testing options
SP2-0135: symbol _e is UNDEFINED
SQL>
Thanks.
Edited by: avtandil on Jan 24, 2010 5:48 AMHi,
Are you facing this problem when you login using sqlplus.
If yes then look for login.sql/glogin.sql under $ORACLE_HOME/sqlplus/admin and check what is written for _e
If not please elaborate when you get this error?
Regards
Anurag -
Hi all
I got the following error while starting a database.please help me
SP2-0642: SQL*Plus internal error state 2286, context 0:0:0 Unsafe to proceedHi,
Please look at the notes.
SP2-0642: SQL*Plus Internal Error State 2130 ORA-24315: Illegal Attribute Type [ID 1060880.1]
"SP2-0642: SQL*Plus internal error state 2090, context 0:0:0" Error Encountered While Running Select Statement [ID 555757.1]
SP2-0642: SQL*Plus internal error state 2090, context 0:0:0" Error Encountered While Running Select Statement [ID 555757.1]
They are either Windows related or general.
Regards, -
Error SP2-0310 while running @utlsampl.sql
After installing Oracle on Win 98 I
1.Login sql+ as system and manager
2.run @utlsampl.sql
3.the error got is SP2-0310 unable to open file utlsampl.sql
Is there a place to look up SP2 errors
Any thoughts.
Thanks in advanceThe file is located in $ORACLE_HOME\rdbms\admin. If you do not
specify a fully qualified path then SQL*Plus will look in its
default directory. Try @%ORACLE_HOME%\rdbms\admin\utlsampl.sql -
Hi
Why I have this error?
SP2-0734: commande inconnue au début de "INFOBLEU ..." - le reste de la ligne est ignoré.
The code is for count the rows
SET pages 0
SPOOL TABLE_COUNT.SQL
SELECT owner, TABLE_NAME ,'SELECT ''' || TABLE_NAME ||''', COUNT(1) FROM '|| TABLE_NAME ||';' FROM ALL_TABLES WHERE owner IN('FRAUDE','INFOBLEU');
SPOOL OFF
SPOOL TABLE_COUNT.LOG
@TABLE_COUNT.SQL
SPOOL OFFI founded
SET pages 0
SET lines 300
SET echo OFF
SET feedback OFF
SPOOL TABLE_COUNT.SQL
SELECT 'SELECT '''|| owner ||','|| TABLE_NAME ||''', COUNT(*) FROM '|| TABLE_NAME || ';' FROM ALL_TABLES WHERE owner IN('FRAUDE','INFOBLEU');
SPOOL OFF
SPOOL TABLE_COUNT.LOG
@TABLE_COUNT.SQL
SPOOL OFF
Thanks anyway -
I am getting a SP2-0027 (input too long - over 2499 characters) when trying to do a table copy.
essentially:
COPY TO user/pass@db CREATE Table1 USING SELECT field1, field2,....fieldn where so many fields make the string too long.
Is there a way i can break this up to put on multiple lines?Do you need to list all fields ? Can you just say "select *" ?
Other options are :-
create a database link
create table mytable@remotedb as select * from mytable"
or
create the remote table and database link, then
insert into mytable@remotedb select * from mytable
Edited by: Robert Geier on Oct 15, 2009 4:29 PM -
Error SP2-0333: Illegal Spool File Name: (bad character: ' ')
Below is my spool file logic just to test outputting to a spool file with a date in the spool file. The date part works fine. I can see the date coming out in the error message. It doesn't like the spaces, but I am not in control of the folder names. Any ideas? I have tried putting single and double quotes around it to no avail. I also tried using the concatenation operator || to separate the path from the filename and that didn't work, either.
col sdate new_value sysdt
select to_char(sysdate,'YYYY-MM-DD') sdate from dual;
SPOOL \\Nsgnvl_files\rco\Linecost Audit\General NA Info\CLLI_Code_Discrepancy_Reports\&sysdt.SendToLCAnotInRepository.txt
SELECT TO_CHAR(sysdate) from dual;
spool offExample :
SQL> set escape |
SQL> spool "c:\test| dir\foo"
SQL> select sysdate from dual;
SYSDATE
2007-09-27 16:31:30
SQL> spool off
SQL> exit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Prod
ction
C:\>cd test dir
C:\test dir>type foo.lst
SQL> select sysdate from dual;
SYSDATE
2007-09-27 16:31:30
SQL> spool off
C:\test dir>Message was edited by:
Paul M.
but I am not in control of the folder namesSorry, I didn't read carefully..... -
Error sp2-0224 - invalid starting line number
I am getting this error while running a sql script. Couldnt find the message in the server Messages. where would the online docs for this be located
set linesize 200;
set pagesize 1000;
del host z:\ariba-files\sql\missinganids\linkdblog.txt;
SPOOL Z:\ariba-files\sql\missinganids\linkdblog.txt;
col id format 99999;
col organid format a15;
col exchangeanid format a15;
col orgname format a30;
col exchangename format a30;
COLUMN an_id FORMAT A15;
COLUMN exchange_org FORMAT 999999;
COLUMN name FORMAT A25;
set escape on;
select unique s.anid organid, s.id, s.name orgname, p.anid exchangeanid, p.name exchangename from or
g@an s, org@an p, ix_exchangeorg e, ix_org o where o.an_id is NULL AND o.exchange_org = e.id AND s.
name = o.name AND s.parent = p.id AND p.anid = e.an_id order by e.an_id, o.exchange_org;
set escape off;
SPOOL off;If you are shelling out to the OS, then:
del host z:\ariba-files\sql\missinganids\linkdblog.txt;
SHOULD BE
host del z:\ariba-files\sql\missinganids\linkdblog.txt; -
Error SP2-0042. PLEASE HELP!!!
I am trying to run a .sql file from SQL*Plus. I typed "start c:\test.sql" at the command prompt and am getting "SP2-0042: unknown command "~S" - rest of line ignored". Can anyone tell me why am I getting this and how to fix it.
Thanks in advance for your time and input.
L.S.Thanks, Inaam.
I discovered this morning that the file was using 'unicode text document'. once I changed it to 'text document' it ran successfully.
Larry -
Error - SP2-0103: Nothing in SQL buffer to run - With only one user
I receive this error when we login to the sqlplus tool using - sqlplus /nolog command - sql prompt. This error is specific to one of the users in the Solaris[5.10] unix box. In the other users we do not receive this message.
Workarounds tried -
1. Verfied the glogin.sql under $ORACLE_HOME/sqlplus/admin for any additional "/" characters as suggested by metalink
2. Tried to clear the buffer.
Please anyone help me on this issue.Sounds like a local login.sql exists for that user and that results in the error.
Refer to http://www.jlcomp.demon.co.uk/faq/glogin.html for details. -
ISQLPlus stopped working on 10g
After install of production 10g database on Mac OS X iSQLPlus was working (so I know everything it needed by way of object libraries is there).
After reboot I get the error "SP2-00908: iSQLPlus may have been restarted without being properly shut down."
isqlplusctl start
gives a clean result "iSQL*Plus started."
Everything else works fine. I suspect therefore that some kind of log file or log file entry is left behind that stops this working. It has worked so I know everything is there.
Thanks
PaulThanks Alison
what you said pointed me in the right direction to solve the problem.
My system did have ORACLE_HOME and LD_LIBRARY_PATH defined.
However, the isqlplusctl.pl script is called from $ORACLE_HOME/isqlplusctl unix shell script. This script has a comment from an oracle programmer meerabat dated 11/18/04 where an environment variable DYLD_LIBRARY_PATH is set for MACOSX. This variable is conditionally set according to an environment variable uname which was undefined on my system.
So I set the uname variable and the DYLD_LIBRARY_PATH to /System/Library/Frameworks/JavaVM.framework/Libraries in my .bash_profile and everything now works. The isqlplusctl script now adjusts the DYLD_LIBRARY_PATH correctly to look in oracle libraries first.
I also noticed that LD_LIBRARY_PATH included an $ORACLE_HOME/lib32 assignment which is not in my $ORACLE_HOME.
Perhaps Oracle could tidy up these scripts a bit?
Paul.
Maybe you are looking for
-
Hi, I am using SQL Server 2008 R2 SP1. This simple query, "SELECT CustomerID FROM Customer", returns 42900 records. When It is executed within SQL Server Management Studio (SSMS), it literally takes zero (0) second. However, when this same query is
-
Source System in Transformation
Hi Experts, Here is my scenario. We have number of BW Systems (RBW1 to RBW5 ) for each continental regions. All these should load data to one Global BW System ( GBW ). RBWs have ODSR1 to ODSR5 and all of it will be connected to DSOG1 in global syst
-
Once I send 1 string, the rest are cut off, any ideas?
Hello everyone. For some reason when I send my first string through the socket, everything works fine. But after that Its cutting off the first 2 or 3 characters of the string and I have no idea why because I'm flushing the output buffer before and a
-
Recommendations for best photo quality in a slideshow video?
I have a project that I'm working on where photo quality is a priority to the customer. I'd never paid attention previously that the final product was less than perfect with the images... Can someone recomend what best procedure would be and what se
-
Html for an applet with swings in 1.4.1 or 1.3.1
Can anyone send me an html document to launch the applet in a browser. I have very basic html, but I need one that uses the appropriate plug-in and that has parameters such as height, width, etc. My applet uses tabbed panes, dialog boxes and combobox