Login in sysdba mode from isql*plus in oracle9i
what is a operating system user in oracle and how to create it?
how to log in isql*plus with sys or system user with sysdba or sysoper ?
If you are using a 10.x version of iSQL*Plus, you'll need to use JAZN to set up a user to access the iSQL*Plus DBA URL. This is protected by default, using Basic authentication. So you'll need to set this up manually, then login with the credentials you create. The doc for this is here:
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm#sthref475
Alison
Similar Messages
-
Message from iSQL*Plus team
This forum is for iSQL*Plus, the web-based interface to SQL*Plus. The iSQL*Plus development team will monitor this forum on a best effort basis, and help you with any problems or questions you might have. If you find any bugs, this is the place to tell us about them.
We are also interested in hearing your comments on the interface, and what you would like to see in future versions.
Any questions you have on SQL*Plus and the SQL language will probably not be answered by the iSQL*Plus development team, although other forum members may want to post replies and answers. Oracle Metalink -- http://metalink.oracle.com/ -- is the dedicated forum for SQL*Plus and the SQL language. Note that you must purchase a support contract to log on to Oracle Metalink.
iSQL*Plus Download
http://technet.oracle.com/software/tech/sql_plus/software_index.htm
SQL*Plus FAQ
http://technet.oracle.com/support/tech/sql_plus/htdocs/sql_plus_faq.htm
Alison
iSQL*Plus Teamhi alison,
I have installed iSQL*Plus and it works fine with normal queries.
I have tried it with different versions of oracle
7.1.6.2.0
8.0.4.0.0
8.1.5.0.0
8.1.6.0.0
8.1.7.0.0
There are some problems also which i noticed when we were working with it.
It is unpredictable sometimes, i.e., the same query which works once may give problems some other times. restarting the browser solves the problems some times
But the major problem was that if the user closed the browser window without logging off the session will not end on the server and after such many improper shutdowns the number of sessions on the server piles up.
But if the user logs off properly then the session is closed.
It is a nice tool and may become a necessary tool in future.
vinayak -
Unable to Login to Idle Instance from SQL*Plus in windows
Hello,
I'm cloning the db from windows to windows enviornment. At auxilary instance after configuring the Listener and making Password file to right folder when I try to connect to Idle Instance through sql*plus by follwring connad
c:\sqlplus sys/password as sysdba
It gives me ORA-12518 Tns: Listener could not hand off client conenction error
Then I put the follwing parameter in listener.ora DIRECT_HANDOFF_TTC_LISTENER=OFF and restart listener and then try to connect it gives me Ora-12560: TNS protocol adapter error.
I try to connect through tnsnames but give me same error.
Kindly tell me how to resolve this issue as its not allowing me to connect to an idle instance so that I can go further.
I'm using 10gR2 on windows server 2003.
Regards,
Abbasifollow the steps to clone database:
# 1. Backup the source database.
To use RMAN duplicate an RMAN backup of the source database is required. If there is already one available, skip to step 2. If not, here is a quick example of how to produce an RMAN backup. This example assumes that there is no recovery catalog available:
rman target sys@<source database> nocatalog
RMAN>backup database plus archivelog ;
RMAN> backup archivelog all;
This will backup the database and archive logs.
# 2. Produce a pfile for the new database
This step assumes that the source database is using a spfile. If that is not the case, simply make a copy the existing pfile.
Connect to the source database as sysdba and run the following:
create pfile='init<new database sid>.ora' from spfile;
This will create a new pfile in the $ORACLE_HOME/database directory.
The new pfile will need to be edited immediately. If the cloned database is to have a different name to the source, this will need to be changed, as will any paths. Review the contents of the file and make alterations as necessary.
Because in this example the cloned database will reside on the same machine as the source, Oracle must be told how convert the filenames during the RMAN duplicate operation. This is achieved by adding the following lines to the newly created pfile:
db_file_name_convert=(<source_db_path>,<target_db_path>)
log_file_name_convert=(<source_db_path>,<target_db_path>)
# 3. Create bdump, udump & cdump directories
Create bdump, udump & cdump directories as specified in the pfile
# 4. Create a service
c:/>oradim –new –sid <clonedatabasename> –intpwd <pwd>
eg:
c:>oradim –new –sid clonedb –intpwd oracle
# 6. Duplicate the database
From sqlplus, start the instance up in nomount mode:
startup nomount
Exit sqlplus, start RMAN and duplicate the database. As in step 1, it is assumed that no recovery catalog is available. If one is available, simply amend the RMAN command to include it.
rman target sys@<source_database> nocatalog auxiliary /
duplicate target database to <clone database name>;
thats it
For RMAN Cloning refer:
follow the documentation replace the destinations/locations with your location/folder/destination in source and target database.
http://www.dba-oracle.com/t_copy_clone_windows_database.htm
http://www.shutdownabort.com/quickguides/clone_rman.php
http://www.akadia.com/services/ora_duplicate_database_rman.html
for manual cloning in windows refer the link below:
http://coskan.wordpress.com/2007/04/20/adding-new-database-to-windows-without-dbca-or-rman-clone-or-rman-restore/ -
ISql*Plus works well, but sqlplus throws ORA-12560. Why?
I installed Oracle DB 10.2.0.1 on Windows XP. After the installation, everything works like clockwork. ... well, until I installed Oracle Application server 10.1.2.0.2.
For the most part, it still works fine. But now, whenever I run sqlplus from command line, I get ORA-12560: TNS:protocol adapter error. I can still connect using the same login from iSql*Plus without any problem. Why?
Now I'm supposed to cd into a directory, fire off sqlplus and run a sql script. How do I do this in iSql*Plus?
Any help? Thanks,
-MThanks for the replies. I got the idea. I need to set
those variables myself, although I personally think
the installer should take care of that during
installation.
Now, out of curiosity, why did iSql*Plus never have
the problem even though I didn't have any those
variables set in my environment?No idea why those aren't set automatically, but they aren't, as you found out. :)
iSQL*Plus is a web based service, and I believe it uses JDBC, not straight OCI calls. -
ISQL*PLUS dynamic reports - how to pass connect string in the URL
When we run dynamic reports thru ISQL*PLUS, does anyone know how
to pass the connect string info in the URL
The following is the code from ISQL*PLUS users guide but it
dosen't show how to pass the connect string
when I tried to pass hr/your_secret_password@dbserver for userid
I got an error msg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<HTML>
<HEAD>
<TITLE>iSQL*Plus Dynamic Report</TITLE>
</HEAD>
<BODY>
<H1>iSQL*Plus Report</H1>
<H2>Query by Employee ID</H2>
<FORM METHOD=get ACTION="http://host.domain/isqlplus">
<INPUT TYPE="hidden" NAME="userid"
VALUE="hr/your_secret_password">
<INPUT TYPE="hidden" NAME="script"
VALUE="http://host.domain/employee_id.sql">
Enter employee identification number: <INPUT TYPE="text"
NAME="eid" SIZE="10">
<INPUT TYPE="submit" VALUE="Run Report">
</FORM>
</BODY>
</HTML>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks
JayThe form you use should work when your change
"hr/your_secret_password" to a valid username, password
and connect identifier like "hr/hr@MYDB". Don't forget to
configure MYDB in your tnsnames.ora file on the machine that has
the iSQL*Plus server.
What was the error you got?
The full URL syntax did seem to go missing from the 9.0.1 doc.
See below for the full syntax. This should be appearing in a
forthcoming FAQ.
- CJ
What syntax can I use to run an iSQL*Plus Dynamic Report?
You can run a dynamic report by entering the report URI in the
location field of your browser, or by making the report server a
link or the action for an HTML form. The iSQL*Plus 9i Release 1
documentation has examples of these.
The general syntax for running a dynamic report is:
{uri}?[userid=logon&]script=location[¶m...]
where uri
Represents the Uniform Resource Identifier (URI)
of the iSQL*Plus Server, for example:
http://host.domain/isqlplus
where logon
Represents the log in to the database to which you
want to connect:
{username[/password][@connect_identifier]}
where location
Represents the URI of the script you want to run.
The syntax is:
http://[host.domain/script_name]
The host serving the script does not have to be
the same as the machine running the iSQL*Plus server.
where param
Specifies the named parameters for the script you
want to run.
Named parameters consist of varname=value pairs.
iSQL*Plus will define the variable varname to equal value prior
to executing the script e.g.
...script=http://server/s1.sql&var1=hello&var2=world
This is equivalent to the SQL*Plus commands:
SQL> define var1=hello
SQL> define var2=world
SQL> @http://server/s1.sql
iSQL*Plus, SQL*Plus and SQL keywords are reserved
and must not be used as the variable names (varname). Note also,
that since variables are delimited by the ampersand character,
there is no requirement to enclose space delimited values with
quotes. However, to embed the ampersand character itself in the
value, it will be necessary to use quotes.
For compatibility with older scripts using the &1
variable syntax, varname may be replaced with the equivalent
variable position as in:
...script=http://server/s1.sql&1=hello&2=world
Note the & is the URL parameter separator and not
related to the script's substitution variable syntax.
Commands and script parameters may be given in any
order in the dynamic report URI. However, please note that if any
parameters begin with reserved keywords such as "script" or
"userid" then it may be interpreted as a command rather than a
literal parameter. -
How to change UI Language of iSQL*Plus?
my current ui language of isqlplus is chinese.there is some thing wrong of it.when i change my browser language to english,the ui language is english,when i change my browser language to english,the ui language is english to.
how to change the ui language of isqlolus to English,any how the browser language is?
excuse my pool english.
thx
http://photo.163.com/openpic.php?username=ncowboy&pid=48764735&_dir=%2F2679231
english:
http://photo.163.com/openpic.php?username=ncowboy&pid=48764763&_dir=%2F2679231The iSQL*Plus user interface can be displayed in a number of languages:
Brazilian Portuguese [ptb]
French / Canadian French [f / frc]
German [d]
Italian
Japanese [Ja]
Korean [ko]
Simplified Chinese [zhs]
Spanish/LA Spanish [e / esa]
Traditional Chinese [zht]
The iSQL*Plus user interface is automatically displayed in the language specified as your preferred language in your web browser.
To display the iSQL*Plus user interface in a language other than your existing web browser's preferred language, add the language to your web browser, then
select the language to use. For example, to display the iSQL*Plus user interface in Japanese in Internet Explorer 6.0:
1. Start Internet Explorer.
2. Select Tools > Internet Options > Languages... > Add.
3. Select Japanese [ja] and click OK.
4. Select Japanese [ja] and click Move Up until it is at the top of the list.
5. Click OK.
6. Click OK.
7. Enter the iSQL*Plus URL. The iSQL*Plus user interface is now displayed in
Japanese.
The language used for the output from iSQL*Plus queries is dependent on the language and territory values of the NLS_LANG environment variable in effect when the iSQL*Plus Application Server starts. The character set value is ignored. The language and territory values are used for all iSQL*Plus sessions run from that application server. However, you can use an ALTER SESSION command to change the language and territory used for the duration of the current session. For example, to use Chinese language and conventions in your current session, enter
ALTER SESSION SET NLS_LANGUAGE='SIMPLIFIED CHINESE';
ALTER SESSION SET NLS_TERRITORY='CHINA';
The output from iSQL*Plus queries is now displayed with error messages and text fields in Chinese. Information is now displayed according to Chinese convention. To check what settings are currently in effect, enter:
SELECT * FROM NLS_SESSION_PARAMETERS;
The NLS_TERRITORY and NLS_LANGUAGE values correspond to the language and territory components of the NLS_LANG variable.
Alison -
Can't login isql*plus as sys sysdba
Installed 10g on Windows XP SP3.
Everything works fine except can not login as sys sysdba via url
http://I6000D:5560/isqlplus/dba
It prompts for ONLY username and password and connection ID. however, I don't where to enter 'As sysdba'. Tried put 'as sysdba' in each field but no use.
No problem from DOS command prompt: connect sys/pwd as sysdbaConfused about the info on the web site regarding enabling dba
- Do i do the enabling only, or everything after enabling, like ' To set up the iSQL*Plus DBA URL'?
- for enabling dba access, please provide detailed instructions since I have very little time to get this resolved
That web site pointing to a lot of documents. do not know which doc to look into...
Thanks for the help,
Dennis -
ISQL*Plus :- SYSDBA requires WebDBA role and HTTP Authentication? How to?
Hi...
When i try to logon using to iSQL* Plus (Oracle 10g version) with SYSDBA privileges in browser it repeatedly asks for username and password?
What username and password should i give here? or is there any default username and password exists? or how could i create one?
Thanks ,
AviRead Frank's article http://www.oracle.com/technetwork/issue-archive/2012/12-jan/o12adf-1364748.html
Then you have to check if the user use use to login are defined in the stand alone server. If you server is running in production mode there is no automatic user or role migration. You have to to this by yourself.
Once you have check that the users are present, you have to check if the enterprise roles are mapped to the corresponding application roles.
Timo -
Why I am not able to login by ISQL*PLUS?
Hello any one can help me?
I installed RHEL.4 with my pentium 3 machine with 512mb of RAM. I installed with 4 partition /,/boot, /oracle and swap partition.Linux is running pretty fine. i installed Oracle 9i release 2 successfully without any error except agent get fail. Now i skiped the DBCA database creation and created manually using OMF.Now I am not able to connect my database by using ISQL*PLUS. can i get help? as well as how to login in iSQL*PLUS as sysdba? should i configure apache induvidually if yes how to do that?Make sure your Apache http server is up and running, this is the entry point to your isqlplus in 9iR2
apachectl start
Once started, get access to the regular url to your apache home page:
http://hostname:ApachePort/isqlplus
investigate which one is the port used by your http server, Oracle by default sets it to 7777. This can be found at the httpd.conf configuration file.
On the other hand, in order for you to access as isqlplusdba, this should be enabled at the isqlplus.conf file found at the $ORACLE_HOME/sqlplus/conf directory, you will find both, sqlplus and isqlplus locations declared on the same file, the second one is commented. It is configured so you provide a password by means of the regular apache authentication mechanism, it's up to you if you wan to use it or just rely on the sysdba password to gain access to your database.
~ Madrid. -
i have installed oracle 10g and i have a problem with the isql*plus login because after 20 mins that i log in it is asking for me to log in again which i find very frustrating...is there a way to disable the 20 mins login timeout?
Setting the Session Time Out
Timing out iSQL*Plus sessions helps to reduce machine load and to maximize resources. The time out interval is set by the session-timeout element. It defines the time a session can be idle before it is expired.
You need to stop the iSQL*Plus Application Server to make changes to the session-timeout element. You can edit the web.xml configuration file to change the timeout interval. The web.xml file is located in the directory:
$ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF
In the web.xml file, search for the <session-timeout> element inside <session-config>. The syntax of the line to change in the configuration file is:
<session-config>
<session-timeout>15</session-timeout>
</session-config>
Where the value is the number of whole minutes of idle time before the session times out. It has a default value of 15 minutes. It can be set to any value from 1 to 1440 minutes. It can also be set to never expire by entering a negative value such as -1. It should not be set so small that users do not get a chance to enter their scripts. When a user tries to use a timed out iSQL*Plus session, the Login screen is displayed and the user is prompted to log in again. The following error is displayed: SP2-0864: Session has expired. Please log in again. -
Not able to login through isql*plus ?
Hi
I am using 10gR1 on Aix machine. I have successfully started isqlplus at server. I am getting the login page at the web browser. How ever when I try to login I get the following error.
SP2-00908:- iSQL*Plus may have been restarted without being properly shut down
Contents of my listener file are as follows:-
Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/product/10.1.0)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = node2)(PORT = 1521))
Tnsnames.ora
HYPAAS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = node2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = hypaas)
WISTG =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.201.51.141)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = wistg.kaka.com)
HYPTEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = node2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HYPTEST)
PORTALDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.200.49.136)(PORT = 1521))
(CONNECT_DATA =
(SID = myspace)
TED_MIGRATION =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.200.49.14)(PORT = 1521))
(CONNECT_DATA =
(SID = testdb)
SQL_PDEV_PROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.200.49.28)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = RECT)
FDMDEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = node2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = fdmdev)
HYPERION =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = node2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = hyperion)
WISTGDEV =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = node2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = wistgdev)
)Try this, as for Metalink Doc ID: 289815.1
1. Stop isqlplus
2. Set the uname variable as follows from command line.
$ uname=`uname -s`; export uname.
(Note that you use a backward quote which may be located left of the number 1, depending upon your keyboard).
3. Start isqlplus and test. -
How to login as DBA in oracle 9i from sql plus .
how to login as DBA in oracle 9i from sql plus . ???
First you need to check whether your HR schema is still unlocked or not? If it is locked - then you have to unlock it. And, then you can connect the Hr schema.
But, i'm not sure - why you need system to log into the HR schema?
Regards.
Satyaki De. -
SQL*Plus/iSQL*Plus login as DBA
I just installed 10g Enterprise on a Windows platform and am a bit confused to why I cannot log into SQL*Plus/iSQL as a DBA. I can login as one of the user accounts then use 'connect' to login as dba in SQL*Plus or at the Windows command prompt. I cannot do this, however, in iSQL*Plus. One of the threads on this forum pointed me to using JAZN after installing OC4J. I am in the process of doing this, but I need to understand something apparently fundamental: why should I have to perform another install when the Universal Installer installed iSQL and all the features that came with it? Didn't the 10g download give me the tools necessary to administer its application's accounts? The OC4J download page states that this tool should not be used to replace an existing 10g installation.
Moreover, why iSQL knows about the 'users' authorization level, but not 'system?' I can see the users and groups in the Enterprise Manager, but no features to set WebDBA users as iSQL*Plus requests.
Your comments would be much appreciated.Hi,
in order to use iSQL*Plus as DBA, you have to perform additional configuration. See
http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch2.htm#BCEIHEJF
By the way: Get used to a different tool like SQL*Plus linemode or SQL Developer, because iSQL*Plus disappears in future versions.
Kind regards
Uwe -
I want the steps required for configuring isql*plus for dba logins,
when i connect to the following url:
http://192.168.1.203:5560/isqlplus/dba/dynamic
it prompt me for a username and password, how to setup this dba username and passwordHi Paul,
I understand your concern, but could you given the examples of how we can add a DBA user4 login thru iSQL*PLUS. As you said, I made the necessary changes but its still not working. here is what I tried:
[oracle@physicalhost ~]$ /home/oracle/oracle/product/10.2.0/db_1/jdk/bin/java -Djava.security.properties=/home/oracle/oracle/product/10.2.0/db_1/oc4j/j2ee/home/config/jazn.security.props -jar /home/oracle/oracle/product/10.2.0/db_1/oc4j/j2ee/home/jazn.jar -user "admin" -password welcome -shell
oracle.security.jazn.JAZNRuntimeException: Configuration file "config/jazn.xml" does not exist. Check your JAAS configuration settings.
at oracle.security.jazn.JAZNConfig.getJAZNProperties(Unknown Source)
at oracle.security.jazn.JAZNConfig.access$100(Unknown Source)
at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
at oracle.security.jazn.util.Dbg$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jazn.util.Dbg.getJAZNProperty(Unknown Source)
at oracle.security.jazn.util.Dbg.getBoolJAZNAndSystemProperty(Unknown Source)
at oracle.security.jazn.util.Dbg.<clinit>(Unknown Source)
at oracle.security.jazn.JAZNConfig.fileExists(Unknown Source)
at oracle.security.jazn.JAZNConfig.getDefaultJAZNConfigFilePath(Unknown Source)
at oracle.security.jazn.JAZNConfig.access$000(Unknown Source)
at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
at oracle.security.jazn.tools.Admintool.refresh(Unknown Source)
at oracle.security.jazn.tools.Admintool.init(Unknown Source)
at oracle.security.jazn.tools.Admintool.main(Unknown Source)
JAZN:> adduser "iSQL*Plus DBA" abc abc
The specified realm does not exist in the system.
JAZN:> -
Logging in as SYSDBA via isql*plus
Hi all
Just installed Oracle 10g on my computer and I am able to connect to enterprise manager, create an account and also log in via isql*plus with the new account.
I was wondering how do i connect to isql*plus web based using a sysdba account?
I would enter:
Username: SYS
PW: ????
Connect Identifier: [Blank]
Is that correct?
Usually when logging in to isql i would use the following command
conn sys/[password] as sysdbaIf it was me, I'd follow the 'configure iSQLPlus to allow logon as SYSDBA' steps in Chapter 2 of the "SQL*Plus User's Guide and Reference" manual found at http://tahiti.oracle.com
Maybe you are looking for
-
Hi, While creating service PR i am getting one error mesage as "Customizing incorrectly maintained" Message no. SE729. This message comes once i put item category as "D". So please tell me what customizing is incorrect. Please help me out in this re
-
Dear Experts, how can i link lines so that the line break cant happen between them ? Thanks a lot.
-
Hi Folks! I am writing a report and I am printing the days of the week, school day periods and the rooms that are empty on any period. To print my structure I do the following: <cfif StructKeyExists(roomStruct,Periods.PERIOD_CODE[period])> <cfif Stru
-
Back up of the RAR 5.3 configuration done
HI all, I want to have a backup of the configuration done in one our systems.So that if some changes are done they can be revert back by applying changes .Any pointers ....
-
time capsule running slow, not deleting older backups