Search Ali's Blog

Tuesday, July 08, 2008

netper netserver on Windows tip

Q: I am running netserver on Windows (XP x64) and I am getting this error messaeg:
C:\>m:\mpi_db\svn.phoenix\trunk\scripts\netperfwin\x86_64\netserver.exe
netserver: fopen of debug file as new stdout failed!: The system cannot find the path specified.
What's wrong?
A: netserver need to open the file c:\\temp\\netperf.debug with write permission, so
Run: mkdir %HOMEDRIVER%/temp/
And make sure you can create files with write permission in it

Source: netserver.c
#ifndef DEBUG_LOG_FILE
#ifndef WIN32
#define DEBUG_LOG_FILE "/tmp/netperf.debug"
#else
#define DEBUG_LOG_FILE "c:\\temp\\netperf.debug"
#endif /* WIN32 */
#endif /* DEBUG_LOG_FILE */

No comments: