Menu

#7 Can't start stafproc.exe under NT

open
nobody
None
5
2004-10-20
2004-10-20
No

I have an NT box that cannot start stafproc. The error
message reads 'Error on gethostbyaddr()'.

The cause is that WSANO_DATA is returned by Winsock
after the call to gethostbyaddr. If you ignore this and
continue (which I believe is okay), then stafproc runs
fine.

See the attached patch file.

Thanks for a great testing framework!

Clint

Discussion

  • Clinton Grant

    Clinton Grant - 2004-10-20

    Patch for stafif/win32/STAFSocketFuncs.cpp

     
  • David Michael Bender

    Logged In: YES
    user_id=285133

    Can you provide some more detailed information on which
    version of NT this occurs on? I have a Windows NT SP6a
    machine on which our existing code (without the patch)
    starts correctly.

     
  • Clinton Grant

    Clinton Grant - 2004-11-09

    Logged In: YES
    user_id=623125

    Yep sure:

    It's running NT 4.0 Worksation with service pack 6a. In
    window update, it's got all current patches installed. The
    networking setup is using TCP/IP with DHCP enabled. There's
    no problem resolving addresses on the intranet, or the
    internet so the DNS setup is working okay.

    I've run STAF 2.6.5 on other NT 4.0 boxes and it starts okay
    as well, so I think there's something strange about this
    particular machine (or our network setup for that machine).

     

Log in to post a comment.