Junos OS

last person joined: 6 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  Today I meet errors when I operate an op-script which could run ok before today.

    Posted 08-18-2009 04:22

    >op show-all-optics   

    xmn:rpc results:76: (20) xmlParseCharRef: invalid xmlChar value 20

    xmn:rpc results:78: (3) xmlParseCharRef: invalid xmlChar value 3

    error: commit script: xml-mode: could not read content

    error: xmlXPathCompiledEval: evaluation failed

    error: runtime error: file /var/db/scripts/op/show-all-optics.slax element variable

    error: Failed to evaluate the expression of variable 'pic-info-out'.

    Interface  Transceiver      Model Number         Output Power[ Should Between ]  Receiver Power[ Should  Between ] Link Status

    so-0/0/0   OC768 upto 2km   [fixed]                1.72 dBm  [   0dBm - 3dBm  ]     -5.51 dBm  [   -6dBm - 3dBm  ]      up

    ......

    What cause invalid xmlChar value 20 and 3?

    Message Edited by pepeng on 08-18-2009 04:24 AM
    Message Edited by pepeng on 08-18-2009 04:25 AM
    Message Edited by pepeng on 08-18-2009 04:26 AM


  • 2.  RE: Today I meet errors when I operate an op-script which could run ok before today.

    Posted 08-18-2009 04:39

    Hi,

     

    could you please attach your script?

     

    Thanks!

    Michael Pergament



  • 3.  RE: Today I meet errors when I operate an op-script which could run ok before today.

    Posted 08-18-2009 04:46

    The script can run ok yesterday on this TX. And same script can run ok on other TXs .Please give me an analysis.



  • 4.  RE: Today I meet errors when I operate an op-script which could run ok before today.
    Best Answer

    Posted 08-18-2009 04:50

    I understand that. Any chance you could attach your scipt to this thread? Without seeing source code it is difficult to analyze this problem.

     

    Thanks!

    Michael Pergament



  • 5.  RE: Today I meet errors when I operate an op-script which could run ok before today.

    Posted 08-18-2009 04:55
    Could you give me your email?  I will send it to you by email.


  • 6.  RE: Today I meet errors when I operate an op-script which could run ok before today.

    Posted 08-18-2009 05:12

    Check you private messages.

     

     



  • 7.  RE: Today I meet errors when I operate an op-script which could run ok before today.

    Posted 08-18-2009 09:22
    My problem has been solved. After I rewrite the script, there's no error now. Thanks a lots.