LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded
User Name
Password
Linux - Embedded This forum is for the discussion of Linux and embedded devices.

Notices

Reply
 
LinkBack Search this Thread
Old 02-01-2012, 03:37 AM   #1
PrayingMantis
LQ Newbie
 
Registered: Nov 2011
Distribution: WindRiver, RedHat
Posts: 10

Rep: Reputation: Disabled
Watchdog errors in syslog


I have a watchdog daemon process which starts up right away to feed the hardware watchdog. However, it is supposed to monitor some other process, which have not yet started. As a result of this, every time I boot up my board, I get errors such as : PID file not found in the syslog.
However, I have handled it in the repair-binary script, and it does not try to repair it for the first 120 seconds, I was just curious if there is any better way to handle this - and get rid of the errors during startup?

Thanks,
Mantis
 
Old 02-01-2012, 04:51 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 39,821

Rep: Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116Reputation: 1116
well fundamentally, don't start the watchdog until the process you want to look for has started. Sorry if that sounds obvious, but you've not given us much else to go on. What is this board running? Can you change the starting time of the services as per a normal sysVinit distro?
 
Old 02-01-2012, 05:10 AM   #3
PrayingMantis
LQ Newbie
 
Registered: Nov 2011
Distribution: WindRiver, RedHat
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hi Chris,

Thanks for the reply.

Yes, I can change the order of service startup using normal sysVinit Sxx. However, there is a lot of dependency on the scripts. For example, the watchdog not only has to monitor the processes but also for certain files - that must exist, for processes which are to be monitored by watchdog can start and also ping some specific IPs . So, I don't think I will be able to move the watchdog service down in order.

Any other way?
 
  


Reply

Tags
watchdog


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel's watchdog support iTCO_wdt - does this mean watchdog is not present? kushalkoolwal Linux - Hardware 3 02-06-2009 03:16 PM
Hardware watchdog in BIOS and Linux watchdog driver are different? travishein Linux - Hardware 1 12-22-2008 09:41 PM
syslog errors - help! keratos Ubuntu 20 08-12-2008 04:48 PM
syslog errors AZDAVE Linux - General 0 04-27-2004 10:29 AM
some errors in syslog doublefailure Linux - General 0 03-06-2003 10:37 PM


All times are GMT -5. The time now is 04:18 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration