Listing hosts not found

matjday
Posts: 2
Joined: Tue Jun 05, 2001 11:09 am

Listing hosts not found

Post by matjday »

When gw is crawling our site it sometimes encounters invalid host names and reports an error, e.g.:
"000 Can't get address for host `www.fsa.gov.uk%20': Error 0 1055/20938"

Please could you tell me how I query webinator so that it gives me a list of all such errors encountered during a walk (and the pages they are in) so I can correct them.

i.e. A query that will do for "Can't get address for host" what the following does for "Document not found":
gw -s "select refs.Url Page,error.Url Error,error.Reason from error,refs where refs.Ref=error.Url"

TIA
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Listing hosts not found

Post by mark »

If the error does not show up in the error table using that query you will have to grep it out of the log file or gw output.