What does this" touch /var/lock/subsys/oracle9i " used for?
touch /var/lock/subsys/oracle9i
this is in oracle auto start scripts.
What does this" touch /var/lock/subsys/oracle9i " used for?
Thanks.
ok,
this touch in dbora is solely used for dbora. The dbora script will later on remove the file after stop database.
sample of dbora
#!/bin/bash
# chkconfig: 35 99 10
# description: Starts and stops Oracle processes
# 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=<Type your ORACLE_HOME in full path here>
ORA_OWNER=<Type your Oracle account name here>
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
# Start the TNS Listener
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"
# Start the Intelligent Agent
if [ -f $ORA_HOME/bin/agentctl ]; then
su - $ORA_OWNER -c "$ORA_HOME/bin/agentctl start"
else
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl dbsnmp_start"
fi
# Start Management Server
if [ -f $ORA_HOME/bin/oemctl ]; then
su - $ORA_OWNER -c "$ORA_HOME/bin/oemctl start oms"
fi
# Start HTTP Server
if [ -f $ORA_HOME/Apache/Apache/bin/apachectl ]; then
su - $ORA_OWNER -c "$ORA_HOME/Apache/Apache/bin/apachectl start"
fi
touch /var/lock/subsys/dbora
'stop')
# Stop HTTP Server
if [ -f $ORA_HOME/Apache/Apache/bin/apachectl ]; then
su - $ORA_OWNER -c "$ORA_HOME/Apache/Apache/bin/apachectl stop"
fi
# Stop Management Server
if [ -f $ORA_HOME/bin/oemctl ]; then
su - $ORA_OWNER -c "$ORA_HOME/bin/oemctl stop oms sysman/<password>"
fi
# Stop the Intelligent Agent
if [ -f $ORA_HOME/bin/agentctl ]; then
su - $ORA_OWNER -c "$ORA_HOME/bin/agentctl stop"
else
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl dbsnmp_stop"
fi
# Stop the TNS Listener
su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl 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
rm -f /var/lock/subsys/dbora
esac
# End of script dbora
Similar Messages
-
I have recently begun to use Pages and want to transfer a document between the iPad and my PC. I can transfer to the iPad, but not the other way, and am told I do not have sufficient 'privileges'. What does this mean? Also I can't use iCloud with Pages between the iPad and PC, although I purchased extra storage in order to do this.
If you have a PC, you don't have Pages on it. You can transfer Pages presentations to/from iCloud via http://www.icloud.com , however -- you just won't have an app on your PC to deal with Pages documents. Make sure that you have your iCloud account properly configured on your iPad.
-
So i started getting this message about every 2 hours or so and it had said something about ksfetch and i have no idea about what it means... It Was sent from somethhing called "GoogleSoftwareUpdateAgent.
If anyone can help me with this...that would be great...
Heres what it looked like... file://localhost/Users/stephenweb4227/Desktop/Screen%20Shot%202013-11-13%20at%2 04.03.39%20PM.png
Please help me...
ThanksYes, that was a hairy one to troubleshoot! But all is well now and we are putting CS5 into production...nice job adobe! Really like puppet warp and content-aware fill.
btw, does anyone know how to change the Help preference back from "View in Browser" to "Community Help"? I clicked that but like the built-in help system that seems to be new, dunno, but it looked nicer. Cheers,
jigs -
What does this mean "Email address is already verified for another Apple ID."
I tried adding additional email to my daughters icloud account and this is what error message showed up "Email address is already verified for another Apple ID." I think he has another account on phone yo prevent me from tracking
Welcome to Apple Support Communities
That means that the email account you wanted to use is already being used by another Apple ID, so you need to remove that email account from the Apple ID which is using it. -
What does this do, and how do you use it?
Thanks.
It's a sports-related title. Double click it and it will be edited as a connected clip above your primary storyline.
Select it and in the Inspector click on the Video tab. There are two drop zones. Click on one of them and select an image from your event. Repeat for the other. Hit Apply Clip.
Russ -
Question about /var/lock/subsys/dbora
Hello,
I've been having a problem where ./dbora stop is not completely shutting down the database. I've done some debigging and discovered that this is because there is no /var/lock/subsys/dbora file. I've seen this file created in a lot of sample dbora scripts, ie
touch /var/lock/subsys/dbora
My question is why is this? Why does the file not get created when Oracle is started?
I'm on Oracle 10G.
thanks very muchdbstart and dbshut are oracle supplied files which we use to start and stop the database. We create a small shell script which get placed in rc.d and that file called those dbstart/shut files to start and stop oracle services at boot time. "touch /var/lock/subsys/dbora" is an extra login which WE put in our shell script and it should not have any relation with starting and stopping the services. It totally depends on the shell script written by the DBA. I have this piece of code in my startup script and I can see this file on my system but even if i can't its not going to stop working.
You first of all make sure what permission do you have on /var/lock/subsys
Daljit Singh -
i am updating my airport express. However, the message comes up with Invalid value - advertising a service globally using Bonjour requires a global hostname. WHat does this mean?
thank you thank you for taking an interest. this is so frustrating.
i only have apple keyboard, mighty mouse, and 20 inch cinema display connected. this morning took out memory and tried to boot up with individual pairs in the first bank. first the (2)256, the (2) 1g, and then the other (2) 1g modules. everytime I get the weird fuzzy wheel under the logo after a while, black screen flashes, then grey apple logo fuzzy screen then black forever.
I ran tiger updates this morn. still will only boot to safe mode. then tried to run leopard disk to install it
will not boot from leopard disk.
tried safe boot, then doulble click install leopard, restart, then the saga repeats with the pixely red square around the wheel.
these are fresh drives with only what came on instll disk loaded.
thanks again for taking an interest.
i love this system(well at least i did). I want to install leopard on my powerbook too but am terrified to do so right now since it is working and I have work to do. Can't afford to have no computer to do my work on...self employment is great?!
This is making me crazy. I anxiously await your words of wisdom. -
Error code (-42110) has come up when I started iTunes what does this mean
error code (-42110) has come up when I started iTunes what does this mean
Try the following user tip:
iTunes for Windows 11.0.2.25 and 11.0.2.26: "Unknown error -42110" messages when launching iTunes -
What does do not have enough access priviledges means for itunes and cannot be saved ?
Message keeps coming up about access priviledges and itunes cannot be saved what does this mean please?
Hello deborahjael,
Thanks for using Apple Support Communities.
To troubleshoot this error message in iTunes please follow the directions in the link below.
Trouble adding music to iTunes library or importing audio CD
http://support.apple.com/kb/ts1387
Take care,
Alex H. -
my sons ipod toucj has a lock with a circle arrow around it (next to the battery life) what does this mean?
that would be the rotation lock
it can be activated and deactivated by double clicking the home button (round button at the base of the ipod)
and if you swipe along the bottom from left to right
you should see the same symbol on the left.
Message was edited by: david from Brisbane -
On my Ipod Touch 4g, whenever I got to settings, when Profile, it says that my provision will expire in 4 days. What does this mean?
What is "mimobleprod"?
Cheers, Tom -
my iPad mini is displaying a padlock with a circled arrow around it. what does this mean?
The padlock with the circled arrow around it means the orientation lock is on & the screen will not change from portrait or landscape mode when you rotate your device.
-
Locked, Entry in DNOD_UPDATE Successful - what does this mean?
Hello all
In my solution manager system, I get text "Locked, Entry in DNOD_UPDATE Successful" for some messages during running RNOTIFUPDATE01.
What does this message mean? How can it be avoided/repaired?Hi,
THis error seems to be due to some complex factors, for a start please kindly verify if this note helps.
1387797 Reorg of dnod_update: Runtime very long for RNOTIFU
Otherwise please kindly proceed to open an oss ticket for further analysis.
Hope this helps.
Cheers
SH -
I have this new symbol that is displayed next to the battery sign, the symbol is of a pad lock with a circular arrow around the lock. what does this mean?
See p. 10-11 of the User Guide.
-
there is an icon with a lock with a continuous circle around it - what does this mean
It means you have enabled rotation lock, so the screen will not change from portrait to landscape when you rotate the phone.
Double-press the HOME button, then slide the QuickLaunch ribbon from left to right to reveal the lock control icon.
Maybe you are looking for
-
IMac won't boot, dark screen after normal grey start up screen
Quite perplexed with this problem, have tried everything I can think of. Computer: iMac 2.16 gHz 24" mid 2006, 4 gig RAM OS: 10.6.8 Froze and required hard shutdown. Subsequent to this, has behaved consistently: Normal grey screen with Apple logo an
-
How can I get rid of a windows update deployment package?
We are using SCCM 2007 with a primary site server and four child sites. I created a windows update list with a source directory and package. Distributed the package to my primary site server and then from a child site distributed to a long list of d
-
Need to generate a report for Event collection rules created in SCOM
Hi All, Can any one let me know where can i get a report of the Event based collection rules created in SCOM (For default and custom made). I used the below report but it gives the collection rules which are performance counter based not event collec
-
Why wont my mac book not charge
All of the sudden my computer will no longer charge. I am trying to determine if the issue is my power cord which no longer provides a green charging indicator light. Or the Battery since the power indicator states "not charging". Any help would
-
When I click on FrameMaker it will not launch. It appears in the "Process" section of Task Manager, but will not load to the screen. Is anyone aware of what might be causing this?