How to verify that standby and primary are working correctly or not
Hi,
Oracle Version : 10.2.0.1.0
OperatingSystem : WindowsXp
I have configured a stand by database on my local database.Here i would like to know weather by stand by is configured correctly and working fine are not.
Please help me.
Thank & Regards
Poorna Prasad.
Hi,
When i issue these statements in my primary database the output is like this
SQL> SELECT SEQUENCE#, FIRST_TIME, NEXT_TIME FROM V$ARCHIVED_LOG ORDER BY SEQUENCE#;
SEQUENCE# FIRST_TIM NEXT_TIME
169 19-AUG-09 20-AUG-09
170 20-AUG-09 20-AUG-09
171 20-AUG-09 20-AUG-09
172 20-AUG-09 20-AUG-09
173 20-AUG-09 20-AUG-09
174 20-AUG-09 21-AUG-09
175 21-AUG-09 21-AUG-09
176 21-AUG-09 22-AUG-09
177 22-AUG-09 22-AUG-09
178 22-AUG-09 23-AUG-09
179 23-AUG-09 23-AUG-09
SEQUENCE# FIRST_TIM NEXT_TIME
180 23-AUG-09 24-AUG-09
180 23-AUG-09 24-AUG-09
181 24-AUG-09 24-AUG-09
181 24-AUG-09 24-AUG-09
182 24-AUG-09 24-AUG-09
182 24-AUG-09 24-AUG-09
183 24-AUG-09 24-AUG-09
183 24-AUG-09 24-AUG-09
184 24-AUG-09 24-AUG-09
184 24-AUG-09 24-AUG-09
185 24-AUG-09 24-AUG-09
SEQUENCE# FIRST_TIM NEXT_TIME
185 24-AUG-09 24-AUG-09
186 24-AUG-09 25-AUG-09
186 24-AUG-09 25-AUG-09
187 25-AUG-09 25-AUG-09
187 25-AUG-09 25-AUG-09
188 25-AUG-09 25-AUG-09
188 25-AUG-09 25-AUG-09
189 25-AUG-09 25-AUG-09
190 25-AUG-09 25-AUG-09
31 rows selected.
SQL> select * from v$dataguard_status;
FACILITY SEVERITY DEST_ID MESSAGE_NUM ERROR_CODE CAL TIMESTAMP MESSAGE
Log Transport Services Informational 0 1 0 NO 25-AUG-09 ARC0: Archival started
Log Transport Services Informational 0 2 0 NO 25-AUG-09 ARC1: Archival started
Log Transport Services Informational 0 3 0 NO 25-AUG-09 ARC2: Archival started
Log Transport Services Informational 0 4 0 NO 25-AUG-09 ARC3: Archival started
Log Transport Services Informational 0 5 0 NO 25-AUG-09 ARC4: Archival started
Log Transport Services Informational 0 6 0 NO 25-AUG-09 ARC5: Archival started
Log Transport Services Informational 0 7 0 NO 25-AUG-09 ARC6: Archival started
Log Transport Services Informational 0 8 0 NO 25-AUG-09 ARC7: Archival started
Log Transport Services Informational 0 9 0 NO 25-AUG-09 ARC8: Archival started
Log Transport Services Informational 0 10 0 NO 25-AUG-09 ARC9: Archival started
Log Transport Services Informational 0 11 0 NO 25-AUG-09 ARCa: Archival started
FACILITY SEVERITY DEST_ID MESSAGE_NUM ERROR_CODE CAL TIMESTAMP MESSAGE
Log Transport Services Informational 0 12 0 NO 25-AUG-09 ARCb: Archival started
Log Transport Services Informational 0 13 0 NO 25-AUG-09 ARCc: Archival started
Log Transport Services Informational 0 14 0 NO 25-AUG-09 ARCd: Archival started
Log Transport Services Informational 0 15 0 NO 25-AUG-09 ARCe: Archival started
Log Transport Services Informational 0 16 0 NO 25-AUG-09 ARCf: Archival started
Log Transport Services Informational 0 17 0 NO 25-AUG-09 ARCg: Archival started
Log Transport Services Informational 0 18 0 NO 25-AUG-09 ARCh: Archival started
Log Transport Services Informational 0 19 0 NO 25-AUG-09 ARCi: Archival started
Log Transport Services Informational 0 20 0 NO 25-AUG-09 ARCj: Archival started
Log Transport Services Informational 0 21 0 NO 25-AUG-09 ARCk: Archival started
Log Transport Services Informational 0 22 0 NO 25-AUG-09 ARCl: Archival started
FACILITY SEVERITY DEST_ID MESSAGE_NUM ERROR_CODE CAL TIMESTAMP MESSAGE
Log Transport Services Informational 0 23 0 NO 25-AUG-09 ARCm: Archival started
Log Transport Services Informational 0 24 0 NO 25-AUG-09 ARCn: Archival started
Log Transport Services Informational 0 25 0 NO 25-AUG-09 ARCo: Archival started
Log Transport Services Informational 0 26 0 NO 25-AUG-09 ARCp: Archival started
Log Transport Services Informational 0 27 0 NO 25-AUG-09 ARCq: Archival started
Log Transport Services Informational 0 28 0 NO 25-AUG-09 ARCr: Archival started
Log Transport Services Informational 0 29 0 NO 25-AUG-09 ARCs: Archival started
Log Transport Services Informational 0 30 0 NO 25-AUG-09 ARCt: Archival started
Log Transport Services Informational 0 31 0 NO 25-AUG-09 ARCi: Becoming the 'no FAL' ARCH
Log Transport Services Informational 0 32 0 NO 25-AUG-09 ARCi: Becoming the 'no SRL' ARCH
Log Transport Services Informational 0 33 0 NO 25-AUG-09 ARCl: Becoming the heartbeat ARCH
FACILITY SEVERITY DEST_ID MESSAGE_NUM ERROR_CODE CAL TIMESTAMP MESSAGE
Log Transport Services Error 0 34 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Fetch Archive Log Error 2 35 16191 YES 25-AUG-09 FAL[server, ARC0]: Error 16191 creating remote archivelog file 'stand'
Log Transport Services Error 0 36 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 37 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 38 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 39 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 40 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 41 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 42 12518 YES 25-AUG-09 Error 12518 received logging on to the standby
Log Transport Services Error 2 43 12518 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 12518.
Log Transport Services Error 0 44 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
FACILITY SEVERITY DEST_ID MESSAGE_NUM ERROR_CODE CAL TIMESTAMP MESSAGE
Log Transport Services Error 2 45 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 46 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 47 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 48 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 49 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 50 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 51 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 52 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 53 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 54 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 55 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
FACILITY SEVERITY DEST_ID MESSAGE_NUM ERROR_CODE CAL TIMESTAMP MESSAGE
Log Transport Services Error 0 56 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 57 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 58 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 59 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 60 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 61 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 62 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 63 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 64 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
Log Transport Services Error 2 65 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.
Log Transport Services Error 0 66 1017 YES 25-AUG-09 Error 1017 received logging on to the standby
FACILITY SEVERITY DEST_ID MESSAGE_NUM ERROR_CODE CAL TIMESTAMP MESSAGE
Log Transport Services Error 2 67 16191 YES 25-AUG-09 PING[ARCl]: Heartbeat failed to connect to standby 'stand'. Error is 16191.and when i issue these statements in my stand by the output is.
SQL> select * from V$managed_standby;
PROCESS PID STATUS CLIENT_P CLIENT_PID CLIENT_DBID GROUP# RESETLOG_ID THREAD# SEQUENCE# BLOCK# BLOCKS DELAY_MINS KNOWN_AGENTS ACTIVE_AGENTS
ARCH 4504 CONNECTED ARCH 4504 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 3440 CONNECTED ARCH 3440 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5504 CONNECTED ARCH 5504 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5352 CONNECTED ARCH 5352 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5344 CONNECTED ARCH 5344 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 1320 CONNECTED ARCH 1320 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5088 CONNECTED ARCH 5088 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 3416 CONNECTED ARCH 3416 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5916 CONNECTED ARCH 5916 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5776 CONNECTED ARCH 5776 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 4744 CONNECTED ARCH 4744 1560521699 N/A 0 0 0 0 0 0 0 0
PROCESS PID STATUS CLIENT_P CLIENT_PID CLIENT_DBID GROUP# RESETLOG_ID THREAD# SEQUENCE# BLOCK# BLOCKS DELAY_MINS KNOWN_AGENTS ACTIVE_AGENTS
ARCH 1144 CONNECTED ARCH 1144 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5900 CONNECTED ARCH 5900 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 4848 CONNECTED ARCH 4848 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5560 CONNECTED ARCH 5560 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 4672 CONNECTED ARCH 4672 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 400 CONNECTED ARCH 400 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 4996 CONNECTED ARCH 4996 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5356 CONNECTED ARCH 5356 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5800 CONNECTED ARCH 5800 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 3104 CONNECTED ARCH 3104 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 6100 CONNECTED ARCH 6100 1560521699 N/A 0 0 0 0 0 0 0 0
PROCESS PID STATUS CLIENT_P CLIENT_PID CLIENT_DBID GROUP# RESETLOG_ID THREAD# SEQUENCE# BLOCK# BLOCKS DELAY_MINS KNOWN_AGENTS ACTIVE_AGENTS
ARCH 2400 CONNECTED ARCH 2400 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 3712 CONNECTED ARCH 3712 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 4248 CONNECTED ARCH 4248 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5580 CONNECTED ARCH 5580 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 3160 CONNECTED ARCH 3160 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 4436 CONNECTED ARCH 4436 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 5116 CONNECTED ARCH 5116 1560521699 N/A 0 0 0 0 0 0 0 0
ARCH 1488 CONNECTED ARCH 1488 1560521699 N/A 0 0 0 0 0 0 0 0
MRP0 4464 WAIT_FOR_LOG N/A N/A N/A N/A 687453795 1 189 0 0 0 0 0
31 rows selected.Regards
Poorna
Similar Messages
-
How to Verify whether CAPolicy.inf Configuration was picked correctly or not ?
Hi ALL,
can you please suggest me a way to verify whether CAPolicy.inf Configuration was picked correctly or not during CA installation and if it was not picked up correctly where can I see the error messages what exactly went wrong ?.Hi,
I do not know anything about a logfile but if it was picked up then you see the settings in the certificate (e.g. keylength) or the settings for AIA/CDP are visible in the CA MMC in the externsions tab.
A not uncommon issue is that the file itself is saved as capoily.inf.txt file from notepad and then the CA install wizard ignores the file. so check the filename from a Windows command prompt.
Hope that helps,
Lutz -
How to verify that ocr and votingdisk is normal??
Hi. all.
I am new to Oracle clusterware.
How to verfiy that oracle clusterware is running without problems??
I am reading RAC Administration Guide, but there are so many commands
about Oracle Clusterware.
I would like to hear your experience and advice.
Thanks in advance.
Best Regards.Dear Virag.
I recreated a database by using DBCA on a 2-node RAC database.
I got no errors from DBCA when I recreated the database.
Now, I am just testing whether or not everything is OK.
The operating system is windows2003.
The version of clusterware and oracle is 10.2.0.2.0.
I intentionally rebooted one node by turn.
After rebooting, 2-node RAC database is up automatically some times,
but some times, the instance of the rebooted node does not startup
automatically. "srvctl start instance" does work.
Is this problem related to the master node of cluster??
I am home now. I will give you the crsd log tomorrow.
Best Regards. -
How to insure that contacts and calendar are NOT synced with ICloud?
Hello,
I do not understand, why it is not possible anymore to sync your contacts and calendar data between your mac book and your mobile devices using USB cable.
I also heard that with Maverick and Itunes 11.1.2 you can not sync anything using USB anymore, is that true?
Why is it not possible to let the customer decide how to sync their data? Why not leaving both options?
In case it is true that with Maverick and Itunes 11.1.2 you are not able to sync using USB anymore, does anybody know a good app to sync your photos and address data between your computer and mobile devices?
How can I insure that my contacts and calendar data are NOT automatically synced with ICloud?
Yesterday I synced some Photos from my macbook to my IPad and wondered why I had the photos twice. I realized that my IPad had ICloud enabled, after disabling ICloud one picture folder (Photostream) was gone. What do do to avoid that my MacBook is sending Photos to ICloud?
However, when I opened ICloud today, I did not find photos, but I found some address data from my MacBook in the Cloud.
I do not want to have my contacts and calendar data anywhere else on a server.
Any help would be appreciated.
Thanks HarkConnect your phone to your computer using the USB power cable that you charge your phone with.
Launch iTunes, it will go thru the normal sync back up progress bar thing at the top, let it finish.
Then
double click on the phone in the left side bar then click INFO at the top of that pane, it will allow you select what you want to sync (contacts,calendar,etc) make your selections and click apply, then click sync. There buttons along the top for different functions (Movies, Apps, etc) just make sure that you do not have anything checked (like your whole music library) that will not fit on the phone. -
Verify that recv_buf_size (and send) are in fact enabled?
Is there a way to confirm that SEND_BUF_SIZE, set in sqlnet.ora on both source and dest along with RECV_BUF_SIZE are indeed being used?
I tried client_trace=16 but nothing in there that I can find shows this info.
We are trying to validate the findings of the white paper Data Guard Redo Transport and Network Best Practices to see if the above parameters can give us the performance gains outlined in the whitepaper. So far we have not seen any significant improvement -- hence the question -- can we prove that the values are being used.Depending upon OS name which you decided not to share
You may try tcpdump, tcptrace or etheral, snoop, etc. to empirically measure the contents of packets being exchanged. -
How to verify that SSL(HTTPS) is implemented on JBOSS or not?
Hi Everybody,
I had recently implemented SSL(HTTPS) on JBOSS-4.0.3 server. My application is working perfectly fine with HTTPS. Now my query is how I can ensure that it is working on HTTPS except from viewing the "https://" in the URL.
Is there any other way to check whether HTTPS is implemented or not.
Any help will be highly appreciated.
Regards
Rinku Garghat about trying to connect a client that is configured to only
support SSLv3?
-> Can provide more insight on this?
here are also many third party tools (even scripts) that allow for scanning SSL on your server.
-> I saw that there is openssl, but it is not that friendly on Windows. Need to install dependencies before it works.
You could also use network monitor (or wireshark or alike) to capture some network traffic and check the
SSL handshake. The server HELO will contain information on the supported protocol and ciphers.
-> i have tried both wireshark and Network Monitor and it seems that i can view SSL handshake on wireshark,
but not on Network Monitor. but it could be that I do not know the filter to search. Do you know of any filter that I should use?
Thanks and best regards, Kim Seng This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
hello. I can not configure my major mail account at Mac Mфail - other accounts such as Hotmail and Gmail are working great. Also, I am using that major account at iPhone and iPad with no problem. I had contacted mail provider - we had followed step by step all the settings,, they are correct, and I was suggested to use another mail program. Why, for God's sake I should use different programs for different mail accounts? Anyone, had the same problem?
it says - IMAP - Trying to log into this IMAP account is failed - Verify that username and password are correct
same for SMTP
in details -
WROTE Mar 03 00:31:16.375 [kCFStreamSocketSecurityLevelNone] -- host:gator3018.hostgator.com -- port:143 -- socket:0x6080002da240 -- thread:0x600000a76a00
2.180 AUTHENTICATE PLAIN (*** 60 bytes hidden ***)
READ Mar 03 00:31:26.667 [kCFStreamSocketSecurityLevelNone] -- host:gator3018.hostgator.com -- port:143 -- socket:0x6080002da240 -- thread:0x600000a77400
2.180 NO [AUTHENTICATIONFAILED] Authentication failed.
WROTE Mar 03 00:31:26.669 [kCFStreamSocketSecurityLevelNone] -- host:gator3018.hostgator.com -- port:143 -- socket:0x6080002da240 -- thread:0x600000a77400
3.180 AUTHENTICATE PLAIN (*** 36 bytes hidden ***) -
Neither the menu or lightbox widgets are working correctly
My website is at http://www.goodwinsanimations.com/2
I'm using the menu widget and lightbox widget in my website and neither are working correctly:
The menus work but the dropdown feature does not work when I test it in either Mozilla Firefox or Google Chrome. This is not vital in my case but I would like to have it working
The lightbox part of the lightbox widget does not display at all but the thumbnails and text items are there but inactive
How do I solve this? It looks bad without the latter in particular. I've tested the lightbox I used on multiple pages. I don't want to re-insert it as I've already added the captions and images.
ThanksAnd I forgot to add for sure the laptop is authorized --- I couble checked.
thnx -
My iPod touch is not connecting to my iCloud account, under iCloud settings it has my old email account and username that I have since updated and are working correctly on my iPad, any idea how I can reset this on the iPod or otherwise? This old account info keeps coming back on my iPod and messing up access to my apple account and now the icloud. last time a system restore needed to be done to fix it....
It won't give me the option to sign out of the old account, it's that light grey color that you can't click on. And since it has the old email address that it's telling me to go into to verify the account, I can't actually change it... I'm stuck
-
how can i arrange that movies and picts are stored only once?, i find them in thumbnail, i movie, imovie thumbnails, and some times in cache.mov or as imovie proyects
The movies themselves are stored only once. The other files you're seeing are small ones that are used to reference, display and access the main file. If you check the file sizes, you'll see that only one (the movie file itself) is large.
If you don't want anything saved but the main file, stop using iMovie. -
What is Veritas HA, and How to verify that Veritas HA system is "lights on"
Hi, Friends:
I have two questions,
1.What is Veritas HA?
2.How to verify that Veritas HA system is "lights on"?
thank you very much,
JerryVeritas HA = Veritas High Availability.
http://www.google.com/search?q=veritas+HA&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a -
Newbie q: How to verify that encryption is working
Hello,
In a sharepoint environment, we have installed a certificate and force encryption=on, according to :
http://social.technet.microsoft.com/Forums/en-US/bde679d9-ff83-4fa7-b402-42e336a97106/force-encryption-on-sql-server-not-working?forum=sqlsecurity
How can I verify that the encryption is actually working? I saw wireshark but I don't know to use it.
Thank you
ChristosBasically if you encrypt all of DataBases of SharePoint, you can open one DataBase and use Select statement to verify if your can read the Data.
Connection encryption is something quite different than database encryption.
The most ideal way to verify connection encryption is to use a packet sniffer such as Wireshark. Since that's no something you know how to use and are resistant to learning, I'd run the following on my SQL Server and look for connections which have
an encrypt_option of false:
select * from sys.dm_exec_connections
Connections which are encrypted should have an encrypt_option of TRUE. -
How to Verify Db logs and backups
1) How to check that Oracle Database logs are being archived or cleaned up on a regular basis in Solaris
2) How to Verify backups are being performed in solaris844081 wrote:
EdStevens wrote:
844081 wrote:
1) How to check that Oracle Database logs are being archived or cleaned up on a regular basis in Solaris
2) How to Verify backups are being performed in solarisIf you are talking about oracle backups and logs, it is OS independent. Look at the various options of the LIST command in rman. In addition, have your rman backup jobs write a log that you can examine.Can you be clear about what you are saying.. just letme know about the steps to be followed... :)Step 1 - point your browser to tahiti.oracle.com. This is the portal to the complete oracle doc set
Step 2 - drill down to your product and version. Here you will find the complete doc set for said product/version
Step 3 - locate the backup and recovery reference
Step 4 - Find the LIST command
Step 5 - read what each option of LIST can show you. -
How to verify that oracle service is up
How to verify that Oracle server is up?
how to verify that Oracle db is up (or online??)
thxHi,
This Sun ksh command will show the Oracle processes for your instance:
ps -ef|grep $ORACLE_SID|grep -v grep
Here the Sun script that I use to check if your database is running:
check_stat=`ps -ef|grep ${ORACLE_SID}|grep pmon|wc -l`;
oracle_num=`expr $check_stat`
if [ $oracle_num -lt 1 ]
then
exit 0
fi
# Test to see if Oracle is accepting connections
$ORACLE_HOME/bin/sqlplus -s /<<! > /tmp/check_$ORACLE_SID.ora
select * from v\$database;
exit
# If not, exit and e-mail . . .
check_stat=`cat /tmp/check_$ORACLE_SID.ora|grep -i error|wc -l`;
oracle_num=`expr $check_stat`
if [ $oracle_num -ne 0 ]
then
mailx -s "$ORACLE_SID is down!" [email protected]
exit 16
fi
If you are not familiar with UNIX scripting, there are many script collections that you can use:
http://www.google.com/search?&q=oracle+script+collection
To learn UNIX scripting, Jon Emmons (Life after Coffee blog) has a book of Oracle Linux/UNIX scripts:
http://www.rampant-books.com/book_2005_1_linux_commands.htm -
How to verify that your connected to wifi
How to verify that your connected to wifi
3 ways:
1. The symbol at the top of the iPad on the left hand side. Will tell you if you are connected, and how strong the signal is:
2. Going into Settings->Wifi will tell you what Wifi network you are connected to at the time if any,
3. If the network has internet access, you should be able to open a website in Safari.
Maybe you are looking for
-
PopulateAttributeAsChanged() and primary keys
I have a column on a table wich is populated from several entries into transient attributes eg. Field1 A Field2 B Field3 C postChanges() method in the entity has been overriden to concatenate these values together ie. A/B/C I call populateAttributeAs
-
How can I insert photos to excel documents from iPad?
I need to find a way to edit excel docs from my iPad. I have found numerous apps that work great. The thing I'm having trouble with is editing or inserting images or art into the spreadsheets as you can with excel.
-
Simple: returning String parameter
THis sis doubtless basic. I hae a JSP that needs to return data in a parameter that has blanks in it. However, when I print the result of reuqest.getParamter in my sevelt, I ony get the first piece of the String befroe a blank. How can I pass a param
-
When trying to open a file it keep clicking off.
When I try opening my notes,way it keeps clicking off?
-
Windows Vista = very slow wireless network
I have a brand new Lenovo ThinkPad Z61p. A great machine, great performance. But Vista seems to get in its way. The first thing I did, was to re-install Windows Vista to get a clean machine, without alle the junk that comes with it. At work, the wire