Support This Project

Ticket #132 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

wzdftpd cannot be run as a service on Vista

Reported by: zonp Assigned to: virdiq
Priority: normal Milestone: 0.8.3
Component: server core Version: 0.8.1
Severity: minor Keywords: CONFIRMED
Cc: virdiq

Description

wzdftpd doesn't seem to work at all under vista, whereas a previous svn version built 3 months ago is working.

svn version shows an open port in netstat but it is not accessible even from 127.0.0.1. no specific logs for that problem.

Change History

06/06/07 15:12:57 changed by pollux

  • priority changed from major to normal.
  • severity changed from block to minor.

Vista is not in the supported platforms yet, so priority/severity should not be raised.

(follow-up: ↓ 3 ) 06/06/07 15:17:43 changed by virdiq

  • owner changed from anonymous to virdiq.
  • status changed from new to assigned.
  • version changed from svn to 0.8.1.
  • component changed from global to server core.
  • summary changed from svn version not working on vista to svn version 1726 not working on vista.

Are you building with IPv6 enabled? (it is experimental/broken)

Is there anything in the wzdftpd logfiles which may help?

Experimental = true or false? (leave it as false)

TLS enabled?

I can try it out on a Vista virtual machine soon to confirm.

Thanks for the bug report.

(in reply to: ↑ 2 ) 06/06/07 15:24:20 changed by zonp

nothing in the logs the version used is virdiq's precompiled binary version for win32. using IPV4 and experimental = false (as it is out of the box) TLS is enabled.

the problem occurs with nothing changed in the configuration file.

(follow-up: ↓ 5 ) 06/08/07 13:14:38 changed by virdiq

  • cc set to virdiq.
  • keywords set to CONFIRMED.
  • summary changed from svn version 1726 not working on vista to wzdftpd cannot be run as a service on Vista.

wzdftpd loads OK when executed as a normal process, however it doesn't respond to any service control requests.

-si, -ss, -sd and -st arguments don't have any effect on Vista.

Manually creating the service with:

sc create wzdftpd binPath= "c:\program files\wzdftpd\wzdftpd.exe" start= auto DisplayName= wzdftpd

And then attempting to start it with:

net start wzdftpd

Results in this error:

The service is not responding to the control function. More help is available by typing NET HELPMSG 2186.

I can start wzdftpd.exe as a normal process and connect/login locally from 127.0.0.1, so that all seems well as the moment.

zonp, did you install the latest OpenSSL 0.9.8e binaries for Windows Vista?

(in reply to: ↑ 4 ) 06/08/07 13:36:02 changed by zonp

the install is just the windows package nearly out of of the box. so using the included libs. i'll test later on with other ssl libraries version (http://www.slproweb.com/download/Win32OpenSSL_Light-0_9_8e.exe).

06/13/07 05:39:45 changed by virdiq

This may be due to compiling wzdftpd with VS2005 without the SP1 update.

I'll try making a new snapshot build with VS2005SP1 to see if that solves the problem.

06/14/07 16:52:36 changed by virdiq

Building with SP1 introduces some "manifest" related runtime errors. Vista thinks that it hasn't got the correct SP1 runtimes installed (instead it tries to use an older version for some unknown reason).

More general information on this mess @ http://www.mazecomputer.com/sxs.htm

Maybe we have to bundle a stack of .dll's into wzdftpd installer so that Vista will shutup? This will add around 3MB to the installer size... at the moment it is 600kb :(

I'll try and look into it more, but I'm not enjoying it :)

07/09/07 08:29:16 changed by pollux

  • milestone changed from 0.8.2 to 0.8.3.

07/15/07 18:07:13 changed by virdiq

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in the final 0.8.2 build of wzdftpd.