Hey Folks,

On Mon, Feb 16, 2009 at 10:44 AM, Rodolfo S. Carvalho
<[email protected]> wrote:
> On Mon, Feb 16, 2009 at 10:42 AM, Guilherme Polo <[email protected]> wrote:
>> On Mon, Feb 16, 2009 at 10:36 AM, Guilherme Polo <[email protected]> wrote:
>>> On Mon, Feb 16, 2009 at 10:25 AM, Rodolfo S. Carvalho
>>> <[email protected]> wrote:
>>>> 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.
>>>>
>>>
>>> Uhm, I just added the path to nmap on PATH and it worked (it found the
>>> nmap.exe but didn't run correctly because I'm missing NPPTools.dll).
>>
>> (now it is working, after installing winpcap from winpcap's site). I
>> will be commiting this code later today, it is a bit messed yet. Maybe
>> there is something different on how we setup the windows service.
>>
>
> Ok, let me know when you commit the code, I'm gonna take a look ;)
>
>>> Did you try checking system and application logs ?
>>
>>
>>
>> --
>> -- Guilherme H. Polo Goncalves
>>
>
>
>
> --
>    Rodolfo Carvalho
>     Web Developer
> [email protected]
>

I think UmitWeb is ready to release. I've corrected some issues
provided by feedback here, and now I feel that everything is fine ;)

The files can be acquired in: http://trac.umitproject.org/attachment/ticket/117/

Cheers!
-- 
    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