r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Graham
19-Sep-2009
[5790x2]
locks up as soon as smtp loaded
also OpenSCManager failed - access denieds
Dockimbel
19-Sep-2009
[5792]
OpenSCManager => I'm aware of that one, same on Vista.
Graham
19-Sep-2009
[5793x2]
that goes away if run as administrator
but stjll locks up after loading async smtp
Dockimbel
19-Sep-2009
[5795x3]
Ok, I think the issue comes from UniServe/protocols/dig.r
from the 'win-get-dns function
it tries to obtain the DNS servers using 2 strategies depending on 
the REBOL kernel used. If GET-REG is available, it tries to get the 
info from the registry, else, it calls "ipconfig" and parses output.
Graham
19-Sep-2009
[5798x3]
local-ip .. can't you use get-modes?
>> rebol/version
== 2.7.6.3.1
>> value? 'get-reg
== false
Dockimbel
19-Sep-2009
[5801x2]
get-modes will give you all the working interfaces info, but no way 
to know which one is used to route your traffic to Internet.
Can you copy/paste the 'win-get-dns function to a fresh console to 
see what happens?
Graham
19-Sep-2009
[5803]
locks up
Dockimbel
19-Sep-2009
[5804x2]
can you copy/paste juste the 4 lines starting from : out: ""?
I think that's the CALL which is blocking, just want to make sure.
Graham
19-Sep-2009
[5806]
locks up on the 'call
Dockimbel
19-Sep-2009
[5807]
Is IPCONFIG available on Win7?
Graham
19-Sep-2009
[5808x2]
which versions have get-reg?
sure ..ipconfig is present
Dockimbel
19-Sep-2009
[5810]
Encap only in 2.7.6
Graham
19-Sep-2009
[5811]
ok encap and the issue goes away then ?  :)
Dockimbel
19-Sep-2009
[5812]
In theory...yes :-)
Graham
19-Sep-2009
[5813]
great
Dockimbel
19-Sep-2009
[5814]
It's a pity that the registry natives are not available in non-encap 
REBOL kernels (not even in /Command)...
Graham
19-Sep-2009
[5815]
how about 

call/wait "ipconfig /all > out.txt"
Dockimbel
19-Sep-2009
[5816]
doesn't lock up?
Graham
19-Sep-2009
[5817x5]
nope
return code of 1 though ...
oh .. remove the space
call/wait "ipconfig/all > out.txt"
that works
Dockimbel
19-Sep-2009
[5822x2]
can you try : call/output/wait "ipconfig/all" out
(removing the space)
Graham
19-Sep-2009
[5824x3]
locks
/output doesn't work
yeahj... tried

call/wait/output "dir" out

and that locks up too
Dockimbel
19-Sep-2009
[5827]
We should RAMBO that one.
Graham
19-Sep-2009
[5828]
what about vista and xp ??
Dockimbel
19-Sep-2009
[5829]
Works ok
Graham
19-Sep-2009
[5830x2]
sigh...
could always just use opendns
Dockimbel
19-Sep-2009
[5832x2]
In source mode, you can hardcode the dns server : win-get-dns: 1.2.3.4
in encapped mode, it should work ok (retrieving from registry)
Graham
19-Sep-2009
[5834x5]
yeah ..encapped is working
Hmm.. email has still not appeared in my gmail inbox
but instantly when I use my isp smtp server
must be broken ..it should have appeared immediately
using localhost I sent an email to gmail.  I turned on wireshark 
and captured all traffic for a couple of minutes.  no smtp traffic.
Dockimbel
19-Sep-2009
[5839]
%email.rsp script fault, I've left debug code in here...fixing that.