<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>RE: Socket problem on Vista</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Dean Harding wrote:<BR>
> Robert Brewer wrote:<BR>
> ><BR>
> > C:\memcached>memcached.exe -d install<BR>
> > socket(): No error<BR>
> > failed to listen<BR>
> > <BR>
> > C:\memcached>memcached.exe -p 9090 -l 127.0.0.1<BR>
> > socket(): No error<BR>
> > failed to listen<BR>
> > <BR>
> > C:\memcached>memcached.exe -d start<BR>
> > socket(): No error<BR>
> > failed to listen<BR>
> > <BR>
> > C:\memcached>memcached.exe -d<BR>
> > option requires an argument -- dIllegal argument "?"<BR>
> ><BR>
> > Any pointers? I'm running Vista Business Edition on a new Sony laptop.<BR>
><BR>
> What happens when you just run it with no command-line arguments?<BR>
<BR>
The same output.<BR>
<BR>
> I'm running Vista Enterprise 64-bit and have no trouble starting<BR>
> memcached.exe<BR>
><BR>
> Also, in order to run it with the -d option, you need an administrator<BR>
> command-line (right-click on "Command Prompt" and select "run as<BR>
> administrator").<BR>
<BR>
That's a good idea, but I get the same output when running as Administrator. :(<BR>
<BR>
> For the error when you specify "-l" I believe there may some strange<BR>
> interaction between memcached and IPv6, but I'm not really familiar<BR>
> enough with the code to know for sure. If you don't specify the<BR>
> interface (i.e. just "-p" no "-l") then it'll listen on all adapters<BR>
> which may be what you want anyway.<BR>
<BR>
Eventually, that's what I'll want. I'd just like it working under<BR>
any configuration at the moment. ;) Your thought about IPv6, however,<BR>
prompted me to try hard-coding the DHCP-leased IP for my wireless<BR>
connection:<BR>
<BR>
C:\memcached>memcached.exe -l 192.168.1.100<BR>
socket(): No error<BR>
failed to listen<BR>
<BR>
...but to no avail.<BR>
<BR>
<BR>
Robert Brewer<BR>
fumanchu@aminus.org</FONT>
</P>
</BODY>
</HTML>