[wpkg-users] [Bug 124] New: Error logging sometimes not clear
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Fri Jun 20 12:19:47 CEST 2008
http://bugzilla.wpkg.org/show_bug.cgi?id=124
Summary: Error logging sometimes not clear
Product: WPKG
Version: 1.0.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: wpkg.js
AssignedTo: mangoo at wpkg.org
ReportedBy: mangoo at wpkg.org
QAContact: wpkg-users at lists.wpkg.org
Lately one of the admins here had a problem: running wpkg.js on one of the
machines didn't work. Who was to blame? Me ;)
C:\WINDOWS\system32>cscript \\branchdc\unattended\packages\wpkg\wpkg.js
/synchronize /debug
cscript \\branchdc\unattended\packages\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.
\\branchdc\unattended\packages\wpkg\wpkg.js(4248, 4) Laufzeitfehler in
Microsoft JScript: Erlaubnis verweigert.
Message: Erlaubnis verweigert.
Description: Erlaubnis verweigert.
Error number: 800a0046
Stack: undefined
Line: undefined
Lines ~4248 of wpkg.js are about logging, so let's try:
C:\WINDOWS\system32>del %TEMP%\wpkg-logInit.log
del %TEMP%\wpkg-logInit.log
Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen
Prozess verwendet wird.
C:\WINDOWS\system32>tasklist /V
(...)
wscript.exe 1960 Console 0 7.584 K
Wird ausgefhrt NT-AUTORITT\SYSTEM 0:00:00
Windows Script Host
Apparently, wpkg.js was started without a cscript interpreter, and default
wscript was used.
As this was a remote connection to a CLI, wscript windows were not shown, and
the problem was a bit hard to debug.
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the wpkg-users
mailing list