Oracle_unqname and oracle_hostname
Hi guys,
Every time i want to stop dbconsole or to start it, i'm prompted to set ORACLE_UNQNAME. Ok, i set it, and then i get an EM configuration issue. How, or where should i (re)define these settings, so the ORACLE_UNQNAME being set to 'orcl' and ORACLE_HOSTNAME to 'localhost'? I did not want every time to set them..
C:\Documents and Settings\Sorin>emctl stop dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to da
tabase unique name.
C:\Documents and Settings\Sorin>set ORACLE_UNQNAME=orcl
C:\Documents and Settings\Sorin>emctl stop dbconsole
EM Configuration issue. D:\oracle\product\11.2.0\dbhome_1/roger_orcl not found.
C:\Documents and Settings\Sorin>set ORACLE_HOSTNAME=localhostThanks
Ok, koszi ;)
but however...
C:\Documents and Settings\Sorin>emca -deconfig dbcontrol db
Incorrect usage:
oracle.sysman.emcp.EMConfigAssistant [options] [list of parameters]
Options:
-a :configure for an ASM database
-b :configure for automatic backup
-c :configure a cluster database
-e <node> :remove a node from the cluster
-f <file> :specify the file name that contains parame
ter values
-h :help
-m :configure EM for a central agent
-n <node> :add a new node to the cluster
-r :skip creation of repository schema
-s :silent mode (no user prompts
-x <db> :deletion of a SID or DB
-RMI_PORT <port> :specify the RMI port for DB Control
-JMS_PORT <port> :specify the JMS port for DB Control
-AGENT_PORT <port> :specify the EM agent port
-DBCONSOLE_HTTP_PORT <port> :specify the DB Control HTTP port
The script will prompt for any required data that is not specified in a configur
ation file. The script always prompts for all required passwords. If you use a
configuration file, the file may contain any of the following specifications, a
s shown, with the specified values correctly filled in:
Parameters for single instance databases:
HOST=<Database hostname>
SID=<Database SID>
PORT=<Listener port number>
ORACLE_HOME=<Database ORACLE_HOME>
LISTENER=<Listener name>
HOST_USER=<Host user name for automatic backup>
HOST_USER_PWD=<Host user password for automatic backup>
BACKUP_HOUR=<Automatic backup hour in number>
BACKUP_MINUTE=<Automatic backup minute in number>
........Edited by: Roger22 on 09.09.2011 19:44
Similar Messages
-
I want to start enterprise manager
emctl status dbconsole
Can't locate CompEMdbconsole.pm in @INC (@INC contains: %s_javapOracleHome%/sysman/admin/scripts %s_javapOracleHome%/bin /oracle_data_new/ora11203/11203/perl/lib/5.10.0/sun4-solaris-thread-multi-64 /oracle_data_new/ora11203/11203/perl/lib/5.10.0 /oracle_data_new/ora11203/11203/perl/lib /oracle_data_new/ora11203/11203/perl/lib/site_perl/5.10.0/sun4-solaris-thread-multi-64 /oracle_data_new/ora11203/11203/perl/lib/site_perl/5.10.0 /oracle_data_new/ora11203/11203/perl/lib/site_perl /oracle_data_new/ora11203/11203/perl/libwww-perl/lib /oracle_data_new/ora11203/11203/perl/ext/POSIX /oracle_data_new/ora11203/11203/perl/URI /oracle_data_new/ora11203/11203/perl/HTML_Parser /oracle_data_new/ora11203/11203/perl/HTML-Parser/lib /oracle_data_new/ora11203/11203/sysman/admin/scripts /oracle_data_new/ora11203/11203/bin /oracle_data_new/ora11203/11203/sysman/admin/scripts/Net-DNS-0.48/lib/ /oracle_data_new/ora11203/11203/sysman/admin/scripts/libnet-1.19/ .) at /oracle_data_new/ora11203/11203/bin/EmctlCommon.pm line 598.
i have done some changes
such as
emca -config dbcontrol db -repos recreate
i am getting error as
1) Listener port 1521 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service orcl is not registered with listener. Register the database service.
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is set to virtual host. Unset ORACLE_HOSTNAME environment variable.
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname.
1.status of my listner is
lsnrctl status
LSNRCTL for Solaris: Version 11.2.0.3.0 - Production on 19-AUG-2013 05:12:45
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 11.2.0.3.0 - Production
Start Date 19-AUG-2013 01:26:19
Uptime 0 days 3 hr. 46 min. 27 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle_data_new/ora11203/11203/network/admin/listener.ora
Listener Log File /oracle/diag/tnslsnr/ora/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora)(PORT=1521)))
Services Summary...
Service "orcl" has 2 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Instance "orcla", status BLOCKED, has 1 handler(s) for this service...
The command completed successfully
thanx in advance
server
SunOS ora 5.10 Generic_142900-13 sun4u sparc SUNW,Sun-Firethanx
on my another database
emctl status dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
i set the env
but still same error
emca -config dbcontrol db -repos create
1) Listener port 1521 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service orcl is not registered with listener. Register the database service.
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is set to virtual host. Unset ORACLE_HOSTNAME environment variable.
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname.
all files are present at $oracle_home/bin -
Hi all,
When I try to start my em dbconsole, I get the following error:
emctl start dbconsole
OC4J Configuration issue. /u02/app/db11g/product/11.2.0.1/db_1/oc4j/j2ee/OC4J_DBConsole_suse_orcl not found.
db11g@SUSE:/u02/app/db11g/product/11.2.0.1/db_1>
I am not sure what the issue is, as the database is started and running.
Any advice?
Many thanks.go to --> /u02/app/db11g/product/11.2.0.1/db_1/oc4j/j2ee/
you have to search for OC4J_DBConsole_AAAAAAA_XXXXXX, where XXXXX is your ORACLE_UNQNAME and AAAAA is your ORACLE_HOSTNAME
ls -l OC4J_DBConsole*
and
export ORACLE_UNQNAME = XXXXX
export ORACLE_HOSTNAME= AAAAA
and try again -
As part of starting the Oracle Enterprise Manager, while trying to create the repository using the command
emca -repos create, We are getting the following error.
STARTED EMCA at Jun 4, 2012 2:56:15 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: blr22111
Listener port number: 1522
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: Y
Jun 4, 2012 2:56:36 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /scratch/oradba/db/tech_st/11.2.0/cfgtoollogs/emca/blr22111/emca_2012_06_04_14_56_15.log.
Jun 4, 2012 2:56:36 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: ORA-01031: insufficient privileges
Jun 4, 2012 2:56:36 PM oracle.sysman.emcp.EMConfig perform
SEVERE:
Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
Some of the possible reasons may be:
1) Listener port 1522 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service blr22111 is not registered with listener. Register the database service.
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is set to virtual host. Unset ORACLE_HOSTNAME environment variable.
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname.
Refer to the log file at /scratch/oradba/db/tech_st/11.2.0/cfgtoollogs/emca/blr22111/emca_2012_06_04_14_56_15.log for more details.
Could not complete the configuration. Refer to the log file at /scratch/oradba/db/tech_st/11.2.0/cfgtoollogs/emca/blr22111/emca_2012_06_04_14_56_15.log for more details.
In the error file mentioned, this is the error
CONFIG: Error accessing inventory.
oracle.sysman.oii.oiii.OiiiInventoryDoesNotExistException: The inventory pointer location /etc/oraInst.loc is either not readable or does not exist
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1874)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:301)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.emcp.util.OUIInventoryUtil.getOUILoc(OUIInventoryUtil.java:135)
at oracle.sysman.emcp.util.ClusterUtil.isHASInstalled(ClusterUtil.java:279)
at oracle.sysman.emcp.EMConfig.<clinit>(EMConfig.java:159)
at oracle.sysman.emcp.EMConfigAssistant.<clinit>(EMConfigAssistant.java:211)
Please let me know how to proceed.931017 wrote:
As part of starting the Oracle Enterprise Manager, while trying to create the repository using the command
emca -repos create, We are getting the following error.
STARTED EMCA at Jun 4, 2012 2:56:15 PM
EM Configuration Assistant, Version 11.2.0.3.0 Production
Copyright (c) 2003, 2011, Oracle. All rights reserved.
Enter the following information:
Database SID: blr22111
Listener port number: 1522
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: Y
Jun 4, 2012 2:56:36 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /scratch/oradba/db/tech_st/11.2.0/cfgtoollogs/emca/blr22111/emca_2012_06_04_14_56_15.log.
Jun 4, 2012 2:56:36 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: ORA-01031: insufficient privileges
Jun 4, 2012 2:56:36 PM oracle.sysman.emcp.EMConfig perform
SEVERE:
Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
Some of the possible reasons may be:
1) Listener port 1522 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service blr22111 is not registered with listener. Register the database service.
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is set to virtual host. Unset ORACLE_HOSTNAME environment variable.
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname.
Refer to the log file at /scratch/oradba/db/tech_st/11.2.0/cfgtoollogs/emca/blr22111/emca_2012_06_04_14_56_15.log for more details.
Could not complete the configuration. Refer to the log file at /scratch/oradba/db/tech_st/11.2.0/cfgtoollogs/emca/blr22111/emca_2012_06_04_14_56_15.log for more details.
In the error file mentioned, this is the error
CONFIG: Error accessing inventory.
oracle.sysman.oii.oiii.OiiiInventoryDoesNotExistException: The inventory pointer location /etc/oraInst.loc is either not readable or does not exist
at oracle.sysman.oii.oiii.OiiiInstallAreaControl.initAreaControl(OiiiInstallAreaControl.java:1874)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:301)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.emcp.util.OUIInventoryUtil.getOUILoc(OUIInventoryUtil.java:135)
at oracle.sysman.emcp.util.ClusterUtil.isHASInstalled(ClusterUtil.java:279)
at oracle.sysman.emcp.EMConfig.<clinit>(EMConfig.java:159)
at oracle.sysman.emcp.EMConfigAssistant.<clinit>(EMConfigAssistant.java:211)
Please let me know how to proceed.So starting from the first error pointed, is your listener port number is correct?
Aman.... -
WARNING : While repository is dropped the database will be put in quiesce mode.
Do you wish to continue? [yes(Y)/no(N)]: Y
Oct 15, 2010 7:54:32 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at c:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\sscm\emca_2010-10-15_07-53-28-AM.log.
Oct 15, 2010 7:54:42 AM oracle.sysman.emcp.ParamsManager checkListenerStatusForD
BControl
WARNING: ORA-12541: TNS:no listener
Oct 15, 2010 7:54:42 AM oracle.sysman.emcp.EMConfig perform
SEVERE:
Database connection through listener failed. Fix the error and run EM Configurat
ion Assistant again.
Some of the possible reasons may be:
1) Listener port 1526 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service sscm is not registered with listener. Register the database
service.
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is s
et to virtual host. Unset ORACLE_HOSTNAME environment variable.
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<vir
tual host>.
6) /etc/hosts does not have correct entry for hostname.
Refer to the log file at c:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\emc
a_2010-10-15_07-53-28-AM.log for more details.
Could not complete the configuration. Refer to the log file at c:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\sds\emca_2010-10-15_07-53-28-AM.log for more deta
ils.
how ever listener status
=================
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 10.2.0.5.0 - Prod
ction
Start Date 01-OCT-2010 15:09:50
Uptime 13 days 16 hr. 47 min. 56 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File c:\oracle\product\10.2.0\db_1\network\admin\listener.
ra
Listener Log File c:\oracle\product\10.2.0\db_1\network\log\listener.lo
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROCipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name)(PORT=1526)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "SSdata" has 1 instance(s).
Instance "Sdata", status UNKNOWN, has 1 handler(s) for this service...
Service "Sdata" has 2 instance(s).
Instance "Sdata", status UNKNOWN, has 1 handler(s) for this service...
Instance "data", status READY, has 1 handler(s) for this service...
Service "SSCSHIPDATA" has 1 instance(s).
Instance "SSCSHIPDATA", status UNKNOWN, has 1 handler(s) for this service...
Service "data" has 1 instance(s).
Instance "bob", status UNKNOWN, has 1 handler(s) for this service...
Service "sscr_XPT" has 1 instance(s).
Instance "data", status READY, has 1 handler(s) for this service...
The command completed successfully
from OEM log file
============
ONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: sscr
Oct 3, 2010 7:21:30 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Oct 3, 2010 7:21:30 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: connectDesc : (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=USBOU1-SSCPROD.emrsn.org)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=sscr)))
Oct 3, 2010 7:21:30 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: sscr, oracleHome: c:\oracle\product\10.2.0\db_1, and user: SYS
Oct 3, 2010 7:21:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Oct 3, 2010 7:21:32 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
WARNING: ORA-12541: TNS:no listener
Oct 3, 2010 7:21:32 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Oct 3, 2010 7:21:32 PM oracle.sysman.emcp.EMConfig perform
SEVERE:
Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
Some of the possible reasons may be:
1) Listener port 1521 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service sscr is not registered with listener. Register the database service.
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is set to virtual host. Unset ORACLE_HOSTNAME environment variable.
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname.
Refer to the log file at c:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\sscr\emca_2010-10-03_07-21-09-PM.log for more details.
Oct 3, 2010 7:21:32 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException:
Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
Some of the possible reasons may be:
1) Listener port 1521 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service sscr is not registered with listener. Register the database service.
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is set to virtual host. Unset ORACLE_HOSTNAME environment variable.
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname.
at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:2750)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:182)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:141)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:494)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1161)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:478)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:426)
however it is using 1521 port numberyes still i have issue.
saying
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException:
Database connection through listener failed. Fix the error and run EM Configuration Assistant again.
Some of the possible reasons may be:
1) Listener port 1521 provided is incorrect. Provide the correct port.
2) Listener is not up. Start the Listener.
3) Database service sscr is not registered with listener. Register the database service.
4) Listener is up on physical host and ORACLE_HOSTNAME environment variable is set to virtual host. Unset ORACLE_HOSTNAME environment variable.
5) Listener is up on virtual host. Set environment variable ORACLE_HOSTNAME=<virtual host>.
6) /etc/hosts does not have correct entry for hostname.
at oracle.sysman.emcp.ParamsManager.checkListenerStatusForDBControl(ParamsManager.java:2750)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:182)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:141)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:171)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:494)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1161)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:478)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:426) -
11gR2 error installation at 86%
I'm trying to install Oracle 11gr2 32bit on windows xp sp3 but im running into this error when the OUI gets to about 86% of the installation:
1) Set the environment variable ORACLE_UNQNAME to Database unique name
2) /u01/app/oracle/product/11.2.0/db_1/bin/emctl start dbconsole
http://i.imgur.com/WwZ0FqK.png
I have installed the loopback adapter and set the IP to 10.10.10.10, submask to 255.255.255.0, and added the following to my hosts file. (winxp is my computer name):
10.10.10.10 winxp
I have added a new environment variable ORACLE_UNQNAME and set it to orcl.
Any help is appreciated
thanks
Edited by: minecraft addict on Mar 21, 2013 3:53 PM
Edited by: minecraft addict on Mar 21, 2013 3:53 PMOkay, so i ran emctl start dbconsole in command prompt and got the following response, but when i try to login to enterprise manager as SYS it says "Internal Error has occurred. Check the log file for details."
Command prompt log:
C:\app\Administrator\product\11.2.0\dbhome_1\BIN>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://localhost:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ...The OracleDBConsoleor
cl service is starting..... -
Echec to install Oracle database 11gr2 in OEL5.6, OEL 5.5 and RHEL 5.6
I try to install Oracle 11gr2 in Linux with the traditionnal installation but after several installation test i am disappointed.
i make test on several distribution of Linux 64bits (OEL 5.6, OEL 5.5, RHEL 5.6) and SAME result : The installation of Oracle stop at 81 % .
I have installed the packages required with the command line : yum install oracle-validated
I thinks it's a problem of library but what library ?
Thanks you by advance.
The log of my install :
INFO: gcc -o ctxhx -m64 -L/oracledata/product/11.2.0/dbhome_3/ctx/lib/ -L/oracledata/product/11.2.0/dbhome_3/lib/ -L/oracledata/product/11.2.0/dbhome_3/lib/stubs/ /oracledata/product/11.2.0/dbhome_3/ctx/lib/ctxhx.o -L/oracledata/product/11.2.0/dbhome_3/ctx/lib/ -lm -lsc_fa -lsc_ex -lsc_da -lsc_ca -lz -lctxhx -Wl,-rpath,/oracledata/product/11.2.0/dbhome_3/ctx/lib -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `cat /oracledata/pro
INFO: duct/11.2.0/dbhome_3/lib/sysliblist`
INFO: /usr/bin/ld: warning: libwv_core.so, needed by /oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so, not found (try using -rpath or -rpath-link)
/usr/lib64/libstdc++.so.5: undefined reference to `__stack_chk_fail@GLIBC_2.4'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeFree'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNLoadLibrary'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_da.so: undefined reference to `Win32VIn
INFO: it'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNDestroyCriticalSection'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNGetProcAddress'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeAlloc'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VCreateHandle'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `Win32VBailOut'
/ora
INFO: cledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `Win32VPushBailOutEx'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringConcat'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_da.so: undefined reference to `Win32VDeinit'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeLock'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
/oracle
INFO: data/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputSolutionByName'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SYSNativeUnlock'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_ex.so: undefined reference to `SYSNativeReAlloc'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNCreateCriticalSection'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputVtabl
INFO: e'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringToBytes'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPStringCopy'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SCCExceptionTrap::~SCCExceptionTrap()'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNCompareTimes'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VInitBail
INFO: Out'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SPSubstringReplace'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFindClose'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNEnterCriticalSection'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFreeLibrary'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VOnAssertionFailure'
INFO: oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNLeaveCriticalSection'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SNGetLibrarySpec'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SCCExceptionTrap::SCCExceptionTrap(int, char const*, int)'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VDebugString'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined
INFO: reference to `SNFindFirstFile'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `SNSetCriticalSectionFactoryType'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VGetOutputSolutionByType'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VSetDefaultOutputSolutionForType'
/oracledata/product/11.2.0/dbhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VSetHandleUserData'
/oracledata/product/11.2.0/d
INFO: bhome_3/ctx/lib/libsc_ut.so: undefined reference to `Win32VPopBailOut'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SPBytesToString'
/oracledata/product/11.2.0/dbhome_3/ctx/lib//libsc_fa.so: undefined reference to `SNFindNextFile'
collect2: ld a retourné 1 code d'état d'exécution
INFO: make: *** [ctxhx] Erreur 1
INFO: Arrêter la sortie à partir du processus généré dynamiquement.
List of my RPM
rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|libstc|gcc'|sort
avahi-compat-libdns_sd-0.6.16-9.el5_5.x86_64
compat-dapl-2.0.25-2.el5_5.1.i386
compat-dapl-2.0.25-2.el5_5.1.x86_64
compat-dapl-devel-2.0.25-2.el5_5.1.i386
compat-dapl-devel-2.0.25-2.el5_5.1.x86_64
compat-dapl-utils-2.0.25-2.el5_5.1.x86_64
compat-db-4.2.52-5.1.x86_64
compat-gcc-34-3.4.6-4.1.x86_64
compat-gcc-34-c++-3.4.6-4.1.x86_64
compat-libgcc-296-2.96-138.i386
compat-libstdc++-296-2.96-138.i386
compat-libstdc++-33-3.2.3-61.i386
compat-libstdc++-33-3.2.3-61.x86_64
gcc-4.1.2-50.el5.x86_64
gcc-c++-4.1.2-50.el5.x86_64
gcc-gfortran-4.1.2-50.el5.x86_64
gcc-java-4.1.2-50.el5.x86_64
glibc-2.5-58.i686
glibc-2.5-58.x86_64
glibc-common-2.5-58.x86_64
glibc-devel-2.5-58.i386
glibc-devel-2.5-58.x86_64
glibc-headers-2.5-58.x86_64
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.x86_64
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115.i386
java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115.x86_64
java-1.4.2-gcj-compat-src-1.4.2.0-40jpp.115.x86_64
libgcc-4.1.2-50.el5.i386
libgcc-4.1.2-50.el5.x86_64
My .bash_profile file
# .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
# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_HOSTNAME=rhel56.bonifay.san; export ORACLE_HOSTNAME
ORACLE_UNQNAME=SID1; export ORACLE_UNQNAME
ORACLE_BASE=/oracledata; export ORACLE_BASE
ORACLE_HOME=/oraclebin/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_SID=SID1; export ORACLE_SID
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATHthanks Dude.
But same result with /u01 and $PATH
For info my variables environnement, if you have a idea
HOSTNAME=OEL55.bonifay.sa
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
ORACLE_UNQNAME=SID1
TMPDIR=/tmp
USER=oracle
LD_LIBRARY_PATH=/u01/product/11.2.0/db_1/lib:/lib:/lib64:/usr/lib:/usr/lib64
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
ORACLE_SID=SID1
ORACLE_BASE=/u01
ORACLE_HOSTNAME=OEL55.bonifay.sa
MAIL=/var/spool/mail/oracle
PATH=/u01/product/11.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin
INPUTRC=/etc/inputrc
PWD=/home/oracle
LANG=fr_FR.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SHLVL=1
HOME=/home/oracle
TMP=/tmp
LOGNAME=oracle
CVS_RSH=ssh
CLASSPATH=/u01/product/11.2.0/db_1/jlib:/u01/product/11.2.0/db_1/rdbms/jlib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/u01/product/11.2.0/db_1
G_BROKEN_FILENAMES=1
_=/bin/env -
11g R2 wont work under windows 2008 R2 doesnt support UTC, and cant change.
I posted this in error under general, and got no responses. So now Im cutting and pasting it into installation, in a last ditched attemtp to find a way to get a clean installation of oralce on a clean installation of Windows Server 2008 R2 working.
Problem:
1) cannt connect to oracle outside of box. Get "TNS Connection timeout occured"
2) em console "Sepecify Host and Target Database Credentials" always says "Connection refused: connect", even though the OS user/pass and DB user/pass are correct.
What does work:
1) I can "select * from dual" using "sqlplus / as sysdba" from the commandline on the box itself.
2) Once, before I got em console half working, I could connect to the DB from outside the box with SYS as SYSDBA using toad. Now I cant.
How I installed it:
1) created a user called "oracle" and put them in the Administrators group.
2) ran the downloaded installer for enterprise version, partition option chosen, AL32UTF8 char set, global db name: orcl, sid: orcl, "Assert all new security settings on" (No idea what this is) etc.
3) at the end of the installer it came up with the following error:
"Set the environment variable ORACLE_UNQNAME to the database unique name"
3.5) opened up the incomming connections in the windows FW for 1158 and 1521 TCP from all.
4) set ORACLE_UNQNAME as a system env var for oracle as "orcl"
5) set ORACLE_HOME to c:\app\oracle\product\11.2.0 (or should this be c:\app\oracle\product\11.2.0\dbhome_1 ??)
6) set ORACLE_SID to orcl
7) set ORACLE_HOST to dilbert (the machine name)
Rebooted.
8) logged into em console on https:
dilbert:1158 (works from inside or outside the box).
9) Entered the oracle windows user userame & pass, and SYS and pass (with connect as SYSDBA). However, it always says "Connectoin refused: connect"
Im not using a domain. computer name is correctly setup as "dilbert" in the OS.
I cant think of anything to try, and dont know how to start debugging this problem.
If I look at the running services, i see:
OracleDBConsolorcl Stopped
OracleJobSchedulerORCL Stopped
OracleMTSRecoveryService Stopped
OracleOraDb11g_home1CLRAgent stopped
OracleORADb11g_home1TNSListener Stopped
OracleServiceORCL Running
OrclVssWriterORCL Stopped
nd if i try and start those services as oracle (who is in the Administrators group) it says "The operation could not be completed. Access is denied". If I run task manager as Administrator, I can start all of them except for the TNSListener which doesnt do anything, you say start, and it stays stopped. No errors, now warnings. and the JobSchedulreORCL which says no associated devices.
HAving manually started some of the services (no idea if you are supposed to do that, cant find any installation documentation which covers before/after running the installer), when I try and specify the host and target database credentials in em console, it says:
Validation Error
Please correct the following error:
dbUserPassword - This field must be specified
However, the DB password for SYS IS specified and correct - so I have no way to fix this.
I cant find anyinformatin online where to look for log files, but there is nothing in sysman\log
Now em console is saying "Conection refused" again, and the following process have killed themselves (as will I soon)
OracleDBConsolercl Stoppped
The others which I succeded in starting are still running. So TNSListener nor jobscheduler will start, and Consolerocl kills itself after a minute.
Well, looks like I'm on my own on this one. Oracle will not intall on windows, and none seems to have noticed. Doing a day of googling reveals that all the log files which are supposed to live in sysman/log do not exist in this installation, so no help there.
However, I did find an obscure log which says:
The agentTZRegion value in C:\app\oracle\product\11.2.0\dbhome_1\wario_orcl/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
The TZ of the windows server is set to "UTC" at long time ago. There is nothing in the oralce windows installation guide to say "Do not use UTC, the most comon server time zone in europe". There is no mention of supported windows timezones.
Now if Oracle doesnt support basic UTC, then we are all in trouble.
There are hundreds of articles with this problem and how to solve it on Unix, but almost none for Windows. Do we have to solve Oracle installation bugs ourselves? Is there no support?
Doing the below reveals that Oracle thinks that UTC is America/Rio_Branco. That HAS to be a bug.
C:\app\oracle\product\11.2.0\dbhome_1\BIN>emctl config agent getTZ
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Unable to open file for logging. C:\app\oracle\product\11.2.0\dbhome_1/wario_orc
l/sysman/log/emctl.log: Permission denied
America/Rio_Branco
So what next?
The list of "supported" timezones in supportedtzs.list only lists UNIX timezones, and NO UTC!!!!!
Googling this turns up nothing - noone on the planet seems to use UTC on their servers. I find this absolutely shocking.
Windows server ONLY users UTC - it doesnt support GMT any more.
So I have to now randomly try timezones in Windows which I dont want, which will be different from all the other servers in the Datacenter. It means all our reports will be out by 1 hour in summer ifI have to chose a timzeone which has daylight savings, compared with all the other databases which are UTC (not daylight savings).
I would expect this from freeware maintained by one person in his garage.
It seems that this Timezone issue emans Oracle will not run on windows.
Tried a lot of things, including setting the timzeonse in windows to be "(UTC) Dublin, Edinburgh, Lisbon, London", which unfortuantely is not UTC (as it is affected by daylight savings).
When you run
"emctl config agent getTZ"
you get:
"Europe/London"
The only oracle documentation I can find on this subject tells you to edit the emd.properties, and modify the agentTZRegion property, which doesnt exist.
I tried the following command:
"c:\app\oracle\product\11.2.0\dbhome_1\BIN>emctl resetTZ agent"
Which tells you to execute:
SQL> exec mgmt_target.set_agent_tzrgn('wario:3938','Europe/London')
SQL> commit
However, when I do this, I get:
SQL> exec mgmt_target.set_agent_tzrgn('wario:3938','Europe/London')
BEGIN mgmt_target.set_agent_tzrgn('wario:3938','Europe/London'); END;
ERROR at line 1:
ORA-20233: Invalid agent name wario:3938
ORA-06512: at "SYSMAN.MGMT_TARGET", line 3811
ORA-06512: at line 1
Great. Obviosly, Im loggin in as SYS as no other users have been setup, and certainly I have not seen nor created nor set the password for "em repository user".I posted this in error under general, and got no responses. So now Im cutting and pasting it into installation, in a last ditched attemtp to find a way to get a clean installation of oralce on a clean installation of Windows Server 2008 R2 working.
Problem:
1) cannt connect to oracle outside of box. Get "TNS Connection timeout occured"
2) em console "Sepecify Host and Target Database Credentials" always says "Connection refused: connect", even though the OS user/pass and DB user/pass are correct.
What does work:
1) I can "select * from dual" using "sqlplus / as sysdba" from the commandline on the box itself.
2) Once, before I got em console half working, I could connect to the DB from outside the box with SYS as SYSDBA using toad. Now I cant.
How I installed it:
1) created a user called "oracle" and put them in the Administrators group.
2) ran the downloaded installer for enterprise version, partition option chosen, AL32UTF8 char set, global db name: orcl, sid: orcl, "Assert all new security settings on" (No idea what this is) etc.
3) at the end of the installer it came up with the following error:
"Set the environment variable ORACLE_UNQNAME to the database unique name"
3.5) opened up the incomming connections in the windows FW for 1158 and 1521 TCP from all.
4) set ORACLE_UNQNAME as a system env var for oracle as "orcl"
5) set ORACLE_HOME to c:\app\oracle\product\11.2.0 (or should this be c:\app\oracle\product\11.2.0\dbhome_1 ??)
6) set ORACLE_SID to orcl
7) set ORACLE_HOST to dilbert (the machine name)
Rebooted.
8) logged into em console on https:
dilbert:1158 (works from inside or outside the box).
9) Entered the oracle windows user userame & pass, and SYS and pass (with connect as SYSDBA). However, it always says "Connectoin refused: connect"
Im not using a domain. computer name is correctly setup as "dilbert" in the OS.
I cant think of anything to try, and dont know how to start debugging this problem.
If I look at the running services, i see:
OracleDBConsolorcl Stopped
OracleJobSchedulerORCL Stopped
OracleMTSRecoveryService Stopped
OracleOraDb11g_home1CLRAgent stopped
OracleORADb11g_home1TNSListener Stopped
OracleServiceORCL Running
OrclVssWriterORCL Stopped
nd if i try and start those services as oracle (who is in the Administrators group) it says "The operation could not be completed. Access is denied". If I run task manager as Administrator, I can start all of them except for the TNSListener which doesnt do anything, you say start, and it stays stopped. No errors, now warnings. and the JobSchedulreORCL which says no associated devices.
HAving manually started some of the services (no idea if you are supposed to do that, cant find any installation documentation which covers before/after running the installer), when I try and specify the host and target database credentials in em console, it says:
Validation Error
Please correct the following error:
dbUserPassword - This field must be specified
However, the DB password for SYS IS specified and correct - so I have no way to fix this.
I cant find anyinformatin online where to look for log files, but there is nothing in sysman\log
Now em console is saying "Conection refused" again, and the following process have killed themselves (as will I soon)
OracleDBConsolercl Stoppped
The others which I succeded in starting are still running. So TNSListener nor jobscheduler will start, and Consolerocl kills itself after a minute.
Well, looks like I'm on my own on this one. Oracle will not intall on windows, and none seems to have noticed. Doing a day of googling reveals that all the log files which are supposed to live in sysman/log do not exist in this installation, so no help there.
However, I did find an obscure log which says:
The agentTZRegion value in C:\app\oracle\product\11.2.0\dbhome_1\wario_orcl/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
The TZ of the windows server is set to "UTC" at long time ago. There is nothing in the oralce windows installation guide to say "Do not use UTC, the most comon server time zone in europe". There is no mention of supported windows timezones.
Now if Oracle doesnt support basic UTC, then we are all in trouble.
There are hundreds of articles with this problem and how to solve it on Unix, but almost none for Windows. Do we have to solve Oracle installation bugs ourselves? Is there no support?
Doing the below reveals that Oracle thinks that UTC is America/Rio_Branco. That HAS to be a bug.
C:\app\oracle\product\11.2.0\dbhome_1\BIN>emctl config agent getTZ
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Unable to open file for logging. C:\app\oracle\product\11.2.0\dbhome_1/wario_orc
l/sysman/log/emctl.log: Permission denied
America/Rio_Branco
So what next?
The list of "supported" timezones in supportedtzs.list only lists UNIX timezones, and NO UTC!!!!!
Googling this turns up nothing - noone on the planet seems to use UTC on their servers. I find this absolutely shocking.
Windows server ONLY users UTC - it doesnt support GMT any more.
So I have to now randomly try timezones in Windows which I dont want, which will be different from all the other servers in the Datacenter. It means all our reports will be out by 1 hour in summer ifI have to chose a timzeone which has daylight savings, compared with all the other databases which are UTC (not daylight savings).
I would expect this from freeware maintained by one person in his garage.
It seems that this Timezone issue emans Oracle will not run on windows.
Tried a lot of things, including setting the timzeonse in windows to be "(UTC) Dublin, Edinburgh, Lisbon, London", which unfortuantely is not UTC (as it is affected by daylight savings).
When you run
"emctl config agent getTZ"
you get:
"Europe/London"
The only oracle documentation I can find on this subject tells you to edit the emd.properties, and modify the agentTZRegion property, which doesnt exist.
I tried the following command:
"c:\app\oracle\product\11.2.0\dbhome_1\BIN>emctl resetTZ agent"
Which tells you to execute:
SQL> exec mgmt_target.set_agent_tzrgn('wario:3938','Europe/London')
SQL> commit
However, when I do this, I get:
SQL> exec mgmt_target.set_agent_tzrgn('wario:3938','Europe/London')
BEGIN mgmt_target.set_agent_tzrgn('wario:3938','Europe/London'); END;
ERROR at line 1:
ORA-20233: Invalid agent name wario:3938
ORA-06512: at "SYSMAN.MGMT_TARGET", line 3811
ORA-06512: at line 1
Great. Obviosly, Im loggin in as SYS as no other users have been setup, and certainly I have not seen nor created nor set the password for "em repository user". -
Oracle Enterprise Manager Agent deployment (Installation and Configuration) Error
Hello,
I am trying to create an agent on a linux server using Oracle Enterprise Manager 12.1.0.3. The user is created with root privilege on the server, by change /etc/sudoers entry username the same as the root entry. After that I tried to add host target by clicking Setup->Add Target->Add target Manually->Add Host Targets in the Oracle Enterprise Manager.
In the Add Target view: I clicked on add, then I entry host and platform information. After that I click next. Then I provided the Linux x86-64 : Installation Details for
Installation Base Directory, Instance Directory, Name Credential ... then click next. then click Deploy Agent.
In the Add Host Status view: stages Initialization and Remote Prerequisite Check successfully passed, but in the stage Agent Deployment, it failed in the Installation and Configuration phrase of the Agent Deployment stage.
The log content is shown below. There are numerous SEVERE Errors. But I don't have much experience in dealing with these type of problems. I thank you in advance for all the helps.
lf
WARNING: Validation of XML schema is disabled because AggregateDescriptions.xsd could not be found
INFO: Creating new CFM connection
INFO: Creating a new logger for oracle.sysman.top.agent
INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/oracle.sysman.top.agent.12_1_0_3_0.xml
INFO: Creating a new logger for OuiConfigVariables
INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/OuiConfigVariables.1_0_0_0_0.xml
INFO: Aggregate Description oracle.sysman.top.agent:12.1.0.3.0:common successfully loaded
INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
INFO: Successfully returning from CfmFactory.connect()
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: oracle.sysman.top.agent:IAction.perform() was called on {Action state:configuration in CfmAggregateInstance: oracle.sysman.top.agent:12.1.0.3.0:common:family=CFM:oh=/users/ncgf/em_agent/core/12.1.0.3.0:label=1}
INFO: Framework waiting for Action to complete at 15:08:10.272
INFO: CfwProgressMonitor:actionProgress:About to perform Action=configuration Status=is running with ActionStep=0 stepIndex=0 microStep=0
WARNING: Skipping environment variable line: "}": oracle.sysman.emCfg.common.CfwException: A non-empty environment line must contain "=": }
WARNING: Failed to read environment variable file /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties: java.io.FileNotFoundException: /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties (No such file or directory)
INFO: oracle.sysman.top.agent:About to execute plug-in Agent Configuration Assistant
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant is running
INFO: oracle.sysman.top.agent:Internal PlugIn Class: oracle.sysman.agent.config.AgentConfiguration
INFO: oracle.sysman.top.agent:Classpath = /users/ncgf/em_agent/core/12.1.0.3.0/oui/jlib/srvm.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/agentConfig.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/emConfigInstall.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/emagentSDK.jar:/users/ncgf/em_agent/core/12.1.0.3.0/modules/oracle.http_client_11.1.1.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/log4j-core.jar
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration has been started
INFO: oracle.sysman.top.agent:Parametes passed to agent configuration are:
1.ORACLE_HOME=/users/ncgf/em_agent/core/12.1.0.3.0
2.AGENT_PORT=3872
3.ORACLE_HOSTNAME=nsn175-89.us.oracle.com
4.b_doDiscovery=false
5.AGENT_BASE_DIR=/users/ncgf/em_agent
6.AGENT_INSTANCE_HOME=/users/ncgf/em_agent/agent_inst
7.s_hostname=nsn175-89.us.oracle.com
8.OMS_HOST=nsn175-105.us.oracle.com
9.b_startAgent=false
10.b_secureAgent=true
11.b_chainedInstall=false
12.b_forceConfigure=false
13.EM_UPLOAD_PORT=4904
14.b_forceAgentDefaultPort=false
15.s_staticPorts=
16.PROPERTIES_FILE=
b_skipValidation=false
INFO: oracle.sysman.top.agent:Validating OMS_HOST and EM_UPLOAD_PORT
INFO: oracle.sysman.top.agent:Validating with http protocol ...
INFO: oracle.sysman.top.agent:URL framed is:http://nsn175-105.us.oracle.com:4904/empbs/genwallet
SEVERE: oracle.sysman.top.agent:Connection refusedUnexpected end of file from server
INFO: oracle.sysman.top.agent:Validating with https protocol ...
INFO: oracle.sysman.top.agent:URL framed is:https://nsn175-105.us.oracle.com:4904/empbs/genwallet
SEVERE: oracle.sysman.top.agent:The EM_UPLOAD_PORT passed is a secure port. Hence AGENT_REGISTRATION_PASSWORD or s_encrSecurePwd should be passed
INFO: oracle.sysman.top.agent:EM Protocol Switch determined: https
INFO: oracle.sysman.top.agent:Performing free port detection..
INFO: oracle.sysman.top.agent:Trying for host : nsn175-89/10.134.175.89 and port : 3872
INFO: oracle.sysman.top.agent: Trying for host : /127.0.0.1 and port : 3872
INFO: oracle.sysman.top.agent:** Agent Port Check completed successfully.**
INFO: oracle.sysman.top.agent:Agent Port from User Passed Port3872
INFO: oracle.sysman.top.agent:Paths after canonical format conversions are :
1. state_dir=/users/ncgf/em_agent/agent_inst
2. agentBaseDir=/users/ncgf/em_agent
3. oraHome=/users/ncgf/em_agent/core/12.1.0.3.0
INFO: oracle.sysman.top.agent:Parent directory of agent instance home:/users/ncgf/em_agent
INFO: oracle.sysman.top.agent:AgentConfiguration:perform:AgentPortHandler for /users/ncgf/em_agent/core/12.1.0.3.0 and hosts=nsn175-89.us.oracle.com returned Port to Use=3872
INFO: oracle.sysman.top.agent:Instantiating emctl.template file #DEFAULT_EMSTATE# with /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Writing the following contents into /users/ncgf/em_agent/core/12.1.0.3.0/install/oragchomelist
INFO: oracle.sysman.top.agent:/users/ncgf/em_agent/core/12.1.0.3.0:/users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.
INFO: oracle.sysman.top.agent:Executing emctl deploy agent command...
INFO: oracle.sysman.top.agent:AgentConfiguration: Executing emctl deploy agent command...
INFO: oracle.sysman.top.agent:Executing the command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com
INFO: oracle.sysman.top.agent:Creating shared install...
INFO: oracle.sysman.top.agent:Source location: /users/ncgf/em_agent/core/12.1.0.3.0
INFO: oracle.sysman.top.agent:Destination (shared install) : /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:Secure Mode: No
INFO: oracle.sysman.top.agent:DeployMode : agent
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:Creating directories...
INFO: oracle.sysman.top.agent:Creating private.properties...
INFO: oracle.sysman.top.agent:Creating blackouts.xml...
INFO: oracle.sysman.top.agent:Creating targets.xml...
INFO: oracle.sysman.top.agent:Creating emctl control program...
INFO: oracle.sysman.top.agent:Creating emtgtctl control program...
INFO: oracle.sysman.top.agent:Agent will not be secured.
INFO: oracle.sysman.top.agent:Secure REPOSITORY_URL found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Secure emdWalletSrcUrl found. New agent should be configured for secure mode
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Property 'agentTZRegion' is missing from /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties. Updating it...
INFO: oracle.sysman.top.agent:An agentTZregion of 'US/Pacific' is installed in /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties.
INFO: oracle.sysman.top.agent:The command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com completed with status=0
SEVERE: oracle.sysman.top.agent:Securing of agent step will be skipped because of the following reasons:
1. Agent Registration Password was not passed.
2. b_secureAgent was passed as false
3. The flag -forceConfigure was assed from agentDeploy.sh
INFO: oracle.sysman.top.agent:Plugin File:/users/ncgf/em_agent/plugins.txt
INFO: oracle.sysman.top.agent:Plugin Homes found.
INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/core/12.1.0.3.0/perl/bin/perl /users/ncgf/em_agent/core/12.1.0.3.0/bin/AgentPluginDeploy.pl -oracleHome /users/ncgf/em_agent/core/12.1.0.3.0 -agentDir /users/ncgf/em_agent -pluginIdsInfoFile /users/ncgf/em_agent/plugins.txt -action configure -emStateDir /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:
INFO: oracle.sysman.top.agent:The Agent emStateDir location passed is /users/ncgf/em_agent/agent_inst
INFO: oracle.sysman.top.agent: The log file is /users/ncgf/em_agent/agent_inst/install/logs/agentplugindeploy_2013_10_16_15_08_11.log
INFO: oracle.sysman.top.agent: The temp file created to check R/W permissions in Oraclehome: /users/ncgf/em_agent/core/12.1.0.3.0 is /users/ncgf/em_agent/core/12.1.0.3.0/rwFile
INFO: oracle.sysman.top.agent:Plugin command completed with status=0
INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/agent_inst/bin/emctl listplugins agent -type all
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
INFO: oracle.sysman.top.agent:---------------------------------------------------------------
INFO: oracle.sysman.top.agent:---------------------------------------------------------------
SEVERE: oracle.sysman.top.agent:ERROR: The Management Agent configuration failed. The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed, or this plug-in may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring plug-in, if not then retry the operation. If the agent software has the oracle.sysman.oh monitoring plug-in, view the plug-in deployment log /users/ncgf/em_agent/agent_inst/install/logs to check if the plug-in configuration for the oracle.sysman.oh monitoring plug-in failed.
SEVERE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
INFO: Cfm.save() was called
INFO: Cfm.save(): 2 aggregate instances saved
INFO: done waiting for Action from 15:08:10.272
Thank you for your help AkankshaSheoranKaler. I have executed the following command based on your request. If there is any issue, please let me know. Thanks!
"Can you run this command to make sure that the agents bits were downloaded correctly : oms home /bin /emcli verify_updates
Share the output of the command. I am suspecting this is a know issue (Bug 17300008) but i will wait for your output. Also if you can open an SR with oracle support to track this issue and its resolution. "
[ncgf@nsn175-105 bin]$ ./emcli setup -url=https://nsn175-105.us.oracle.com:7803/em -u sername=SYSMAN
Oracle Enterprise Manager 12c 3.
Copyright (c) 1996, 2013 Oracle Corporation and/or its affiliates. All rights reserve d.
The configuration directory "/users/ncgf" may not be local. See the "dir" option in t he help for the setup command.
Do you want to continue using this directory? [yes/no] yes
Enter password
Emcli setup successful
[ncgf@nsn175-105 bin]$ ./emcli verify_updates
Verifying updates. Starting validation...
Type : Plug-in
Description: Demo Hostsample Test Plugin
Attributes
Version: 1201000100
Revision: 0
OS Platform: Generic Platform
Plug-in Name: Demo Host Sample Plugin
Archives are missing from the Software Library. Unable to determine the URL for downloading the update. The update might not have come from Oracle Enterprise Manager Store.
For each update with missing archives, emcli import_update can be used with a -force option to re-upload the archives to the Software Library.Hello AkankshaSheoranKaler
We have done the following, but we aren't able to resolve this issue. Thank you for your help!
lf
“This happen if the software library is not accessible, readable or unmounted (if it is in shared file system).”
On Enterprise Manager server [nsn175-105], we did the following:
1. we modified /etc/exports to include this line: /export *(rw,no_root_squash,sync)
we start nfs service by executing command “service nfs start”.
On Management Agent server (nsn175-89), we verified that we are able to mount /export directory of EM server.
On Management Agent server, we started firefox browser and were able to run successfully https://nsn175-105.us.oracle.com:4904/empbs/genwallet
After making this change, we ran agent deployment again. We encountered the same error as shown above.
“You can fix the software library or you can download the agent bits in offline mode.”
For fixing the software library, select Setup->Provision and Patching->Offline Patching, then select Offline Patching radio button, download: https://updates.oracle.com/download/em_catalog.zip. Next upload this zip file.
“Try downloading the bits again”
We are not sure what agent bits are. Would you please explain this and provide procedure how we can download this?
(Here I have attempted to fix the software library, but I am new to Enterprise Manager and not sure how to interpret this). -
Upgrade OMS 10.2.0.5 to 11.1.0.1 ORACLE_HOSTNAME
Hi, guys
I'm going to upgrade OMS 10.2.0.5 to 11.1.0.1. Current configuration is active passive protected by clusterware 11.1.0.7. Grid Control Repository is in RAC on those node too.
The question is: in order to upgrade the OMS Do I need to export oracle_hostname before run ./runInstaller command? Or The upgrade process will take care of it and pick up the virtual hostname and don't want to re secure my 500 agents again.
Thanks in advance guysI was not able to login to the forum from past few hours hence the delay.
To clarify:- If you are doing 2-system upgrade then while invoking the 12.1.0.2 installer you can pass this parameter and we also have a hostname field in the installer UI which will show the hostname that EM installer will use to perform the install of 12c OMS on that host. You can make sure that this field has virtual hostname.
In Pre-upgrade console, you need to provide the hostname so that we can created a db link, in that section provide the virtual hostname
So if you provide virtual hostname in these 2 places the setup with be done accordingly.
In 1-system upgrade- we don't ask any hostname in pre-upgrade console, so you just need to check the hostname field in the 12c installer that it has virtual hostname. -
Variable oracle_unqname not documented in Admin reference
I note that the environment variable ORACLE_UNQNAME ties back to DB_UNIQUE_NAME, an init parameter created in 10g.
That variable, while showing up in a few of the 11gR2 docs (eg: 11gR2 Readme), does not appear in the 'master list of environment variables' in Chapter 1 of Oracle® Database Administrator's Reference / 11g Release 2 (11.2) for Linux and UNIX-Based Operating Systems (Part Number E10839-04), nor in any of the doc's predecessors.Hi;
root@HA-DB1 bin]# ./emctl status dbconsoleOC4J Configuration issue. /u01/app/oracle/product/11.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_HA-DB1_HADB1 not found
For this error please try below command:
./emca -config dbcontrol db << it will ask u some question liks sys user pass, lsnr port etc. please give correct value and retest issue
Regard
Helios -
How to reconfigure notification email and smtp addresses
Hi all,
I want to reconfigure notification email and smtp addresses on single instance db (10.2 and 11.1 versions). How this is done?emca -reconfig dbcontrol db [email protected]
/opt/oracle/product/11gR1/db/bin/emca [operation] [mode] [dbType] [flags] [parameters]
-h | h | -help | help: prints this help message
-version: prints the version
-config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure Database Control for a database
-config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure central agent management
-config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure both Database Control and central agent management
-deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-configure Database Control
-deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configure central agent management
-deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure both Database Control and central agent management
-addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance
-deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified RAC instance
-reconfig ports [-cluster] [parameters]: explicitly reassign Database Control ports
-reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database Control deployment
-displayConfig dbcontrol -cluster [-silent] [parameters]: displays information about the RAC Database Control configuration
-migrate -from dbcontrol -to centralAgent [-repos drop] [-cluster] [-silent] [parameters]: migrates EM configuration from Database Control to central agent
-upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earlier version of the EM configuration to the current version
-restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the current version of the EM configuration to an earlier version
Parameters and Options:
[parameters]: [ -respFile fileName ] [ -paramName paramValue ]*
db: perform configuration operation for a database (including databases that use ASM)
asm: perform configuration operation for an ASM-only instance
db_asm: perform upgrade/restore operation for a database and an ASM instance
-repos create: create a new Database Control repository
-repos drop: drop the current Database Control repository
-repos recreate: drop the current Database Control repository and recreate a new one
-cluster: perform configuration operation for a RAC database
-silent: perform configuration operation without prompting for parameters
-backup: configure automatic backup for a database
Parameters for single instance databases
ORACLE_HOSTNAME: Local hostname
SID: Database SID
PORT: Listener port number
ORACLE_HOME: Database ORACLE_HOME
HOST_USER: Host username for automatic backup
HOST_USER_PWD: Host user password for automatic backup
BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)
EMAIL_ADDRESS: Email address for notifications
MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications
ASM_OH: ASM ORACLE_HOME
ASM_SID: ASM SID
ASM_PORT: ASM port
ASM_USER_ROLE: ASM user role
ASM_USER_NAME: ASM username
ASM_USER_PWD: ASM user password
SRC_OH: ORACLE_HOME for the database to be upgraded
DBSNMP_PWD: Password for DBSNMP user
SYSMAN_PWD: Password for SYSMAN user
SYS_PWD: Password for SYS user
DBCONTROL_HTTP_PORT: Database Control HTTP port
AGENT_PORT: EM agent port
RMI_PORT: RMI port for Database Control
JMS_PORT: JMS port for Database Control
EM_SWLIB_STAGE_LOC: Software library location
PORTS_FILE: Path to a static file specifying the ports to use (Default value : ${ORACLE_HOME}/install/staticports.ini).
Additional Parameters for cluster databases
CLUSTER_NAME: Cluster name
DB_UNIQUE_NAME: Database unique name
SERVICE_NAME: Service name
EM_NODE: Database Control node name
EM_SID_LIST: Agent SID list [comma separated] -
Oracle Startup/Shutdown with SQLPLUS and ORADIM in Windows...
I am a newbie to the Windows platform. SQLPLUS will not allow me to issue a STARTUP command. This is what I get when I attempt to SHUTDOWN IMMEDIATE and subsequently issue a STARTUP MOUNT/NOMOUNT or any STARTUP command for that matter. The SHUTDOWN command works successfully but the subsequent startup fails with an ORA-12514: TNS:listener does not currently know of service requested in connect descriptor message.
D:\>set ORACLE_SID=NMPC00
D:\>set ORACLE_HOSTNAME=TAX-DEV-ORA-01
D:\>set ORACLE_HOME=D:\app\oracle\product\11.2.0\dbhome_1
D:\>sqlplus sys@NMPC00 as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Sat Oct 23 11:41:56 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
SQL>
When I look at the Windows service, it still reports 'Started' despite the fact that I shutdown the instance. What is the proper protocol for shutting down and starting up an Oracle instance in Windows. Do I have to coordinate these activities with the ORADIM -STARTUP / -SHUTDOWN commands?I am also newbie to oracle and running into the similar problem when trying to start oracle database using windows command prompt and getting the below error:
Command prompt is being run as administrator on windows7 O/S
C:\ORACLE\product\11.2.0\dbhome_1\BIN>oradim -SHUTDOWN -SID O22BVGI -SHUTTYPE srvc,inst -SHUTMODE nornal
ORA-01031: insufficient privileges
The reason behind this to do it is , I need a batch script for stopping and restarting the oracle database instance using a Pfile which will contain the initialization parameters.
Please can someone help!
sqlnet.ora is:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
Kind Regards
Sam
Edited by: 808116 on Nov 7, 2010 4:21 PM -
ORACLE_HOSTNAME for existing database
We did a fresh install of oracle 10.2.0.4 database. The database is up and running fine.
Recently we decided that we will use virtual hostname and so we configured a new ethernet card and IP address.
The problem is we set ORACLE_HOSTNAME to the virtual hostname in the environment variable and started the database. Still the database is using the old hostname.
SQL> select instance_name,host_name from v$instance;
INSTANCE_NAME HOST_NAME
PRODDB server01
SQL>
Added the IP address and the virtual hostname to the /etc/hosts file.
$export ORACLE_HOSTNAME=prodserver
Restarted the database.
SQL> select instance_name,host_name from v$instance;
INSTANCE_NAME HOST_NAME
PRODDB server01
SQL>
After the restart host_name is still the actual hostname
How to overcome this situation ?I am referring to the [Oracle Document|http://download.oracle.com/docs/cd/B28359_01/install.111/b32002/pre_install.htm]
Which says
2.5.3 Installing on Multihomed Computers
You can install Oracle Database on a multihomed computer. A multihomed computer is associated with multiple IP addresses. This is typically achieved by having multiple network cards on the computer. Each IP address is associated with a host name. In addition, you can set up aliases for the host name. By default, Oracle Universal Installer uses the ORACLE_HOSTNAME environment variable setting to find the host name. If ORACLE_HOSTNAME is not set and you are installing on a computer that has multiple network cards, then Oracle Universal Installer determines the host name by using the first entry in the /etc/hosts file.
Clients must be able to access the computer either by using this host name or by using aliases for this host name. To verify this, ping the host name from the client computers using the short name (host name only) and the full name (host name and domain name). Both tests must be successful. -
Install and Create Database Using ASM Restart
I'm performing a clean install of Oracle grid + database (11gR2) on Oracle Linux R5U6. Both installs seem to go just fine. The ASM processes start and run just fine. But, when I try to create a database, I get the following errors:
PRCR-1079: Failed to start resource ora.test.db
ORA-01031: insufficient privileges
ORA-01031: insufficient privileges
CRS-2674: Start of 'ora.test.db' on 'asm' failed
ORA-01034: ORACLE not available
ORA-01034: ORACLE not available
0
Any ideas?
Thanks
Jim
-----------Create Groups and Users--------------------------------------------------------------------
groupadd oinstall
groupadd dba
groupadd oper
groupadd asmdba
groupadd asmoper
groupadd asmadmin
useradd -g oinstall -G asmdba,asmoper,asmadmin grid
useradd -g oinstall -G dba,oper,asmdba,asmoper,asmadmin oracle
passwd grid
passwd oracle
[root@asm asm]# id oracle
uid=502(oracle) gid=502(oinstall) groups=502(oinstall),503(dba),504(oper),505(asmdba),506(asmoper),507(asmadmin)
[root@asm asm]# id grid
uid=501(grid) gid=502(oinstall) groups=502(oinstall),505(asmdba),506(asmoper),507(asmadmin)
[root@asm asm]# uname -rm
2.6.18-238.el5 i686
[root@asm asm]# uname -a
Linux asm.protoeffect.cxm 2.6.18-238.el5 #1 SMP Tue Jan 4 15:24:05 EST 2011 i686 i686 i386 GNU/Linux
----------------------ASM RPM Installs---------------------------------------------------------
[root@asm asm]# rpm -Uvh oracleasm-support-2.1.7-1.el5.i386.rpm \
oracleasm-2.6.18-238.el5-2.0.5-1.el5.i686.rpm \
oracleasmlib-2.0.4-1.el5.i386.rpm
warning: oracleasm-support-2.1.7-1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.18-238.el########################################### [ 67%]
3:oracleasmlib ########################################### [100%]
-------------------ASM Configure------------------------------------------------------------
[root@asm asm]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]
-------------------Allocating Disks------------------------------------------------------------
[root@asm asm]# /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
Marking disk "DISK1" as an ASM disk: [ OK ]
[root@asm asm]# /etc/init.d/oracleasm createdisk DISK2 /dev/sdc1
Marking disk "DISK2" as an ASM disk: [ OK ]
[root@asm asm]# /etc/init.d/oracleasm createdisk DISK3 /dev/sdd1
Marking disk "DISK3" as an ASM disk: [ OK ]
[root@asm asm]# /etc/init.d/oracleasm createdisk DISK4 /dev/sde1
Marking disk "DISK4" as an ASM disk: [ OK ]
[root@asm asm]# /etc/init.d/oracleasm createdisk DISK5 /dev/sdf1
Marking disk "DISK5" as an ASM disk: [ OK ]
[root@asm asm]# /etc/init.d/oracleasm createdisk DISK6 /dev/sdg1
Marking disk "DISK6" as an ASM disk: [ OK ]
[root@asm asm]# /etc/init.d/oracleasm createdisk DISK7 /dev/sdh1
Marking disk "DISK7" as an ASM disk: [ OK ]
[root@asm asm]# /etc/init.d/oracleasm createdisk DISK8 /dev/sdi1
Marking disk "DISK8" as an ASM disk: [ OK ]
[root@asm asm]#
[root@asm asm]#
[root@asm asm]# /etc/init.d/oracleasm listdisks
DISK1
DISK2
DISK3
DISK4
DISK5
DISK6
DISK7
DISK8
---------------------GRID Response File----------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v11_2_0
ORACLE_HOSTNAME=asm.protoeffect.cxm
INVENTORY_LOCATION=/u01/app/oraInventory
SELECTED_LANGUAGES=en
oracle.install.option=HA_CONFIG
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid
oracle.install.asm.OSDBA=asmdba
oracle.install.asm.OSOPER=asmoper
oracle.install.asm.OSASM=asmadmin
oracle.install.crs.config.gpnp.scanName=
oracle.install.crs.config.gpnp.scanPort=0
oracle.install.crs.config.clusterName=
oracle.install.crs.config.gpnp.configureGNS=true
oracle.install.crs.config.gpnp.gnsSubDomain=
oracle.install.crs.config.gpnp.gnsVIPAddress=
oracle.install.crs.config.autoConfigureClusterNodeVIP=false
oracle.install.crs.config.clusterNodes=
oracle.install.crs.config.privateInterconnects=
oracle.install.crs.config.storageOption=
oracle.install.crs.config.sharedFileSystemStorage.diskDriveMapping=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
oracle.install.crs.config.useIPMI=false
oracle.install.crs.config.ipmi.bmcUsername=
oracle.install.crs.config.ipmi.bmcPassword=
oracle.install.asm.SYSASMPassword=
oracle.install.asm.diskGroup.name=DATA
oracle.install.asm.diskGroup.redundancy=NORMAL
oracle.install.asm.diskGroup.disks=ORCL:DISK1,ORCL:DISK2,ORCL:DISK3,ORCL:DISK4
oracle.install.asm.diskGroup.diskDiscoveryString=
oracle.install.asm.monitorPassword=
oracle.install.crs.upgrade.clusterNodes=
oracle.install.asm.upgradeASM=false
[grid@asm ~]$ ps -ef | grep pmon
grid 9950 1 0 09:25 ? 00:00:00 asm_pmon_+ASM
grid 10053 4345 0 09:26 pts/2 00:00:00 grep pmon
------------------------Database Software Install Response File-------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
oracle.install.option=INSTALL_DB_SWONLY
ORACLE_HOSTNAME=asm.protoeffect.cxm
UNIX_GROUP_NAME=oinstall
INVENTORY_LOCATION=/u01/app/oraInventory
SELECTED_LANGUAGES=en
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_BASE=/u01/app/oracle
oracle.install.db.InstallEdition=EE
oracle.install.db.isCustomInstall=false
oracle.install.db.customComponents=
oracle.install.db.DBA_GROUP=dba
oracle.install.db.OPER_GROUP=oper
oracle.install.db.CLUSTER_NODES=
oracle.install.db.config.starterdb.type=GENERAL_PURPOSE
oracle.install.db.config.starterdb.globalDBName=
oracle.install.db.config.starterdb.SID=
oracle.install.db.config.starterdb.characterSet=
oracle.install.db.config.starterdb.memoryLimit=
oracle.install.db.config.starterdb.memoryOption=false
oracle.install.db.config.starterdb.installExampleSchemas=false
oracle.install.db.config.starterdb.enableSecuritySettings=true
oracle.install.db.config.starterdb.password.ALL=
oracle.install.db.config.starterdb.password.SYS=
oracle.install.db.config.starterdb.password.SYSTEM=
oracle.install.db.config.starterdb.password.SYSMAN=
oracle.install.db.config.starterdb.password.DBSNMP=
oracle.install.db.config.starterdb.control=DB_CONTROL
oracle.install.db.config.starterdb.gridcontrol.gridControlServiceURL=
oracle.install.db.config.starterdb.dbcontrol.enableEmailNotification=false
oracle.install.db.config.starterdb.dbcontrol.emailAddress=
oracle.install.db.config.starterdb.dbcontrol.SMTPServer=
oracle.install.db.config.starterdb.automatedBackup.enable=false
oracle.install.db.config.starterdb.automatedBackup.osuid=
oracle.install.db.config.starterdb.automatedBackup.ospwd=
oracle.install.db.config.starterdb.storageType=
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=
oracle.install.db.config.asm.diskGroup=
oracle.install.db.config.asm.ASMSNMPPassword=
MYORACLESUPPORT_USERNAME=J
MYORACLESUPPORT_PASSWORD=
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=false
PROXY_HOST=
PROXY_PORT=
-------------Database Creation Info------------------------------------------------------------------
Name Value
audit_file_dest {ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump
audit_trail db
compatible 11.2.0.0.0
db_block_size 8KB
db_create_file_dest +DATA
db_domain
db_name test
diagnostic_dest {ORACLE_BASE}
dispatchers (PROTOCOL=TCP) (SERVICE={SID}XDB)
memory_target 1225MB
open_cursors 300
processes 150
remote_login_passwordfile EXCLUSIVE
undo_tablespace UNDOTBS1This is the problem with you
Now time to solve this problem, to make “user grid in secondary group dba”
http://justinnovation.wordpress.com/category/database/ora/
# usermod -G asmadmin,asmdba,asmoper,dba grid
Now you will notice the Privileges are changed
# id grid
uid=501(grid) gid=1000(oinstall) groups=1000(oinstall),1100(dba),1300(asmadmin),1400(asmdba),1500(asmoper)
now try to runInstaller again!
Good Luck!
帖子经 Haseeb Alam编辑过
Maybe you are looking for
-
Problems while compiling a project that uses Database Adapter
Hi, I am working on a small WebService that uses the Database Adapter to connect with the Oracle-Lite database. The process is a synchronous process which has client and DatabaseService as the partner link. The goal of this project is to get two inpu
-
I need some advice on a small servers network please !!
hi every one. i need a small help please. i have a collage project that is upgrading a network and my part is the server's network. actually it is 65servers, windows and non-win. i wish to know what are the important issues that should be considered
-
Time Capsule also backup an external hard drive connected to Mac?
My internal hard drive on my iMac Intel 2.4 20" is filling up so I'm looking at getting an external Firewire 800 hard drive to connect directly to the iMac. Can my Time Capsule back up my internal hard drive as well as an external hard drive connecte
-
JVM performance in case of JVM memory usage is high
Hi All Here is some query about JVM performance in case of JVM memory usage is high. I have a server of 16GB. For JVM 12GB and for OS 4GB. Let say, My Application creating many Unnecessary Objects and consumes very high memory. Al
-
I forgot my parental controls pass code on my kids iphone 5
I forgot my parental control pass word on my kids iPhone 5s