Guilherme,

On Mon, Feb 16, 2009 at 10:21 AM, Guilherme Polo <[email protected]> wrote:
> On Mon, Feb 16, 2009 at 9:11 AM, Rodolfo S. Carvalho
> <[email protected]> wrote:
>>
>> I've found already what is going wrong. Windows services doesn't load
>> the PATH environment variable, and then UmitWeb cannot find where nmap
>> is just executing "nmap".
>> I'm writing a modification in the windows installer to include write
>> the nmap_command_path setting into umitweb.conf file, so thus we won't
>> need to find nmap in path in order to execute UmitWeb as a windows
>> service.
>>
>
> Are you sure about that ? I'm changing the scheduler to run as a
> Windows service and I just did a test to check the PATH before I start
> the infinite loop and this is what I got:
>
> C:\GTK\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
> Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft
> SQL Server\100\DTS\Binn\;C:\Program
> Files\TortoiseSVN\bin;C:\GTK\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
> Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft
> SQL Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin

The case is that Windows services does not execute programs based in
PATH. So, if you need to execute a command-line program (such as
nmap), you need to put the full path of nmap.exe in order to execute
it. That's what I've found.

>
> (not sure why there are several duplicates)
>
> --
> -- Guilherme H. Polo Goncalves
>



-- 
    Rodolfo Carvalho
     Web Developer
[email protected]

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel

Reply via email to