Problem logging on to SQl *Plus
Hi
I have installed Oracle 8i Personal Edition Release 8.1.7 on my computer where I have the operating system Windows 98. When I am trying to log on to the database through SQL*Plus, I get the following message: "ORA-12541: TNS: no bugging/listener " (I get the message in Swedish so I hope I have translated it correct in English)
kindly help me out to resolve this problem.
Thanks in advance
Anna
From the error messages documentation:
Cause: The connection request could not be completed because the listener is not running.
Action: Ensure that the supplied destination address matches one of the addresses used by the listener. Compare the TNSNAMES.ORA entry with the appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to go by way of an Interchange). Start the listener on the remote machine.
Similar Messages
-
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 -
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 -
Logging in to SQL Plus as DBUSER
I can log in to SQL Plus as username scott, password tiger. But I need to login as username DBUSER, password oracle. How can I do this?
In the same way as you did with username scott.
Or maybe there is no user DBUSER in your database.
check with...(as DBA)
select username from dba_users where username='DBUSER' -
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 -
Oracle8.1.7 - Can't log in to SQL*Plus
I have just installed the Course Technology kit for Oracle8i (Oracle8i Personal Edition and Oracle Forms and Reports 6i). I am running Windows 98.
I am able to start the database and have created the connect string in tnsnames.ora as instructed (I copy/pasted from the website so there shouldn't be any typo's), but when I try to start SQL*Plus and connect to the database I get
ERROR:
ORA-12547 TNS: lost contact
What do I do now?GoodDay,
Ok. You should try to restart the tnslnr.exe,lsnrctl.exe present in oracle/bin directory it should reinitiate the variables and after that one you should also change the contents of Listerner depending upon the type of protocal used such as TCP/IP,IPC etc and you should try Beq_LOCAL.world in Tnsnames.ora file that would help you resolve your problem.
With Best Wishes,
M.Ram Chaitanya -
URGENT - cannot log in to SQL Plus on Oracle 8i
Hi, I have Oracle 8i (8.1.6.0.0) installed on windows 98.
I want to use the SQL Plus module, but I have trouble to login SQL plus, and I an get error message:
ORA-12560: TNS:Protocol adapter error
I supposed the default username and password as follows:
SYS/CHANGE_ON_INSTALL
SYSTEM/MANAGER
SCOTT/TIGER
Am I using the correct version or edition (which I also don't know which edition)? Does windows 98 supports SQL Plus?
I was told to set up a database by selecting database administration then follow by database configuration assistant (in order to use the SQL Plus, firstly a database have to set up). I'm not sure whether this is true? but inside the database administration I don't have the so call "database configuration assistant". Can someone please help me?
Thanks a lot in advance!I hope you can help, I'm in the same boat as the others who cannot log on to the SQL* using Oracle Personal Edition 8
I'm running on 98, and everytime I try entering SYS as username & CHANGE_ON_INSTALL as password, or SYSTEM as username & MANAGER as password; I get:
ORA-01034: ORACLE not available
ORA-27101: Shared memory realm does not exist
I've been trying for a number of days, and have created databases using the Database config assistant, and everytime, it gives me the details as SYS CHANGE_ON_INSTALL etc, but it still doesn't let me log into SQL*
Any help would be gratefully received,
Patrick -
Cannot log in to SQL Plus on Oracle 8i
Hi,
I have Oracle 8i (8.1.6) Client installed on windows 200 professional. I donnot connect to any servers, and I want to use the SQL Plus module, but I have trouble to login SQL plus, and I an get error message:
ORA-12560: TNS:Protocole adapter error.
Would you please let me know what they are supposed to be: username, password and host string ?
Am I using the correct version, or I have to use the personnal edition, and if so I have Oracle 8i personnal edition, but it is not working with 2000, is there a patch file or do I have to download the 2000 version.
Thanks a lot in advance.The default logins for Oracle8i are:
SYS/CHANGE_ON_INSTALL
SYSTEM/MANAGER
SCOTT/TIGER
If you are connecting to the default database, don't enter anything in the Host String area. If you are connecting to a remote database, you will need to set up Oracle Net on your machine to connect to the remote database (tnsnames.ora file).
Do you have a database to connect to? You have installed the Oracle8i Client, which should be used to connect to remote databases (on other machines). If you don't have a remote database, you should install the full Oracle9i Server component, not just the Client.
The Oracle8i Personal Edition includes a cut-down version of the Server and the Client, and I think this is what you should be using if you don't have a remote database to connect to.
Personal Edition Version 8.1.6 is now desupported, but was certified against Windows 2000. Personal Edition Version 8.1.7 is still supported and is also certified against Windows 2000.
Alison -
Problem logging in pl/sql developer
Hi All,
I'm a newbie to pl/sql so pls bear wit me if this seems silly to u. I've just installed the Oracle 10G XE and pl/sql developer 8. I could connect to the database in SQL command line, but when i try to login thru pl/sql developer, i cudnt. Should i make any changes?
Pls help!
CheersWelcome to the forum.
Your problem is not SQL or PL/SQL related.
Check your settings in the Preferences menu and adjust if needed. ( go to Tools --> Preferences )
and/or go to http://www.allroundautomations.com/plsqldev.html ( Support --> Forum ) and ask over there. -
Hello.
I get error message when i use NVL function in sql statement.
Example:
select something from table1, table2
where table1.id = table2.t1_id
and NVL(table1.temp,1)
I get:ORA-00920: invalid relational operatorHi,
WHERE clause should contain relational expressions alone.
not like C,0 is not equal to 'false' in oracle.
your query is equal to the following query....
SQL> select * from sample1 where 1;
select * from sample1 where 1
ERROR at line 1:
ORA-00920: invalid relational operator -
I installed recently Oracle 10g. When I try to log in, with the account and password setup[ earlier, I get the message "ORA-12170: TNS: Connect timeout occured". Do I need to specify a Host String" at Log On? Should I un-install and re-install the software again? Thank you.
/* Error: ORA-12170 (ORA-12170)
Text: TNS:Connect timeout occurred
Cause: The server shut down because connection establishment with a
client failed to complete within the allotted time interval. This
may be a result of network/system delays; or this may indicate
that a malicious client is trying to cause a Denial of Service
attack on the server.
Action: If the error occurred because of a slow network/system,
reconfigure the SQLNET.INBOUND_CONNECT_TIMEOUT parameter in
sqlnet.ora to a larger value. If a malicious client is suspected,
use the address in sqlnet.log to identify the source and restrict
access. Note that logged addresses may not be reliable as they can
be forged (e.g. in TCP/IP).
Could also be a firewall issue.
Werner -
Problem loggin to ORACLE SQL*PLUS
Hi everybody,
I'm also stuck with the same problem from last 2 days.
oracle:polite is also not working. i tried so many options. wondering if there is any solution.
GarimaHi everybody,
I'm also stuck with the same problem from last 2 days.
oracle:polite is also not working. i tried so many options. wondering if there is any solution.
Garima What exactly is not working? You will need to be more specific as to what your problem is before people can help you.
Alison -
Login problem with Oracle 10g SQL Plus
Hi, I just down load Oracle 10g from web site. I tried use scott and tiger for user name and password, I can't login. I tried use SYSMAN and the password I used when I installed the software, I can't login in too. Please help!!!
This forum is for OBE specific questions only. Please post a message to one of the database forums located here:
http://forums.oracle.com/forums/index.jsp?cat=18
You can also check metalink or call support.
Maybe you are looking for
-
DW CS5 - PHP in HTML file - no display in DW live view
Have DW CS5, Local IIS 7 (Win 7 64x) testing server (Server Model: PHP MySQL) set up and working. External browsers render .html files with PHP fine (URL=http://localhost/testphp.html), DW Live View will not parse/display the PHP with ".html" extensi
-
How to attach an internal table as excel file in wf container.
Hi all, I have a task that is attaching an xml file in wf container, but I need to attach as excel file, how can I convert this xml to excel ? my currento code is like this: * Call Transformation to generate XSTRING of the generated data * TRY
-
BI Admin Tool and XSLT transformation for XML data source - How it works ?
Hello, There is a possibility to import data from XML data source using BI Admin Tool. In the import window we can point XSLT file. What is the purpose of that XSLT field? Why I am asking ? I thought it is smth like XSLT processor, but simply it does
-
HTML reader or other means to read HTML files in browser?
On my old XP computer I had a default that easily allowed any HTML files to display as intended. On my Windows 8.1 laptop I can't find any option to do this. Will "Scratchpad" let me display html files? I have seen the online readers which are fine f
-
Apparently my iPhone 4S is still locked...
Apparently my iPhone 4S is still locked (was told it was unlocked)... But my Net10 (Tracfone) SIM card works and I have full MMS. How is this possible? Will I still need to unlock it?