SQL Plus Log Infor 8i
I saw a question posted from someone on June 17 about logging into SQl Plus,, although it was for the 9i version and I wanted to know if it was the same user name,password,host string for Oracle 8i? The default settings you gave to (Bill)?
Thanks Marianne (newbie)
Marianne,
The default username, password and host information has been the same through many, many versions of Oracle. The Oracle9i Release 2 version is slightly different in that you set the passwords for SYS and SYSTEM (no default passwords).
Alison
Similar Messages
-
SQL PLUS log input and output to file
What is the way to log every activity in sqlplus, input and output to a file (interactively).
I managed to do it using rlwrap and tee but the only problem is, it is displaying the password and logging it into file as well :D. I can remove it from the logfile but am unable to prevent from showing the password.
I hope many might have wanted to do this, and some might have been succeeded. Please share your ideas!N:\tools>sqlplus siva
SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 19 03:12:04 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password: password
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining optionsThe password is displayed on screen and it is in the log file as well.
Here is the some environmental setup;
I've installed cygwin with rlwrap package
I've renamed the original sqlplus.exe to _sqlplus.exe
I've placed mysqlplus.bat and sqlplus.bat in N:\tools and this location includes in the pathwhere sqlplus.bat contains
@echo off
rlwrap -a"Enter" mysqlplus.bat %*perhaps this is more related to linux commands but I want to log input and output of sqlplus!
:) -
Hi ,
I have an oracle instance on my laptop . now i log into my laptop as administrator on the laptop's domian . when i log on like this i am able to log into SQL*Plus . but when i log into my laptop on my companies domain and try to start up SQL*PLUS i am unable to do so it says end of file communiction even though the ORacle Server Instance up( i am looking at the instance in the NT Services )
IS there a settings which has to be set so that i can log on to SQL*Plus when logging to my laptop on my company domian
Thanks
RavinderYou may want to check to see if the LISTENER is running. Often the administrator of a box can login without the listener running, but anyone else cannot.
-
Oracle SQL*PLUS Log-In Problems
I installed Oracle 9i Standard Edition yesterday and I logged in fine with my sys and system username and password in Oracle SQL*PLUS.
Today when I type in the same username/password, it doesn't let me access the software and gives me "error 01033: Oracle initialization or shutdown in progress" and shuts down in three tries...
I am not sure why so...any help?Like the error message says, the Oracle initialization is in progress. That means that it can't log you in because it is still busy starting up. If you try to logon three times before it is done starting up, it will exit the logon screen. Try waiting a while, perhaps a few minutes, before you try to logon. The slower your system is, the longer it may take to start up. For example, if you are using Windows on a PC, every time you start your computer, it starts your Oracle database along with everything else that is started automatically and, if you have a lot of stuff that loads on startup, it may take several minutes.
-
[oracle@localhost ~]$ set oracle_sid=oraclee
[oracle@localhost ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Nov 5 09:35:30 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Error 1:
SQL> connect sys as sysdba
Enter password:
Connected to an idle instance.
SQL> shutdown immediate
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
SQL> shutdown
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
SQL> startup force
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/home/oracle/oracle/product/10.2.0/db_1/dbs/initorcl.ora'
Error2:
I created a user through em as gg identified by gg it was succesful ,but i was not able
to login using it.......this s the error which i got , whats the pbm ?
SQL> connect gg
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
Edited by: user12076598 on Nov 4, 2009 10:55 PMSet the exact SID. Then statrup.
SQL > startup
OR
SQL > startup pfile = '/home/oracle/oracle/product/10.2.0/db_1/dbs/initorcl.ora';
Regards
Asif Kabir -
Not entirely sure if I've posted in the correct area..
I've recently installed the Oracle 11g. Installation process seemed fine but I'm unable to access any components of the software (eg. SQL Plus)
When I try to enter my UN and PW, I keep getting the ORA-01017: INVALID USERNAME/PASSWORD: LOGON DENIED.
If I'm not mistaken, isn't this meant to be the default username and password set during the installation process? (un in this case was orcl, and I set my own password supposedly)
I've installed it on my home computer so, I'm not aware of any dba or what not ;S
OS: Windows 7 Ultimate
Please let me know of any more information you require. Thanks!
On a side note, I also cannot access the SQL Developer- says it cannot find the path to java.exe. I have installed the JDK 7 and written the path down but still does not work. Help with this is also appreciated but, the SQL Plus issue is predominant ;x
Edited by: 992341 on Mar 6, 2013 8:13 PM992341 wrote:
Not entirely sure if I've posted in the correct area..
I've recently installed the Oracle 11g. Installation process seemed fine but I'm unable to access any components of the software (eg. SQL Plus)
When I try to enter my UN and PW, I keep getting the ORA-01017: INVALID USERNAME/PASSWORD: LOGON DENIED.
Believe this & EVERY Oracle error code & message.
BTW - With V11 passwords are CaseSenSitive; "FUBAR" is different from "fubar", etc.
I am curious regarding to which USERNAME are you trying to login as?
If I'm not mistaken, isn't this meant to be the default username and password set during the installation process? (un in this case was orcl, and I set my own password supposedly)
I've installed it on my home computer so, I'm not aware of any dba or what not ;S
OS: Windows 7 Ultimate
Please let me know of any more information you require. Thanks!
On a side note, I also cannot access the SQL Developer- says it cannot find the path to java.exe. I have installed the JDK 7 and written the path down but still does not work. Help with this is also appreciated but, the SQL Plus issue is predominant ;x
Edited by: 992341 on Mar 6, 2013 8:13 PMHow do I ask a question on the forums?
SQL and PL/SQL FAQ -
OCILogon2 fails to logon even though SQL*Plus succeeds
I have a problem with the following code in Oracle 10g r1:
CheckError(p_err,OCILogon2(p_env, p_err, &p_svc,
(CONST OraText *)"username01", (ub4)10,
(CONST OraText *)"password", (ub4)8,
(CONST OraText *)sServer, (ub4)15, OCI_DEFAULT));
OCILogon2 is returning -1 and OCIErrorGet called on p_err gives:
ORA-12154: TNS:could not resolve the connect identifier specified
Oddly, when I try to call SQL*Plus and login with the same user name, same password, and same server, SQL*Plus logs on properly.
And this happens on my computer only, not on other computers.
Is there a cause I should be looking for?
-- Darren --Apparently the following did the trick:
1. Uninstall the Oracle Client following the instructions at:
http://www.oracle-base.com/articles/misc/ManualOracleUninstall.php
(I'm running Windows XP).
2. Reinstall the Instant Client (I used version 10.1.0.5).
3. Set the TNS_ADMIN and SQLPATH and PATH environment variables.
-- Darren -- -
Can I use username = system when I log into SQL plus?
I am new to Oracle and SQL plus and I have some questions to ask?
I managed to get SQLPlus working using sqlplus system/password
When I installed Oracle I created a database called ORCL and set a password. My question is when I am using SQL Plus is it OK
to use username= system. The problem is that I created 3 tables in this database but when I list the tables I get about 181 tables returned.
It seems that I have logged into the master database.
In fact I just used the password I set when I installed Oracle (not the @asi past)
from:
http://docs.oracle.com/cd/E13212_01/wles/docs42/installadmin/database.html
Configuring an Oracle Policy Database
To configure an Oracle policy database, you must create the policy database, create a security role and a user, and grant the security role and user access.
To configure a policy database, perform the following steps:
Open a command window, run the Oracle SQLPlus utility, and login as user SYSTEM with the password you set for that user account when you installed the Oracle database software.
sqlplus system/password@asi
where: password is the password you set for the system account when you installed the database software and asi is the database instance name.
The name of the database I set up when I installed Oracle was ORCL.
I can set up a data source using WebLogic Server Administration Console using the following data:
Database name: ORCL
Host name: localhost
Port: 1521
Database USer Name: System
Password: the password I set when I installed Oracle
This is different form the book I am using where the writer used the database name XE as in the following:
Database name: XE
Host name: localhost
Port: 1521
Database USer Name: OE
Password: .......
Confirm Password: .......
Anyways I managed to create some tables using SQL script. I assume these are in the ORCL database.
SELECT TABLE_NAME FROM USER_TABLES will list all the tables in the database.
Apparently there are a lot more tables in this database (181 tables) than I thought. I have only created 3 tables.
Article
Section
Edition
Is this how it should be?
Also I am trying to create another table Catalog but SQLPlus is not allowing me to do this!
ERROR at line 1:
ORA-00955: name is already used by an existing object
Next I create an EJB project using Eclipse (Oracle Enterprise Pack for Eclipse). Then
I add a JPA (Java Persistence API) project facet. In this I specify the following:
SID: ORCL
Host: localhost
Port Number: 1521
User name: System
Password: The password I set when I installed Oracle.
Here there is a GUI called Select tables which gives a list of tables I assume the same list of table
I had listed in DOS however there appears to be more tables here.
Anyways, I am just wondering am I on the correct path and would this Database I am using be the
ORCL database. Would all these tables be tables that are in the ORCL database?
Thank you in advance for your help.
Brian.Hi Shannon,
Thanks for visiting Apple Support Communities.
You can sign in to another iTunes Store account on your Nan's iPad by following the steps in this article:
iOS: Changing the signed-in iTunes Store Apple ID account
http://support.apple.com/kb/ht1311
Best,
Jeremy -
Oracle 8i Lite: logging to sql plus - uid, password, host string - whats that
If i install "Oracle 8i Lite" (just locally, not networked). There are two important things : "Navigator", and "SQL Plus". If in navigator, I create a local database called "xxx" (tables under 'system' user). Then if i need to query - i go to SQL Plus. Fine, but how do we log in - what is the "host string" ?.
The login needs, Userid, Password, Host String. In some docs, it said the userid, password for 'system' account is 'system, manager' respectively. Anyways, now the host string , i had read the 'host string' will be like "@databasename", so I think for me, it will be "@xxx"
But the way, I'm understing, i cant log, and SQL Plus says something "TNS: could not resolve service name". Maybe i have to something with that tnsnames.ora file....?
Incase, you could give ANY information, kindly inform.
Thanks
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mulyadi Kurniawan ([email protected]):
Host string usually refers to the host string that is stored in your TNSNAMES.ORA file. You can open TNSNAMES.ORA with a text editor.
If you get "TNS: could not resolve service name", it's either you have not start the database or your configuration in TNSNAMES.ORA is wrong.<HR></BLOCKQUOTE>
hi,
iam getting the same error(the TNS thing)can you be a bit more explaining regarding how to solve the problem.
thanks
null -
Oracle10g - getting error when tried to log in using SQL plus
I have installed Oracle Database 10g with following settings
A) In Select Installation Method with basic installation
1) Global Database Name: orcl
2) Database Password: srinu
B) In Database Configuration Assistant shows following information
Global Database Name: orcl
System Identifier(SID):orcl
c) Password management
User Name SYS and SYSTEM shows accounts are not locked and password shows empty
I have tried to log in using scott/tiger, SYS/srinu, SYSTEM/srinu, SYS, SYSTEM with providing no pass word
Could you please provide me the details to connect Databse from SQL plus editor
I have all the screen shots of the above settings
I will appreciate any helpPlease find the commands and respective results below
D:\Documents and Settings\Administrator>SET
ALLUSERSPROFILE=D:\Documents and Settings\All Users
APPDATA=D:\Documents and Settings\Administrator\Application Data
CLIENTNAME=Console
CommonProgramFiles=D:\Program Files\Common Files
COMPUTERNAME=SRINU
ComSpec=D:\WINDOWS.0\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=D:
HOMEPATH=\Documents and Settings\Administrator
LOGONSERVER=\\SRINU
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=D:\oracle\product\10.2.0\db_2\bin;D:\WINDOWS.0\system32;D:\WINDOWS.0;D:\WIN
DOWS.0\System32\Wbem;D:\Program Files\Java\jdk1.5.0_19\bin;D:\Program Files\Apac
he Software Foundation\Tomcat 6.0\bin;D:\Program Files\Java\jre1.5.0_19\lib;D:\o
racle\product\10.2.0\db_2\BIN
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PERL5LIB=D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWin32-x86;D:\oracle\prod
uct\10.2.0\db_2\perl\5.8.3\lib;D:\oracle\product\10.2.0\db_2\perl\5.8.3\lib\MSWi
n32-x86;D:\oracle\product\10.2.0\db_2\perl\site\5.8.3;D:\oracle\product\10.2.0\d
b_2\perl\site\5.8.3\lib;D:\oracle\product\10.2.0\db_2\sysman\admin\scripts;
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0d08
ProgramFiles=D:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=D:
SystemRoot=D:\WINDOWS.0
TEMP=D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
TMP=D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
USERDOMAIN=SRINU
USERNAME=Administrator
USERPROFILE=D:\Documents and Settings\Administrator
windir=D:\WINDOWS.0
============================
D:\Documents and Settings\Administrator>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAY-2010 03:08
:55
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 15-MAY-2010 23:44:31
Uptime 0 days 3 hr. 24 min. 25 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File D:\oracle\product\10.2.0\db_2\network\admin\listener.o
ra
Listener Log File D:\oracle\product\10.2.0\db_2\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.51)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
========================================
D:\Documents and Settings\Administrator>lsnrctl service
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-MAY-2010 03:10
:10
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: SRINU, pid: 3740>
(ADDRESS=(PROTOCOL=tcp)(HOST=srinu)(PORT=1092))
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
Thanks,
Srinivas -
How to append timestamp to log file in SQL*Plus ?
Version: 11.2.0.3
Platform : RHEL 5.8 (But I am looking for platform independant solution)
I want to append the timestamp to spooled log file name in SQL*Plus.
The spooled log filename should look like
WMS_APP_23-March-2013.logI tried the following 3 methods found in the google. But none of them worked !
I tried this
col sysdt noprint new_value sysdt_var
SELECT TO_CHAR(SYSDATE, 'yyyymmdd_hh24miss') sysdt FROM DUAL;
spool run_filename_&sysdt_var.Logas suggested in
http://power2build.wordpress.com/2011/03/11/sqlplus-spool-name-with-embedded-timestamp/
and this
spool filename with timestamp
col sysdt noprint new_value sysdt
SELECT TO_CHAR(SYSDATE, 'yyyymmdd_hh24miss') sysdt FROM DUAL;
spool run_filename_&sysdt..Logas suggested in
http://powerbuildev.wordpress.com/2011/03/11/sqlplus-spool-name-with-embedded-timestamp/
and this
column tm new_value file_time noprint
select to_char(sysdate, 'YYYYMMDD') tm from dual ;
prompt &file_time
spool logfile_id&file_time..logas suggested in
Creating a spool file with date/time appended to file name
None of the above worked in RHEL or MS DOS. Any workaround ?I have tested your suggestions. But I still couldn't append the date to the logfile in RHEL or MS DOS SQL*Plus
Here are the attempts I've made. I am posting how the logfile looked like after every test.
#Attempt1 with two dots (&sysdate..log )
set echo on
set feedback on
set define off
set pages 999
column dcol new_value SYSDATE noprint
select to_char(sysdate,'YYYYMMDD') dcol from dual;
spool testlog.&sysdate..log
select 'hello' from dual;
spool off;Log File Name -- > testlog.&sysdate..log
#Attempt2 with single dot (&sysdate.log)
set echo on
set feedback on
set define off
set pages 999
column dcol new_value SYSDATE noprint
select to_char(sysdate,'YYYYMMDD') dcol from dual;
spool testlog.&sysdate.log
select 'hello' from dual;
spool off;Log File Name ---> testlog.&sysdate.log
#Attempt3. Replacing first dot with Hyphen (testlog- ) to check if the first dot was causing the issue
set echo on
set feedback on
set define off
set pages 999
column dcol new_value SYSDATE noprint
select to_char(sysdate,'YYYYMMDD') dcol from dual;
spool testlog-&sysdate.log
select 'hello' from dual;
spool off;Log Filename: testlog-&sysdate.log
#Attempt4: replacing SYSDATE with SDATE
set echo on
set feedback on
set define off
set pages 999
column dcol new_value SDATE noprint
select to_char(sysdate,'YYYYMMDD') dcol from dual;
spool testlog1.&SDATE..log
select 'hello' from dual;
spool off;Log File Name -- > testlog1.&SDATE..log -
I've just installed Oracle 9i to Windows 2000 server. When I use SQL*Plus, it asked for a username and password. But when I installed Oracle 9i, it never asked me to create user. Then I tried logging in using windows 2000 username and it still did not worked. Is there any default username (like 'root' maybe). Thanks.
There was a dialog displayed during installation that gave you the default logins. They are:
scott/tiger
system/manager
sys/change_on_install
Your Windows login has nothing to do with your Oracle9i login, with the exception of the ORA_DBA group, but that's a whole other discussion that I won't go into here.
I suggest you get reading some Oracle documetation at http://tahiti.oracle.com.
Alison -
I have yet been able to log in to SQL Plus. I just installed 8i Personal. I created a DB called "SCOTTSDB". After creating it, I wanted to login to SQL Plus. I tried user:system password:manager, user:internal password:oracle, and user:sys password:change_on_install. I just started an Oracle class at the university and wanted to run it at home for more practice. The login that I use at school is user:system password:manager. The host string is the name of the database right? For instance the name of the database that I created is like I said earlier "SCOTTSDB". Is that what I put in the host field? Any help is greatly appreciated. Thank you. scott
Hi I want to know, if Oracle 8i server can be installed in Win
98 properly? I tried and it got installed. But, I could not
connect to it from Oracle client. It is giving error ORA-
12541:TNS: no listener . How to start a listener in Win 98? Is
it possible or Oracle 8i server has to be installed in NT/
2000 ? I want to use the client and server in a single machine,
thats why I do not want to unistall my OS. Can u suggest
anything?
Thanks and regards,
-surajit -
Cannot log in to SQL*Plus after initial login
Hi all,
I have an irritating problem that I am hoping that you can help with. I installed Oracle 10g on RedHat Linux ES 3. Everything seems to be working fine as long as I do not log out my oracle user. If I leave the user logged in everything works as expected. Once I log out, when I log back in I cannot access SQL*Plus normally.
I enter: sqlplus my_user/my_password
I get this:
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Sep 27 11:59:01 2005
Copyright (c) 1982, 2005, Oracle. All rights reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Linux Error: 22: Invalid argument
Additional information: 1
Additional information: 360457
But, if I enter it with the connection string: sqlplus my_user/my_password@ora1 then it works fine.
I get the same behavior through VNC. As long as I never log out of VNC but just close the session, logging in to SQL*Plus works as normal.
Any thoughts? My ORACLE_BASE, ORACLE_HOME, and ORACLE_SID seem to be correct.
Thanks,
MikeHi,
Kill the shared memory process and restart your database.
Regards,
Umair -
If you are running Personal Oracle, you do not need to give host
string to log in SQL Plus. However, database should be started
up first.
In order to run SQL Plus on a client workstation in client-
server environment, you should create a host string using Net
Easy Configuration. If you have created 'ORACLE' as the host
string, it is OK. You will also have to start a listener.sorry I was trying to reply to a post I read and had this
happen. Please ignore this.
Maybe you are looking for
-
HT201304 in app purchase how to download
I Pod Touch 4th generations, it says "you've already purchased this IN-APP purchase but it has not been downloaded, how do I downloaded, I've tried way too many times and still can't do it, are there any restrictions or instructions. Please e-mail me
-
Display selected currency translation type in BEX webappl report
Hi everybody, we use currency translation at query runtime. We do not select the translation type in the variable screen but use the possibility with Context menu -> Calculations and Translations -> Global Currency Translation Everything works fine,
-
Steps to create a planning folder in detail.
hai friends, i am new to BPS .i want to create a planning folder.so i need detail steps and documentation. Thankyou, shankar.
-
I know how to center text horizontally within the text box in CS5 Extended (just click the same "center" icon you would click if you were using Microsoft Word or any other program), but how can I center it vertically (have it placed equidistant from
-
Cannot create/maintain JCO connection : NullPointerException in SLD
When I want to create a new JCO connection in SLD (via WebDynpro->Content Administrator) , I get an exception : java.lang.NullPointerException at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.ja