How clusterware restarts on automatically after server reboot in 11g R2
Hi,
I would like to know how the cluster restarts on automatically after the server reboot in 11g R2 RAC . The oracle restart feature in 11g R2 help to restart the components like databases, ASM in case of abnormal failure. But how the clusterware starts on own after the server reboot? can you share any documents or notes is really appreciated.
Thanks,
Robin.
At Grid Infrastructure installation time system configuration is modified so that UNIX init daemon restarts OHASD: http://docs.oracle.com/cd/E11882_01/rac.112/e16794/intro.htm#BABIDEFI. For example with Oracle Linux 5 and Oracle RAC 11.2.0.1 you have following line in /etc/inittab:
h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/nulland:
[root@rac1 ~]# head /etc/init.d/init.ohasd
#!/bin/sh
# Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
# init.ohasd - Control script for the Oracle HA services daemon
# This script is invoked by the init system
ORA_CRS_HOME=/u01/app/11.2.0/grid
export ORA_CRS_HOMEEdited by: P. Forstmann on 11 févr. 2013 18:45
Similar Messages
-
How to startup 10G automatically after reboot????
How to startup 10G automatically after reboot????
Is the same thing that we did with 9i?
Create a script e link this on /etc/rc......?? Is that?
Please send me an example.
Tks,
Paulo Portugal.Yes, use /etc/rc. The following are 3 start scripts. Modify it to fit it into /etc/rc start/stop model.
==> 1. start the DB:
#!/bin/ksh
# ==> start the DB:
ORACLE_SID=xadv1
export ORACLE_SID
ORACLE_HOME=/software/xadv1_infra
export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORIG_LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$ORIG_PATH
lsnrctl start
lsnrctl status
PASSWD=`cat $HOME/xadv1/sh/system_passwd.pwd`
sqlplus /nolog<<EOF
connect SYSTEM/$PASSWD as SYSDBA
startup
EOF
#!/bin/ksh
# ==> 2. start infra HTTP
ORACLE_SID=xadv1
export ORACLE_SID
ORACLE_HOME=/software/xadv1_infra
export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORIG_LD_LIBRARY_PATH
export LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$ORIG_PATH
export PATH
echo "############# Starting OPMN ############################"
opmnctl startall
echo "############# Starting EM ############################"
emctl start iasconsole
echo "############# OPMN Status ############################"
opmnctl status
#!/bin/ksh
# ==> 3. start iAS
ORACLE_SID=xadv1
export ORACLE_SID
ORACLE_HOME=/software/xadv1_ias
export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORIG_LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$ORIG_PATH
echo "############# Starting OPMN ############################"
opmnctl startall
echo "############# Starting EM ############################"
emctl start iasconsole
echo "############# OPMN Status ############################"
opmnctl status -
Executing 2nd command after server rebooted & related services started
hi friends
i am creating a PS script containg two lines:
the first line executes dcpromo /unattend:c:\answerfile.txt to create a new domain controller
the second line will disable domain password complexity which is:
set-executionPolicy -identity mydomain.lab -complexityenabled $false -minimumpasslength 5
the problem is i need after first line of the script, executed, server be rebooted & the 2nd line
be executed after server rebooted & whey AD services started, this script continue to run the next line.
is it ossible in powershell?
thanks in advancedYou won't be able to do that in the same script.
You can use a second script that waits for the AD services to start, and then sets the password policies and run that script after the restart using the RunServicesOnce key:
https://support.microsoft.com/kb/179365?wa=wsignin1.0
Use the first script to set that key and then do the restart after the DC promo is finished.
[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
hi again. thanks
in addition i found that the powershell workflow is better way to that
regards -
Oracle 10G Db Starts-up After Server Reboot, BUT Goes DOWN After Some Time
Hi All,
I am really puzzled over this one. I have couple of servers running DB on them and I have used scripts to auto-enable them when server(s) reboot.
But there is one server where I see this funny behavior.
The DB comes-up after server reboot.
I can verify that in the startup logs and some more logs that I created.
I can see that LISTENER is able to communicate also.
But after a while, the DB shuts-down....!!
I have checked all the places I could. I have also tried to see the difference between this server and others (I did not install this one), but can not see any difference.
Is there anyway to find out (log) what is shutting down the DB??
Any help will be much appreciated as I am at my wits end.
Following is snap-shot from my logs:
Fri Mar 16 20:42:29 EDT 2007
Running dbstart.
Done with starting all, let's check status...
Fri Mar 16 20:42:42 EDT 2007
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 16-MAR-2007 20:42:42
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 10.2.0.1.0 - Production
Start Date 16-MAR-2007 00:46:56
Uptime 0 days 19 hr. 55 min. 46 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/product/10.2.0/Db_1/network/admin/listener.ora
Listener Log File /oracle/product/10.2.0/Db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.103.253.50)(PORT=1521)))
Services Summary...
Service "orcl" has 2 instance(s).
Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
Current Status:
# date
Fri Mar 16 21:30:40 EDT 2007
# su - oracle -c "lsnrctl status"
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 16-MAR-2007 21:30:53
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refused
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.103.253.50)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refusedI was just looking at that.. Thanks for the tip.
Following is what I see. But not sure what does it tell me?? Please help......
From alert_orcl.log:
<snip>
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Fri Mar 16 20:42:41 2007
Errors in file /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15
Fri Mar 16 20:42:42 2007
Completed: ALTER DATABASE OPEN
From /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
# cat /oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
/oracle/product/10.2.0/Db_1/admin/orcl/udump/orcl_ora_7700.trc
Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
ORACLE_HOME = /oracle/product/10.2.0/Db_1
System name: SunOS
Node name: gcars0j6
Release: 5.10
Version: Generic_118833-24
Machine: sun4u
Instance name: orcl
Redo thread mounted by this instance: 1
Oracle process number: 15
Unix process pid: 7700, image: oracle@gcars0j6 (TNS V1-V3)
*** SERVICE NAME:() 2007-03-16 20:42:37.548
*** SESSION ID:(159.3) 2007-03-16 20:42:37.548
Thread 1 checkpoint: logseq 255, block 2, scn 8602014
cache-low rba: logseq 255, block 3
on-disk rba: logseq 255, block 767, scn 8602399
start recovery at logseq 255, block 3, scn 0
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 382Kb in 0.16s => 2.33 Mb/sec
Total physical reads: 4096Kb
Longest record: 3Kb, moves: 0/1066 (0%)
Change moves: 1/8 (12%), moved: 0Mb
Longest LWN: 308Kb, moves: 0/29 (0%), moved: 0Mb
Last redo scn: 0x0000.0083431e (8602398)
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 149/149 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 1925/2083 = 0.9
*** 2007-03-16 20:42:37.702
KCRA: start recovery claims for 149 data blocks
*** 2007-03-16 20:42:37.705
KCRA: blocks processed = 149/149, claimed = 149, eliminated = 0
*** 2007-03-16 20:42:37.706
Recovery of Online Redo Log: Thread 1 Group 2 Seq 255 Reading mem 0
----- Recovery Hash Table Statistics ---------
Hash table buckets = 32768
Longest hash chain = 1
Average hash chain = 149/149 = 1.0
Max compares per lookup = 1
Avg compares per lookup = 2054/2074 = 1.0
Error in executing triggers on database startup
*** 2007-03-16 20:42:41.963
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-12663: Services required by client not available on the server
ORA-36961: Oracle OLAP is not available.
ORA-06512: at "SYS.OLAPIHISTORYRETENTION", line 1
ORA-06512: at line 15 -
Call park music on hold reverts to default after server reboot
Hello,
We are noticing that if you define Music on hold for the Park service, the call park music on hold reverts to default sound after server reboot. (all systems we've tested do this)
Anyone using park music on hold that can verify one way or the other?
Thanks,
+Say thanks and observe basic forum courtesy:
+If this post answered your question, Mark As Answer
+If this post was helpful, Vote as Helpful
windowspbx blog: my thots/howtos
see/submit Lync suggestions here: simple and publicWe have tested it and we have the same result. Hope the next update will resolve this problem.
-
Unable to run Fortune sample after server reboot
Hi,
I have installed Application server 6.5 on Solaris 9. After installation, I am able to run the fortune sample to verify success installation.
However, after server reboot, I am not able to drun the fortune sample again. Access log on Iplanet web server shows error code 504. Can anyone help me?
Thanks.The above steps resolved the problem - This is posted in case someone else suffers from the same issue.
-
Databases are not coming up after server reboot(sun solaris).
Hi
OS - Sun OS 5.10 local zone. RDBMS version - 11.2.0.3
Databases are not coming up after server reboot.
We have verified the below points.
Cat/etc/init.d/oracle
$ORACLE_HOME/bin/oradism file permissions are 4550.
lock_sga is parameter set to false.
cat /var/opt/oracle/oratab entries are set to Y
Still Databases are not coming up after server reboot.
Please advise.Hi,
Can you post further information from alert log. Doesn't coming up, means you needs to share the information some thing about your environmente settings about kernel parameter and init$ORACLE_SID parameters details.
That would be easy for others to look into it further to analyze things.
- Pavan Kumar N -
Mac Mini Server VPN requires restart of service after each reboot
Mac mini Server (Late 2012)
OS X 10.8.4
After a reboot, when viewing in Server.app, VPN service is turned on, however no connections can be made until the service is turned off then back on again.
VPN service log entry shows "Listening for connections..." but doesn't allow incoming VPN calls until the service is restarted.
Anyone else having similar issues or have suggested solutions?
Thanks much!
JimTry this
https://discussions.apple.com/message/22564125#22564125 -
Automatically start VMs after server reboot
Hello,
I use a OVM server (3.0.3) without clustering, and I'm doing failure simulations before going to production.
When the server reboots after a electrical failure, all VM are in "offline" state, and I need to acknowledge all events before be able to start them (thanks the forum for this information).
I would like to automatically boot the VM after the reboot, is there a way to do this ?
Thanks,
TMHave you tried to put a symlink to the vm.cfg in /etc/xen/auto? That works independent of VM Manager. I beleive VM Manager will update the machine to running in that situation. If not, at least your machines are running while you sort out the problems with VM Manager.
ln -s /OVS/Repository/<repositoryUUID>/VirtualMachines/<vmUUID>/vm.cfg /etc/xen/auto/<simplename>
Where repositoryUUID (hopefully the only one because the manager doesn't display it)
vmUUID shows as ID on the Info page for the VM
simplename is any name you like. I chose the name that shows as Name on the machine's Info page.
Let us know if the Manager figures it out OK or if you have to jump through some hoops to get it to show "running" for these VMs. -
Do Active Runbooks Restart Automatically on Server Reboot
We have been developing Runbooks in combination with our Service Manager implementation. We have a Runbook server that has 30 or so active Runbooks. We have yet to reboot the server since the automation was brought on-line (my fault).
We will need to patch the server at some point in the near future. So my question is, when the server is rebooted, do I have to manually restart all of the active jobs or do they restart themselves automatically. I don't have anyway to test this
since the system is operating in a production capacity and I don't want to cause service disruptions.Hello,
if a Runbook Server is stopped the other(s) or the Runbook Server itself (if its the only and up again) will restart the active Runbooks from begining.
Regards,
Stefan
www.sc-orchestrator.eu ,
Blog sc-orchestrator.eu -
Database Down after Server Reboot
Hello
I am getting a weird problem after I reboot my server (windows 2003) where by my database (10.2) does not automatically start. To get it to start I have to go into administrative tools >> services and then manually restart the OracleASMService+ASM (it says it is already running).
Thanks in advance for any Idea's/suggestionsRight;
After rebooting the server and lauching the OEM Database Control it tells me the following:
- Database Instance = Down
- Listener = Up
- Agent Connection to Instance = Failed ORA-12505: TNS:Listener does not currently know of SID given in connect descriptor(DBD ERROR: OCIServerAttach)
In response to your troubleshooting suggestions;
1. alert.log has no new errors logged in the past week
2. As far as I can tell, yes. It says the service (and other associated oracle services) are running
3. No I can not connect to the database with sql*plus (before I restart the OracleASMService+ASM). SQL*Plus errors:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
After I restart the service I can connect without any problems.
4. N/A
I appreciate any help you can offer on this matter.
Regards
Toby -
Node Manager not starting servicess after server reboot
We have WLS 10.1.3.5 with IDM/OAM(two domains in same server as its TEST environment) on Oracle Linux 5(64bit),when ever server reboots node manger is not starting managed servers.
I have enabled CrashRecoveryEnabled=true
Here is nodemanager.properties.
[oracle@oam nodemanager]$ cat nodemanager.properties
#Changed NM Listen Port
#Tue Mar 05 03:12:20 IST 2013
DomainsFile=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains
LogLimit=0
DomainsDirRemoteSharingEnabled=false
PropertiesVersion=10.3
AuthenticationEnabled=true
NodeManagerHome=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager
javaHome=/u01/Oracle/Middleware/jdk160_24
JavaHome=/u01/Oracle/Middleware/jdk160_24/jre
LogLevel=INFO
DomainsFileEnabled=true
StartScriptName=startWebLogic.sh
ListenAddress=
NativeVersionEnabled=true
ListenPort=5556
LogToStderr=true
SecureListener=false
LogCount=1
StopScriptEnabled=false
DomainRegistrationEnabled=false
QuitEnabled=false
LogAppend=true
StateCheckInterval=500
CrashRecoveryEnabled=true
StartScriptEnabled=true
LogFile=/u01/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.log
LogFormatter=weblogic.nodemanager.server.LogFormatter
ListenBacklog=50
here is my domain information in server.
=========================
[oracle@oam nodemanager]$ cat nodemanager.domains
#Domains and directories created by Configuration Wizard
#Tue Mar 05 05:24:37 IST 2013
OAMDomain=/u01/Oracle/Middleware/user_projects/domains/OAMDomain
IDMDomain=/u01/Oracle/Middleware/user_projects/domains/IDMDomainHi,
Entries in nodemanager.properties looks fine, but how are you testing this functionality?
If you will stop servers monitored by nodemanager, stop nodemanager and then reboot physical server, on startup if nodemanager is configured as daemon it will start nm process but will do nothing to managed server process.
To test "CrashRecoveryEnabled=true" kill the managed server pid and then stop/kill nodemanager process. Then perform physical server reboot, now if nm is configured as daemon process server reboot will start nodemanager. Once NM is up first thing it check is the server it was monitoring earlier and if under directory $WL_HOME/servers/<server>/data/nodemanager it finds "pid" and "lck" file it checks if that pid exists and if not then go for a restart of weblogic server instance.
This has worked for me...!
Thanks,
Ranjan
http://www.middlewaresupport.wordpress.com -
Oracle database performance after server reboot
hi masters,
this is not some kind of question, but a discussion. some statements come from our client that after weekly reboot of system, the oracle database performance is low for some time and increase after some time(say 2 days).
i think it is but obvious, because at reboot oracle flushes all cache, and temporary space, so it need to re parse the sql statements and perform some disc I/O's so it might need some time and hence performance will degrade.
but at the same time some people claim that after reboot their database performance is better than their normal performance for some days. it seems controversial that's why i am posting it here.
what might be the reason behind this?? prior can have a valid reason of hard parsing, but what with second case??
any clarification is highly appreciated...
thank you
regadrs
VDVikrant,
You should wait for some time buddy, its weekend ;-) .
this is not some kind of question, but a discussion. some statements come from our client that after weekly reboot of system, the oracle database performance is low for some time and increase after some time(say 2 days).i think it is but obvious, because at reboot oracle flushes all cache, and temporary space, so it need to re parse the sql statements and perform some disc I/O's so it might need some time and hence performance will degrade.
>
I would start from saying that checking the performance when the system just started, is a wrong approach. There would be lots of IOs , parsing, calculations(related to memory allocations) happening so there would be a delay/bad performance at that time. Very simple example can be parsing, another can be memory allocation. Oracle doesn't allocate the entire memory in the instance startup that is allocated to the memory areas but allocates just the bare minimum that is needed to start the instance and than after the startup, it keeps on allocating the memory. So surely enough, with the startup and after a while of it, there would be a different performance than that after the instance hsa already been started and the workload informations have started coming up.
Its correct that Oracle would deallocate all the caches with the reboot as the instance is on the memory(physical) and with the reboot , that would be flushed including the SGA which is allocated over it. Temporary tablespace is now not freed with the reboot. I guess its a rather illogical thing to do but that's what is there now. Oracle keeps the segment allocated even after the reboot is issued, hence the reason for larger temporary tablespaces.
>
but at the same time some people claim that after reboot their database performance is better than their normal performance for some days. it seems controversial that's why i am posting it here.
what might be the reason behind this?? prior can have a valid reason of hard parsing, but what with second case??
>
This should not come as a surprise once we understand what might be happening with this process. Assume a situation where you have undersized caches. For example, shared pool . which is very heavily used for database , if this is going to be undersized and you are not using automatic memory management, you won't be enjoying the dynamic management of this parameter. Now, if you do lots of parsing , thanks to your wrongly written queries, you would eventually end up filling up shared pool to its max thus leaving no space for incoming new hard parsed cursors. Here , if you can't manage to add more memory to add to it, the only solution left would be to flush the shared pool( as good as rebooting the db because this would do the same) and than make space for the new cursors. The performance is going to be better becausethe cursors would not be getting flushed out immediately and will be kept in the shared pool as long as its not filled up again.Once you have reached to limit of it, again there would be performance benefit. So there are always odds added to the statements like this that I rebuilt my index , I got better, I rebooted my server, my querie are much faster now. Most of the time when these kind of statements are given, they are based on what we have seen, without understading what actually might have happened. So I would siggest to hear the statement but not take them as a rule of thumb to follow.
Hope this all makes some sense for you and would help somewhat.
Aman.... -
Messages - no user is allowed to login after server reboot
Hello all together,
I had to reboot a XServe with Mac OS X 10.8.3 and Server App 2.2.1 installed using the command line because I couldn't connect via ARD anymore at that time and the users couldn't login at all with their OD accounts.
After the reboot no user was able to login to the messages server which wasn't any problem before this reboot. "User ID or password is wrong". The messages service in server.app is running. I restarted it twice without any advance. The passwordservice server log shows up all requests and the passwordservice error log has no entries at all. I couldn't find any related entries in any of the logs I searched in, especially not in the system.log.
The users trying to login are local network users which are allowed to use this service and are all members of one group which is also allowed to use this service.
If I turn the messages service off and try it again I get the same error. Therefor I can't even say if the service is definitely running but port 5223 is opened.
Any suggestions?
I really appreciate your help!
Kind regards,
ragob66Hello,
for information purposes:
A second server reboot resolves this issue!
Thanks!
Kind regards,
ragob66 -
AV Agent and OS Collector after server reboot
We are using Oracle AV Server and AV Agent on version 10.2.0.3.2 with Bundle Patch #1.
If the target server reboots, both AV agent and OS Aud collector does not come up automatically ?
Is that a normal behavior ? or we have to do some modifications to get it automatically started.
Appreciate your guidance.
Thanks,
ViralYou could put it as a startup script, but there isn't anything already written. I call a cron script every hour to make sure that the collectors and agent is up. We had to setup trusted connections from the avagent -> avserver to start the collectors:
This is on the agent server. We call it every hour from cron.
#!/bin/ksh
export ORACLE_HOME=<you set>
export LD_LIBRARY_PATH_64=<you set>
export LD_LIBRARY_PATH=<you set>
export PATH=/bin:/usr/local/bin:/usr/bin:${ORACLE_HOME}/bin
export collector_info="<yer collector name 1>:<yer source name 1>
<yer collector name 2>:<yer source name 2>"
start_av () {
# See if av agent is running
avctl show_oc4j_status | grep not
export exit_status=${?}
# If it is not running then start it
if [ ${exit_status} -eq 0 ]; then
echo "Starting AV agent"
avctl start_oc4j
else
echo "AV agent is already running"
fi
start_collector () {
export collector_name=$1
export source_name=$2
# The collector needs to be started from the home av box
ssh <yer av server ip> /home/oracle/sh/start_collector.sh ${collector_name} ${source_name}
export exit_status=$?
if [ ${exit_status} -eq 0 ]; then
echo "The collector ${collector_name} for ${source_name} was started"
elif [ ${exit_status} -eq 99 ]; then
echo "The collector ${collector_name} for ${source_name} was already running"
else
echo "The collector ${collector_name} for ${source_name} may have an issue"
fi
start_av
for i in ${collector_info}; do
collector_name=`echo $i | awk '{ FS=":" }{ print $1 }'`
source_name=`echo $i | awk '{ FS=":" }{ print $2 }'`
start_collector ${collector_name} ${source_name}
doneThis is on your av server start_collector.sh
export ORACLE_SID=<yer sid>
export ORAENV_ASK=NO
. /usr/local/bin/oraenv 1>/dev/null 2>/dev/null
export collector_name=$1
export source_name=$2
export exit_collector_already_running=99
start_collector () {
#Check to see if the collector is already running
avctl show_collector_status \
-collname $collector_name \
-srcname $source_name \
| grep not
export exit_status=$?
# If the collector is not running then start it
if [ $exit_status -eq 0 ]; then
avctl start_collector \
-collname $collector_name \
-srcname $source_name
else
# Exit with a status that the collector is already running
exit $exit_collector_already_running
fi
start_collector
Maybe you are looking for
-
PSE 8.0 Windows serial number work with iMac?
I recently purchased PSE 8 for Windows, and so have a legitimate product key. However, last week I bought an iMac for photo editing, and I plan to couple Lightroom 2 for my raw conversions with further mods in PSE (can't quite justify CS5). What I'd
-
Hey, I am trying to out put using the Share commant in FCP 7. The video is about 6 minutes long, and I am using the YouTube setting. It's been exporting now for about 20 minutes, and the time remaining keeps growing. In Batch Monitor the progress jum
-
Import Metadata 2 missing cube objects
I have cubes and tables etc built in DEV. I am trying to import them into PROD. The problem is 2 cubes I have built in DEV do not show up in the SELECT OBJECT window but the others are visible. So I went back to DEV and tried to import a cubes, the s
-
I can't login the iTunes, it told me that my account or password is incorrect, but it's CORRECT and I've use my account login the Appstore
-
What is the best way to view images on an External Hard Drive?
I have a Macbook Pro with the latest OS X Yosemite Can anyone tell me the best way to easily view thumbnail images on the external hard drive because at present I am having to open each folder and would ideally like to see all thumbnail images in sim