Logging into SQLPLUS as SYS...
Hello there, its time for another question from your latest clueless forumer!
After getting help for another question I had, I was instructed to log in as SYS...
Now I read somewhere that this is NOT the same as logging in as System, so what exactly is it? And how do i get the password for it?
Thanks in advance!
Daniel Reid
Hi Daniel,
Pete's suggestion regarding the book is a very good suggestion.
A good start is the "....For Dummies" series by Wiley Publishing Inc.
Please don't be put off by the title, some of them are excellent introductions to complicated technologies. After you work through these books, you get much more out of the more complicated books.
You can check out reader ratings and comments on Amazon.com before you buy.
Hope this helps.
Cheers,
Patrick Cimolini
Message was edited by:
Patrick Cimolini
Similar Messages
-
Hi,
I am having a strange problem with sql*plus...
I installed Oracle database 10g release 2 and then logged into sqlplus as sys user from the windows command line and everything seemed fine. Later I installed oracle http server from the 10g companion cd and now logging into sqlplus as sys user from the windows terminal from where i logged on before, works fine, but if I open a new terminal and try to log into sqlplus as sys user from there, I get the following error...ora-01031: insufficient privileges.
i noticed that from the first terminal, it logs into sqlplus release 10.2.0.1.0 but from the new terminal it logs into sqlplus release 10.1.0.3.0.
Does anyone know how this came about? I only have the database release 2 installed and not release 1.
Thanks.I am unable to connect to SQL plus after installing oracle 10g
what username and password I should use to connect to SQL Server for the first time?
I am new to oracle. Please help me...if I need to set anything from command prompt?
Thanks in Advance,
Regards,
Lakshmi -
Cant log into SQLPlus receive these error messages ORA-01034 & ORA-27101
Hi
just installed the latest release of Oracle DB 10g personal edition Windows XP Professional and Home Edition (seperate PCs). The installation went pretty smoothly. After the installation the db was up and I tried sqlplus and isqlplus and the html em port, everything worked perfectly (that means, all the hardware and kernel parameter requirements were met). But after a reboot, when I tried to run sqlplus again, got message like this:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
I can't even log onto html port
I googled for solutions, unfortunately no right-to-the-point solution and on other Operating systems
Anyone who could kindly tell me which file(s) to configure and how please? I would be much obliged!First, make sure that Oracle instance is started. Check processes
Second, make sure that your connection string is correct. Check network configuration files (tnsnames and/or sqlnet .ora)
Third, check if listener is runing and configure correctly(lstnrctl status)
http://www.errorpro.com/oracleerrors/oraerror.php?level1=Oracle&send=Send&ecode=ORA-01034
http://www.errorpro.com/oracleerrors/oraerror.php?level1=Oracle&send=Send&ecode=ORA-27101
Edited by: alshan5 on Mar 20, 2009 2:13 PM
Edited by: alshan5 on Mar 20, 2009 2:15 PM -
Wierd problem logging into sqlplus
oracle: 10.1.0.3
solaris with kshell
I have SSH'd to the server that runs an oracle database.
Generally I can do this
export ORACLE_SID=mydatabase
normally I can go
sqlplus username/password
and that gets me in. I dont need to add @mydatabase
Now this works as the oracle user, but it does not work as one of the other users. I can connect to that database if I pass the @mydatabase, but not when I try to use the environment variable.
I get "connector descriptor" does not exist or something like that.Guess2 wrote:
oracle: 10.1.0.3
solaris with kshell
I have SSH'd to the server that runs an oracle database.
Generally I can do this
export ORACLE_SID=mydatabase
normally I can go
sqlplus username/password
and that gets me in. I dont need to add @mydatabase
Now this works as the oracle user, but it does not work as one of the other users. I can connect to that database if I pass the @mydatabase, but not when I try to use the environment variable.
I get "connector descriptor" does not exist or something like that."or something like that".
The exact error would be much more helpful. -
Can't log into Ent.Man after 10g install on win xp pro.
I've been reading posts about this all day but still can't login.
I followed the instructions and installed a loopback adapter first.
10.10.10.10
255.255.255.0
Then I ran the install and that went fine.
The services are started, DBConsole service, listener service, oracle service, sqlplus service.
I followed the instructions and checked the local security policy for the "log on as a batch job" policy.
I can log into sqlplus with sysman/password that I created during the install.
Followed the instructions to make sure the accounts were unlocked with sqlplus.
Through internet explorer the login page comes up fine for
http://kir_64xp:1158/em
http://kir_64xp:5500/em - the second database I created with the database config assistant
http://10.10.10.10:5500/em
If I try to login with sys as normal, I get a message telling me to log in with sys as sysdba.
When I change to that it just refreshes and comes back to the login screen - no error.
If I try sysman as normal it just refreshes back to the login screen.
If I try sysman as sysdba then I get the error that I am using an incorrent username password.
If I use the administration assitant for windows I can connect to both of the databases with sysman or using OS authentications as sysdba.
I disabled my firewall software - that didn't help.
Any information would be appreciated,
Thanks.I found this other post (Thread: New install 10G on XP professional) with the same problem.
Using Firefox instead of IE solved the problem.
I tried changing the security settings and pop up blocker settings but still could not get IE to work. If anyone knows what to change on IE to get it to work I'm curious. Other than wasting 3 hours of my life I'm good.
Thanks. -
I cannot log into oracle using the user scott
I installed oracle, but I did not go through the underlined step. I am not sure if I skipped or it was not there during the installation
The Database Configuration Assistant will provide installation summary
and list the accounts that are unlocked. It will ask you for password management. Sys
and System accounts would be already unlocked. Unlock HR and Scott accounts,
and for these two accounts also specify the same password that you had given before.
When I test logging into Oracle using the user Scott, it shuts down.
I am using windows 7, and I installed Oracle Database 10g Release 2 (10.2.0.1.0)
Enterprise/Standard Edition for Microsoft Windows (32-bit)
How can I log into oracle using the user Scott?Hi,
Welcome to the forum,
After installing Oracle 10g SCOTT user will be in locked, you should unlock it.
Login as sysdba using the below command
sqlplus sys as sysdba
password:<ur password>
after connecting as sysdba use the below command to unlock the SCOTT user
ALTER USER SCOTT ACCOUNT UNLOCK;
Now connect as scott you will bw able to connect.
hari -
Cannot log into EM after install new DB
I have now installed, uninstalled and re-installed 10G about five times on my W2K laptop without being able to successfully start EM or log into a DB via SQLPlus, etc.
There are two issues I am experiencing:
1) If I am not connected to the web thru my laptop (online), I cannot even reference EM. I have set my internet connection to Never dial a connection so it will not keep prompting me to connect, but this has been to no avail. If I open my browser and work offline and try to use the link to EM, it will not let me--it will give me the standard web page not found, detect network settings, etc screen.
2) If I am online, the EM web page comes up and tells me that my DB is not started and that I have to login as SYSDBA to start it. Despite using the correct OS userid/pwd and oracle userid SYS/pwd for the database login, it continues to tell me that the userid is wrong!
I cannot log into the DB as sysdba or otherwise via SQLPLUS. I can do "sqlplus /nolog" to get into sqlplus but can't connect to anything--it gives me the TNS-adapter error: not found' error message.
Now, I just did a fresh install and used DBCA to create a starter DB called test. I do not see a listener but on my last install (same problems as now) when I created one thru Net Mgr or Net Config Asst, it didn't matter as it wouldn't allow it to start in my services. There was already a OracleOraDb10g_home1TNSListener service set to AUTOMATIC and my new one (which it called OracleOraDb10g_home1TNSListener1Test) was set to manual and could not be started. LSNRCTL said that the new listener was blocked, so I assumed that 10G was using the EZCONNECT naming method and did not need the new listener.
What gives? Any help would be very much appreciated as I am at a complete standstill.
Thanks!
DaveJeff,
Thanks for the info on policy settings.
Let's see: I had 8.1.5 installed and I tried the update to 10g but only works from 8.1.7 or 9i, so then uninstalled and re-tried to do fresh install in a different home (OraHome10 vs OraHome8). That didn't go so well--it changed my 8i somehow so 8i would no longer work. Then I tried fresh install of 9i with a new starter DB--couldn't get into that DB. So uninstalled 9i, uninstalled 10g, uninstalled 8i, deleted every reference to Oracle on my computer, registry, etc., and re-tried 10g. I even went and bought a registry cleaning tool to zap things to make sure it was clean. It looked like it installed fine, provided me with starter DB but I just can't get into it. I'll let you know if the policy setting works.
I'm trying to look on the bright-side and say that we are learning a lot!
Dave -
how do i enable the sys account using sqlplus in oracle 10g. After finding it impossible to log into em using the sys account, maybe i did not enable it during installation. Please i need assistance. thanks
error starting database
DUPLICATE post
post results from following command
env | sort -
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 -
Can't log into db console (insufficient privileges error at log in screen).
I have two system I just rebuilt and one server with same users and grants logs in fine, the other one gives me this error even on attempting to log in as sys as sysdba.
I read that I had to grant select_catalog_role and select any dictionary, which I did and it still will not let me log in.
OS:Linux AS4 update 8, Oracle 10g (10.2.0.4.0), attempting to log into dbconsole.
Any advice would be great. Is there a way to stop dbconsole and restart it- will that work? Or shutdown the database and restart???my sysman user account was locked- I unlocked it and now I am fine.
-
[SOLVED] Can't log into tty1
This started some time while I was setting up X: When I try to log into tty1 (tty2 to tty6 works), it gives some error message and logs out immediately. Since it clears the screen after logging out, I can't make out any more of the error message than "/etc/X11". How do I figure out what's happening, or if someone knows what's wrong, how do I fix it?
Last edited by howardh (2012-11-13 06:03:02)There seems to be a seg fault in there, but I have no idea what it means.
[ 41.304] (**) ThinkPad Extra Buttons: always reports core events
[ 41.304] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event5"
[ 41.304] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[ 41.304] (--) evdev: ThinkPad Extra Buttons: Found keys
[ 41.304] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[ 41.304] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event5"
[ 41.304] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 12)
[ 41.304] (**) Option "xkb_rules" "evdev"
[ 41.304] (**) Option "xkb_model" "evdev"
[ 41.304] (**) Option "xkb_layout" "us"
[ 520.244] (EE)
[ 520.244] (EE) Backtrace:
[ 520.247] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x58a006]
[ 520.247] (EE) 1: /usr/bin/X (0x400000+0x18de59) [0x58de59]
[ 520.247] (EE) 2: /usr/lib/libpthread.so.0 (0x7fa9ea419000+0xf1a0) [0x7fa9ea4281a0]
[ 520.248] (EE) 3: /usr/bin/X (0x400000+0x4d7d0) [0x44d7d0]
[ 520.248] (EE) 4: /usr/bin/X (0x400000+0x142ef8) [0x542ef8]
[ 520.248] (EE) 5: /usr/bin/X (0x400000+0x13d474) [0x53d474]
[ 520.248] (EE) 6: /usr/bin/X (mieqProcessDeviceEvent+0x1b5) [0x56b795]
[ 520.248] (EE) 7: /usr/bin/X (0x400000+0x2f4bc) [0x42f4bc]
[ 520.248] (EE) 8: /usr/bin/X (DisableDevice+0xbc) [0x430c6c]
[ 520.248] (EE) 9: /usr/bin/X (0x400000+0x31152) [0x431152]
[ 520.248] (EE) 10: /usr/bin/X (0x400000+0x26935) [0x426935]
[ 520.248] (EE) 11: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fa9e90b8725]
[ 520.248] (EE) 12: /usr/bin/X (0x400000+0x26c6d) [0x426c6d]
[ 520.248] (EE)
[ 520.248] (EE) Segmentation fault at address 0xd0
[ 520.248]
Fatal server error:
[ 520.248] Caught signal 11 (Segmentation fault). Server aborting
[ 520.248]
[ 520.248] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 520.248] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 520.249] (EE)
[ 520.266] (II) evdev: TPPS/2 IBM TrackPoint: Close
[ 520.266] (II) UnloadModule: "evdev"
[ 520.280] (II) evdev: ThinkPad Extra Buttons: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.280] (II) UnloadModule: "synaptics"
[ 520.280] (II) evdev: AT Translated Set 2 keyboard: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.280] (II) evdev: Integrated Camera: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.280] (II) evdev: Power Button: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.280] (II) evdev: Power Button: Close
[ 520.280] (II) UnloadModule: "evdev"
[ 520.748] Server terminated with error (1). Closing log file. -
Hi ,
I have installed Oracle 11.2.0 . When connecting to sqlplus with sys as sysdba . Getting error as NO listener .
I started listener . But finally getting the message as
The listener supports no services
The command completed successfully
Kindly helpI am getting the same message
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oracledb/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracledb.example.com)(PORT=1521)))
The listener supports no services
The command completed successfully
I don't find the services entry here . -
I am running my Oracle Enterprise DB 9.2.0.1.0 on my Linux Red Hat 8.0 box.
The DB was installed successfully and I even can connect to the database I created via my Java program.
However, when I startup the SQLPLUS (via my "oracle" user account), I had tried logging in with IDs "sys", "system", "daniel" (ID I created using the Enterprise Manager Console). They all failed with message ORA-07217: Environment variables cannot be evaluated.
After checking the error message for its meaning, I found that the cause was that the GETENV returns a null pointer. Although, I know the meaning of the error message, I could not fix the problem. I had checked my environment variable. The include:
ORACLE_HOME=/home/oracle/OraHome1/
JAVA_HOME=/usr/java/j2sdk1.4.1_01/
PATH=$ORACLE_HOME/bin:$JAVA_HOME/bin:.
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip:$ORACLE_HOME/jdbc/lib/nls_charset12.zip:.
My knowledge tells me that I had done it according to books.
Pls help. Thanks!oppss..the environment variable includes another important entry:
LD_LIBRARY_PATH=$ORACLE_HOME/lib/ -
Cant log into Apex Browser!!
Hello, I installed APEX no worries, can log in SQLPLUS no probs, but when I laucn the Apex home page from a browser, and supply a user and password (system for example) which i can log into SQL+ it dosnt allow me to via browser. I even tried to create another user and grant dba to it, still no joy. Anyone have any ideas please?
MarkMark,
Are you running Oracle XE or Oracle SE/EE?
If you are not running Oracle XE, then Apex users != Oracle users. You will have to first sign on to the INTERNAL workspace as the ADMIN user with the password you provided when you installed Apex. All of this is outlined in the installation guide.
Thanks,
- Scott - -
Problems logging into pluggable database 'admin' user on 12c
Hi,
I've created a multi-tenant 12c database. During the creation of the pluggable database the administrator account 'admin' was created.
The database is on a Windows server running under a system account, our clients are all on Windows 7 and Active Directory.
*I* can successfully log into the admin user e.g. conn admin/my_admin_password@//my_server/my_pdb.my_server as sysdba from my PC, but another user on the *same* PC gets an invalid username/password response. Both of us can successfully access other local users on the same pluggable database. Both of us can access the PDB as the 'sys' user.
Any ideas as to what might be going on?
Does the 'admin' user login make use of NTS privileges in some way (we are in different AD groups)?Good Afternoon MelCZier,
The resource below will provide some steps to try if you are having trouble signing in to Messages on your iMac. Do you have two-step verification enabled? If so, that may be why you are being asked for an additional password.
Get help signing in to FaceTime, Game Center, Messages - Apple Support
https://support.apple.com/en-us/HT204408
Hope that helps ...
- Judy
Maybe you are looking for
-
This is the wierdest thing - when I click in a text box the first time, it usually works. As long as I only use arrows to move text, it seems OK. When I try to click in a text field to edit text, or try to highlight text, both inside and outside text
-
IPhoto just spinning-HELP!!
I just updated to iPhoto 9.2 and have the latest version of OSX Lion. After updating, I tried opening iPhoto and it told me that it needed to update the library. Then it just sat there and spun for well over an hour. I force quit the applicaiton and
-
Hi, my Exchange Server not work. I need to open my ost file. Is it possible to do this using the Outlook? Files are larger than, which stores a lot of information.
-
Thin Client connection not failing over
I'm using the following thin client connection and the sessions do not failover. Test with SQLPLUS and the sessions do fail over. One difference I see between the two different connections is the thin connection has NONE for the failover_method and f
-
Unclassified Documents in Knowledge Directory
Does anybody know what the unclassified documents folder is for? We are trying to organize our knowledge directory and can't find in the documentation what this system created folder is for.