Festival cannot be restarted, because it is attempting to kill the wrong pid. joe@colossus ~ $ cat /var/run/festival.pid 10565 joe@colossus ~ $ ps -A | grep festival 10733 ? 00:00:00 festival Reproducible: Always Steps to Reproduce: 1. /etc/init.d/festival start 2. /etc/init.d/festival restart Gasp in horror when it says that festival cannot be killed. Actual Results: Festival did not restart. Expected Results: Festival should restart. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.11 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 12 2005, 16:14:46)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.7.9-r1, 1.5, 1.6.3, 1.9.5, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/sound /etc/terminfo /usr/lib/X11/xkb /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib alsa apm avi bash-completion berkdb bitmap-fonts cdr crypt cups curl dbus dvd eds emboss encode fam foomaticdb gcj gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl imagemagick imlib ipv6 jpeg libg++ libwww mad mikmod mmx mono mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl pam pdflib perl png python quicktime readline samba sdl slang spell sqlite sse ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml2 xprint xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I can't reproduce your problem, and certainly the init.d script looks fine. The behaviour you describe is probably the result of an external process messing with festival, so it gets restarted by something other than the init.d script. If you can reproduce the problem consistently, please let us know.
yeah... works for me too...