Autostart of local dbconsole in 11.2.0.2
I'm running ASM/Oracle 11.2.0.2 standalone using Oracle Restart to automagically bring up the ASM, DB and Listeners.
Is there a way to add the local dbconsole to this? When I restart the server, ASM, DB and Listeners all come up perfectly, but dbconsole doesn't. I can bring it up fine by issuing:
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_UNQNAME=orcl
$ORACLE_HOME/bin/emctl start dbconsole
I was hoping to avoid kludging together a 'dbora' type of solution, since Oracle Restart is working better than I could have imagined for everything else.
I don't normally deal with local versions of dbconsole (usually just the grid agents), so I thought someone else may have ran into this same problem and has some better ideas than myself.
Thanks,
-Jamie
Jamiie,
Your question was answered here Automatic start/shutdown of EM DBCONSOLE using CRS
Eric
Similar Messages
-
[Solved] Starting applications locally but not SSH
Ok, so.. argh..
I'm normally good enough to figure these _basic_ things out but i'm bashing my head right now.
https://wiki.archlinux.org/index.php/Autostarting
i want to run startx when logging in locally on a tty, but not when i initiate a user-session via SSH.
Normally i'd place profiling stuff in .bashrc (variables, user aliases etc) and place startx in say a tty1.conf or something under /etc/init.d but since Arch is running systemd and starting x is not a daemon per sae i'm all out of luck here.
How do you guys normally startx? and how do you separate autostarting applications locally, remote etc?
Ps. I've started stuff via .config/openbox/autostart so that's fine.
I need X not to iniatate every ssh session :)
Solution (one of many):
This solution will not only work through all terminals (meaning you don't check the terminal name) it will also not rely on tty or session names, it will instead check if the source is running under a X window (:0) or from an IP (10.0.0.1).
If non of the above it defaults to starting x.
Note: It will not distinguish running under systemd aparently and it also doesn't take in account if you're relaying X via SSH i guess (havn't tried that tho but it's an assumption).
sudo nano /etc/profile.d/gui.sh
#!/bin/bash
me=`who am i`
case "$me" in
*\(:0\)*) echo "Youre in X" ;;
*\(*.*.*.*) echo "Youre in SSH" ;;
*) startx ;;
esac
Last edited by Torxed (2013-06-12 07:24:46)jasonwryan wrote:
You could also use lastlog to determine if you are logged in on a TTY or pseudo-terminal:
┌─[Veles ~]
└─╼ lastlog -u jason | awk '/jason/ {print $2}'
pts/9
┌─[Shiv ~ ]
└─╼ lastlog -u jason | awk '/jason/ {print $2}'
tty1
# edit: or just grep it if you only need an exit status...
This feels unpredictable right off the bat mainly because there's other services being found in lastlog, also if two people login at the exact same time and one of them get a "spike" in the process priority you'll end up giving the wrong sessiondata to the wrong user unless you check the username logged in against lastlog but that requires more processing power then a case/if clause from a single output source. Speed is everything, logic is next and everything else falls behind
Tarqi wrote:
What about /usr/bin/tty?
.bashrc
tty | grep tty && startx
Edit: Check the DISPLAY Variable if you want to avoid starting multiply X-Servers. However, maybe $TERM might be another solution.
Locally:
[doxid@faparch ~]$ tty
/dev/pts/1
Remote SSH:
[doxid@faparch ~]$ ssh [email protected]
Last login: Wed Jun 12 02:27:53 2013 from 10.0.0.140
Youre in SSH
[root@lookabeaver ~]# tty | grep tty
[root@lookabeaver ~]# tty
/dev/pts/1
Don't think this is a viable option.
WonderWoofy wrote:
I think ewaller meant cut and not -cut. But even then, what he is suggesting is that you print characters 10 through 12. So it highly depends on the output length and therefore the number of letters in your username. If you has used something like this it would have worked:
who am i | cut -d' ' -f2
Might work, but you're probably feteching:
[doxid@faparch ~]$ who am i | cut -d' ' -f16
(:0)
Last edited by Torxed (2013-06-12 07:15:09) -
Grid Control installation for 11G: is 10g grid required ?
Dear All,
We are currently using the local dbconsole for the monitoring and doing administrative work on our 11g database. My limited experience and observation indicates that 11G does not have its own enterprise Grid control yet and it requires the older 10G grid control ? So if we deploy (albeit successfully 10G grid control), does the enterprise manager control tabs will be very different than the current dbconsole in 11G ?
Thanks.user6116850 wrote:
Dear All,
We are currently using the local dbconsole for the monitoring and doing administrative work on our 11g database. My limited experience and observation indicates that 11G does not have its own enterprise Grid control yet and it requires the older 10G grid control ? So if we deploy (albeit successfully 10G grid control), does the enterprise manager control tabs will be very different than the current dbconsole in 11G ?
Thanks.Upgrade Grid Control to 10.2.0.5. Grid Control is an independent product and will not follow the same numbering as Database and App Server/Fusion.
It will provide a lot of extra pages and tabs anyway. And it will format and present the information for Oracle 11g properly to work in it's pages.
Try it and see.
and ask Grid Control questions in the Grid Control forum for better Grid Control answers. -
Remote dbconsole not running on local machine.
Hi all,
My production DB 10g release 2 is on linux.EM dbconsole is successfully running on production server.Problem is my local machine is on windows xp service pack 3.When I tried to access 10g EM, it displays the login page ,when I supplied username/password it didn't give any error,but the page didn't open again come to username/pasword.
Any help from ur side is appreciated.
Regards,
AsmaHi Asma,
Lai had a good suggestion for you to check on the local machine. Did that help?
There are known issues with hostnames that contain an underscore "_" or other characters that are not commonly used for hostnames.
Thank you,
Farouk -
Cloudprint /etc/rc.local Autostart
I've been struggling through getting cloud print working for my CLI server. I've got CUPS working, cloudprint works when ran and cloudpring -d also works. But I keep messing up what should be the simplest part. I need to run the following at start up as I haven't been able to get the cloudprint-daemon working.
cloudprint -d
I don't know what the easiest way to do this is. I tried creating an /etc/rc.local file with the following:
#!/bin/sh
/usr/bin/cloudprint -d
exit 0
I also created rc-local service that appears to be working
[Unit]
Description=/etc/rc.local Compatibility
ConditionPathExists=/etc/rc.local
[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target
What's the easiest way to autorun a simple command at boot?Yeah that's what I ended up doing after all. The main issue was an authentication issue as root. Fixed that and it "worked". It still resulted in a daemon/service that worked on half the things I wanted to print. The error given from cloudprint was ERROR <filename> and I don't know how to troubleshoot that error. Especially when it happens to a file I was able to print with cloudprint earlier.
I ended up uninstalling the packages and services and gave up. Maybe someday I'll try again or install a WM and just use Chromium but this is the biggest headache I've had setting up my server and the benefits for my usage are minimal. -
Unable to start dbconsole ???
i am installing oracle 10g on rhel 5. i am able to install oracle and create database. but when i try to configure database console with the command
emca -config dbcontrol db -repos recreate
it throws the folloging error.
INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
Could not complete the configuration. Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
[oracle@ny2prdbs02 database]$ vi /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log
the logfile is
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'drop' set to true
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: /opt/db/oracle/product/10.2.0/prod
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:31:48 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: /opt/db/oracle/product/10.2.0/prod
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: prod
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: This is expected, as we might be calling it from a non-rac home
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Error retrieving the local node for the cluster
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster Error Message: PRKH-1010 : Unable to communicate with CRS services.
[OCR Error(Native: prsr_initCLSS:[21])]
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user:
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 14, 2008 6:31:50 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 14, 2008 6:31:55 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
Mar 14, 2008 6:31:59 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:07 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: DBSNMP
Mar 14, 2008 6:32:16 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:21 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EMAIL_ADDRESS value:
Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: MAIL_SERVER_NAME value:
Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:22 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value:
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: DBSNMP
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: prod
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 61135663
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties to /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties.emca.tmp
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties.emca.tmp
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml to /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml.emca.tmp
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml has been copied to /opt/db/oracle/product/10.2.0/prod/sysman/emd/targets.xml.emca.tmp
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod agentHome: null isCentral: false
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to true
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: prod Host: ny2prdbs02.ny2.pipelinetrading.net Node: null OH: /opt/db/oracle/product/10.2.0/prod isDBC: true
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_null.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_null.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_null.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_null.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file /opt/db/oracle/product/10.2.0/prod/install/staticports.ini
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getConfiguredPorts
CONFIG: /opt/db/oracle/product/10.2.0/prod:ny2prdbs02.ny2.pipelinetrading.net:null:prod:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_prod.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: AGENT_PORT_prod value: 3938
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_prod.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBCONTROL_HTTP_PORT_prod value: 1158
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_prod.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: JMS_PORT_prod value: 5540
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_prod.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: RMI_PORT_prod value: 5520
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig getConfiguredPorts
CONFIG: Configured ports for SID: prod : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/prod/oui
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to /opt/db/oracle/product/10.2.0/prod/oui
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [opt/db/oracle/product/10.2.0/prod]
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME /opt/db/oracle/product/10.2.0/prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: 5540 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: 5520 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: 1158 from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: 3938 from /opt/db/oracle/product/10.2.0/prod/ny2prdbs02.ny2.pipelinetrading.net_prod/sysman/config/emd.properties
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from /opt/db/oracle/product/10.2.0/prod/sysman/config/emd.properties
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PortManager getFreePorts
CONFIG: /opt/db/oracle/product/10.2.0/prod:ny2prdbs02.ny2.pipelinetrading.net:null:prod:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.EMDBPreConfig getFreePorts
CONFIG: Ports assigned for SID: prod : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5520, JMS_PORT=5540, AGENT_PORT=3938}
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=10.60.5.107:0.0, NEED_EXIT_CODE=1, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, TZ=]
Mar 14, 2008 6:32:24 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/bin/emctl stop dbconsole
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/bin/emctl stop dbconsole completed successfully
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://ny2prdbs02.ny2.pipelinetrading.net:1158/em/console/aboutApplication
Stopping Oracle Enterprise Manager 10g Database Control ...
... Stopped.
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface isInView
CONFIG: IN_VIEW marker not instantiated in /opt/db/oracle/product/10.2.0/prod/sysman/config/emca.properties
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [EMDROOT=/opt/db/oracle/product/10.2.0/prod, LD_LIBRARY_PATH=/opt/db/oracle/product/10.2.0/prod/lib32:/opt/db/oracle/product/10.2.0/prod/lib:/opt/db/oracle/product/10.2.0/prod/perl/lib:null, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, PERL5LIB=/opt/db/oracle/product/10.2.0/prod/perl/lib:/opt/db/oracle/product/10.2.0/prod/perl/lib/site_perl:/opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts:/opt/db/oracle/product/10.2.0/prod/bin:]
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/perl/bin/perl /opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts/db/sgastop.pl stop prod ny2prdbs02.ny2.pipelinetrading.net 1521 /opt/db/oracle/product/10.2.0/prod
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/perl/bin/perl /opt/db/oracle/product/10.2.0/prod/sysman/admin/scripts/db/sgastop.pl stop prod ny2prdbs02.ny2.pipelinetrading.net 1521 /opt/db/oracle/product/10.2.0/prod completed successfully
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: nmccollector process does not exist
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.DBControlUtil stopNmccollector
CONFIG: Successfully stopped nmc-collector process
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
CONFIG: Spooling to /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [ORACLE_HOME=/opt/db/oracle/product/10.2.0/prod, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin]
Mar 14, 2008 6:32:27 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod))) -repos_user SYSMAN -action drop -verbose -output_file /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod))) -repos_user SYSMAN -action drop -verbose -output_file /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log completed successfully
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Enter SYS user's password :
Enter repository user password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Environment :
ORACLE HOME = /opt/db/oracle/product/10.2.0/prod
REPOSITORY HOME = /opt/db/oracle/product/10.2.0/prod
SQLPLUS = /opt/db/oracle/product/10.2.0/prod/bin/sqlplus
SQL SCRIPT ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/sql
EXPORT = /opt/db/oracle/product/10.2.0/prod/bin/exp
IMPORT = /opt/db/oracle/product/10.2.0/prod/bin/imp
LOADJAVA = /opt/db/oracle/product/10.2.0/prod/bin/loadjava
JAR FILE ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/lib
JOB TYPES ROOT = /opt/db/oracle/product/10.2.0/prod/sysman/admin/emdrep/bin
Arguments :
Connect String = (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ny2prdbs02.ny2.pipelinetrading.net)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=prod)))
Action = drop
Repos User = SYSMAN
Default tablespace = MGMT_TABLESPACE
Default Data file = mgmt.dbf
Dflt Dfile Init size = 20m
Dflt Dfile Ext size = 20m
ECM tablespace = MGMT_ECM_DEPOT_TS
ECM Data file = mgmt_ecm_depot1.dbf
ECM Dfile Init size = 100m
ECM Dfile Ext size = 100m
TEMP tablespace = TEMP
Create options = 3
Verbose output = 1
Output File = /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_drop_2008-03-14_06-32-27-AM.log
Repos creation mode = CENTRAL
MetaLink user name = NOTAVAILABLE_
MetaLink URL = http://updates.oracle.com
Export Directory = /opt/db/oracle/product/10.2.0/prod/sysman/log
Import Directory = /opt/db/oracle/product/10.2.0/prod/sysman/log
Checking SYS Credentials ... File - /tmp/rnyK6fhnSO/wLqKcwtPyQ.sql.Return code = 0.OK.
Dropping the repository..
Quiescing DB ... File - /tmp/YwZHBTVEIu/bzDxfeO9FG.sql.Return code = 0.Done.
Checking for Repos User ... File - /tmp/dy1P6wGFBP/VS8m86m9Hs.sql.Return code = 0.Exists.
Repos User exists..
Clearing EM Contexts ... Clearing contexts. File - /tmp/oOROSl66kk/sgZFnKo6jz.sql.
Clearing contexts. Return code = 0.
OK.
Dropping EM users ...
Drop EM Users. File - /tmp/bYei4slzVy/wQbq6YLNKI.sql.
Drop EM Users. Return code = 0.
Done.
Dropping Repos User ... Drop Repos User. File - /tmp/qUP3yHcMBH/UNDSwGP2l7.sql
Drop Repos User. Return code = 0.
Done.
Dropping Roles/Synonymns/Tablespaces ... File - /tmp/L0t3oofhca/jxDRMIfdev.sql.Return code = 0.Done.
Unquiescing DB ... Temp File - /tmp/PJ9h6I55jX/ysfFzgNAsy.sql. Return code = 0.Done.
Dropped Repository Successfully.
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: stty: standard input: Invalid argument
stty: standard input: Invalid argument
stty: standard input: Invalid argument
stty: standard input: Invalid argument
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_repos_create_2008-03-14_06-33-13-AM.log
Mar 14, 2008 6:33:13 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully granted priviliges to dbsnmp.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYS
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocking dbsnmp and sysman
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocked mgmt_view account
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully unlocked relevant accounts
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: prod, oracleHome: /opt/db/oracle/product/10.2.0/prod, and user: SYSMAN
Mar 14, 2008 6:34:17 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig updateEmomsProps
CONFIG: Updating file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties ...
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/sysman/config/emoms.properties
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig deleteOC4JDir
CONFIG: Deleting state directories
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em/persistence/_pages
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em/persistence
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em/em
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/em
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/dms0
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/dms
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/persistence
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/log
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _deleteDirectory
CONFIG: Done deleting /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
CONFIG: Copying OC4J config files from /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/data-sources.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/data-sources.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jms.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/internal-settings.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/internal-settings.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/application.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/application.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/http-web-site.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/http-web-site.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/mime.types to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/mime.types
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/principals.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/principals.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/oc4j-connectors.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/oc4j-connectors.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/java2.policy to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/java2.policy
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jazn.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jazn.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/server.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/server.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/jazn-data.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jazn-data.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/rmi.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/rmi.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/config/global-web-application.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/global-web-application.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/META-INF/MANIFEST.MF to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/META-INF/MANIFEST.MF
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _makeDirectory
CONFIG: Create directory /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole/application-deployments/default/defaultWebApp/orion-web.xml to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/application-deployments/default/defaultWebApp/orion-web.xml
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.EMDBCConfig copyOC4JDir
CONFIG: Finished copying OC4J config files
Mar 14, 2008 6:34:18 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/oc4j/j2ee/OC4J_DBConsole_ny2prdbs02.ny2.pipelinetrading.net_prod/config/jms.xml
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: Writing the selected ports to a tmp file
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /opt/db/oracle/product/10.2.0/prod/install/portlist.ini.emca.util.tmp to /opt/db/oracle/product/10.2.0/prod/install/portlist.ini
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PortManager addPortEntries
CONFIG: File /opt/db/oracle/product/10.2.0/prod/install/portlist.ini is successfully updated
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [DISPLAY=10.60.5.107:0.0, NEED_EXIT_CODE=1, ORACLE_SID=prod, PATH=/opt/db/oracle/product/10.2.0/prod/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, TZ=]
Mar 14, 2008 6:34:19 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://ny2prdbs02.ny2.pipelinetrading.net:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory /opt/db/oracle/product/10.2.0/prod/ny2prdbs02.ny2.pipelinetrading.net_prod/sysman/log
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /opt/db/oracle/product/10.2.0/prod/bin/emctl start dbconsole
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error starting Database Control
Refer to the log file at /opt/db/oracle/product/10.2.0/prod/cfgtoollogs/emca/prod/emca_2008-03-14_06-31-48-AM.log for more details.
Mar 14, 2008 6:38:47 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:565)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:177)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:146)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:155)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)Hi,
before trying to issue the command emca -config dbcontrol db -repos recreate you should:
1)set the ORACLE_HOME env variable
2)set the ORACLE_HOSTNAME env variable
Greetings...
Sim -
How can you load local server urls on application start?
Background:
I've been searching for close to two days for an answer to this question, it's full of gotchas and I can't quite get it figured out.
I have an application which contains several web services. These services load up listeners when the services are invoked which makes them available for input. The user has the option of disabling automatic load of these services and invoking them manually by typing in the local url and starting the app. The can allow the autoload which uses a the or allowing the auto load to start. Currently the local url is hardcoded in a property file and this is how the services knows the local endpoint to envoke when it autostarts.
<servlet id="AutoStart_01">
<servlet-name>autoStart</servlet-name>
<servlet-class>com.loadmy.StartupClass.Here</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
This works all fine and well until it's deployed onto a machine that runs a local weblogic cluster that has more than one jvm (and multiple ports) loading the application up.
Problem
The question is, how can you get the applicaton to recoginize the local url for the jvm that is running which can be on different ports? Here's what I've tried
A - Using Inet.Address - This doesn't let you know what port your application is on
B - Using the load servlet on start up ( Only the init() function is called and the request object hasn't been created and the request object is what contains ther protocol, server and port information)
C - Loading a jsp page (READ... purposefully loading a jsp page) on application start. The thought here is that this contains a request object, but unfortunately on this doesn't work in my servlet container (currently tomcat 6 but the application is for a web logic machine)
D - I thought about possibly using System.properties() but no luck there
I'm at witts end on this one and I know there is something that can recoginze the local servlet container and extract the url and port from it.
Any suggestions would be great.
Flabergasted [sic]Hi,
I had a simmilar requirement once, i also had to display some meaningful message with the busy mode icon, but i guess that comes directly from the WD Framework and is not possible to be changed. Refer the following thread, i raised that time.
Web Dynpro ABAP
Dont have much idea if somethig exists in portal for this.
Regards,
Runal -
Error while creating DBConsole -- Error configuring central management
Dear All,
MY DB Oracle 11gR1 on Linux is running fine, however there is a problem in Oracle Enterprise Manager Console.
I dropped and re-create dbconsole using:
emca -config all db -repos create
These are the messages I got after creating it.
Feb 10, 2010 10:31:26 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Feb 10, 2010 10:41:28 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
Feb 10, 2010 10:41:41 AM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Feb 10, 2010 10:43:48 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Feb 10, 2010 10:43:53 AM oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
INFO: Registering target(s) with central agent(s) (this may take a while)...
Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /Oracle/app/oracle/product/11.1.0/db_1/bin/emctl config agent addcentralagent /Oracle/app/oracle/product/11.1.0/db_1 /Oracle/app/oracle/product/11.1.0/db_1
Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.EMAgentConfig performConfiguration
WARNING: Error registering database targets with the central agent(s).
Feb 10, 2010 10:43:57 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error configuring central management. This target will not be centrally managed
Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
Could not complete the configuration. Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
If anyone can help me getting through this error and creating dbconsole.
Thanks,
ImranCONFIG: isLocalNodeDone: T localNode: null
10:31:26 oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
CONFIG: File: /path/bss.com_bssdevpl/sysman/emd/agntstmp.txt:bss.com does not exists.
10:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
10:31:26 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
10:31:26 oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_repos_create_2010_02_10_10_31_26.log
10:31:26 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
10:41:28 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
10:41:28 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
10:41:28 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
10:41:28 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
10:41:28 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_ADDR.
10:41:28 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
10:41:29 oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocking dbsnmp and sysman
10:41:29 oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully unlocked relevant accounts
10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYSMAN
10:41:29 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
10:41:36 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
CONFIG: Finished executing emreposoutofbox.sql
10:41:36 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYSMAN
10:41:38 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
10:41:38 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
CONFIG: Submitting dbms job: /path/sysman/admin/emdrep/sql/core/latest/admin/admin_submit_dbms_jobs.sql
10:41:38 oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
CONFIG: Successfully submitted dbms job
10:41:38 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
CONFIG: Unlocking mgmt view user account
10:41:38 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
10:41:38 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /path/sysman/admin/scripts/emca/emcaDbUtil /path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin: /path/perl/bin/perl /path/sysman/admin/scripts/emca/emcaDbUtil.pl /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /path/sysman/admin/scripts/emca/emcaDbUtil /path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin: /path/perl/bin/perl /path/sysman/admin/scripts/emca/emcaDbUtil.pl /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD completed successfully
10:41:41 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Arguments passed /path bssdevpl SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
Connecting to database bssdevpl in home /path with user "SYS" role "SYSDBA".
connected to database.
sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
noOfParams to bind: 1.
sql execute successfully.
10:41:41 oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
CONFIG: Unlocked mgmt_view account
10:41:41 oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully unlocked mgmt_view account
10:41:41 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:41:41 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: bssdevpl, oracleHome: /path, and user: SYS
10:41:41 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
10:41:41 oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: Passed listener validation check.Listener is up and running.
10:41:41 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:41:41 oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
10:43:48 oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
10:43:48 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:48 oracle.sysman.emcp.EMDBCConfig updateEmomsProps
CONFIG: Updating file /path/sysman/config/emoms.properties ...
10:43:48 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:48 oracle.sysman.emcp.util.FileUtil _copyFile
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_SENDER_NAME.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter EMAIL_ADDRESS.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:49 oracle.sysman.emcp.EMAgentConfig updateEmdProps
CONFIG: Updating file /path/sysman/config/emd.properties ...
10:43:49 oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /path/sysman/config/emd.properties.emca to /path/sysman/config/emd.properties
10:43:49 oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /path/sysman/config/emd.properties.emca.util.tmp to /path/sysman/config/emd.properties
10:43:49 oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
CONFIG: Updating file /path/sysman/config/emd.properties ...
10:43:49 oracle.sysman.emcp.EMAgentConfig updateTargets
CONFIG: value for use102tgt: F
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
10:43:49 oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
10:43:49 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:50 oracle.sysman.emcp.ParamsManager getLocalListener
CONFIG: Found listener named: LISTENER
10:43:50 oracle.sysman.emcp.EMAgentConfig updateAgentConfigFiles
CONFIG: Updating file /path/sysman/emd/targets.xml ...
10:43:50 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:50 oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
CONFIG: Local host name: bss.com
10:43:50 oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: T localNode: null
10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'DISPLAY' is '', discarding the same
10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'TZ' is '', discarding the same
10:43:50 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
10:43:50 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/jdk/jre/lib/i386/client:/path/jdk/jre/lib/i386:/path/jdk/jre/../lib/i386:/path/lib32:/path/lib:/path/perl/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, 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:, MAIL=/var/spool/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
10:43:50 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /path/bin/emctl deploy dbconsole /path/bss.com_bssdevpl bss.com:3938 bss.com bssdevpl
10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /path/bin/emctl deploy dbconsole /path/bss.com_bssdevpl bss.com:3938 bss.com bssdevpl completed successfully
10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Creating shared install...
Source location: /path
Destination (shared install) : /path/bss.com_bssdevpl
DeployMode : dbconsole
Creating directories...
Setting console properties ...
Setting log and trace files locations for Console ...
Setting log and trace files locations for Agent ...
10:43:53 oracle.sysman.emcp.EMAgentConfig updateDBControlPort
CONFIG: Setting https port as: -1
10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emoms.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emoms.properties
10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emd.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emd.properties
10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /path/bss.com_bssdevpl/sysman/config/emd.properties.emca.util.tmp to /path/bss.com_bssdevpl/sysman/config/emd.properties
10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
CONFIG: targetsXML exists: /path/sysman/emd/targets.xml
10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
CONFIG: customTarget for oracle_database on node bss.com sid bssdevpl : bssdevpl
10:43:53 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CUSTOM_ORACLE_DB_TARGET value: bssdevpl
10:43:53 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER.
10:43:53 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
10:43:53 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
10:43:53 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
10:43:53 oracle.sysman.emcp.ParamsManager getLocalListener
CONFIG: Found listener named: LISTENER
10:43:53 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LISTENER_OH.
10:43:53 oracle.sysman.emcp.ParamsManager getListenerHome
CONFIG: LISTENER_OH not set. Using ORACLE_HOME as listener's home.
10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
CONFIG: targetsXML exists: /path/sysman/emd/targets.xml
10:43:53 oracle.sysman.emcp.EMAgentConfig getCustomTargetName
CONFIG: customTarget for oracle_listener on node bss.com sid null : LISTENER_bss.com
10:43:53 oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CUSTOM_LSNR_TARGET value: LISTENER_bss.com
10:43:53 oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
10:43:53 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib:null, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, 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:, MAIL=/var/spool/mail/oracle, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PERL5LIB=/path/perl/lib:/path/perl/lib/site_perl:/path/sysman/admin/scripts:/path/bin:, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /path/perl/bin/perl /path/bin/targetdeploy.pl -d bssdevpl -n LISTENER_bss.com /path/bss.com_bssdevpl bss.com bssdevpl
10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of /path/perl/bin/perl /path/bin/targetdeploy.pl -d bssdevpl -n LISTENER_bss.com /path/bss.com_bssdevpl bss.com bssdevpl completed successfully
10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Creating targets.xml in state directories...
Source location: /path
Destination : /path/bss.com_bssdevpl
Creating directories...
Creating targets.xml...
Done.
10:43:53 oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file /path/oraInst.loc to /path/bss.com_bssdevpl/oraInst.loc
10:43:53 oracle.sysman.emcp.EMAgentConfig createAgentTimeStampFile
CONFIG: Creating agntstmp.txt file. oh: /path stateDir: /path/bss.com_bssdevpl host: bss.com
10:43:53 oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
10:43:53 oracle.sysman.emcp.EMAgentConfig createAgentTimeStampFile
CONFIG: File: /path/sysman/emd/agntstmp.txt.bssdevpl does not exists
10:43:53 oracle.sysman.emcp.EMAgentConfig instantiateEMConfigFiles
CONFIG: Successfully deployed state dirs for bss.com
10:43:53 oracle.sysman.emcp.EMAgentConfig performConfiguration
CONFIG: Successfully updated agent config files
10:43:53 oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
INFO: Registering target(s) with central agent(s) (this may take a while)...
10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'DISPLAY' is '', discarding the same
10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'TZ' is '', discarding the same
10:43:53 oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
10:43:53 oracle.sysman.emcp.util.PlatformInterface getEnvProps
CONFIG: Returning env array from cache
10:43:53 oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
CONFIG: New Env List: [CLASSPATH=/path/jlib/emca.jar:/path/jlib/srvm.jar:/path/jlib/srvmasm.jar:/path/jlib/emConfigInstall.jar:/path/jlib/ldapjclnt11.jar:/path/jlib/ldap.jar:/path/jlib/share.jar:/path/jlib/srvmhas.jar:/path/jlib/netcfg.jar:/path/jlib/http_client.jar:/path/lib/http_client.jar:/path/lib/xmlparserv2.jar:/path/assistants/jlib/assistantsCommon.jar:/path/sysman/jlib/emCORE.jar:/path/sysman/jlib/emagentSDK.jar:/path/oui/jlib/OraInstaller.jar:/path/oui/jlib/OraPrereq.jar:/path/inventory/prereqs/oui/OraPrereqChecks.jar:/path/oui/jlib/OraPrereqChecks.jar:, DYLD_LIBRARY_PATH=/path/lib32:/path/lib:/path/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=bss-ora-dev, INPUTRC=/etc/inputrc, KDEDIR=/usr, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/path/jdk/jre/lib/i386/client:/path/jdk/jre/lib/i386:/path/jdk/jre/../lib/i386:/path/lib32:/path/lib:/path/perl/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/path/lib32:/path/lib:/path/perl/lib, LOGNAME=oracle, 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:, MAIL=/var/spool/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_HOME=/path, ORACLE_SID=bssdevpl, PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/path/bin, PWD=/home/oracle, SHELL=/bin/bash, SHLIB_PATH=/path/lib32:/path/lib:/path/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, TERM=xterm, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/path/jdk/jre/bin/java]
10:43:53 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: /path/bin/emctl config agent addcentralagent /path /path
10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 1
10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
0 [main] ERROR emSDK.config - Warning: one of following could not be found:/path/bin/emtgtctl or /path/bss.com_bssdevpl/bin/emtgtctl
7 [main] ERROR emSDK.config - oracle.sysman.emSDK.conf.CentralHomeAdditionException: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
oracle.sysman.emSDK.conf.CentralHomeAdditionException: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
at oracle.sysman.emSDK.conf.TargetInstaller.addCentralAgentHome(TargetInstaller.java:1931)
at oracle.sysman.emSDK.conf.TargetInstaller.main(TargetInstaller.java:3167)
10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: emtgtctl could not be found in the bin directory of either the local home at /path or the central home at /path/bss.com_bssdevpl
10:43:57 oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /path/bin/emctl config agent addcentralagent /path /path
10:43:57 oracle.sysman.emcp.util.CentralAgentUtil registerWithCentralAgents
CONFIG: Error registering with /path
10:43:57 oracle.sysman.emcp.EMAgentConfig performConfiguration
WARNING: Error registering database targets with the central agent(s).
10:43:57 oracle.sysman.emcp.EMConfig perform
SEVERE: Error configuring central management. This target will not be centrally managed
Refer to the log file at /Oracle/app/oracle/cfgtoollogs/emca/bssdevpl/emca_2010_02_10_10_25_26.log for more details.
10:43:57 oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error configuring central management. This target will not be centrally managed
at oracle.sysman.emcp.EMAgentConfig.performConfiguration(EMAgentConfig.java:1303)
at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:239)
at oracle.sysman.emcp.EMAgentConfig.invoke(EMAgentConfig.java:217)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:225)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:534)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1214)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:518)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:467) -
[SOLVED] Openbox autostart no longer working since upgrade
After the upgrade on May 14 2013 my autostart file no longer works. I tried renaming my autostart.sh to just autostart no luck. There is nothing wrong with the autostart file as I can run it manually and it will load all my apps. Also, if I cd to /usr/lib/openbox/ and run openbox-autostart directly it works. Here are the updated packages:
[2013-05-14 21:34] [PACMAN] upgraded ethtool (1:3.8-1 -> 1:3.9-1)
[2013-05-14 21:34] [PACMAN] upgraded firefox (20.0.1-5 -> 21.0-1)
[2013-05-14 21:34] [PACMAN] upgraded gsettings-desktop-schemas (3.8.0-1 -> 3.8.2-1)
[2013-05-14 21:34] [PACMAN] upgraded glib-networking (2.36.1-1 -> 2.36.2-1)
[2013-05-14 21:34] [PACMAN] upgraded gnome-icon-theme-symbolic (3.8.0.1-2 -> 3.8.2.2-1)
[2013-05-14 21:34] [PACMAN] upgraded gnome-icon-theme (3.8.0-1 -> 3.8.2-1)
[2013-05-14 21:34] [PACMAN] upgraded gnupg (2.0.19-7 -> 2.0.20-1)
[2013-05-14 21:34] [PACMAN] upgraded gtkmm (2.24.2-2 -> 2.24.3-1)
[2013-05-14 21:34] [PACMAN] upgraded gvfs (1.16.1-2 -> 1.16.2-1)
[2013-05-14 21:34] [PACMAN] upgraded libical (0.48-1 -> 1.0-2)
[2013-05-14 21:34] [PACMAN] upgraded mplayer (35920-2 -> 35920-3)
[2013-05-14 21:34] [PACMAN] upgraded orage (4.8.4-1 -> 4.8.4-2)
[2013-05-14 21:34] [PACMAN] upgraded pango (1.34.0-1 -> 1.34.1-1)
[2013-05-14 21:34] [PACMAN] upgraded pdnsd (1.2.9.a-1 -> 1.2.9.a-2)
[2013-05-14 21:34] [PACMAN] upgraded python2-distribute (0.6.38-1 -> 0.6.39-1)
[2013-05-14 21:34] [PACMAN] upgraded python2-zope-interface (4.0.3-1 -> 4.0.5-1)
[2013-05-14 21:34] [PACMAN] upgraded sudo (1.8.6.p8-1 -> 1.8.6.p8-2)
[2013-05-14 21:34] [PACMAN] upgraded thunderbird (17.0.5-2 -> 17.0.6-1)
[2013-05-14 21:34] [PACMAN] upgraded virtualbox (4.2.12-2 -> 4.2.12-3)
[2013-05-14 21:34] [PACMAN] upgraded vte-common (0.34.4-1 -> 0.34.5-1)
[2013-05-14 21:35] [PACMAN] upgraded python3-threaded_servers (2013.5.12.3-1 -> 2013.5.14.1-1)
Not sure what's going on or what could have caused it. My .xinitrc looks like this:
#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export BROWSER="chromium"
# Start GNOME Keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
# You probably need to do this too:
export SSH_AUTH_SOCK
export GPG_AGENT_INFO
export GNOME_KEYRING_CONTROL
export GNOME_KEYRING_PID
exec openbox-session
My .zprofile
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx &> ~/.xlog
My systemd startup service:
# This file is part of systemd.
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Getty on %I
Documentation=man:agetty(8) man:systemd-getty-generator(8)
Documentation=http://0pointer.de/blog/projects/serial-console.html
After=systemd-user-sessions.service plymouth-quit-wait.service
After=rc-local.service
# If additional gettys are spawned during boot then we should make
# sure that this is synchronized before getty.target, even though
# getty.target didn't actually pull it in.
Before=getty.target
IgnoreOnIsolate=yes
# On systems without virtual consoles, don't start any getty. (Note
# that serial gettys are covered by [email protected], not this
# unit
ConditionPathExists=/dev/tty0
[Service]
# the VT is cleared by TTYVTDisallocate
ExecStart=-/sbin/agetty -a dodo3773 %I 38400
Type=simple
#Restart=always
#RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=no
TTYVHangup=no
TTYVTDisallocate=no
KillMode=process
IgnoreSIGPIPE=no
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION=
# Some login implementations ignore SIGTERM, so we send SIGHUP
# instead, to ensure that login terminates cleanly.
KillSignal=SIGHUP
[Install]
WantedBy=getty.target
Edit: I tried switching to bash in a tty and then just startx but that doesn't help either.
Edit2: To be clear openbox does load a desktop. The autostart scripts at ~/.config/openbox/ just don't run. Thanks.
Edit3: I decided to run the command issued in openbox-session and added --debug to it. Here is the output of "xinit /usr/bin/openbox --debug --startup "/usr/lib/openbox/openbox-autostart OPENBOX" "$@" -- :1 -nolisten tcp" :
X.Org X Server 1.14.1
Release Date: 2013-04-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.8.7-1-ARCH x86_64
Current Operating System: Linux dodo713 3.9.2-2-ck #1 SMP PREEMPT Sun May 12 18:19:49 EDT 2013 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-linux-ck root=UUID=06874255-7a5d-4968-8f09-1e53cb761f44 ro quiet init=/usr/lib/systemd/systemd
Build Date: 17 April 2013 02:37:06PM
Current version of pixman: 0.30.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Fri May 17 08:14:11 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
setversion 1.4 failed
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
Loading extension NV-GLX
Loading extension NV-CONTROL
Loading extension XINERAMA
setversion 1.4 failed
Openbox-Debug: --startup /usr/lib/openbox/openbox-autostart OPENBOX
Openbox-Debug: Moving to desktop 1
Openbox-Debug: not managing override redirect window 0x4000bb
which: no hsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
which: no esetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
which: no xsetroot in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/android-sdk/platform-tools:/usr/bin/core_perl:/home/dodo3773/Documents/Scripts:/home/dodo3773/Documents/Scripts)
kupfer: Reading from stdin
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
Openbox-Debug: Caught signal 22. Ignoring.
Openbox-Debug: UPDATE DESKTOP NAMES
Openbox-Debug: Keyboard map changed. Reloading keyboard bindings.
Edit4: Removed everything from /etc/xdg/autostart and ~/.config/autostart/ directories. That didn't work.
Edit5: Tried installing xorg-xsetroot to let openbox set the color of the wallpaper. That didn't work.
Edit6: Checked the output of "loginctl show-session $XDG_SESSION_ID" to make sure that wasn't the issue. Looks okay to me:
Id=1
Timestamp=Fri 2013-05-17 10:25:53 PDT
TimestampMonotonic=13650783
DefaultControlGroup=systemd:/user/1000.user/1.session
VTNr=1
TTY=tty1
Remote=no
Service=login
Leader=405
Audit=1
Type=tty
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=1368811547544203
IdleSinceHintMonotonic=7545641
Name=dodo3773
Edit7: Tried installing xorg-xrdb thinking maybe that would help and did todays updates. No luck yet.
Edit8: Kupfer still loads even though nothing else does. So I uninstalled kupfer. Same thing though. No autostart.
Edit9: Tried booting into repo kernel instead of ck kernel. Didn't work.
Last edited by dodo3773 (2013-05-19 06:34:44)WonderWoofy wrote:Interestingly, of all those things you included in your post, you forgot to include the autostart script itself. What does that look like?
Well, since it worked fine even when called indirectly through openbox-autostart and since it's worked fine for months I figured it was fine. I am happy to post it though. Here you go:
feh --bg-scale /home/dodo3773/Pictures/blacksolid.png &
xfce4-panel &
numlockx &
keepassx -lock &
kupfer --no-splash &
~/Documents/Scripts/startupopen.sh &
sleep 30 && sudo /usr/bin/ntpd -qg &
sudo /usr/sbin/ethtool -K eth0 rx off &
~/Documents/Scripts/conky.sh &
sudo /home/dodo3773/Documents/Scripts/temp_throttlenew > /dev/null 2>&1 &
Here are the external scripts that are called (startupopen.sh and temp_throttlenew):
startupopen.sh
#! /bin/bash
sleep 13
chromium &
thunderbird &
sleep 20
devilspie -a &
sleep 7
pkill devilspie &
exit
temp_throttlenew
#!/bin/bash
# temp_throttle.sh max_temp
# USE CELSIUS TEMPERATURES.
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
#if [ $# -ne 1 ]; then
# If temperature wasn't given, then print a message and exit.
# echo "Please supply a maximum desired temperature in Celsius." 1>&2
# echo "For example: ${0} 60" 1>&2
# exit 2
#else
#Set the first argument as the maximum desired temperature.
MAX_TEMP=85
#fi
# The frequency will increase when low temperature is reached.
let LOW_TEMP=$MAX_TEMP-5
CORES=$(nproc) # Get number of CPU cores.
echo -e "Number of CPU cores detected: $CORES\n"
# Temperatures internally are calculated to the thousandth.
MAX_TEMP=${MAX_TEMP}000
LOW_TEMP=${LOW_TEMP}000
# FREQ_LIST is a list (array) of all available cpu frequencies the system allows.
declare -a FREQ_LIST=($(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies))
# CURRENT_FREQ relates to the FREQ_LIST by keeping record of the currently set frequency.
let CURRENT_FREQ=1
function set_freq {
echo ${FREQ_LIST[$1]}
cpupower frequency-set -g "ondemand" -d "800MHz" -u ${FREQ_LIST[$1]}
function throttle {
if [ $CURRENT_FREQ -ne $((${#FREQ_LIST[@]}-1)) ]; then
let CURRENT_FREQ+=1
echo -n "throttle "
set_freq $CURRENT_FREQ
fi
function unthrottle {
if [ $CURRENT_FREQ -ne 0 ]; then
let CURRENT_FREQ-=1
echo -n "unthrottle "
set_freq $CURRENT_FREQ
fi
function get_temp {
# Get the system temperature.
# If one of these doesn't work, the try uncommenting another.
TEMP=$(cat /sys/class/thermal/thermal_zone0/temp)
#TEMP=$(cat /sys/class/hwmon/hwmon0/temp1_input)
#TEMP=$(cat /sys/class/hwmon/hwmon1/device/temp1_input)
while true; do
get_temp
if [ $TEMP -gt $MAX_TEMP ]; then # Throttle if too hot.
throttle
elif [ $TEMP -le $LOW_TEMP ]; then # Unthrottle if cool.
unthrottle
fi
sleep 3
done
Stuff that needs sudo is in my sudoers as "username hostname NOPASSWD: item1,item2,etc,etc". Nothing too exciting. Seems like if there was suddenly something wrong with my autostart file at least some of the stuff would run either way though cause of "&". Pretty puzzling this issue is. -
100% CPU Usage Overhead running EM DBConsole 11g on OEL-5.2
After upgrading to OEL-5.2 and relinking all Oracle binaries, my old Oracle 11g installation, installed several months before on OEL-5.1, has been working well, including Enterprise Manager Database Console working nicely as always with respectful performance. Unfortunatelly, it lasted just several days.
Yesterday I decided to uninstall the 11g completely and perform new clean installation (software and database) with the same configuration options and settings as before, including EM dbconsole, all configured using dbca. After completing the installation (EM was started automatically by dbca), oracle continued to suck 80-85% CPU time. In further few minutes CPU utilization raised up to 99% due to only one (always the same PID) client process - "oracleorcl (LOCAL=NO)". For first ten minutes I didn't care too much since I always enable Automatic Management in dbca. But after two hours, I started to worry. The process was still running, consuming sustained 99% of CPU power. No other system activity, no database activity, no disks activity at all!
I was really puzzled since I installed and reinstalled the 11g at least 20 times on OEL-5.0 and 5.1, experimenting with ASM, raw devices, loopback devices and various combinations of installation options, but never experienced such a behaviour. It took me 3 minutes to log in to EM dbconsole as it was almost unusable performing too slow. After three hours CPU temperature was nearly 60 degrees celsius. I decided to shutdown EM and after that everything became quiet. Oracle was running normally. Started EM again, the problem was back again. Tracing enabled, it filled a 350 MB trace file in just 20 minutes. Reinstalling the software and database once again didn't help. Whenever EM is up, the CPU usage overhead of 99% persists.
Here is a cca 23 minutes session summary report taken from EM dbconsole's Performance page. The trace file is too big to list it here, but it shows the same.
Host CPU: 100%
Active Sessions: 100%The details for the Selected 5 Minute Interval (the last 5 min interval) are shown as follow:
TOP SESSIONS: SYSMAN, Program: OMS
Activity: 100%
TOP MODULES: OEM.CacheModeWaitPool, Service: orcl
Activity: 100%
TOP CLIENT: Unnamed
Activity: 99.1%
TOP ACTIONS: Unnamed (OEM.CacheModeWaitPool) (orcl)
Activity: 100%
TOP OBJECTS: SYSMAN.MGMT_JOB_EXEC_SUMMARY (Table)
Activity: 100%
TOP PL/SQL: SYSMAN.MGMT_JOB_ENGINE.INSERT_EXECUTION
PL/SQL Source: SYSMAN.MGMT_JOB_ENGINE
Line Number: 7135
Activity: 100%
TOP SQL: SELECT EXECUTION_ID, STATUS, STATUS_DETAIL FROM MGMT_JOB_EXEC_SUMMARY
WHERE JOB_ID = :B3 AND TARGET_LIST_INDEX = :B2 AND EXPECTED_START_TIME = :B1;
Activity: 100%
STATISTICS SUMMARY
cca 23 minutes session
with no other system activity
Per
Total Execution Per Row
Executions 105,103 1 10,510.30
Elapsed Time (sec) 1,358.95 0.01 135.90
CPU Time (sec) 1,070.42 0.01 107.04
Buffer Gets 85,585,518 814.30 8,558,551.80
Disk Reads 2 <0.01 0.20
Direct Writes 0 0.00 0.00
Rows 10 <0.01 1
Fetches 105,103 1.00 10,510.30
----------------------------------------Wow!!! Note: no disk, no database activity !
Has anyone experienced this or similar behaviour after clean 11g installation on OEL-5.2? If not, anyone has a clue what the hell is going on?
Thanks in advance.Hi Tommy,
I didn't want to experiment further with already working OEL-5.2, oracle and dbconsole on this machine, specially not after googling the problem and finding out that I am not alone in this world. There are another two threads on OTN forums (Database General) showing the same problem even on 2GB machines:
DBConsole easting a CPU
11g stuck. 50-100% CPU after fresh install
So, I took another, a smaller free machine I've got at home (1GB RAM, 2.2MHz Pentium4, three 80GB disks), on which I used to experiment with new releases of software (this is the machine on which I installed 11g for the first time when it was released on OEL-5.0, and I can recall that everything was OK with EM). This is what I did:
1. I installed OEL-5.0 on the machine, adjusted linux and kernel parameters, and performed full 11g installation. Database and EM dbconsole worked nice with acceptable performance. Without activity in the database, %CPU = zero !!! The whole system was perfectly quiet.
2. Since everything was OK, I shutdown EM and oracle, and performed the full upgrade to OEL-5.2. When the upgrade finished, restarted the system, relinked all oracle binaries, and started oracle and EM dbconsole. Both worked perfectly again, just as before the upgrade. I repeated restarting the database and dbconsole several times, always with the same result - it really rocks. Without database activity, %CPU = zero%.
3. Using dbca, I dropped the database and created the new one with the same configuration options. Wow! I'm again in trouble. A half an hour after the creation of the database, %CPU raised up to 99%. That's it.
The crucial question here is: what is that in OEL-5.2, not existing in the 5.0, that causes dbca/em scripts to be embarrassed at the time of EM agent configuration?
Here are the outputs you required picked 30 minutes after starting the database and EM dbconsole (sustained 99% CPU utilization). Note that this is just a 1GB machine.
Kernel command line: ro root=LABEL=/ elevator=deadline rhgb quiet
[root@localhost ~]# cat /proc/meminfo
MemTotal: 1034576 kB
MemFree: 27356 kB
Buffers: 8388 kB
Cached: 609660 kB
SwapCached: 18628 kB
Active: 675376 kB
Inactive: 287072 kB
HighTotal: 130304 kB
HighFree: 260 kB
LowTotal: 904272 kB
LowFree: 27096 kB
SwapTotal: 3148700 kB
SwapFree: 2940636 kB
Dirty: 72 kB
Writeback: 0 kB
AnonPages: 328700 kB
Mapped: 271316 kB
Slab: 21136 kB
PageTables: 14196 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 3665988 kB
Committed_AS: 1187464 kB
VmallocTotal: 114680 kB
VmallocUsed: 5860 kB
VmallocChunk: 108476 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 4096 kB
[root@localhost ~]# cat /proc/slabinfo
slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
rpc_buffers 8 8 2048 2 1 : tunables 24 12 8 : slabdata 4 4 0
rpc_tasks 8 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
rpc_inode_cache 6 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
ip_conntrack_expect 0 0 96 40 1 : tunables 120 60 8 : slabdata 0 0 0
ip_conntrack 68 68 228 17 1 : tunables 120 60 8 : slabdata 4 4 0
ip_fib_alias 7 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
ip_fib_hash 7 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
fib6_nodes 22 113 32 113 1 : tunables 120 60 8 : slabdata 1 1 0
ip6_dst_cache 13 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
ndisc_cache 1 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
RAWv6 4 5 768 5 1 : tunables 54 27 8 : slabdata 1 1 0
UDPv6 9 12 640 6 1 : tunables 54 27 8 : slabdata 2 2 0
tw_sock_TCPv6 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
request_sock_TCPv6 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
TCPv6 1 3 1280 3 1 : tunables 24 12 8 : slabdata 1 1 0
jbd_1k 0 0 1024 4 1 : tunables 54 27 8 : slabdata 0 0 0
dm_mpath 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
dm_uevent 0 0 2460 3 2 : tunables 24 12 8 : slabdata 0 0 0
dm_tio 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
dm_io 0 0 20 169 1 : tunables 120 60 8 : slabdata 0 0 0
jbd_4k 1 1 4096 1 1 : tunables 24 12 8 : slabdata 1 1 0
scsi_cmd_cache 10 10 384 10 1 : tunables 54 27 8 : slabdata 1 1 0
sgpool-128 36 36 2048 2 1 : tunables 24 12 8 : slabdata 18 18 0
sgpool-64 33 36 1024 4 1 : tunables 54 27 8 : slabdata 9 9 0
sgpool-32 34 40 512 8 1 : tunables 54 27 8 : slabdata 5 5 0
sgpool-16 35 45 256 15 1 : tunables 120 60 8 : slabdata 3 3 0
sgpool-8 60 60 128 30 1 : tunables 120 60 8 : slabdata 2 2 0
scsi_io_context 0 0 104 37 1 : tunables 120 60 8 : slabdata 0 0 0
ext3_inode_cache 4376 8216 492 8 1 : tunables 54 27 8 : slabdata 1027 1027 0
ext3_xattr 165 234 48 78 1 : tunables 120 60 8 : slabdata 3 3 0
journal_handle 8 169 20 169 1 : tunables 120 60 8 : slabdata 1 1 0
journal_head 684 1008 52 72 1 : tunables 120 60 8 : slabdata 14 14 0
revoke_table 18 254 12 254 1 : tunables 120 60 8 : slabdata 1 1 0
revoke_record 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
uhci_urb_priv 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
UNIX 56 112 512 7 1 : tunables 54 27 8 : slabdata 16 16 0
flow_cache 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
cfq_ioc_pool 0 0 92 42 1 : tunables 120 60 8 : slabdata 0 0 0
cfq_pool 0 0 96 40 1 : tunables 120 60 8 : slabdata 0 0 0
crq_pool 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
deadline_drq 140 252 44 84 1 : tunables 120 60 8 : slabdata 3 3 0
as_arq 0 0 56 67 1 : tunables 120 60 8 : slabdata 0 0 0
mqueue_inode_cache 1 6 640 6 1 : tunables 54 27 8 : slabdata 1 1 0
isofs_inode_cache 0 0 368 10 1 : tunables 54 27 8 : slabdata 0 0 0
hugetlbfs_inode_cache 1 11 340 11 1 : tunables 54 27 8 : slabdata 1 1 0
ext2_inode_cache 0 0 476 8 1 : tunables 54 27 8 : slabdata 0 0 0
ext2_xattr 0 0 48 78 1 : tunables 120 60 8 : slabdata 0 0 0
dnotify_cache 2 169 20 169 1 : tunables 120 60 8 : slabdata 1 1 0
dquot 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
eventpoll_pwq 1 101 36 101 1 : tunables 120 60 8 : slabdata 1 1 0
eventpoll_epi 1 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
inotify_event_cache 1 127 28 127 1 : tunables 120 60 8 : slabdata 1 1 0
inotify_watch_cache 23 92 40 92 1 : tunables 120 60 8 : slabdata 1 1 0
kioctx 135 135 256 15 1 : tunables 120 60 8 : slabdata 9 9 0
kiocb 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
fasync_cache 0 0 16 203 1 : tunables 120 60 8 : slabdata 0 0 0
shmem_inode_cache 553 585 436 9 1 : tunables 54 27 8 : slabdata 65 65 0
posix_timers_cache 0 0 88 44 1 : tunables 120 60 8 : slabdata 0 0 0
uid_cache 5 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
ip_mrt_cache 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
tcp_bind_bucket 32 203 16 203 1 : tunables 120 60 8 : slabdata 1 1 0
inet_peer_cache 1 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
secpath_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
xfrm_dst_cache 0 0 384 10 1 : tunables 54 27 8 : slabdata 0 0 0
ip_dst_cache 6 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
arp_cache 2 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
RAW 2 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
UDP 3 7 512 7 1 : tunables 54 27 8 : slabdata 1 1 0
tw_sock_TCP 3 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
request_sock_TCP 4 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
TCP 43 49 1152 7 2 : tunables 24 12 8 : slabdata 7 7 0
blkdev_ioc 3 127 28 127 1 : tunables 120 60 8 : slabdata 1 1 0
blkdev_queue 23 24 956 4 1 : tunables 54 27 8 : slabdata 6 6 0
blkdev_requests 137 161 172 23 1 : tunables 120 60 8 : slabdata 7 7 0
biovec-256 7 8 3072 2 2 : tunables 24 12 8 : slabdata 4 4 0
biovec-128 7 10 1536 5 2 : tunables 24 12 8 : slabdata 2 2 0
biovec-64 7 10 768 5 1 : tunables 54 27 8 : slabdata 2 2 0
biovec-16 7 15 256 15 1 : tunables 120 60 8 : slabdata 1 1 0
biovec-4 8 59 64 59 1 : tunables 120 60 8 : slabdata 1 1 0
biovec-1 406 406 16 203 1 : tunables 120 60 8 : slabdata 2 2 300
bio 564 660 128 30 1 : tunables 120 60 8 : slabdata 21 22 204
utrace_engine_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
utrace_cache 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
sock_inode_cache 149 230 384 10 1 : tunables 54 27 8 : slabdata 23 23 0
skbuff_fclone_cache 20 20 384 10 1 : tunables 54 27 8 : slabdata 2 2 0
skbuff_head_cache 86 210 256 15 1 : tunables 120 60 8 : slabdata 14 14 0
file_lock_cache 22 40 96 40 1 : tunables 120 60 8 : slabdata 1 1 0
Acpi-Operand 1147 1196 40 92 1 : tunables 120 60 8 : slabdata 13 13 0
Acpi-ParseExt 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-Parse 0 0 28 127 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-State 0 0 44 84 1 : tunables 120 60 8 : slabdata 0 0 0
Acpi-Namespace 615 676 20 169 1 : tunables 120 60 8 : slabdata 4 4 0
delayacct_cache 233 312 48 78 1 : tunables 120 60 8 : slabdata 4 4 0
taskstats_cache 12 53 72 53 1 : tunables 120 60 8 : slabdata 1 1 0
proc_inode_cache 622 693 356 11 1 : tunables 54 27 8 : slabdata 63 63 0
sigqueue 8 27 144 27 1 : tunables 120 60 8 : slabdata 1 1 0
radix_tree_node 6220 8134 276 14 1 : tunables 54 27 8 : slabdata 581 581 0
bdev_cache 37 42 512 7 1 : tunables 54 27 8 : slabdata 6 6 0
sysfs_dir_cache 4980 4992 48 78 1 : tunables 120 60 8 : slabdata 64 64 0
mnt_cache 36 60 128 30 1 : tunables 120 60 8 : slabdata 2 2 0
inode_cache 1113 1254 340 11 1 : tunables 54 27 8 : slabdata 114 114 81
dentry_cache 11442 18560 136 29 1 : tunables 120 60 8 : slabdata 640 640 180
filp 7607 10000 192 20 1 : tunables 120 60 8 : slabdata 500 500 120
names_cache 19 19 4096 1 1 : tunables 24 12 8 : slabdata 19 19 0
avc_node 14 72 52 72 1 : tunables 120 60 8 : slabdata 1 1 0
selinux_inode_security 814 1170 48 78 1 : tunables 120 60 8 : slabdata 15 15 0
key_jar 14 30 128 30 1 : tunables 120 60 8 : slabdata 1 1 0
idr_layer_cache 170 203 136 29 1 : tunables 120 60 8 : slabdata 7 7 0
buffer_head 38892 39024 52 72 1 : tunables 120 60 8 : slabdata 542 542 0
mm_struct 108 135 448 9 1 : tunables 54 27 8 : slabdata 15 15 0
vm_area_struct 11169 14904 84 46 1 : tunables 120 60 8 : slabdata 324 324 144
fs_cache 82 177 64 59 1 : tunables 120 60 8 : slabdata 3 3 0
files_cache 108 140 384 10 1 : tunables 54 27 8 : slabdata 14 14 0
signal_cache 142 171 448 9 1 : tunables 54 27 8 : slabdata 19 19 0
sighand_cache 127 135 1344 3 1 : tunables 24 12 8 : slabdata 45 45 0
task_struct 184 246 1360 3 1 : tunables 24 12 8 : slabdata 82 82 0
anon_vma 3313 5842 12 254 1 : tunables 120 60 8 : slabdata 23 23 0
pgd 84 84 4096 1 1 : tunables 24 12 8 : slabdata 84 84 0
pid 237 303 36 101 1 : tunables 120 60 8 : slabdata 3 3 0
size-131072(DMA) 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
size-131072 0 0 131072 1 32 : tunables 8 4 0 : slabdata 0 0 0
size-65536(DMA) 0 0 65536 1 16 : tunables 8 4 0 : slabdata 0 0 0
size-65536 2 2 65536 1 16 : tunables 8 4 0 : slabdata 2 2 0
size-32768(DMA) 0 0 32768 1 8 : tunables 8 4 0 : slabdata 0 0 0
size-32768 9 9 32768 1 8 : tunables 8 4 0 : slabdata 9 9 0
size-16384(DMA) 0 0 16384 1 4 : tunables 8 4 0 : slabdata 0 0 0
size-16384 6 6 16384 1 4 : tunables 8 4 0 : slabdata 6 6 0
size-8192(DMA) 0 0 8192 1 2 : tunables 8 4 0 : slabdata 0 0 0
size-8192 5 5 8192 1 2 : tunables 8 4 0 : slabdata 5 5 0
size-4096(DMA) 0 0 4096 1 1 : tunables 24 12 8 : slabdata 0 0 0
size-4096 205 205 4096 1 1 : tunables 24 12 8 : slabdata 205 205 0
size-2048(DMA) 0 0 2048 2 1 : tunables 24 12 8 : slabdata 0 0 0
size-2048 260 270 2048 2 1 : tunables 24 12 8 : slabdata 135 135 0
size-1024(DMA) 0 0 1024 4 1 : tunables 54 27 8 : slabdata 0 0 0
size-1024 204 204 1024 4 1 : tunables 54 27 8 : slabdata 51 51 0
size-512(DMA) 0 0 512 8 1 : tunables 54 27 8 : slabdata 0 0 0
size-512 367 464 512 8 1 : tunables 54 27 8 : slabdata 58 58 0
size-256(DMA) 0 0 256 15 1 : tunables 120 60 8 : slabdata 0 0 0
size-256 487 495 256 15 1 : tunables 120 60 8 : slabdata 33 33 0
size-128(DMA) 0 0 128 30 1 : tunables 120 60 8 : slabdata 0 0 0
size-128 2242 2490 128 30 1 : tunables 120 60 8 : slabdata 83 83 0
size-64(DMA) 0 0 64 59 1 : tunables 120 60 8 : slabdata 0 0 0
size-32(DMA) 0 0 32 113 1 : tunables 120 60 8 : slabdata 0 0 0
size-64 1409 2950 64 59 1 : tunables 120 60 8 : slabdata 50 50 0
size-32 3596 3842 32 113 1 : tunables 120 60 8 : slabdata 34 34 0
kmem_cache 145 150 256 15 1 : tunables 120 60 8 : slabdata 10 10 0
[root@localhost ~]# slabtop -d 5
Active / Total Objects (% used) : 97257 / 113249 (85.9%)
Active / Total Slabs (% used) : 4488 / 4488 (100.0%)
Active / Total Caches (% used) : 101 / 146 (69.2%)
Active / Total Size (% used) : 15076.34K / 17587.55K (85.7%)
Minimum / Average / Maximum Object : 0.01K / 0.16K / 128.00K
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
25776 25764 99% 0.05K 358 72 1432K buffer_head
16146 15351 95% 0.08K 351 46 1404K vm_area_struct
15138 7779 51% 0.13K 522 29 2088K dentry_cache
9720 9106 93% 0.19K 486 20 1944K filp
7714 7032 91% 0.27K 551 14 2204K radix_tree_node
5070 5018 98% 0.05K 65 78 260K sysfs_dir_cache
4826 4766 98% 0.01K 19 254 76K anon_vma
4824 3406 70% 0.48K 603 8 2412K ext3_inode_cache
3842 3691 96% 0.03K 34 113 136K size-32
2190 2174 99% 0.12K 73 30 292K size-128
1711 1364 79% 0.06K 29 59 116K size-64
1210 1053 87% 0.33K 110 11 440K inode_cache
1196 1147 95% 0.04K 13 92 52K Acpi-Operand
1170 814 69% 0.05K 15 78 60K selinux_inode_security
936 414 44% 0.05K 13 72 52K journal_head
747 738 98% 0.43K 83 9 332K shmem_inode_cache
693 617 89% 0.35K 63 11 252K proc_inode_cache
676 615 90% 0.02K 4 169 16K Acpi-Namespace
609 136 22% 0.02K 3 203 12K biovec-1
495 493 99% 0.25K 33 15 132K size-256
480 384 80% 0.12K 16 30 64K bio
440 399 90% 0.50K 55 8 220K size-512
312 206 66% 0.05K 4 78 16K delayacct_cache
303 209 68% 0.04K 3 101 12K pid
290 290 100% 0.38K 29 10 116K sock_inode_cache
[root@localhost ~]# cat /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
# Controls IP packet forwarding
net.ipv4.ip_forward=0
# Controls source route verification
net.ipv4.conf.default.rp_filter=1
# Do not accept source routing
net.ipv4.conf.default.accept_source_route=0
# Oracle
net.ipv4.ip_local_port_range=1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144
net.ipv4.tcp_rmem=4096 65536 4194304
net.ipv4.tcp_wmem=4096 65536 4194304
# Keepalive Oracle
net.ipv4.tcp_keepalive_time=3000
net.ipv4.tcp_keepalive_intvl=30
net.ipv4.tcp_keepalive_probes=15
net.ipv4.tcp_retries2=3
net.ipv4.tcp_syn_retries=2
net.ipv4.tcp_sack=0
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_window_scaling=0
# Oracle
fs.file-max = 6553600
fs.aio-max-nr=3145728
kernel.shmmni=4096
kernel.sem=250 32000 100 142
kernel.shmmax=2147483648
kernel.shmall=3279547
kernel.msgmnb=65536
kernel.msgmni=2878
kernel.msgmax=8192
kernel.exec-shield=0
# Controls the System Request debugging functionality of the kernel
kernel.sysrq=1
kernel.panic=60
kernel.core_uses_pid=1
[root@localhost ~]# free | grep Swap
Swap: 3148700 319916 2828784
[root@localhost ~]# cat /etc/fstab | grep "/dev/shm"
tmpfs /dev/shm tmpfs size=1024M 0 0
[root@localhost ~]# df | grep "/dev/shm"
tmpfs 1048576 452128 596448 44% /dev/shm
NON-DEFAULT DB PARAMETERS:
db_block_size 8192
memory_target 633339904 /* automatic memory management */
open_cursors 300
processes 256
disk_async_io TRUE
filesystemio_options SETALL -
[SOLVED] Problems autostarting xbmc after nvidia upgrade
Hello!
With nvidia version 302.17-1 and with 302.17.2 xorg errors and fails when autostarting xbmc.:
Here is my Xorg.0.log: https://gist.github.com/3118969
Here is my xorg.conf:
https://gist.github.com/3118996
But downgrading nvidia and nvidia-utils to version 295.59 makes everything work again.
So is this considered as a bug or can I change my configuration to make it work with latest nvidia drivers?
My graphics card is PCI and not PCIe, maybe there is some problem with old PCI cards?
I am now using standard xbmc package in repositories (earlier I used xbmc-pvr-git but I changed to standard xbmc to see if it was a problem even without using AUR packages).
Last edited by ronnylov (2012-07-17 14:04:32)Thanks. But I got another problem now because I can't upgrade from nvidia 295.59 to the latest version. There is some kind of dependency problem, probably because of the switch from /lib to /usr/lib.
[ronny@htpc ~]$ sudo pacman -Syu
Lösenord:
:: Synkroniserar paketdatabasen...
core är senaste versionen
extra är senaste versionen
community är senaste versionen
:: Påbörjar full systemuppgradering...
löser beroenden...
letar efter inre konflikter...
Mål (3): cairo-1.12.2-2 nvidia-302.17-2 nvidia-utils-302.17-1
Total Installationsstorlek: 54,02 MiB
Nettouppgraderingsstorlek: 0,69 MiB
Fortsätt med installation? [Y/n]
(3/3) kontrollerar paketintegritet [######################] 100%
(3/3) laddar paketfiler [######################] 100%
(3/3) kontrollerar filkonflikter [######################] 100%
fel: misslyckades att påbörja överföringen (motstridiga filer )
nvidia: /usr/lib/modules/extramodules-3.4-ARCH/nvidia.ko.gz existerar i filsystemet
Fel uppstod, inga paket uppgraderades.
[ronny@htpc ~]$
Trying to following the info here https://wiki.archlinux.org/index.php/De … iki:usrlib:
[ronny@htpc ~]$ grep '^lib/' /var/lib/pacman/local/*/files
/var/lib/pacman/local/nvidia-295.59-1/files:lib/
/var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/
/var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/extramodules-3.4-ARCH/
/var/lib/pacman/local/nvidia-295.59-1/files:lib/modules/extramodules-3.4-ARCH/nvidia.ko.gz
OK the old package installed files in the wrong place when I downgraded nvidia after the update to /usr/lib.
These packages need rebuilding so as not to include the /lib directory. They can also simply be uninstalled and reinstalled again after upgrading glibc.
So I try to uninstall nvidia and nvidia-utils:
[ronny@htpc ~]$ sudo pacman -Rs nvidia nvidia-utils
Lösenord:
kontrollerar beroenden...
fel: misslyckades att förbereda överföring (kunde inte tillfredställa beroenden)
:: libva: behöver libgl
:: mesa: behöver libgl
:: mplayer: behöver libgl
:: xorg-xdriinfo: behöver libgl
OK then uninstall these packages as well...
[ronny@htpc ~]$ sudo pacman -Rs nvidia nvidia-utils libva mesa mplayer xorg-xdriinfo
kontrollerar beroenden...
fel: misslyckades att förbereda överföring (kunde inte tillfredställa beroenden)
:: ffmpeg: behöver libva
:: freeglut: behöver mesa
:: glew: behöver mesa
:: gnome-mplayer: behöver mplayer
:: vdpau-video: behöver libva
:: xbmc: behöver libva
:: xorg-utils: behöver xorg-xdriinfo
and I get even more dependency problems.. I am a little bit new on this but do I need to reinstall almost everything just to uninstall a video driver? I just want to replace the old driver with the new one...
I think I need a hint of how to solve my problem. Perhaps this thread belongs somewhere else in the forum?
Last edited by ronnylov (2012-07-17 11:01:31) -
I want to start dbconsole for login in Enterprieise Manager
I want to start dbconsole for login in Enterprieise Manager
SET ORACLE_SID=ORCL
Then I rename a folder in D:\app\hp\product\11.2.0\dbhome_1\oc4j\j2ee
OC4J_DBConsole_192.168.1.2_ORCL
Then run emctl status dbconsole
I got following error
EM configuration issue.D:app/..dbhome_1/192.168.1.2_ORCL not foud
Then I run
emca -repos create
Enter the following information:
Database SID:ORCL
Listener port number: 1522
Password for SYS user:ORCL
Pssword for sysman:ORACLE
Then following error generated
ant.java:522)
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_repos_create_<date>.log for more details.
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_2014_05_25_11_30_44.log for more details.
When i looked into D:\app\hp\cfgtoollogs\emca\orcl logfile
following error generated
May 25, 2014 11:30:46 AM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
May 25, 2014 11:30:47 AM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
CONFIG: isHAInstalled: false
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-migrate' set to false
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromDBControl' set to false
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToCentralAgent' set to false
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromCentralAgent' set to false
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToDBControl' set to false
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-repos' set to true
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to true
May 25, 2014 11:30:48 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: D:\app\hp\product\11.2.0\dbhome_1
May 25, 2014 11:30:58 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
May 25, 2014 11:30:58 AM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
CONFIG: isHAInstalled: false
May 25, 2014 11:30:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 25, 2014 11:30:58 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SID.
May 25, 2014 11:31:02 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: ORCL
May 25, 2014 11:31:05 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SERVICE_NAME.
May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ASM_OH.
May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter REP_DB_RUNNING_HOST.
May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 25, 2014 11:31:09 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
May 25, 2014 11:31:14 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database null : 192.168.1.2
May 25, 2014 11:31:14 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
May 25, 2014 11:31:14 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYSMAN_PWD.
May 25, 2014 11:31:14 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
May 25, 2014 11:31:14 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
May 25, 2014 11:31:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
May 25, 2014 11:31:14 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
May 25, 2014 11:31:47 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
May 25, 2014 11:32:18 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value:
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
May 25, 2014 11:32:22 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
May 25, 2014 11:32:22 AM oracle.sysman.emcp.EMConfig addEMCALogFile
CONFIG: ORACLE_BASE :D:\app\hp
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database null : 192.168.1.2
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
May 25, 2014 11:32:22 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SERVICE_NAME.
May 25, 2014 11:32:22 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
May 25, 2014 11:32:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
May 25, 2014 11:32:22 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
May 25, 2014 11:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\app\hp\cfgtoollogs\emca\orcl\emca_2014_05_25_11_30_44.log.
May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
May 25, 2014 11:32:23 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: D:\app\hp\product\11.2.0\dbhome_1
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
May 25, 2014 11:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : 192.168.1.2
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SERVICE_NAME.
May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
May 25, 2014 11:32:23 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
May 25, 2014 11:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
May 25, 2014 11:32:23 AM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_DOMAIN value: 168.1.3
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: orcl
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: orcl.168.1.3
May 25, 2014 11:32:23 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
May 25, 2014 11:32:26 AM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : 192.168.1.2
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_DOMAIN value: 168.1.3
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: orcl.168.1.3
May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.ClusterUtil isHASInstalled
CONFIG: isHAInstalled: false
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : 192.168.1.2
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: 192.168.1.2
May 25, 2014 11:32:26 AM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
May 25, 2014 11:32:26 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: ORCL, oracleHome: D:\app\hp\product\11.2.0\dbhome_1, and user: SYS
May 25, 2014 11:32:27 AM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
May 25, 2014 11:32:27 AM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to D:\app\hp\cfgtoollogs\emca\orcl\emca_repos_create_2014_05_25_11_32_27.log
May 25, 2014 11:32:27 AM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:1005)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:339)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:380)
at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:511)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:229)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_repos_create_<date>.log for more details.
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at D:\app\hp\cfgtoollogs\emca\orcl\emca_2014_05_25_11_30_44.log for more details.
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:241)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:158)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:590)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1453)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
May 25, 2014 11:32:28 AM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to D:\app\hp\product\11.2.0\dbhome_1\oui
Guide me what I do?Hi Manish,
When you want the resolution, you should have answered the quetion made by Markus Doehr, He such a qualified consultant you did care to follow up your issue.
Thank you,
Prasaad -
Autostart in openbox doesn't work ...
hi guys,
i recently set up a nice and plain system using kde4 and openbox. everything's working fine except the autostart feature in openbox. i edited the autostart.sh and .xinitrc files several times, but none of my tries were successful
i'm trying to start conky, pypanel and feh after openbox has loaded. Login manager is slim.
autostart.sh
#!/bin/bash
. $GLOBALAUTOSTART
eval `cat $HOME/.fehbg` &
(sleep 2 && pypanel) &
(sleep 2 && conky) &
.xinitrc (furthermore i don't know if this file is even relevant towards openbox, because i start openbox from slim!?)
#!/bin/sh
exec openbox
/etc/slim.conf (if needed)
default_path ./:/bin:/usr/bin:/usr/local/bin:/usr/bin
default_xserver /usr/bin/X
xserver_arguments -nolisten tcp vt07
halt_cmd /sbin/shutdown -h now
reboot_cmd /sbin/shutdown -r now
console_cmd /usr/bin/xterm -C -fg white -bg black +sb -T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"
xauth_path /usr/bin/xauth
authfile /var/run/slim.auth
numlock on
login_cmd exec /bin/bash -login ~/.xinitrc openbox
sessions openbox
screenshot_cmd import -window root /slim.png
welcome_msg Welcome to %host
shutdown_msg The system is halting...
reboot_msg The system is rebooting...
default_user arch0r
current_theme default
lockfile /var/lock/slim.lock
logfile /var/log/slim.log
Thanks in advance and best regards,
arch0ryou need to use
exec openbox-session
to use the ~/.config/openbox/autostart.sh file. -
Oracle 10g DBCONSOLE won't start up
Hello...
I'm running Oracle 10g (10.2.0.1) on RHEL4. My listener, database and Oracle HTTP Server are up and running. The sole purpose of this database is to run Oracle Application Express applications. The oracle apex applications are all running fine.
However, I cannot for the life of me get Oracle EM (dbconsole) running. I've tried everything but obviously not the right thing. I can't console to my running database? It keeps failing everytime I start it. I've looked at some logs but I don't know what I'm looking for. Oracle EM was running just fine on Friday, but wouldn't come up Monday morning.
My url for EM is http://172.23.183.169:1158/em
At the terminal session prompt I type >emctl start dbconsole
It comes back after a 5 minute timeout saying it failed. It appears that the agent (3938) does not want to start.
Here is some log info further below...
Please let me know what direction I should go on to resolve this. Thx!
Regards,
Ken
ENV VARIABLES:
[oracle@clthcmmb03 ~]$ env|sort
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-uEKexk6EGd
DESKTOP_SESSION=default
DESKTOP_STARTUP_ID=
DISPLAY=:0.0
G_BROKEN_FILENAMES=1
GDMSESSION=default
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-uFau6k/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=clthcmmb03
INPUTRC=/etc/inputrc
KDEDIR=/usr
LANG=en_US.UTF-8
LD_LIBRARY_PATH=/home/oracle/oracle/product/10.2.0/db_1/lib:/home/oracle/oracle/product/10.2.0/db_2/opmn/lib:
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
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:
MAIL=/var/spool/mail/oracle
ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
ORACLE_SID=apex
PATH=/home/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/oracle/product/10.2.0/db_2/opmn/bin:/home/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/oracle/product/10.2.0/db_2/opmn/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
PWD=/home/oracle
SESSION_MANAGER=local/clthcmmb03:/tmp/.ICE-unix/6580
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=6632
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-dybiGw6580/agent.6580
TERM=xterm
USER=oracle
_=/usr/bin/env
WINDOWID=39845962
XAUTHORITY=/home/oracle/.Xauthority
TERMINAL SESSION:
[oracle@clthcmmb03 ~]$ emctl start dbconsole
TZ set to US/Eastern
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://clthcmmb03:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
Logs are generated in directory /home/oracle/oracle/product/10.2.0/db_1/clthcmmb03_apex/sysman/log
EMDCTL.TRC:
2007-08-13 15:08:39 Thread-3086911712 WARN http: snmehl_connect: connect failed to (clthcmmb03:3938): Connection refused (error = 111)
2007-08-13 15:08:45 Thread-3086911712 WARN http: snmehl_connect: connect failed to (clthcmmb03:1158): Connection refused (error = 111)
EMAGENT.TRC:
2007-08-13 14:40:34 Thread-3086911712 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=98)
2007-08-13 14:40:34 Thread-3086911712 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://clthcmmb03:3938/emd/main
2007-08-13 14:40:34 Thread-3086911712 ERROR main: nmehl_startHttpListener failed starting http listener
2007-08-13 15:10:12 Thread-3086911712 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=98)
2007-08-13 15:10:12 Thread-3086911712 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://clthcmmb03:3938/emd/main
2007-08-13 15:10:12 Thread-3086911712 ERROR main: nmehl_startHttpListener failed starting http listener
EMOMS.TRC:
2007-08-12 02:00:36,607 [NotificationMgrThread] ERROR jdbc.ConnectionWrapper _applySessionParams.2980 - SQLException message: ORA-01089: immediate shutdown in progress - no operations are permitted
java.sql.SQLException: ORA-01089: immediate shutdown in progress - no operations are permitted
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:742)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:214)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:953)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1260)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3290)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
at oracle.sysman.util.jdbc.ConnectionWrapper._applySessionParams(ConnectionWrapper.java:2971)
at oracle.sysman.util.jdbc.ConnectionWrapper.<init>(ConnectionWrapper.java:181)
at oracle.sysman.emSDK.svc.conn.FGAConnection.<init>(FGAConnection.java:115)
at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:192)
at oracle.sysman.emSDK.svc.conn.ConnectionService.getSystemConnection(ConnectionService.java:683)
at oracle.sysman.emdrep.notification.NotificationMgr.getConnection(NotificationMgr.java:252)
at oracle.sysman.emdrep.notification.NotificationMgr.resetConnection(NotificationMgr.java:298)
at oracle.sysman.emdrep.notification.NotificationMgr.run(NotificationMgr.java:1190)Hi Hans,
The Linux Database Server has a static IP address assigned to the NIC...172.23.183.169. It is not using DHCP. Hope that helps...
Thx for helping me!
Kind Regards,
Ken -
when I start DBConsole , its giving the following error (Window based services).
?Windows could not start the OracleDBConsolertlg on local computer. For more information, please review the system event log. If this is a non-Microsoft service, contact the service vendor or refer to service specific error code 2.
Can anyone help me about the resolution?
SharmiHappens to me all the time - when I have messed up the networking on the Windows box. The [my] problem is almost always traced back to the route setup in the Windows config. I typically use 2 network adapters. One will be set to 'extranet' and the other for 'intranet'. The problem is usually that the network route sends the request to the extranet even when I want the request to stay local. My solution is usually to disable the adapter that goes to the outside world, start up the DB Console, enable the adapter.
That said - this is NOT the correct forum for this kind of question. Don't know whether you missed it, but the title of the forum includes the message " (Do Not Post Product-Related Questions Here)"
Maybe you are looking for
-
Problem While loading Master data from R/3
Hi All, When i am trying to load masters data from R/3 datasources to BW Info objects in Info provider menu data is coming to PSA but going to dta targets. the data is matching with the data in R/ 3 but Missing message: Request received Missing messa
-
List of SAP PI 7.0 ABAP transactions
Hi, Can any one proivde me the list of all transactions codes , that will be used for SAP PI 7.0 ABAP system. Do we have any blog or thread which talks about these transactions. Thanks, Younus
-
I have a form where people enter their e-mail address into a required field. What i am trying to do is when the user clicks submit and it sends the form to the designated email that the email address that was entered in the form field is put as the s
-
How to fix a blackberry torch after it is unuseable after software update was interupted.
please please could someone help me, i have looked all over the internet for answers.
-
Having trouble downloading latest version of flash
having trouble downloading latest version of flash