[rancid] Re: FreeBSD 7.0 + Expect 5.43.0 -- Do I need to patch expect?

Eric Cables ecables at gmail.com
Thu Dec 4 03:37:51 UTC 2008


Well, I went ahead and rebuilt Tcl and Expect, to their latest available
versions, and things appear to be working now.  I'm not sure whether it ws
Tcl or Expect causing the problems, but the versions I'm running now seem
stable (two full rancid-run completions so far).

expect-nox11-5.44.1.7
tcl-8.5.4

-- Eric Cables


On Wed, Dec 3, 2008 at 6:56 PM, Peter Serwe <peter.serwe at gmail.com> wrote:

> I'm using tcl and tk 8.4.19 and the patched version of expect 5.40.1
> from shrubbery.net
> on two different installations.  I would recommend rebuilding tcl, tk,
> expect, and then rancid
> and I'm relatively certain the behavior will disappear.
>
> This is, by the way, on a pair of CentOS 5.2 systems.  One of them was
> 4.7 until a recent
> drive failure without good backups caused me to rebuild it into a 5.2
> box on a new drive and
> rebuild all of the software on it.
>
> Peter
>
> On Wed, Dec 3, 2008 at 6:25 PM, Eric Cables <ecables at gmail.com> wrote:
> > Would upgrading to tcl8.5 be a potential solution?  Reading through the
> old
> > expect threads it indicated that the problem may be with Tcl itself.
>  Right
> > now the system is running tcl-8.4.19.
> >
> > -- Eric Cables
> >
> >
> > On Wed, Dec 3, 2008 at 6:10 PM, Eric Cables <ecables at gmail.com> wrote:
> >>
> >> This problem has made a resurgence this week, crashing out every night
> and
> >> sending the CPU on the box that RANCID runs on sky high.  I end up
> killing
> >> the hung expect processes manually, but instead of staying constant it
> >> appears to be getting worse (dang growing environments).
> >>
> >> Any suggestions are welcome...
> >>
> >> -- Eric Cables
> >>
> >>
> >> On Mon, Nov 24, 2008 at 10:11 AM, Russell Jackson <raj at csub.edu> wrote:
> >>>
> >>> Eric Cables wrote:
> >>> > I've been running into this problem quite frequently, about once a
> week
> >>> > or
> >>> > so rancid will hang for no apparent reason, and until I kill the
> >>> > process it
> >>> > will remain hung.  I've read in the archives that Linux & Solaris
> have
> >>> > a
> >>> > problem with expect that requires a patch, but does this also include
> >>> > FreeBSD?
> >>> >
> >>>
> >>> I've been running rancid on FreeBSD 6.2 without issue for some time. I
> >>> haven't had any
> >>> hangs with respect to expect. I haven't tried it on FreeBSD 7.0 yet.
> >>>
> >>>
> >>> $ uname -a
> >>> FreeBSD svn.csub.edu 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jul 13
> >>> 19:38:42 PDT 2000
> >>> rjackson3 at thor.csub.edu:/usr/obj/usr/src/sys/THOR  i386
> >>>
> >>>
> >>> $ pkg_info | egrep 'tcl|rancid'
> >>> expect-nox11-5.44.1.7 A sophisticated scripter based on tcl/tk
> >>> rancid-local-2.3.2a7_1 Really Awesome New Cisco confIg Differ
> >>> tcl-8.4.19,1        Tool Command Language
> >>>
> >>>
> >>> I'm running a locally patched version of the rancid port to silence
> cisco
> >>> diff noise (STP
> >>> costs et al).
> >>>
> >>> $ diff -ur net-mgmt/rancid-devel local/rancid
> >>> Only in local/rancid: .svn
> >>> diff -ur net-mgmt/rancid-devel/Makefile local/rancid/Makefile
> >>> --- net-mgmt/rancid-devel/Makefile      Mon Dec 31 06:28:08 2007
> >>> +++ local/rancid/Makefile       Mon Feb 25 15:56:16 2008
> >>> @@ -10,7 +10,6 @@
> >>>  PORTREVISION=  1
> >>>  CATEGORIES=    net-mgmt
> >>>  MASTER_SITES=  ftp://ftp.shrubbery.net/pub/rancid/
> >>> -PKGNAMESUFFIX= -devel
> >>>
> >>>  MAINTAINER=    janos.mohacsi at bsd.hu
> >>>  COMMENT=       Really Awesome New Cisco confIg Differ
> >>> Only in local/rancid/files: .svn
> >>> Only in local/rancid/files: patch-bin::cat5rancid.in
> >>> Only in local/rancid/files: patch-bin::clogin.in
> >>> Only in local/rancid/files: patch-bin::rancid.in
> >>> Only in local/rancid: pkg-message
> >>>
> >>>
> >>> --
> >>> Russell A. Jackson <raj at csub.edu>
> >>> Network Analyst
> >>> California State University, Bakersfield
> >>>
> >>> The greatest productive force is human selfishness.
> >>>                -- Robert Heinlein
> >>>
> >>>
> >>> _______________________________________________
> >>> Rancid-discuss mailing list
> >>> Rancid-discuss at shrubbery.net
> >>> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> >>
> >
> >
> > _______________________________________________
> > Rancid-discuss mailing list
> > Rancid-discuss at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
> >
>
>
>
> --
> ピーター
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20081203/e2160357/attachment.html 


More information about the Rancid-discuss mailing list