| David Gravereaux 2006-09-23, 10:01 pm |
| -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jake wrote:
> Hi I have written this simple script to configure SNMP communities and
> access lists on multiple routers (most cisco commands have been edited
> out).
> In the loop I get a Broke Pipe error>>>
> -ER1(config)# write(spawn_id=]: broken pipe
> while executing
> ....
> Any ideas why?
1) Running on XP sp2?
If so, you need to replace your dbghelp.dll found in
%SystemRoot%\system32 as it came from M$ broken in their service pack.
Just grab the latest windbg tool. See
http://msdn.microsoft.com/library/e...lp_versions.asp
on how to get a newer one.
When you copy it over, don't forget to delete the one in
%SystemRoot%\system32\dllcache first so you can actually overwrite the
bad one in %SystemRoot%\system32.
2) Running on an AMD processor?
If so, see http://bugs.activestate.com/show_bug.cgi?id=39631
You might have to edit your boot.ini and change "/noexecute=optin" to
"/noexecute=AlwaysOff"
It effects me on my AMD processor machine running WinXP-sp2. See:
http://support.microsoft.com/kb/875352
WinXP considers "telnet" an OS file and SILENTLY won't let me debug it,
which is how Expect on windows works. E4W runs the spawned process in
the system debugger to catch all calls to the console API to pick off
the needed text (and other stuff).
- --
David Gravereaux <davygrvy@pobox.com>
[species:human; planet:earth,milkyway(western spiral arm),alpha sector]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFFFeHWlZadkQh/RmERAkAnAJ91TkEA4IRk4D0HafUBibcIv/xJagCfWdh7
Kss8+r2UoNXaLz+FQ06+nQw=
=TwPg
-----END PGP SIGNATURE-----
|