[wpkg-users] another failing attempt, this time using winexec

Jürgen Echter j.echter at echter-kuechen-elektro.de
Tue Jul 17 12:15:08 CEST 2012


Hi,

this time i tried this guide:

http://wpkg.org/WPKG_with_winexe

wpkg version: WPKG 1.3

but unfortunately i still have not one package succesfully installed.

wpkg-client isn't installed at all

in the logs i get the following:

wpkg.log:

Di 17. Jul 11:57:24 CEST 2012 buero2 (IP: 192.168.0.83, PID: 18525) 
cscript was already running
Di 17. Jul 11:57:24 CEST 2012 buero2 (IP: 192.168.0.83, PID: 18525) 
processing done
Tue Jul 17 11:57:37 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20097) 
starting processing (share hit: IPC_)
Tue Jul 17 11:57:37 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20097) not 
updated during the last 24 h - starting WPKG
Tue Jul 17 11:57:47 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20097) 
process finished - winexe ended
Tue Jul 17 11:57:48 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20121) 
starting processing (share hit: IPC_)
Tue Jul 17 11:57:48 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20121) 
winexe already running
Tue Jul 17 11:57:48 CEST 2012 buero2 (IP: 192.168.0.83, PID: 20121) 
processing done

buero2.log:

ERROR: Failed to open connection - NT_STATUS_IO_TIMEOUT

i added to my smb.conf on pdc:

  root preexec = /opt/wpkg-preexec.sh %I %m %S &

i edited wpkg-preexec.sh accordingly:

WINUSER='WORKGROUP\installer'
PASSWORD='s3cr3t'
LOGPATH=/var/log/wpkg
WINEXE=/opt/winexe

and also adjusted the following:

net use \\\\branchdc\\unattended  /user:$WINUSER $PASSWORD --> net use 
\\\\pdc\\wpkg /user:$WINUSER $PASSWORD

cscript \\\\branchdc\\unattended\\software\\wpkg\\wpkg.js /synchronize 
/nonotify /debug --> cscript \\\\pdc\\wpkg\\wpkg.js /synchronize 
/nonotify /debug

same for net use /delete \\\\branchdc\\unattended --> net use /delete 
\\\\pdc\\wpkg

all files are on the right place:

ls -al /opt
-rwxr-xr-x  1 root root 9922182 2012-07-17 11:02 winexe
-rwxr-xr-x  1 root   root      3410 2012-07-17 12:10 wpkg-preexec.sh

if i type net share on windows commandline i get:

ADMIN$
C$
IPC$

so everything is looking fine.

what could be wrong?

please help. thanks a lot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120717/885ecaca/attachment-0001.html>


More information about the wpkg-users mailing list