TTY write error on IOS 15.2(4)M3

I am using tracking and EEM for doing something like link-state tracking on an ISR G2.
But, I got an error only the first time run of the EEM script after rebooting the router.
From the second time EEM script works fine and set the interface shutdown properly.
Error Log:
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: TTY write error
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     while executing
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: "::cisco::eem::tty_write $fd $cmd"
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     (procedure "cli_write" line 8)
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     invoked from within
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: "cli_write $fd "$cmd""
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     (procedure "cli_exec" line 2)
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     invoked from within
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: "cli_exec $cli1(fd) "enable""
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     invoked from within
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: "$slave eval $Contents"
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     (procedure "eval_script" line 7)
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     invoked from within
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: "eval_script slave $scriptname"
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     invoked from within
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: "if {$security_level == 1} {       #untrusted script
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:      interp create -safe slave
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:      interp share {} stdin slave
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:      interp share {} stdout slave
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: ..."
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl:     (file "tmpsys:/lib/tcl/base.tcl" line 50)
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: Tcl policy execute failed:
*Aug 13 04:58:58.083: %HA_EM-6-LOG: track101.tcl: TTY write error
Configs:
track 101 interface GigabitEthernet0/0 line-protocol
event manager directory user policy flash:
event manager policy track101.tcl
Script:
::cisco::eem::event_register_track 101 state down
namespace import ::cisco::eem::*
namespace import ::cisco::lib::*
array set arr_einfo [event_reqinfo]
if [catch {cli_open} result] {
    error $result $errorInfo
} else {
    array set cli1 $result
if [catch {cli_exec $cli1(fd) "enable"} _cli_result] {
    error $_cli_result $errorInfo
if [catch {cli_exec $cli1(fd) "conf t"} _cli_result] {
    error $_cli_result $errorInfo
if [catch {cli_exec $cli1(fd) "interface BRI0"} _cli_result] {
    error $_cli_result $errorInfo
if [catch {cli_exec $cli1(fd) "shut"} _cli_result] {
    error $_cli_result $errorInfo
# Close open cli before exit.
catch {cli_close $cli1(fd) $cli1(tty_id)} result

This is bug CSCuh49281.  It has to do with exec-timeout being configured.  The workaround is to set the exec-timeout to default.  It is not limited to EEM, though.  Telnet sessions are also affected.

Similar Messages

  • Error in ios 8.1

    Today I used my iphone 5s ios 8.1 and accidentally found a way to get around touch id and password. Who can I write an error in Ios 8.1?

    HI All
    Please reply.

  • Help to restore my iphone and it will not write error 1002

    help to restore my iphone 3gs and it will not write error 1002

    Click 1002 >  iOS: Resolving update and restore alert messages

  • Why not work "Appstore" aplication, write error massage "request does not complete"

    Why not work "Appstore" aplication featured meniu on iPod Touch 4G? Write error massage "request does not complete". Others points "sierch", "update"... work. My store country is Lithuania. Last iOS and iTunes versions
    Why not work "Appstore" aplication featured meniu on iPod Touch 4G? Write error massage "request does not complete". Others points ""categories", "top 25", search", "update"... work. My store country is Lithuania.

    Why not work "Appstore" aplication featured meniu on iPod Touch 4G? Write error massage "request does not complete". Others points "sierch", "update"... work. My store country is Lithuania. Last iOS and iTunes versions
    Why not work "Appstore" aplication featured meniu on iPod Touch 4G? Write error massage "request does not complete". Others points ""categories", "top 25", search", "update"... work. My store country is Lithuania.

  • I got an error message while burning a cd in itunes - "The attempt to burn a disc failed.  The burn failed because of a medium write error.  What is that and how can i fix it?t

    I got an error message while burning a CD in iTunes - "the attempt to burn a disc failed.  The burn failed because of a medium write error."  What does this mean and how do I fix it?

    The disk you are using probably has a defect, not uncommon on consumer grade disks. Try another disk or better yet another disk from a different manufacturer or at least a different batch.

  • Tried to update iphone - crash - now it won't sync - disc write error

    I think the title says it all.  Sync error and all info lost.  Now disc write error when trying to recover/restore. 

    Might be a damaged backup file. To find out, locate your backup folder and copy the whole folder to a safe place.
    Windows Vista and Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    After that delete the latest backup in iTunes/Preferences/Devices and try again to restore. You may have to connect in recovery mode to restore iPhone and iPod touch: Unable to restore

  • Does anyone know how to solve: "Firmware update failure. Disk write error"?

    Hi all,
    Here is the list of all what went wrong and where I am now:
    1. My Ipod worked well
    2. I wanted to update it, you know, the normal thing with Itunes
    3. Every time I tried, my computer froze. I was unable to add only one song (both automatically and manually).
    4. I took my external drive (where my music is) at work and tried again: same result.
    5. I decided to run the Updater I have on the CD that came with the Ipod.(2005-02-07; I usually avoid the newer version, having had once a problem when putting a newer version of Updater).
    6. The Updater was unable to operate any action on my Ipode (I don't remember the messages now).
    7. Like I tried what I describe here above like a hundred time. I decided to format the Ipod with Windows (My Computer, right click on the Ipod, format).
    8. It did and now I have only the famous folder with an exclamation mark on my Ipod.
    9. Now when I am running the Updater, it says it cannot Restore the factory settings giving this message "Firmware update failure. Disk write error".
    I would appreciate any help because, during the last 2 hours, I read and tried all I found on the Support Help here on the Apple web side without any result yet.
    Thank a lot for your answer

    Hi Cyrille,
    Have you looked at Knowledge Base Document #301267 on "Disk cannot be read from or written to" when syncing iPod or "Firmware update failure" error when updating or restoring iPod?
    Jon
    Mac Mini 1.42Ghz, iPod (All), Airport (Graphite & Express), G4 1.33Ghz iBook, G4 iMac 1Ghz, G3 500Mhz, iBook iMac 233Mhz, eMate, Power Mac 5400 LC, PowerBook 540c, Macintosh 128K, Apple //e, Apple //, and some more...  Mac OS X (10.4.5) Moto Razr, iLife '06, SmartDisk 160Gb, Apple BT Mouse, Sight..

  • How can I turn off document.write error in PTWC 2.0?

    Hi everyone. I have an application that (unfortunately) avoids processing on the server and instead pushes a lot of JavaScript w/ document.write statements to the portal. Also, the code can't be changed so that it does server-side processing. I understand that document.write calls in JavaScript may not appear on the first load, that said...
    Does anyone out there know how to turn off the document.write error message that appears when a portlet uses PTWC 2.0?
    -Greg

    Apologies, I could have been clearer. Somehow, someone has managed to enable a template for one of the document libraries. When I click 'New' in the document library it opens a template Word document with writing on it already. I want to turn this off so
    that when I click 'New' I am give the default option to open a new Word Excel PowerPoint or OneNote document.
    I checked in advanced settings for the particular library and have tried turning off Allow management of content types but this does not change anything. 
     

  • Hi, I recently upgraded my xcode to 5.1, my project is running well in ios 7.0,6.0, But in ios 7.1 i'm getting error like"iOS Simulator failed to install the application". Can anybody please suggest the solution for it.

    My project is not running in ios 7.1 simulator i'm getting error like "iOS Simulator failed to install the application". Please suggest a solution for it.

    We aren't Apple, just users like you. Have you tried a reset? Hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

  • The Attempt to burn disc failed.  The burn failed because of a medium write error.

    When trying to burn a CD, I'm getting an error that reads:The Attempt to burn disc failed.  The burn failed because of a medium write error.  I experienced this message before and took my Macbook in to the store and the the genius was stumped but when he tried one of his CD's it burned fine to he concluded that the problem was in the CD's NOT the Macbook or program  HOWEVER, months later, I'm having the same issue using the NEW CD's.  Does anyone have any information about this?

    3 methods to fix this:
    The first is to reset pram
    at boot up hold four keys down till you hear 3 chimes:
    command(apple)=option+p+r
    release keys and it will now reboot.
    The second is to reset nvram
    at boot up hold four keys down:
    command(apple)+option+o+f
    a black screen will appear
    now type: reset-nvram
    click enter
    now type: reset-all
    click enter
    it will now reboot
    The third is to open system preferences.
    go to international
    under languages: drag any of the other languages to the top, then drag english back to the top.
    make sure "order for sorted lists" is set to english
    make sure "word break" is set to english(united states, computer)
    then restart.
    I hope this helps you as it certainly did me. :^)

  • I am getting an error every time i try to burn a playlist. The error reads The Attempt to burn disc failed. The burn failed because of a medium write error.

    Can somebody help me. I used to be able to burn with no problem. But now while finishing discs, I get the following message.
    The Attempt to burn disc failed. The burn failed because of a medium write error.

    Try a different brand of discs.  Try restarting your computer.

  • Im trying to burn a cd from itunes, I keep getting a message that says "the attempt to burn a CD failed because of a medium write error" any help would be appreciated

    hello, I'm trying to burn a playlist from itunes to a cd, but I keep getting a message saying "the attempt to burn a CD failed because of a medium write error" can anyone tell me what I'm doing wrong. I'm not so tech savvy so any help would be greatly appreciated. thanks

    I'm not familiar with this error, but check the following:
    -Is your disc a CD or a DVD? You want a CD, not a DVD.
    -Is the CD blank? You'll want a blank one.
    -Maybe the disc is scratched and cannot be used. Try another CD.
    -Maybe your disc burner is broken. If you have another, try it.

  • TS1436 I received this message twice on 2 new & separate attempts to burn a playlist to a NEW cd:  "The attempt to burn a disc failed.  The burn failed because of a medium write error."  What is a "medium write error" and how can I deal with this?

    I received this message twice on 2 new & separate attempts to burn a playlist to a NEW cd:  "The attempt to burn a disc failed.  The burn failed because of a medium write error."  What is a "medium write error" and how can I deal with this?

    Hello Pat,
    The following article provides troublehsooting steps and information that can help get iTunes burning discs again.
    Can't burn a CD in iTunes for Windows
    http://support.apple.com/kb/TS1436
    Cheers,
    Allen

  • HT1751 On an old Mac I got this message while trying to burn a CD for the car: "The attempt to burn a disc failed.  The burn failed because of a medium write error."  What does this mean?  And how do I work around it?

    On an older Mac I got this message while trying to burn a CD for the car: "The attempt to burn a disc failed.  The burn failed because of a medium write error."  What does this mean?  And how do I work around it?

    I had been getting this all morning and checked other messages from the community. THe one which worked was trying a different brand of disc.
    I had been using Verbatim which had copied the music fine off the Real Player on my PC at school, but wouldn't work with I Tunes. Tried a Staples and an Office Depot CD-R , both of which did the job.

  • I got a message while burning a CD.  "The Attempt to Burn the disc failed because of medium write error"..what does this mean?

    i got this message while buring a CD on itunes.   "The Attemp to burn the disc failed because of medium write error"..what do you make of this?
    i think the CD was bad.   i took the machine to the Apple store and they said the Optical Drive was OK.   so it must be the CD's i'm using... i use Verbatim type.   let me know.

    'Mediium write error' means it failed to write to the disc - some makes work better than others and you may just have hit a single bad disc or maybe your burner doesn't like the make of disc. I've always had good results with TDK.

Maybe you are looking for

  • What's the best way to do authentication in ssh?

    struts2 spring 3hibernate. Now I wanna do login authentication over some protected resource, page or action. That being said, the page will redirect to login page if you access some protected resource without a login .There are 3 ways I can think of:

  • Automatic GR by Third Party delivery throug shipping notification?

    Hi, What is the best scenario if the third party vendor sends goods directly to the end customer? The vendor can send me a shipping notification. Can I post automatically (only for third party and direct delivery to end customer) a GR when I receive

  • Connecting from a hotel using ARD, no luck

    I am attempting to get ARD to work when I am on the road and in hotels. No such luck. FYI following ports are open on the computer (MM) I try to reach and the router it sits behind. Computer (MM) to be controlled: Remote login SSH port 22 Apple remot

  • Error with currency

    HI   I am pulling the data ledger cube 0figl_c10 , when activating the ODS i got error like "No SID found for value 'INR' of characteristic 0CURKEY_TC No SID found for value 'INR' of characteristic 0CURRENCY" . The currency is been maintained in R/3

  • Keep getting Out of Memory error on InDesign CC 2014

    I work with 5 documents on a daily basis that can have over 150 images imported each. When I try to move around the document, it either freezes up and the wheel keeps turning or it comes up with an Out of Memory error message and locks up. It also wi