[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wpkg-users
Subject:    Re: [wpkg-users] WPKG Service: Unable to pull xml files from
From:       Systemadministration FK14 <admin () fb14 ! uni-dortmund ! de>
Date:       2008-01-21 8:32:40
Message-ID: 479458A8.20303 () fb14 ! uni-dortmund ! de
[Download RAW message or body]

Tomasz Chmielewski schrieb:
> Tomasz Chmielewski schrieb:
>> Systemadministration FK14 schrieb:
>>> Hi,
>>>
>>> I noticed a problem that wpkg.js is unable to download xml files 
>>> directly from wpkg web when it is called from "wpkg client service" 
>>> running with "Local System Account" credentials. See the attached 
>>> log (ip masked out).
>>> This appears on windows xp sp2 machines with all updates applied.
>>>
>>> The same configuration works on fresh installed xp sp3-rc installation.
>>> It also works when i manualy edit the service to run under 
>>> "Administrator" privilleges.
>>>
>>> Any information how to track/solve this issue?
>>
>> Could you check in the webserver logs if the file was actually 
>> requested when the problem happened?
>>
>> If not, can you check if that workstation sends any packets to the 
>> webserver?
>>
>> Does this machine have any firewall enabled (which may block packets 
>> created by certain users, like SYSTEM)?
>
> Some more debugging ideas.
>
> As a pre-command use cmd.exe. Also, enable WPKG Client GUI for 
> debugging (WPKG user interface -> Show) - without it, you won't see 
> any windows.
>
> Reboot, and when cmd.exe window starts, try to connect to that 
> webserver and fetch that file using telnet, i.e. (start telnet, and 
> type "GET /some_file.xml HTTP/1.0"):
>
>
> # telnet 192.168.10.1 80
> Trying 192.168.10.1...
> Connected to router (192.168.10.1).
> Escape character is '^]'.
> GET /some_file.xml HTTP/1.0
>
> HTTP/1.1 200 OK
> Date: Fri, 18 Jan 2008 15:22:47 GMT
> Server: Apache/2.2.3 (Debian)
> (...)
>
Entering "cmd.exe" as pre-command was an excellent hint, thanks for that
in advance.
results: the telnet command works and gets the packages via http.
unfortunately the cscript/wpkg.js combination did not work from the same
shell. (see attached screen capture)
i installed wireshark and even no packages were sent to http server when
executing cscript ....

Christian

-- 
Dipl.-Inform. (FH) Christian Kober
Fakultät 14, DV-Systemtechnik
Raum 2.329
Telefon: (0231) 755-2836
Fax: (0231) 755-5452
Technische Universität Dortmund
Emil-Figge-Straße 50
44227 Dortmund



["wpkg.debug.txt" (text/plain)]

C:\WINDOWS\system32>telnet xxx.xxx.xxx.xxx 80
GET /wpkg/profiles_xml_out.php HTTP/1.0

HTTP/1.1 200 OK
Date: Mon, 21 Jan 2008 07:29:58 GMT
Server: Apache
X-Powered-By: PHP/5.2.4_pre200708051230-pl2-gentoo
Content-Disposition: attachment; filename="profiles.xml"
Content-Length: 364
Connection: close
Content-Type: text/xml

<?xml version="1.0" encoding="utf-8" ?>
                                       <profiles>
                                                 <profile id='Standard'>
                                                                          <packa
ge package-id='firefox' />
                            <package package-id='office2003' />
                                                                 <package packag
e-id='sophos' />
                  <package package-id='thunderbird' />
                                                        <package package-id='wpk
g_client' />
            </profile>

                      <profile id='Kill_Novell'>
                                                  <package package-id='remove_no
vell' />
        </profile>

                  </profiles>


Verbindung zu Host verloren.

C:\WINDOWS\system32>cscript \\xxx.xxx.xxx.xxx\wpkg\wpkg.js /synchronize /debug
Microsoft (R) Windows Script Host, Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. Alle Rechte vorbehalten.

Reboot-Cmd is standard.
Initialized temporary local log file: C:\WINDOWS\TEMP\wpkg-logInit.log
Initializing new log file: C:\WINDOWS\TEMP\wpkg-raum-trial.log
WPKG 1.0-RC7 starting...
Base directory is 'http://xxx.xxx.xxx.xxx/wpkg'.
Log level is 255
Trying to read XML file: http://xxx.xxx.xxx.xxx/wpkg/profiles_xml_out.php
Error parsing xml 'http://xxx.xxx.xxx.xxx/wpkg/profiles_xml_out.php': The system
cannot locate the resource specified.

File      http://xxx.xxx.xxx.xxx/wpkg/profiles_xml_out.php
Line      0
Linepos   0
Filepos   0
srcText

Message:      No profiles found. Aborting
Description:  No profiles found. Aborting
Error number: a
Stack:        undefined
Line:         undefined

Found system locale: 407
Found language definition node for language ID 407
Saving sorted settings to 'null'.
Settings not saved!

C:\WINDOWS\system32>

-------------------------------------------------------------------------
Do you use WPKG? Tell us how! >> http://wpkg.org/Testimonials
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic