pidofproc is often implemented as a shell function, that in turn depends 
on other shell commands in /bin/, /sbin or /usr/sbin. It is different on 
different Linux distributions, so you need to check 
/lib/lsb/init-functions to find out how it is implemented in your 
system. Then check that all the required commands are available at the 
time OpenSAF is started. Also check that /var/run/opensaf is available.

I would guess your problem is caused by starting OpenSAF before all 
required file systems have been mounted. So you may wish to try starting 
OpenSAF later during the boot process.

/ Anders Widell

On 05/22/2014 11:47 AM, Biswajit Panigrahi wrote:
> Hi Anders,
> Thanks a lot for your reply.
> The only problem is only during boot up.
> Once boot up if I  restart the opensaf ,then its working fine.
> There is no content in /var/run/opensaf after boot up in payload . But when 
> again I restart manually  opensaf after the reboot ,all the required .pid 
> files are available.
> My suspect is with pidofproc function in /etc/init.d/functions only during 
> booting.
> Do you have any idea is there any dependency.
> Since I have made the customized file system from scratch there could be 
> chance that some service need to run at the time of booting before calling 
> the /etc/init.d/functions
>
>
> Regards,
> Biswajit
>
>
> -----Original Message-----
> From: Anders Widell [mailto:[email protected]]
> Sent: Thursday, May 22, 2014 2:34 PM
> To: Biswajit Panigrahi; [email protected]
> Subject: Re: [users] opensafd status not showing properly on payload
>
> Looks like pidofproc cannot find your process. Maybe something wrong
> with the pid file? Try the following commands to check if the pid
> matches your process:
>
> cat /var/run/opensaf/osafamfnd.pid
> pgrep -l osafamfnd
>
> / Anders W
>
> On 05/22/2014 09:48 AM, Biswajit Panigrahi wrote:
>> Hi All,
>> Can any one help what could be the root cause.
>>
>> Regards,
>> Biswajit
>>
>>
>> Connect with us:
>>
>> www.techmahindra.com
>>
>>
>> -----Original Message-----
>> From: Biswajit Panigrahi [mailto:[email protected]]
>> Sent: Thursday, May 22, 2014 11:59 AM
>> To: [email protected]
>> Subject: [users] opensafd status not showing properly on payload
>>
>>
>> Hi All,
>> I am using opensaf-4.2.0 .I have made  it to run at the boot up. After 
>> starting the opensaf in payload and reboot the payload then once its comes 
>> up after reboot, then /etc/init.d/opensafd status on payload shows "The 
>> OpenSAF HA Framework is not running" but all the opensaf processes are up 
>> and running fine. Even in controller /etc/init.d/opensafd status shows 
>> it(payload ) re joined the cluster.
>>
>> Since it already delivered to customer we can't use different version of 
>> opensaf. So looking for your cooperation ASAP.
>> I have attached doc regarding Steps to re produce the issue.
>>
>> I have attached /var/log/messages log file of controller .Since payload is 
>> booting from PXEBOOT (booting from Lan) .So before reboot log will  not be 
>> available. After reboot of payload captured log is attached.
>>
>> Note:n12s1 is my controller and n12s3 is my payload
>>
>>
>> Regards,
>> Biswajit Panigrahi
>> Department : Product Engg.
>> 9/7 Hosur Road,bangalore-560029, INDIA
>> * Office: +918040243000|extn:3418
>> Mobile:       + 91 9916674401
>> Email: [email protected]<mailto:[email protected]>
>>
>> [cid:[email protected]]<http://www.techmahindra.com/>
>> Connect with us:
>> [cid:[email protected]]<http://www.facebook.com/TechMahindra>[cid:[email protected]]<http://twitter.com/Tech_Mahindra>[cid:[email protected]]<http://www.linkedin.com/company/tech-mahindra>[cid:[email protected]]<http://www.youtube.com/user/techmahindra09>
>> www.techmahindra.com<http://www.techmahindra.com/>
>>
>>
>>
>>
>> ============================================================================================================================
>>
>> Disclaimer:  This message and the information contained herein is 
>> proprietary and confidential and subject to the Tech Mahindra policy 
>> statement, you may review the policy at 
>> http://www.techmahindra.com/Disclaimer.html externally 
>> http://tim.techmahindra.com/tim/disclaimer.html internally within 
>> TechMahindra.
>>
>> ============================================================================================================================
>>
>>
>>
>>
>> ============================================================================================================================
>> Disclaimer:  This message and the information contained herein is 
>> proprietary and confidential and subject to the Tech Mahindra policy 
>> statement, you may review the policy at 
>> http://www.techmahindra.com/Disclaimer.html externally 
>> http://tim.techmahindra.com/tim/disclaimer.html internally within 
>> TechMahindra.
>> ============================================================================================================================
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform 
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Opensaf-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensaf-users
>>
>>
>
>
> ============================================================================================================================
> Disclaimer:  This message and the information contained herein is proprietary 
> and confidential and subject to the Tech Mahindra policy statement, you may 
> review the policy at http://www.techmahindra.com/Disclaimer.html externally 
> http://tim.techmahindra.com/tim/disclaimer.html internally within 
> TechMahindra.
> ============================================================================================================================
>
>
>


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to