Uploaded image for project: 'RANCID API'
  1. RANCID API
  2. RANCID-12

RWS needs updating for RANCID 3.1: semicolons in router.db

    XMLWordPrintable

    Details

      Description

      From support ticket https://mynms.opennms.com/Ticket/Display.html?id=3526:

      Error: RWS GET failed for URL:
      http://rws.mycompany.com/rws/rancid/groups/routers/router_01 Status: Internal
      Server Error (500) - Source Data Error

      I am using rancid 3.1 which I found now uses ";" instead of ":" in the
      router.db file, this is to support IPv6 I believe. I believe that the
      rancid.rws is causing the above error as it is not expecting ";" in the
      router.db file. Loading the above URL in a web browser gives me further
      information:

      ServiceMessage>Invalid or malformed line in group's router.db</ServiceMessage>

      If I change the router.db to use ":" instead of ";" the error goes away. There
      is a regular expression in rancid.rws which sets an error code of -4
      ErrCorrupted

        Attachments

          Activity

            People

            Assignee:
            rssntn67 Antonio Russo
            Reporter:
            jeffg Jeff Gehlbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: