[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automatically restarting dying daemons?



On Wed, Jun 30 at 06:25PM -0400, Derrick 'dman' Hudson wrote:
> On Wed, Jun 30, 2004 at 04:34:06PM -0500, Will Trillich wrote:
> | problem: xinetd, after working just fine and dandy for weeks at
> | 	a time, gets dozens of "unexpected signal" (source unknown)
> | 	and gives up the ghost.
> | 
> | questions:
> | 	1) what's the best way (e.g. debian way) to monitor active
> | 	   daemons and restart them when necessary? maybe some
> | 	   utility already exists for this? or /proc/something?
> | 	   or `ps ax`?
> 
> restartd.

hmm. this sounds promising...

	$ apt-cache search restart | sort
	daemontools-installer - Installer package for building daemontools binary package
	firestarter - gtk program for managing and observing your firewall.
	freefont - Freeware font selection for X11
	gentoo - A fully GUI configurable X file manager using GTK+
	jesred - A redirector for Squid
	oss-preserve - Program to save/restore OSS mixer settings
	run - Watch programs and restart them if they die
	scsiadd - Add or remove SCSI devices by rescanning the bus.
	snmptrapfmt - A configurable snmp trap handler daemon for snmpd.
	xpacman - Basic Pacman
	zope-zshell - Zshell present a command line interface to zope

xpacman? not quite what i had in mind. wokka wokka. :)

	$ apt-cache search restartd | sort

	$ dpkg -S restart
	debhelper: /usr/share/debhelper/autoscripts/postinst-init-norestart-invoke
	debhelper: /usr/share/debhelper/autoscripts/prerm-init-norestart
	debhelper: /usr/share/debhelper/autoscripts/prerm-init-norestart-invoke
	debhelper: /usr/share/debhelper/autoscripts/postinst-init-norestart

	$ dpkg -S restartd
	dpkg: *restartd* not found.

at http://backports.org, i search for "restartd" and get

	Sorry, no packages found.

:(

-- 
I use Debian/GNU Linux version 3.0;
Linux boss 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown
 
DEBIAN NEWBIE TIP #21 from Will Trillich <will@serensoft.com>
:
Looking to configure your Debian NETWORK SETTINGS? Look at the
file /etc/network/interfaces (try "man interfaces" for more
info). Then "ifup -a" to reload your settings, and "ifconfig" to
display them. (Also check out "apt-get install ipmasq"!)

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: