Hi all
I am running two node active/passive cluster on RHEL3U8-64 bit operating system for my oracle 9i database.I am facing issue when cluster fail over to node 2 my oracle start up script not starting up even though i configured start up script in my cluster configuration but if i type clustat on node 2 it shows service is started. If i shift the service manually from node 2 to node 1 or even if rebooted the node1 my cluster starting up the same service properly on node 1.Any one help me to fix out this issue.Below is my script.
Cluster Version: clumanager-1.2.31-1.x86_64
Note: If i start the same script manually on the node 2 it is starting the database properly without any error.
/etc/init.d/script_db.sh ##################################################################################### #!/bin/bash . /etc/rc.d/init.d/functions
start() { echo "Starting Database"
su -l oracle -c "sh startdb.sh" ## Sleep for 2 Minuts ####
# sleep 120 # echo " reStarting app" # clusvcadm -R application # echo " app restarted"
RETVAL=$? return $RETVAL }
stop() { echo "Stopping Database"
su -l oracle -c "sh stopdb.sh"
RETVAL=$? return $RETVAL }
status() { #DBUP=`ps -ef | grep oracle | grep -v grep | grep -c ora_pmon ` DBUP=`ps -ef | grep -c ora_pmon ` #LSNRUP=`ps -ef | grep oracle | grep 9.2.0 | grep -v grep | grep -c lsnrctl` LSNRUP=`ps -ef | grep -c lsnrctl` if [ ${DBUP} -ge 1 ] then if [ ${LSNRUP} -ge 1 ] then echo "Database Running" return 0 fi fi echo "Database Not Running" return 1 }
case "$1" in start) start echo "Start Database complete" ;;
stop) stop echo "Database Stopped" ;; restart) stop start ;; status) status ;;
*)
echo $" Not Applicable" exit 1
esac echo "exiting script" exit $RETVAL ################################################################################### stopdb.sh
/home/oracle/orahome/bin/sqlplus /nolog<<EOF connect sys/sysxyzcall@xyzcall as sysdba shutdown immediate; host lsnrctl stop quit; EOF exit ###################################################################################### startdb.sh ####################################################################### /home/oracle/orahome/bin/sqlplus /nolog <<EOF host lsnrctl stop host lsnrctl start connect sys/sysxyzcall@xyzcall as sysdba startup quit; EOF exit ############################################################################
Regards, Lingu
On Sat, Nov 15, 2008 at 2:28 PM, lingu hicheerup@gmail.com wrote:
I am running two node active/passive cluster on RHEL3U8-64 bit operating system for my oracle 9i database.I am facing issue when cluster fail over to node 2 my oracle start up script not starting up
<snip> Have you considered posting to a mailing list for RHEL? This list is for CentOS users.
Hi lanny,
Thank a lot for your valuale information also we are getting lot of mails in this mailing list about debian,ubuntu,knopix and even the microsoft and the people are getting help for such mails too .I dont think anything wrong about posting RHEL related issue on this list, also i thought you know very well centos is the clone of RHEL .
On 11/16/08, Lanny Marcus lmmailinglists@gmail.com wrote:
On Sat, Nov 15, 2008 at 2:28 PM, lingu hicheerup@gmail.com wrote:
I am running two node active/passive cluster on RHEL3U8-64 bit operating system for my oracle 9i database.I am facing issue when cluster fail over to node 2 my oracle start up script not starting up
<snip> Have you considered posting to a mailing list for RHEL? This list is for CentOS users. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sun, Nov 16, 2008 at 8:53 AM, lingu hicheerup@gmail.com wrote:
Thank a lot for your valuale information also we are getting lot of mails in this mailing list about debian,ubuntu,knopix and even the microsoft and the people are getting help for such mails too .I dont think anything wrong about posting RHEL related issue on this list, also i thought you know very well centos is the clone of RHEL .
Yes, I know that CentOS is a clone of RHEL. But, if you paid for RHEL, probably you have a right to their support. If not, to participate in their mailing lists. On a weekend, you probably will get a quicker reply from a RH mailing list than this one. Many of the experts who participate in this list are not around on the weekends.
On Sun, 2008-11-16 at 09:39 -0500, Lanny Marcus wrote:
On Sun, Nov 16, 2008 at 8:53 AM, lingu hicheerup@gmail.com wrote:
Thank a lot for your valuale information also we are getting lot of mails in this mailing list about debian,ubuntu,knopix and even the microsoft and the people are getting help for such mails too .I dont think anything wrong about posting RHEL related issue on this list, also i thought you know very well centos is the clone of RHEL .
Yes, I know that CentOS is a clone of RHEL. But, if you paid for RHEL, probably you have a right to their support. If not, to participate in their mailing lists. On a weekend, you probably will get a quicker reply from a RH mailing list than this one. Many of the experts who participate in this list are not around on the weekends.
In addition, Red Hat Cluster isn't cheap. It's usually a pretty safe assumption that if one has it deployed, then one has an active service contract with RH, and thus has access to the official support channels... which is why RHCS knowledge hasn't really percolated out to the CentOS crowd to the degree that it has on the RHEL lists...
-I
Hello
Our server runs CentOS 5.2, kernel 2.6.18-92.1.18.el5xen x86_64, in the domU under Xen, and dom0 runs same version of OS. The CPU is AMD Athlon(tm) 64 X2 Dual Core Processor 4400+.
We're experiencing some strange failures with several services, most notable web service and jabber daemon.
There is Apache/2.2.3, PHP 5.1.6, and phpBB 2.0.14. It is internal forum, we access it via HTTPS, with client certificates. There is also other PHP application, which stores sensetive data in the MySQL database, encrypted with Blowfish.
All is working OK for a while, after that phpBB stops parsing [code]...[/code] and [quote]...[/quote] bbCode sections (all other bbCode markups are working). At the same time, Blowfish starts returning wrong decoding of data. After the httpd service restart, problems disappear and all works. But, after a while it breaks again. Probally, it works while there is single user, and breaks just when someone else accesses the server. I can not be more precise, at what moment the failure occurs.
Also, ejabberd is working only partially: it randomly loses many messages in conferences, and sometimes it returns then 'Message can not be delivered, reason: ""' (I can not say the exact error message, as it appeared localized). I also can not set up any message size limits (when they're on, server simply doesn't start), and can not setup any transports (to ICQ or other). I undertake an attempt to compile it by myself, but nothing was changed.
I can not locate any log messages, which are related to this problem. So, I need help in diagnosing and solving these problems. Even a little ideas of what the problem's root is will help. If I missed some valuable information, please, ask for it, I will then provide. I simply don't know, for which information to look.
And, please, sorry for my awful english.
Nikita
Lanny Marcus wrote:
Have you considered posting to a mailing list for RHEL? This list is for CentOS users.
This is one of those situations where if you have nothing useful to say it is best to keep quiet. What about those in the CentOS forums asking for help after their subscriptions have run out? Or what business is it of yours if someone is running RHEL as opposed to a RHEL-derivative?
Regards, Vandaman.
Lanny Marcus wrote:
Have you considered posting to a mailing list for RHEL? This list is for CentOS users.
This is one of those situations where if you have nothing useful to say it is best to keep quiet. What about those in the CentOS forums asking for help after their subscriptions have run out? Or what business is it of yours if someone is running RHEL as opposed to a RHEL-derivative?
Regards, Vandaman.
Vandaman wrote on Sun, 16 Nov 2008 15:49:51 +0000 (GMT):
This is one of those situations where if you have nothing useful to say it is best to keep quiet.
Indeed. Look in a mirror and say it again.
Kai
On Sun, Nov 16, 2008 at 08:46:41PM +0000, Vandaman wrote:
Kai Schaetzl wrote:
Indeed. Look in a mirror and say it again.
You remind me of a Nazi Guard.
Please, take this fight off the list