Hello All,
I am trying to start the opensaf services via a TCL script as mention below:
send -i ${active_sid} "/etc/init.d/opensafd start\r"
expect -i ${active_sid} -re {# $|#$}
My scenario is :
First of all I am executing a script on my Machine1, that script is doing a
telnet to the Controller1 and then starting all the required services on
Controller1 as given below:
send -i ${active_sid} "/etc/init.d/openhpid start\r"
expect -i ${active_sid} -re {# $|#$}
send -i ${active_sid} "/etc/init.d/plmcboot start\r"
expect -i ${active_sid} -re {# $|#$}
send -i ${active_sid} "/etc/init.d/plmcd start\r"
expect -i ${active_sid} -re {# $|#$}
sleep 5
send -i ${active_sid} "/etc/init.d/opensafd start\r"
expect -i ${active_sid} -re {# $|#$}
After starting openhpid, plmcboot and plmcd when the opensaf is initiated,
below error is noticed :
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012
Sep 10 12:44:41 controller1 osafplmd[4031]: ER SessionOpen failed with
err:-1012 after retrying31 times
Sep 10 12:44:41 controller1 osafplmd[4031]: ER plms_hsm_initialize failed
Sep 10 12:44:41 controller1 osafplmd[4031]: ER Failed, exiting...
Sep 10 12:44:41 controller1 opensafd[3893]: ER Failed
One thing to note is that if I execute these above commands on Controller1
directly, it works fine and the opensaf gets started.
Help is appreciated.
Thanks.
-
Rgds,
Adnan
--
.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users