Sqlplus is not running
Enter user-name: system/admin
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory
first connect to sqlplus using /as sysdba
then from the SQL prompt
SQL > startup
it should solve your problems connecting sqlplus
Similar Messages
-
Oracle 10g R2 client sqlplus is not running
I have windows XP Pro and i installed client from http://download.oracle.com/otn/nt/oracle10g/10201/10201_database_win32.zip.
Installation went fine but when i run sqlplus it is giving me error," Oracle SQL*PLUS has encountered a problem and needs to close. We are sorry for the inconvenience." do u want to send error report to Microsoft.
It looks some problem with distribution, i dont see the checksum next the links.
Am I doing anything wrong?how did you install the client?
there should be an oracle_home directlry on your drive (often C:\oracle\) and somewhere down the tree you should find an install directory that may contain either a log file or a log subsirectory. check that for messages. -
SQL script runs under SQL Devoper, will not run under UNIX, SQLPlus
I have a sql program I developed under the SQL Developer tool and it runs fine. I have ftp'd the sql to the Unix server and I am trying to run the same program under SQL Plus in unix. The program echo's back the line number that is the last line number in the code before the 'Exception' code in the program and it goes out into never never land.
I can't figure out why this runs under SQL Developer but will not run under SQLPlus in Unix. Any ideas would be appreciated!!!!Assuming that the ftp process did not append any invisible characters(which it usually does) at the end of each line,
did you put the '/' symbol at the end of your program before running in sql*plus
something like
begin
end;
/ -
Why i can not run my sqlplus?
when i input "sqlplus" at my oracle-installed path,it do not run:
[oracle@hw_linux OraHome1]$ cd bin
[oracle@hw_linux bin]$ ./sqlplus
Message file sp1<lang>.msb not found
Error 6 initializing SQL*Plus
[oracle@hw_linux bin]$Alison :
Thank you very much.Can you tell me how to set up the Net8
configuration file? (I am a jackaroo.) I'm not sure if there are any utilities to do this on Linux, but
you can read about doing this manually in the Net8
documentation. The general format for adding a new entry is:
net_service_name=
(DESCRIPTION=
(ADDRESS=(protocol_address_information))
(CONNECT_DATA=
(SERVICE_NAME=service_name)))
Try reading:
http://download-
west.oracle.com/otndoc/oracle9i/901_doc/network.901/a90154/connec
t.htm#430735
http://download-
west.oracle.com/otndoc/oracle9i/901_doc/network.901/a90155/tnsnam
es.htm#490778
You're a Jackaroo? As in working on a farm in Australia? Or does
that mean something I don't understand? I'm in Australia too!
Alison
iSQL*Plus Team -
Hello everyone!
I hope you are doing well all. In my case I have some troubles by installing Oracle XE 11g on my PC. My OS is Windows 7 Pro x64.
1. I activated the Administrator mode on my PC (net user Administrator /active:yes)
2. Started the setup as Administrator. The setup process was finished successfully with no errors showed.
3. Started the Database, OracleServiceXE, OracleXETNListener and other services.
4. Tried to connect using sqlplus-> connect system ->password, what in result gave me ORA-01034 Oracle not available and ORA-27101 Shared memory realm does not exist errors.
5. Then I recognized that my C:\oraclexe\app\oracle\oradata\XE folder is empty when it should be usually full with 6 DBF file.
6. I opened the cloneDBCreation.log and it contains these data:
SQL> Create controlfile reuse set database "XE"
2 MAXINSTANCES 8
3 MAXLOGHISTORY 1
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 Datafile
8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
12 LOGFILE
13 GROUP 1 SIZE 51200K,
14 GROUP 2 SIZE 51200K,
15 RESETLOGS;
SP2-0640: Not connected
SQL> exec dbms_backup_restore.zerodbid(0);
SP2-0640: Not connected
SP2-0641: "EXECUTE" requires connection to server
SQL> shutdown immediate;
ORA-12560: TNS:protocol adapter error
SQL> startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora";
ORA-12560: TNS:protocol adapter error
SQL> Create controlfile reuse set database "XE"
2 MAXINSTANCES 8
3 MAXLOGHISTORY 1
4 MAXLOGFILES 16
5 MAXLOGMEMBERS 3
6 MAXDATAFILES 100
7 Datafile
8 'C:\oraclexe\app\oracle\oradata\XE\system.dbf',
9 'C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf',
10 'C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf',
11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf'
12 LOGFILE
13 GROUP 1 SIZE 51200K,
14 GROUP 2 SIZE 51200K,
15 RESETLOGS;
SP2-0640: Not connected
SQL> alter system enable restricted session;
SP2-0640: Not connected
SQL> alter database "XE" open resetlogs;
SP2-0640: Not connected
SQL> alter database rename global_name to "XE";
SP2-0640: Not connected
SQL> alter system switch logfile;
SP2-0640: Not connected
SQL> alter system checkpoint;
SP2-0640: Not connected
SQL> alter database drop logfile group 3;
SP2-0640: Not connected
SQL> ALTER TABLESPACE TEMP ADD TEMPFILE 'C:\oraclexe\app\oracle\oradata\XE\temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
SP2-0640: Not connected
SQL> select tablespace_name from dba_tablespaces where tablespace_name='USERS';
SP2-0640: Not connected
SQL> select sid, program, serial#, username from v$session;
SP2-0640: Not connected
SQL> alter user sys identified by "&&sysPassword";
SP2-0640: Not connected
SQL> alter user system identified by "&&systemPassword";
SP2-0640: Not connected
SQL> alter system disable restricted session;
SP2-0640: Not connected
SQL> @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\postScripts.sql
SQL> connect "SYS"/"&&sysPassword" as SYSDBA
ERROR:
ORA-12560: TNS:protocol adapter error
SQL> set echo on
SQL> spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\postScripts.log
I spent around 2 days to come to this reason and now I do not know what to do next.
My actions to resolve this problem:
1. Checked if my user has administrative rights and belongs to ora_dba. It does!
2. Turned Microsoft UAC off.
3. Set the system and local variables of ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, TNS-ADMIN to the appropriate values in Enivornment Variables:
- ORACLE_BASE -> C:\oraclexe
- ORACLE_HOME -> %ORACLE_BASE%\app\oracle\product\11.2.0\server
- ORACLE_SID -> XE
- Added to PATH -> C:\oraclexe\app\oracle\product\11.2.0\server\bin;
- TNS_ADMIN -> %ORACLE_HOME%\network\admin
4. Removed Oracle XE 11g and reinstalled to another drive. No sense!
Some more errors:
1. C:\oraclexe\app\oracle\product\11.2.0\server\config\log\XE.bat.log
Instance created.
DIM-00019: create service error
O/S-Error: (OS 1387) Ein Mitglied konnte in der lokalen Gruppe nicht hinzugefugt oder entfernt werden, da das Mitglied nicht vorhanden ist.
It means -> O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
I understand that I need to logon as batch job. I added me to this policy in User Rights Assignments, but still I get these "DIM-00019: create service error" and "O/S-Error: (OS 1387)". And I guess just therefore my database is not starting well.
2. 127.0.0.1:8080/apex/f?p=4950 is not starting in browser. It is probably because the database is not running appropriately. For this issue have already seen one topic in Google that the HTTP Properties inside the Listener Status must be set to 8080 to make this link work. But in my case I do not see this line in my Listener Status:
Some other information relevant to the issue:
1) echo %USERNAME% - Administrator
echo %USERDOMAIN% - ildar-PC
2) Listener.log:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
3) Tnsnames.log
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = ildar-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
4) Sqlnet.log:
SQLNET.AUTHENTICATION_SERVICES = (NTS)
5) While connecting by sqlplus, I get this errors/messages:
6) Confirmation that I've got admin rights and I am in ORA_DBA:
If u need some more information from me, please let me know!!
Guys please help me to solve this issue, 'cause I've almost got frustrated to find out the solution of this problem. Thank you beforehand!!
Kind regards,
ildarI have tried to install both of them lots of times but in each case I receive the same in my XE.bat file:
Instance created.
DIM-00019: create service error
O/S-Error: (OS 1387) Unable to add or remove a member from the local group because this member does not exist.
Have checked OS 1387 error at Microsoft Support and as possible cause of the problem they give as follows:
This issue can occur if the environment has a disjointed namespace (i.e. the domain has different NetBIOS and DNS names). For example, assume that the domain has a NetBIOS name of "domain.com" and a DNS name of "domain-old.com." When users are added in the Windows UI, they are displayed in the format of domain\ComputerName. However, you notice in the error log that there was an attempt to add a computer account in the format of domain-old\ComputerName. (System Center 2012 R2 Data Protection Manager install fails and generates ID: 4323: "A member could not be added")
Tried to find out my DNS name, but it is impossible because I don't have any domain installed and my machine is not connected to it. Some other blog (Install Oracle 11gR2 on Windows) advices to work with adding my computer account to some non-real windows domain (just for the purpose of resolving the network) as well and reinstall the database then. If I undestand it right I need minimum 2 machines for this. But I own just one, where the server is based and thought that is enough to run the database... no idea .. -
ORACLE_HOME disappeared, SQLPLUS - bash: sqlplus: command not found
OK, I am a newbie but am having real difficulty with my 10G DB which I had set up on Unix Solaris box but someone was messing around with it and now I can't see ORACLE_HOME, ORACLE_BASE and ORACLE_SID, they all return blank when I try to "echo" each.
I realise I should have originally set it in Bash_profile, but is now too late.
So how do I set them back up, I cannot get SQLPLUS / AS SYSDBA.........bash: sqlplus: command not found
I have tried to reset and export but still doesn't work.
I got the ORACLE_BASE as:
training:/export/home/training/product/10.2.0/Db_1:N
but can't seem to set the three variables to run SQLPLUS, any ideas what I am doing wrong?
Tried messing around to reset but nothing works, this is the present state of affairs:
env
SSH_TTY=/dev/pts/3
USER=training
ORACLE_SID=training
ORACLE_BASE=/oracle/app
PATH=/usr/sbin:/usr/bin
PWD=/export/home/training/product/10.2.0/Db_1/bin
TZ=Eire
PS1=\e[33m\h\e[31m-\u-\e[33m\W/\e[31m-$\e[32m
SHLVL=3
HOME=/export/home/training
LOGNAME=training
ORACLE_HOME=/oracle/app/product/10.2.0
Can someone help me, really need a step by step guide to set these back up properly.
Thanksjust retyped the last one correctly:
find / -name sqlplus -ls
find: cannot read dir /var/lib/gdm: Permission denied
find: cannot read dir /var/lib/log/gdm: Permission denied
find: cannot read dir /var/mysql: Permission denied
find: cannot read dir /var/dt/sdtlogin: Permission denied
find: cannot read dir /var/core: Permission denied
find: cannot read dir /var/run/smc898: Permission denied
find: cannot read dir /var/spool/clientmqueue: Permission denied
find: cannot read dir /var/spool/mqueue: Permission denied
find: cannot read dir /var/fm/fmd/rsrc: Permission denied
find: cannot read dir /var/fm/fmd/ckpt: Permission denied
find: cannot read dir /var/fm/fmd/xprt: Permission denied
find: cannot read dir /var/postgres/8.2/data: Permission denied
find: cannot read dir /var/postgres/8.2/backups: Permission denied
find: cannot read dir /var/sma_snmp: Permission denied
find: cannot read dir /var/tmp/gconfd-root: Permission denied
find: cannot read dir /var/tmp/orbit-root: Permission denied
find: cannot read dir /var/krb5/rcache/root: Permission denied
find: cannot read dir /var/opt/SUNWjass/run/20091012152456: Permission denied
find: cannot read dir /.gconf: Permission denied
find: cannot read dir /opt/SUNWlwact/misc/: Permission denied
find: cannot read dir /opt/SUNWlwact/sdk/: Permission denied
find: cannot read dir /opt/SUNWlwact/xsl/: Permission denied
find: cannot read dir /opt/SUNWlwact/svc/: Permission denied
find: cannot read dir /opt/SUNWlwact/man/: Permission denied
find: cannot read dir /.sunw: Permission denied
199411 1 -rw-r--r-- 1 training other 0 Jan 14 23:12 /export/home/training/sqlplus
172460 2 drwxr-x--- 9 training other 9 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/sqlplus
188055 10 -rwxr-x--x 1 training other 8776 Oct 27 18:00 /export/home/training/product/10.2.0/Db_1/bin/sqlplus
184787 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/inventory/Templates/sqlplus
184842 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF/classes/oracle/sqlplus
find: cannot read dir /root: Permission denied
find: cannot read dir /proc/227: Permission denied
find: cannot read dir /proc/832: Permission denied
find: cannot read dir /proc/835: Permission denied
find: cannot read dir /proc/458: Permission denied
find: cannot read dir /proc/381: Permission denied
find: cannot read dir /proc/624: Permission denied
find: cannot read dir /proc/818: Permission denied
find: cannot read dir /proc/2221: Permission denied
find: cannot read dir /proc/290: Permission denied
find: cannot read dir /proc/1166: Permission denied
find: cannot read dir /proc/273: Permission denied
find: cannot read dir /proc/229: Permission denied
find: cannot read dir /proc/225: Permission denied
find: cannot read dir /proc/478: Permission denied
find: cannot read dir /proc/445: Permission denied
find: cannot read dir /proc/815: Permission denied
find: cannot read dir /proc/410: Permission denied
find: cannot read dir /proc/432: Permission denied
find: cannot read dir /proc/440: Permission denied
find: cannot read dir /proc/427: Permission denied
find: cannot read dir /proc/352: Permission denied
find: cannot read dir /proc/443: Permission denied
find: cannot read dir /proc/1352: Permission denied
find: cannot read dir /proc/406: Permission denied
find: cannot read dir /proc/2353: Permission denied
find: cannot read dir /proc/670: Permission denied
find: cannot read dir /proc/667: Permission denied
find: cannot read dir /proc/405: Permission denied
find: cannot read dir /proc/213: Permission denied
find: cannot read dir /proc/16953: Permission denied
find: cannot read dir /proc/1146: Permission denied
find: cannot read dir /proc/2580: Permission denied
find: cannot read dir /proc/27831: Permission denied
find: cannot read dir /proc/444: Permission denied
find: cannot read dir /proc/1338: Permission denied
find: cannot read dir /proc/1350: Permission denied
find: cannot read dir /usr/lib/cc-cfw: Permission denied
find: cannot read dir /usr/aset: Permission denied
find: cannot read dir /.gconfd: Permission denied
find: cannot read dir /etc/flash/precreation: Permission denied
find: cannot read dir /etc/flash/preexit: Permission denied
find: cannot read dir /etc/flash/postcreation: Permission denied
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/apache/ssl.key: Permission denied
find: cannot read dir /etc/sfw/openssl/private: Permission denied
find: cannot read dir /etc/sfw/private: Permission denied
find: cannot read dir /etc/webmin: Permission denied
Looks a bit better:
199411 1 -rw-r--r-- 1 training other 0 Jan 14 23:12 /export/home/training/sqlplus
172460 2 drwxr-x--- 9 training other 9 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/sqlplus
188055 10 -rwxr-x--x 1 training other 8776 Oct 27 18:00 /export/home/training/product/10.2.0/Db_1/bin/sqlplus
184787 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/inventory/Templates/sqlplus
184842 2 drwxr-x--- 3 training other 3 Oct 27 17:58 /export/home/training/product/10.2.0/Db_1/oc4j/j2ee/oc4j_applications/applications/isqlplus
How to I run the sqlplus? -
I changed the Computer Name and i can not run EM.
I had to change the computer name in order to connect to the intranet.
I updated the listener.ora and tnsnames.ora with the new computer name.
I can run SqlPlus but i can not run EM on http://tahirpc.isu.intranet:1158/em *
I checked Services and I saw that OracleDBConsoleorcl service do not work. I get error code:2 when i try to run it manually.
What should i do?
New computer name: tahirpc.isu.intranet
Old computer name: mtkeskin.isu.intranet
OS: Win 7
Oracle: 10.2.3
------------------------Thank you Jean-Valentin . I tried those but unfortunately this did not work.
Here is what i did on CMD:
RECREATE
C:\Users\mtkeskin>EMCA -CONFIG DBCONTROL DB -REPOS RECREATE
STARTED EMCA at 28.Oca.2010 11:28:43
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ORCL
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user: l
Password for SYSMAN user:
Password for SYSMAN user: Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
Database hostname ................ tahirpc.isu.intranet
Listener port number ................ 1521
Database SID ................ ORCL
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: Y
28.Oca.2010 11:29:07 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\orcl\emca_2010-01-28_11-28-42-AM.log.
28.Oca.2010 11:29:24 oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
28.Oca.2010 11:32:09 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
28.Oca.2010 11:32:10 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
28.Oca.2010 11:37:14 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
28.Oca.2010 11:37:34 oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C D:\oracle\product\10.2.0\db_1\bin\emctl.bat depl
oy dbconsole D:\oracle\product\10.2.0\db_1\tahirpc.isu.intranet_ORCL tahirpc.isu
.intranet:3938 tahirpc.isu.intranet ORCL
28.Oca.2010 11:37:34 oracle.sysman.emcp.EMConfig perform
SEVERE: Error instantiating EM configuration files
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
a_2010-01-28_11-28-42-AM.log for more details.
Could not complete the configuration. Refer to the log file at D:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-01-28_11-28-42-AM.log for more deta
ils.
DROP
C:\Users\mtkeskin>EMCA -DECONFIG DBCONTROL DB -REPOS DROP
STARTED EMCA at 28.Oca.2010 11:47:57
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ORCL
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: Y
28.Oca.2010 11:48:13 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\orcl\emca_2010-01-28_11-47-56-AM.log.
28.Oca.2010 11:48:17 oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
28.Oca.2010 11:48:18 oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
28.Oca.2010 11:50:35 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at 28.Oca.2010 11:50:35
CREATE
C:\Users\mtkeskin>EMCA -CONFIG DBCONTROL DB -REPOS CREATE
STARTED EMCA at 28.Oca.2010 11:54:55
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ORCL
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
Database hostname ................ tahirpc.isu.intranet
Listener port number ................ 1521
Database SID ................ ORCL
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: Y
28.Oca.2010 11:55:19 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\orcl\emca_2010-01-28_11-54-55-AM.log.
28.Oca.2010 11:55:32 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
28.Oca.2010 12:00:13 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
28.Oca.2010 12:00:27 oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C D:\oracle\product\10.2.0\db_1\bin\emctl.bat depl
oy dbconsole D:\oracle\product\10.2.0\db_1\tahirpc.isu.intranet_ORCL tahirpc.isu
.intranet:3938 tahirpc.isu.intranet ORCL
28.Oca.2010 12:00:27 oracle.sysman.emcp.EMConfig perform
SEVERE: Error instantiating EM configuration files
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
a_2010-01-28_11-54-55-AM.log for more details.
Could not complete the configuration. Refer to the log file at D:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-01-28_11-54-55-AM.log for more deta
ils.
I checked log files but i did not understand anything of 'em :(
Edited by: NaKKaSh.TR on 28.Oca.2010 12:12
Edited by: NaKKaSh.TR on 28.Oca.2010 12:14 -
Tnsping returns ok but sqlplus can not connect
Hello List,
this strange behavior is happening on a Windows Server 2003 Standard Edition running an Oracle 9iR2 (9.2.0.5) version. The name of the instance (quality9) is also the name of the tns string. When it is issued a tnsping quality9, it returns ok:
C:\Documents and Settings\Administrador.BTRS0041>tnsping quality9
TNS Ping Utility for 32-bit Windows: Version 9.2.0.5.0 - Production on 28-AGO-20
06 14:23:43
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Arquivos de parÔmetros usados:
Usado o adaptador TNSNAMES para resolver o apelido
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = btrs0041)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = QUALITY9)))
OK (20 ms)
Now, when it is issued an sqlplus user/pass@quality9, it returns an error:
C:\Documents and Settings\Administrador.BTRS0041>sqlplus system/XXXXXXX@quality9
SQL*Plus: Release 9.2.0.5.0 - Production on Seg Ago 28 14:34:48 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ERROR:
ORA-12514: TNS:listener nÒo p¶de resolver o SERVICE NAME fornecido no descritor
de conexÒo
Informe o nome do usußrio:
For other client applications as dba studio, the same happens. The file sqlnet.ora was moved to sqlnet.ora.bk in order not to be used but it did not help. Also commenting its unique parameter, SQLNET.AUTHENTICATION_SERVICES = (NTS), did not help. Tried, as a third workaround, create a regedit value USE_SHARED_SOCKETS=TRUE but again the same.
Can you help me? Thanks in advance. Mauricio.Tnsping does not tell you if the service name given in the tns entry in the tnsnames.ora file is correct or not. Make sure that the entry in tnsnames.ora file contains the correct value for service name.
ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
Cause: The service name specified in the connect descriptor is incorrect, or the database service is not registered with the listener.
Action: Perform these steps:
Check to make sure the SERVICE_NAME specified in the connect descriptor is correct.
Ensure that the database instance is running. If the instance not running, start it so that it can register with the listener. You can use the Listener Control utility SERVICES command to see what services are currently registered with the listener. -
(OEL 4.7) -bash: sqlplus: command not found after install of 10g R2
Hi all
I'm new to Linux and I would like your help and directions on a few things:
After 2 days of battle with RPM's (i386 vs x86_64) i was finally able to install 10g R2 on OEL 4.7 x86_64 system without any errors.
please check if all these settings are correct and help me how to start sqlplus? or create a database with dbca
I followed all the directions in Doc ID: 339510.1.
During installation i choose this path as the ORACLE_HOME
/u01/app/oracle/product/10.2.0/
I did not however installed the default database.
I then ran the two scripts at the end of the installation as root.
Here are my settings:
oracle bash_profile:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
:q
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=/product/10.2.0/db_1;
export ORACLE_HOME
export PATH=$ORACLE_HOME/bin:$PATH
here is my oracle env result
[oracle@nycoralp01 /]$ env | grep -i ORACLE
OLDPWD=/home/oracle/oraInventory
USER=oracle
ORACLE_BASE=/u01/app/oracle
MAIL=/var/spool/mail/oracle
PATH=/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin
HOME=/home/oracle
LOGNAME=oracle
ORACLE_HOME=/product/10.2.0/db_1
here is my echo $ORACLE_HOME result:
[oracle@nycoralp01 /]$ echo $ORACLE_HOME
/product/10.2.0/db_1
Can someone please tell me what did i miss or did not set?
When i try to run sqlplus i get this error
[oracle@nycoralp01 /]$ sqlplus
-bash: sqlplus: command not found
Any help appreciatedI change it in my bash_profile
$ vi ~oracle/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
:q
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1;
export ORACLE_HOME
export PATH=$ORACLE_HOME/bin:$PATH
and i'm still getting the same error
-bash: sqlplus: command not found
Is there anything else i'm missing? do i have to restart anything? -
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 8.1.5.0.0 -
Production
Start Date 14-SEP-99 19:06:21
Uptime 0 days 16 hr. 9 min. 20 sec
Trace Level off
Security OFF
SNMP OFF !!!!!!!!!!!
SNMP-Status is OFF.
I am using Oracle 8.1.5.0 and Red Hat 6.0/i386 .
What am i missing?
Thanks all in advance.
nullYuri (guest) wrote:
: Awgustow (guest) wrote:
: : LSNRCTL> dbsnmp_start
: : LSNRCTL> dbsnmp_status
: : The db subagent is not started.
: : LSNRCTL> status
: : Uptime 0 days
: : Trace Level off
: : Security OFF
: : SNMP OFF
: : Awgustow
: Agent works as follows: it starts up, looks in /etc/oratab for
: databases to manage, tries to establish connection to all of
: them, starts to listen for incoming requests on port 1748. The
: problem can be on any of these steps.
: Try to check with ps -ef | grep dbsnmp if agent processes are
: running (there should be 2 with same name - dbsnmp).
: If yes, try netstat -an | grep 1748 to check if they're
listening
: on TCP port. If they're listening, tracing the agent may help
you
: , though most likely you've hit some bug or config problem -
add
: nmi.trace_level = <level> (0 - off, 16 - maximum)
: nmi.trace_directory = <your directory for trace files>
: nmi.trace_file = <trace file name, e.g. agent
: and then kill agent with killall dbsnmp, start it again and try
: lsnrctl dbsnmp_status. It should generate trace file (but
: startup only trace on 16 level is >50K :-).
: If agent processes are running, but not listening on TCP port,
: most probably agent is not able to connect to one of your
: databases. (BTW, tracing will be of little use in this
situation
: - too cryptic to decipher. You probably will be able to get
: what database is causing problems, by looking at packet dump
: generated at 16th level). Make sure /etc/oratab is OK (lists
only
: valid SID) and that tnsnames.ora has entries for all databases
: mentioned in /etc/oratab.
: On Linux 8.1.5 agent cannot connect to 8.0.5 databases on same
: machine (generally, none of 8.1.5 tools like sqlplus can
connect
: to 8.0.5 on Linux DB). If you have both 8.0.5 and 8.1.5, you
: should comment out 8.0.5 entries in /etc/oratab in order to
start
: the agent. Not very useful, ehe? This is a bug, but no patch is
: yet available.
: If agent processes are not running after dbsnmp_start, again
: tracing should help locate the problem, together with log files
: in $ORACLE_HOME/network/log.
: Write what are your results.
: Yuri
Hi.
The problem was new version of TCL (8.0.4).
Problem solution is use from TCL 7.5.
Regards
Awgustow
Oracle Intelligent Agent
The Oracle Intelligent Agent requires TCL package,
release 7.5.
Follow these instructions to build Oracle
Intelligent Agent
executables.
1. Download the TCL 7.5 sources(tcl7.5.tar.Z)
from:
ftp://ftp.scriptics/com/pub/tcl/tcl7_5/
2. Extract the source in a separate directory and
configure:
$ mkdir tcl
$ cd tcl
$ compress -d tcl7.5.tar.Z
$ tar xvf tcl7.5.tar
$ cd tcl7.5/unix
$ ./configure --enable-gcc
3. Edit the source file tclPosixStr.c:
$ cd ../generic
$ mv tclPosixStr.c tclPosixStr.c.ORIG
cp tclPosixStr.c.ORIG tclPosixStr.c
by commenting the following set of lines:
120 through 122
327 through 329
566 through 568
774 through 776
4. Build the TCL 7.5 library:
$ cd ../unix
$ gmake
5. Install TCL 7.5 in /usr/local, make sure
/usr/local exists and
is writable:
$ su
# gmake install
# exit
6. Set the environment variable ORALE_HOME to the
location where
Oracle8i was installed:
$ export
ORACLE_HOME=<location_where_8i_was_installed>
7. Copy the new TCL library to ORACLE_HOME and
build the
executables:
$ cp libtcl7.5.a $ORACLE_HOME/network/lib
$ cd $ORACLE_HOME/network/lib
$ ln -s libtcl7.5.a libtcl.a
$ gmake -f ins_oemagent.mk agent
null -
EM Daemon is not running.
Today when I started my laptop (XP SP2 with Oracle 10gR2, used as stand alone just for practice) I tried as usual to start the listener and called the EM DB console. I do this operation everyday and today I noticed from the console that everything was down, listener and connection to instance. This never happened so I started thinking of what I might have changed last time and the only operation I did was creating 2 directory objects 1 for data dumps and one for the relative logs from the command output. I used expdp from command line to export a table and this worked fine. Nothing else.
Today not only the console is not working but sqlplus gives as output:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
What I found is that when running
emctl status dbconsole
the output says : EM Daemon is not running.
I checked the windows services and all needed processes seemed to be running.
Despite I tried to restart the DBconsole process nothing changed.
Then restarted the OracleService<SID> process and checked again with
emctl status dbconsole.
Again it goes "EM Daemon is not running". But if I try to restart it tells me that the agent is already running.
I thought nothing had been fixed, instead surprisingly everything was now working fine, console and sqlplus.
Any idea of what might have happened? And ... is it regular that I still see the message EM Daemon is not running even if everything seems to be up and running ?
I then restarted my laptop and had exactly same experience - nothing was up despite the OracleService<SID> process was started in the services panel as well as the listener and the dbconsole agent.
Again, the situation was fixed by restarting the OracleService<SID> process although the output of emctl status dbconsole shows "EM Daemon is not running ".
This has happened overnight, and as said the only operations I did were those 2 basic creations of directories objects and dump of a user table. Until yesterday I never needed to manually restart the OracleService<SID> process.
Please let me know if you would like to see any logs or have the precise commands I ran.
Thanks,
EnricoThanks Madrid - it is weird because my laptop is isolated on may desk, and does not connect to any network since one month back. I have always been working with the loopback adapter that I configured months back following the indication on the Oracle site. So I configured it with 192.168.5.5 and always called the em console via my hostname and port, and the hostname is locally mapped to the above IP in the hosts file.
Coming to your advise, I noticed that EM configured with my localhost as the host name. In example, in the homepage the listener looks like LISTENER_"pasticci-116b1b" being "pasticci-116b1b" my hostname.
But above all - what I can't understand is what happened between yesterday and today to have triggered this kind of problems, since before shutting down yesterday I only did those apparently harmless operations...
Enrico -
Managers not running after 10g upgrade
hi,
recently i upgraded my databse from 9.2.0.5 to 10.2.0.3
i followed all the steps correctly to upgrade database but managers are not getting up
my EBS version is 11.5.10.2 . and OS is HP UX 11.11
Edited by: MeakinS on Sep 11, 2008 12:21 PMMeakin,
Do the following:
$ adcmctl.sh stop apps/<appspwd>
Make sure there's no FNDLIBR process.Give it couple of mins to clear all the FNDLIBR processes. To check that, do the following:
ps -ef|grep -i fndlibr
Once these processes are down. Run cmclean.sql, Please find the script in the note given by Hussein.
$ sqlplus apps/apps @cmclean.sql.
You need to issue commit, once the script is done.
Then start the CM, using adcmctl.sh start apps/apps
Do check the log file for any errors. Though you see a exit code "0", it's always a good practise to check the logfiles. If you find any errors in the logfile, do update us. If not, Run Auto-config and re-try. -
-bash: sqlplus: command not found / Oracle file permissons
Hi,
I am running Oracle EE 10.2.0.1.0, on a RHEL 4-U2 server.
When I try to use sqlplus from a non dba account I get the following error:
[pemarten@orclserv ~]$ sqlplus pemarten/mypassword
-bash: sqlplus: command not foundAll my environment variables are set and $ORACLE_HOME/bin has been added to the PATH.
The problem seems to be that the file permissions of the oracle flexible architecture are wrong:
[oracle@orclserv 10.2.0]$ pwd
/u01/app/oracle/product/10.2.0
[oracle@orclserv 10.2.0]$ ls -l
totaal 8
drwx--x--- 56 oracle oinstall 4096 dec 12 14:15 db_1
drwxr-x--- 46 oracle oinstall 4096 dec 12 14:14 htmldbThe permission of the db_1 directory is to strict (should be at least chmod 711 I think)
On my other test server (DB version 10.1) the permissions are:
[oracle@locserv 10.1.0]$ pwd
/u01/app/oracle/product/10.1.0
[oracle@locserv 10.1.0]$ ls -l
total 4
drwxr-xr-x 53 oracle oinstall 4096 Oct 12 02:54 db1So I have tried to chmod the directories to at least 711 up to the sqlplus binary, but when I try to execute sqlplus after that I get the following error:
[pemarten@orclserv ~]$ sqlplus pemarten/mypassword
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directorySo this doesn't seem to be an option. My biggest concern is why are the file permissons wrong after installation?
Before installing the oracle software umask 022 was added to the .bash_profile of the oracle user (used to install the software)
Has anyone experienced similar problems?
Does anyone knows how to solve this?
Thank You.
PieterIvan,
Thanks for your reply.
I have changed the file permissions of +- 5 files in the lib directory, every time that I changed the permission of 1 file, I got an error for another one.
Now I am getting the following error
[pemarten@orclserv ~]$ sqlplus pemarten/mypassword
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properlyAccording to oerr there are still lib files with wrong permissions...
What I would like to know is :
1) Are the file permissions changed in 10.2 (only DBA's can use sqlplus on the database server) ? If not I probably did something wrong and I will do a reinstall
2) Can anyone who has version 10.2 installed post an ls -l of his $ORACLE_HOME directory please, so I can compare the file permissions ?
Thank You,
Pieter -
SAPOSCOL not running in MS Cluster
Hi, gurus:
We have a problem with SAPOSCOL in a SAP ECC 6.0 system (SAP ECC 6.0 + NetWeaver 7.00 + Oracle 10.2 + Windows Server 2003 R2 Enterprise x64 Edition) running over a MS cluster:
Transactions OS06/ST06 shows no data, and they show an info message wich states: SAPOSCOL not running ? (shared memory not available ). When we checked this issue, we noticed that, in fact, there is no sapcoscol.exe task running in any node.
But when we try to start the service (both using microsoft services console and cmd commands) although we can see the process running in the node which owns all the resources, SAP seems not notice that. The information system shows in ST06>Operating System Collector>Status is the following:
iinterval 0 sec.
Collector Version:
Date/time 05.09.2008 16:55:01
Start of Collector
Status report
Collector Versions
running COLL 20.95 700 - 20.64 NT 07/10/17
dialog COLL 20.95 700 - 20.65 NT 08/02/06
Shared Memory attached
Number of records 575
Active Flag active (01)
Operating System Windows NT 5.2.3790 SP 2 BL-SAP2 4x AMD64 Level 1
Collector PID 0 (00000000)
Collector not running (process ID not found).
Start time coll. Thu Jan 01 01:00:00 1970
Current Time Fri Sep 05 16:55:01 2008
Last write access Mon Sep 01 11:28:23 2008
Last Read Access Fri Sep 05 15:54:00 2008
Collection Interval 10 sec (next delay).
Collection Interval 10 sec (last ).
Status read
Collect Details required
Refresh required
Header Extention Structure
Number of x-header Records 1
Number of Communication Records 60
Number of free Com. Records 60
Resulting offset to 1.data rec. 61
Trace level 3
Collector in IDLE - mode ? NO
become idle after 300 sec without read access.|
Length of Idle Interval 60 sec
Length of norm.Interval 10 sec
But saposcol.exe is running with a certain PID in the same note than SAP and Oracle under user sapservice<sid>
We have tried to run saposcol in several ways (as, I have noted before: from microsoft service console, from cmd line using "net start saposcol", using the saposcol under C:\WINDOWS\SapCluster and the one under
F:\usr\sap\PRD\sys\exe\run, fom the two nodes, accessing the cluster through several IPs...) and tried the commands saposcol -c and saposcol -k but we cannot get the saposcoll run. Moreover, we haven't found any log information. The only log we (and SAP) could find is the one located in C:\WINDOWS\SapCluster\dev_coll.
This log remain frozen at September 1st:
SAPOSCOL version COLL 20.95 700 - 20.64 NT 07/10/17, 64 bit, multithreaded, Non-Unicode
compiled at Feb 3 2008
systemid 562 (PC with Windows NT)
relno 7000
patch text COLL 20.95 700 - 20.64 NT 07/10/17
patchno 146
intno 20050900
running on BL-SAP2 Windows NT 5.2 3790 Service Pack 2 4x AMD64 Level 15 (Mod 65 Step 3)
12:04:16 01.09.2008 LOG: Profile : no profile used
12:04:16 01.09.2008 LOG: Saposcol Version : [COLL 20.95 700 - 20.64 NT 07/10/17]
12:04:16 01.09.2008 LOG: Working directory : C:\WINDOWS\SAPCLU~1
12:04:16 01.09.2008 LOG: Allocate Counter Buffer [10000 Bytes]
12:04:16 01.09.2008 LOG: Allocate Instance Buffer [10000 Bytes]
12:04:17 01.09.2008 LOG: Shared Memory Size: 71898.
12:04:17 01.09.2008 LOG: Connected to existing shared memory.
12:04:17 01.09.2008 LOG: MaxRecords = 575 <> RecordCnt + Dta_offset = 614 + 61
12:04:22 01.09.2008 WARNING: WaitFree: could not set new shared memory status after 5 sec
12:04:22 01.09.2008 WARNING: Cannot create Shared Memory
Kernel Info:
Kernel release 700
Compilation NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00
Sup.Pkg lvl. 146
ABAP Load 1563
CUA load 30
Mode opt
Can anyone shed some light on the subject?
Thank you very much and kind regards
Edited by: Jose Enrique Sepulveda on Sep 6, 2008 2:10 AMDear bhaskar:
Thanks for your reply. We have considered balancing the system to the other node or reboot the system to free resources, in order to re-create the shared memory, but in the past, the balancing process (move resources from one node to the other) has caused problems. Since this is a critical system, stopping (or balancing) is not an option right now, and updating the kernel requires an ABAP stack reboot plus the kernel change : any changes in system configuration requires a longer approval/planning process than a reboot.
Moreover, the OS collecting system and its display in OS06/ST06 has worked fine until now.
Does anyone knows if a reboot has solved this kind of problem in a similar situation?
Thanks in advance
José Enrique -
I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???
Welcome to the Apple Community.
Enter the details of her second account at system preferences> mail, contacts & calendars.
Maybe you are looking for
-
Safari bounces once then stops ...
I have looked through the forum and found nothing, so I am hoping that someone can help me out. I have a user with a Dual 2.5 GHz PowerPC G5 who started having Safari, Software Update and the Dashboard constantly crashing. When you select either Safa
-
Screen Sharing and Open Directory (10.8)
I'm trying to allow Open Directory users to login over Screen Sharing to my Mountain Lion servers. I have tried the solution on the page linked below and it isn't working. Maybe I'm missing something: https://discussions.apple.com/thread/2329389?star
-
Why does plugin container crash ONLY on city of wonder on facebook
When trying to load City of Wonder on facebook, I get firefox not responding, then it closes, and checks for a solution. Then it tells me that a plugin container stopped working. Ive tried everything, as it works fine on my daughter computer with an
-
Internal Server Error When Trying to Open Flex Builder Tutorials
Anyone know what I need to set up to run the tutorials in Flex Builder - get an internal error server (500) when trying to open up the tutorials listed on the start page. I can open, compile and run projects . Thanks
-
Question mark instead of photo in email
When I send a photo in an email from my mac to iphone, the photo only shows up as a question mark in the email on the iphone. Can anyone tell me why? Message was edited by: ringtone