Service start stop scripts and Nagios scripts
Hello. Are there some "official" service start stop scripts somewhere? And: Has somebody already written a Nagios monitoring script for Oracle NoSQL? Thanks, Jesus.
Hi. Yes, but I mean something like service kvclient start / stop / restart / status, and using e.g. daemon without nohup. Of course one can be written, e.g. I have a simple one based on a script I found in internet long time ago for Cassandra, but then by Murphy's Law you will probably have an "official" one in the .124 version : - ).
Similar Messages
-
Problem with auto start-stop script
Hi to All,
Logged as root. I have create in /etc/rc.d/init.d this file and saved as dbora (Oracle Linux 5.4):
+#!/bin/sh+
+# chkconfig: 345 99 10+
+# description: Oracle auto start-stop script.+
+#+
+# Set ORA_HOME to be equivalent to the $ORACLE_HOME+
+# from which you wish to execute dbstart and dbshut;+
+#+
+# Set ORA_OWNER to the user id of the owner of the+
+# Oracle database in ORA_HOME.+
ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
ORA_OWNER=oracle
+if [ ! -f $ORA_HOME/bin/dbstart ]+
then
echo "Oracle startup: cannot start"
exit
fi
case "$1" in
+'start')+
+# Start the Oracle databases:+
+# The following command assumes that the oracle login+
+# will not prompt the user for any values+
su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
touch /var/lock/subsys/dbora
+;;+
+'stop')+
+# Stop the Oracle databases:+
+# The following command assumes that the oracle login+
+# will not prompt the user for any values+
su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
rm -f /var/lock/subsys/dbora
+;;+
esac
After creation I have execute:
*#chmod 750 /etc/rc.d/init.d/dbora*
*#chkconfig --add /etc/rc.d/init.d/dbora*
The last command return this message:
+"service dbora does not support chkconfig"+.
Can You help me? Have You an idea ?
Thank You and best regards
Gaetanosb92075 wrote:
Oracle RDBMS needs to be started by process running at OS level as owner of Oracle software; typically OS user "oracle" & not as ROOT!Ok,
But I have founded this script at [http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php].
The article report:
Article
When using RAC or ASM under Oracle 10g Release 2 or above, the Oracle Clusterware automatically starts and stops the Oracle database instances, so the following procedures are not necessary. For all other cases, you can use the methods described below.I must suppose, that the author has written an incorrect article?
Best Regards
Gaetano -
Hi to All,
I have create as root in /etc/init.d the file dbora:
+#!/bin/sh+
+# chkconfig: 345 99 10+
+# description: Oracle auto start-stop script.+
+#+
+# Set ORA_HOME to be equivalent to the $ORACLE_HOME+
+# from which you wish to execute dbstart and dbshut;+
+#+
+# Set ORA_OWNER to the user id of the owner of the+
+# Oracle database in ORA_HOME.+
ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
ORA_OWNER=oracle
+if [ ! -f $ORA_HOME/bin/dbstart ]+
then
echo "Oracle startup: cannot start"
exit
fi
case "$1" in
+'start')+
+# Start the Oracle databases:+
+# The following command assumes that the oracle login+
+# will not prompt the user for any values+
su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
touch /var/lock/subsys/dbora
+;;+
+'stop')+
+# Stop the Oracle databases:+
+# The following command assumes that the oracle login+
+# will not prompt the user for any values+
su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
rm -f /var/lock/subsys/dbora
+;;+
esac
After I have execute:
*#chmod 750 /etc/init.d/dbora*
*# ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora*
*# ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora*
*# ln -s /etc/init.d/dbora /etc/rc.d/rc4.d/S99dbora*
*# ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora*
At last
*#chkconfig --add /etc/init.d/dbora*
This message is returned
dbora service don't support chkconfig.+
Have You an idea ?
Thank You and best regards
GaetanoSolved !
I have inserted a space before chkconfig and description in the script:
Incorrect Code:
#!/bin/sh
# chkconfig: 345 99 10
# description: Oracle auto start-stop script.
This is the correct code
#!/bin/sh
#chkconfig: 345 99 10
#description: Oracle auto start-stop script.Bye
Gaetano -
Windows SAP Start/Stop Scripting
Hi all,
We are working in SAP Start/Stop Scripts in Windows + SQL Platform.
We need some help from your side.We run the command to stop SAP & then SAP is stopped.If SAP is not stopped,next service stop command should not run.
How can i write in Script & also from which command for SAP Stop. I can get the RC.
Please help me on this ?
Thanks,
Richa
Edited by: Richa Saran on Sep 14, 2011 9:18 AM
Edited by: Richa Saran on Sep 14, 2011 9:18 AMI run the command sapcontrol -nr %erppno% -prot PIPE -function StopWait 60 10.
SAP Stopped in MMC .
My Next Command is stop SAP Services {NET STOP %servicename% (SAPSID_NO)}
I want to write the command in Script that NET STOP command will be detect or check that SAP Instance is stopped & then run Service stop command.
Please help me on this topic. -
I am trying out service start/stop between different JVMs but am not seeing what I expected. I have attached a quickly written test program to try out a scenario.
1. Run the attached program (java Test -Dtangosol.coherence.cacheconfig=servicetest.xml) in 2 JVMs. Let's call them JVM1 and JVM2.
2. At the JVM1 command prompt, type: startservice
3. At the JVM1 command prompt, type: startcache
4. At the JVM1 command prompt, type "i" six times. This should insert 6 items into the cache.
5. At the JVM1 command prompt, type "c". Following is what is displayed:
key=4, value=4
key=3, value=3
key=2, value=2
key=1, value=1
key=5, value=5
key=6, value=6
6. At the JVM2 command prompt, type: startservice
7. At the JVM2 command prompt, type: startcache
8. At the JVM2 command prompt, type "c". The six cache items are displayed.
9. At the JVM1 command prompt, type "stopservice". The expectation is that the service on JVM1 is stopped and the cache items on JVM1 are transferred to JVM2.
10. At the JVM2 command prompt, type "c". The following is displayed:
key=4, value=4
key=3, value=3
key=1, value=1
key=6, value=6
Cache items 2 and 5 have disappeared. Why?
Thanks
Ghanshyam<br><br> <b> Attachment: </b><br>Test.java <br> (*To use this attachment you will need to rename 508.bin to Test.java after the download is complete.)<br><br> <b> Attachment: </b><br>Test.class <br> (*To use this attachment you will need to rename 509.bin to Test.class after the download is complete.)<br><br> <b> Attachment: </b><br>servicetest.xml <br> (*To use this attachment you will need to rename 510.bin to servicetest.xml after the download is complete.)Following is javadoc for the Controllable.shutdown( ) method:
Stop the controllable service. This is a controlled shut-down, and is preferred to the stop() method.
<b>This method should only be called once per the life cycle of the controllable service</b>. Calling this method for a service that has already stopped has no effect.
I might need to expand and shrink the horizontal span of the cache multiple times without having to shutdown the JVM, which means I might need to shutdown the service multiple times, but the javadoc says I can't call shutdown more than once. Is there a different way to perform an orderly service stop?
Thanks
Ghanshyam -
well yh Apple Mobile Device Service has stopped working and won't show up the error message keeps on poping up?
ipod touch 2nd gen
http://gyazo.com/57a6260ece61212ba210bfe5659e399b.pngTry this:
iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows -
I can browse the web but when I go to play video or you tube it will start stop over and over almost like it is buffering could this be the router all other non iPad devices work
How are you trying to play them, in the iTunes store or the Music and Videos apps ? Downloaded and synced music and videos should be in the Music and Videos apps, and you can stop content that is only in the cloud from showing in them via Settings > iTunes & App Store > Music and Videos 'off' (under the 'show all' heading).
If you don't have your music and films/TV shows in those two apps then you should be able to download them into those apps via the Purchased tab in the iTunes store app. -
[Debian] Oracle 10g Express - init.d start/stop script problem + fix
I've experienced a problem with the init.d script "oracle xe" which is used to start/stop/reload the 10g server and comes with the debian package from oss.oracle.com.
I noticed that after installing Oracle 10g in the "Debian" way (via .deb package and an apt-source oss.oracle.com), the start and stop method of the script doesn't do anything.
It's checking for the value of the "ORACLE_DBENABLED" variable, which is on my installation set to "false", because I answered during installation false to the question "do you want to start Oracle 10g at system boot?".
In my opinion that's wrong. I should always be able to start/stop the Oracle server trough the init.d script regardless of your choice starting Oracle at boot or not.
I commented out row 604 and 621 in the file "/etc/init.d/oracle-xe" :
case "$1" in
start)
if test -f "$CONFIGURATION"
then
if test "$ORACLE_DBENABLED" != "true"
then
echo "exit"
# exit 0
fi
else
echo "Oracle Database 10g Express Edition is not configured. You must
exit 0
fi
start
configure)
configure
stop)
if test -f "$CONFIGURATION"
then
if test "$ORACLE_DBENABLED" != "true"
then
echo "exit"
# exit 0
fi
else
echo "Oracle Database 10g Express Edition is not configured. You must
exit 0
fi
stop
;;Hello,
I have the same problem on RH9.
[root@phpsrv init.d]# ./oracle-xe start
Starting Oracle Net Listener.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/lsnrctl: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Starting Oracle Database 10g Express Edition Instance.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
Regards,
Pavel Kucera -
Weblogic Solaris SMF start/stop script
Does anyone have a Solaris SMF script to start/stop Weblogic they'd care to share? Thanks.
I don't think it matters but I'm running Solaris 10, Weblogic 10.3 and X86.In /etc/rc3.d (all the files in this script are executed at the time of server boot) you can keep a script called S99weblogic and add below line that file,
#!/bin/ksh
su - wladmin -c "/etc/init.d/start_weblogic.sh start"
and in /etc/init.d you can write script start_weblogic.sh, as below
#!/bin/ksh
case "$1" in
'start')
# for admin server
if [ -f <init log path>/startadmin.log ]
then
print -n "\t\n\n deleting <init log path>/startadmin.log\n\n"
/usr/xpg4/bin/rm -rf <init log path>/startadmin.log
fi
### like above do for manged servers logs also ( if you have different script formats for admin and managed servers) and startadmin.log contains paths to all the admin server scripts)
# boot logs when the instances are started which will contains error while the instances are started
if [ -f init log path/boot.err.log ]
then
print -n "\t\n\n deleting init log path/boot.err.log\n\n"
/usr/xpg4/bin/rm -rf init log path/boot.err.log
#contians the list of domains in your physical or virtual server
if [ -f init log path/domain_list.log ]
then
print -n "\t\n\n deleting init log path/domain_list.log\n\n"
/usr/xpg4/bin/rm -rf init log path/domain_list.log
#list all domain names in domain_list.log
#use below command to find all the domians scripts home, for weblogic 8 in ur physical server
# for weblogic 8
ls -d <path to user projects untill scripts home>/* > inint log path/domain_list.log
#if ur domain are scattered then append other domains also -for weblogic 9.x, 10.x.........
ls -d <path to user projects untill scripts home>/*/bin >> initn log path/domain_list.log
# get start up sctiprs
for file in `/usr/bin/cat init log path/domain_list.log`
do
ls $file/startadm*.sh >> init log path/startadmin.log
ls $file/startwl*.sh >> init log path/startmgd.log
fi
done
#start startup scritps
for file in `/usr/bin/cat init log path/startadmin.log`
do
cd `/usr/bin/dirname $file`
nohup $file >> init log path/boot.err.log 2>&1 &
#do the same for manged server sctips
done -
Common weblogic start/stop script
Hi,
We have Weblogic 8.1 on Solaris 8. We have lot of domains in the user_projects. Instead of shutting down and starting up each domain everytime. I would like to have a common weblogic start and stop script for all the domains. so that when I execute the script all the weblogic instances in each domain should be stopped or started up automatically.
I think lot of people would have implemented this. I appreciate if someone can help me in achieving this.
Thanks,
VaniIn /etc/rc3.d (all the files in this script are executed at the time of server boot) you can keep a script called S99weblogic and add below line that file,
#!/bin/ksh
su - wladmin -c "/etc/init.d/start_weblogic.sh start"
and in /etc/init.d you can write script start_weblogic.sh, as below
#!/bin/ksh
case "$1" in
'start')
# for admin server
if [ -f <init log path>/startadmin.log ]
then
print -n "\t\n\n deleting <init log path>/startadmin.log\n\n"
/usr/xpg4/bin/rm -rf <init log path>/startadmin.log
fi
### like above do for manged servers logs also ( if you have different script formats for admin and managed servers) and startadmin.log contains paths to all the admin server scripts)
# boot logs when the instances are started which will contains error while the instances are started
if [ -f init log path/boot.err.log ]
then
print -n "\t\n\n deleting init log path/boot.err.log\n\n"
/usr/xpg4/bin/rm -rf init log path/boot.err.log
#contians the list of domains in your physical or virtual server
if [ -f init log path/domain_list.log ]
then
print -n "\t\n\n deleting init log path/domain_list.log\n\n"
/usr/xpg4/bin/rm -rf init log path/domain_list.log
#list all domain names in domain_list.log
#use below command to find all the domians scripts home, for weblogic 8 in ur physical server
# for weblogic 8
ls -d <path to user projects untill scripts home>/* > inint log path/domain_list.log
#if ur domain are scattered then append other domains also -for weblogic 9.x, 10.x.........
ls -d <path to user projects untill scripts home>/*/bin >> initn log path/domain_list.log
# get start up sctiprs
for file in `/usr/bin/cat init log path/domain_list.log`
do
ls $file/startadm*.sh >> init log path/startadmin.log
ls $file/startwl*.sh >> init log path/startmgd.log
fi
done
#start startup scritps
for file in `/usr/bin/cat init log path/startadmin.log`
do
cd `/usr/bin/dirname $file`
nohup $file >> init log path/boot.err.log 2>&1 &
#do the same for manged server sctips
done -
Where can i find start/stop scripts for all SAP instances
Hi,
I installed CI, DB and Dialog instance on a standalone S10 machine and i could see start scripts under /sapmnt/RAM/profile
START_DVEBMGS09_hostSAP
START_D24_hostSAP
But i cann't see stop scripts for the above and also i cann't see start and stop scripts for SAP DB instance. Could some one point me where i can find them when everything is installed on a single box.
Thanks,
RamUSAGE: STARTSAP.EXE name=<SID> nr=<SYSNR> SAPDIAHOST=<host>
FURTHER INFORMATION:
- The executable sapstart.exe must be in the same directory
when you start sap instacne, it will check db instance first, if db instance not start , it will automatic start db instance then sap instance.
vice visa :
stopsap is alos can be used. -
How to call external processes before & after WL services start/stop
I set up WL Admin Server and Managed Server to run as Windows services.
I have the code to retire/re-activate in an ANT script and right now, I execute it via the command line.
Here's my question
I want to retire a SOA composite BEFORE my Managed Server Windows service stops and re-activate it AFTER the Window service starts up.
Do you know how to do that? Or if you have other suggestions, please let me know
Thanks
I'm using 11.1.1.2I want to retire a SOA composite BEFORE my Managed Server Windows service stops and re-activate it AFTER the Window service starts up.
This means you need to check for the ManagedServer is in RUNNING state right?
in WLST you can get State of a given Managed Server with getState() method. write a WLST invoke method in ANT and try. -
Systemd: some services starting too early and then failing
Hello everyone,
I freshly installed Arch on this new laptop (Asus Zenbook Prime UX32VD) and from the start, I wanted to have a pure systemd setup. I'm using services only and I've uninstalled initscripts and so far it's working relatively well.
However, some services seem to start too early by default and the workarounds are unsatisfactory.
Problem 1: asus-screen-brightness and asus-kbd-backlight
On this lap top, the stock screen brightness buttons do not work (yet). A script and a service file (which are both available via the asus-screen-brightness AUR package) have to be used to allow users to change the brightness via the script. The problem is, with that service enabled, it only succeeds sometimes. About have of the time booting the laptop it fails, most likely because the necessary nodes in /sys/ do not exist yet. Restarting the service manually after booting does the trick:
[root@tachychineta shapeshifter]# sc status asus-screen-brightness
asus-screen-brightness.service - Allow user access to screen brightness
Loaded: loaded (/etc/systemd/system/asus-screen-brightness.service; enabled)
Active: active (exited) since Fri, 12 Oct 2012 11:23:44 +0200; 1min 1s ago
Process: 320 ExecStart=/usr/bin/asus-screen-brightness allowusers (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/asus-screen-brightness.service
Oct 12 11:23:44 tachychineta systemd[1]: Starting Allow user access to screen brightness...
Oct 12 11:23:44 tachychineta sudo[349]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness
Oct 12 11:23:44 tachychineta sudo[349]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: cat: /sys/class/backlight/intel_backlight/max_brightness: No such file or directory
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: /usr/bin/asus-screen-brightness: line 8: /10: syntax error: operand expected (error token is "/10")
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: /usr/bin/asus-screen-brightness: line 10: 2*: syntax error: operand expected (error token is "*")
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: cat: /sys/class/backlight/intel_backlight/brightness: No such file or directory
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: chgrp: cannot access ‘/sys/class/backlight/intel_backlight/brightness’: No such file or directory
Oct 12 11:23:44 tachychineta asus-screen-brightness[320]: chmod: cannot access ‘/sys/class/backlight/intel_backlight/brightness’: No such file or directory
Oct 12 11:23:44 tachychineta systemd[1]: Started Allow user access to screen brightness.
[root@tachychineta shapeshifter]# sc restart asus-screen-brightness
[root@tachychineta shapeshifter]# sc status asus-screen-brightness
asus-screen-brightness.service - Allow user access to screen brightness
Loaded: loaded (/etc/systemd/system/asus-screen-brightness.service; enabled)
Active: active (exited) since Fri, 12 Oct 2012 11:25:28 +0200; 2s ago
Process: 2547 ExecStop=/usr/bin/asus-screen-brightness disallowusers (code=exited, status=0/SUCCESS)
Process: 2579 ExecStart=/usr/bin/asus-screen-brightness allowusers (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/asus-screen-brightness.service
Oct 12 11:25:28 tachychineta systemd[1]: Starting Allow user access to screen brightness...
Oct 12 11:25:28 tachychineta sudo[2593]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chgrp users /sys/class/backlight/intel_backlight/brightness
Oct 12 11:25:28 tachychineta sudo[2593]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 12 11:25:28 tachychineta sudo[2597]: root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/chmod g+w /sys/class/backlight/intel_backlight/brightness
Oct 12 11:25:28 tachychineta sudo[2597]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 12 11:25:28 tachychineta systemd[1]: Started Allow user access to screen brightness.
Exactly the same problem occurs with asus-kbd-backlight.service which is needed to allow users to control the keyboard backlight. It also fails because of missing /sys/ entries if started too early.
Problem 2: automatic login & X11
I use the method described on the wiki to autologin into TTY1 with my user and my .bash_profile contains
[[ $(fgconsole) = 1 ]] && startx
and my .xserverrc is configured as explained in this fantastically useful article by falconindy.
This way, X starts automatically and my session is properly authenticated for things like udiskie. I'm not using [testing] but instead rebuilt polkit with --enable-systemd and it's working just fine. The problem is, just like in problem 1, Xorg fails to start every now and then, failing with
(EE) No devices detected.
I don't have a full log because it hasn't happened in a while, but I'm very certain it's because the chipset isn't ready, yet.
Solutions?
I added "i915" to /etc/modules-load.d/static.conf hoping that would cover both the Xorg and backlight problems but it doesn't help. I then tried adding i915 to my MODULES in mkinitcpio.conf and rebuilding the initramfs and at least it looked like that way the problems went away but it added about 4 seconds to the time spent by the "kernel" during boot which is quite unacceptable. (Plots with and without i915 in MODULES).
I read the systemd.unit and systemd.service man pages but I can't find a way to speficy required kernel modules for a service file. I'm not sure if specifying the modules in /etc/modules-load.d shouldn't be enough (because apparently it's supposed to load for sysinit.target, which is early) but apparently it isn't.
Any ideas how I can get these services to work properly without sacrificing too much boot time?
Thank you
Last edited by Shapeshifter (2012-10-12 10:20:09)Please fill a bug report.
-
All Windows VM - Virtual Disk Service start/stop every minute
Dear all
I recently discovered that all my Windows VM's (2003/2008/2008R2) start and stop the virtual disk service:
System Log File:
08:37:27 Virtual Disk Service --> Service started
08:37:27 Service Control Manager --> The Virtual Disk service entered the running state.
08:37:28 Virtual Disk Service --> Service stopped
08:37:28 Service Control Manager --> The Virtual Disk service entered the stopped state.
and i have this entry every minute.
I removed the DVD Drive from the VM but no change. What could be the reason for this? All my physical servers with the same backup program haven't this behavior.
Thanks for any hint
JBABJust as a follow up:
Dell know that problem and it will be "fixed" in Version 4.7.
"In releases of the Host Integration Tools previous to V4.6, Auto Snapshot Manager would query the entire system state every time a refresh was performed. In Host
Integration Tools V4.6 Auto Snapshot Manager will query the entire system state only during the initial load. After that ASM uses event notifications to keep itself up to date refreshing only these changed items. However event notifications
aren’t enough, to pick up some application changes Engineering implemented a polling mechanism. The Virtual Disk Service events are a side effect of that polling and are normal and expected.
However while these messages are entirely benign, Engineering understands these message could be a concern as they do fill up the event log and drown out important
events. Changes have been added to the V4.7 release of Auto Snapshot Manager giving the user the ability to control how often these refreshes occur along with the option of disabling automatic refreshes and using just a manual refresh button in the GUI." -
Starting/Stopping iAS and OC4J containers
I created the following two batch files to start and stop my iAS Infrastructure. I found that if I used the services settings of automatic all did not go well.
start.bat:
@ECHO OFF
cls
ECHO About to start the listener
net start Oracle9ias_InfraTNSListener
ECHO About to start the database
net start OracleServiceIASDB
ECHO About to start the OID monitor
e:\ora9iasinfra\bin\oidmon start
ECHO About to start the OID server
e:\ora9iasinfra\bin\oidctl server=oidldapd configset=0 instance=1 start
ECHO About to start the website
net start Oracle9ias_infraEMWebsite
ECHO About to start opmn and OC4j
e:\ora9iasinfra\dcm\bin\dcmctl start -ct ohs
e:\ora9iasinfra\dcm\bin\dcmctl start -co OC4J_DAS
stop.bat:
@echo off
ECHO About to stop the website
net stop Oracle9ias_infraEMWebsite
ECHO About to stop opmn and OC4j
e:\ora9iasinfra\dcm\bin\dcmctl shutdown
ECHO About to stop the OID server
e:\ora9iasinfra\bin\oidctl server=oidldapd configset=0 instance=1 stop
ECHO About to stop the OID monitor
e:\ora9iasinfra\bin\oidmon stop
ECHO About to stop the database
net stop OracleServiceIASDB
ECHO About to stop the listener
net stop Oracle9ias_InfraTNSListener
When I execute the batch files sometimes they work and sometimes they don't, for example after starting occasionally the Apache process has not been created, and sometimes processes won't stop.
However if I enter each command seperatly all works OK. Can anyone suggest a reason for this. Also after starting the website manager the process manager for both the infra and ias are started (I have both installed on the same machine - this works fine apart from this batch file problem.
Terry BennettTerry -- You will probably have better luck on the General Oracle9iAS forum at:
http://forums.oracle.com/forums/forum.jsp?id=466592
Thanks -- Jeff
Maybe you are looking for
-
How to display error message in Billing Output Type (VF03).
Hi, could anyone suggest how do i display error message via billing (VF03) output type?
-
In payroll International HRMS i have defined 2 payment methods with 2 different currencies. USD - BG currency KSH - Kenyian Shilling There are 50 employees attached to the USD currency payment method and 800 employees are attached to KSH currency pay
-
How to cancel a check out?
Hi, I have a problem with a file, which seems to be checked out. A check in is not possible because the computer was re-installed with windows. When I try to synchronize the sources of this java file the following build process tells me the file is w
-
A few days ago I got back late with my days work and went about importing it into Aperture as per usual. It was a big job so while the import was taking place I decided to export another job that was wanted the next morning. This client needed origo
-
We've got a set of forms that seem to not be able to hold on to the client id generated by WSGSEC.SECURITY_CHECK. Users are getting the login screen at seemingly random times when using the form, for example, when clicking an LOV link, a login screen