Hmmm ... I don't have any experience with Windows' Linux Subsystem, and that exception code (Ausnahmecode) c0000005 is a more or less general "Access denied".
I suppose OTRS is running from that subsystem. Do you run the script from a shell in that same subsystem, or from a CMD.EXE prompt? And is the user running the script the same user that OTRS service or daemon is running? | [reply] |
i run this script from cmd.exe . and from windows powershell but the same error.
Actually i had always one problem that it asked me, you could not run this script as root you should run it as otrs user. i created user called otrs on windows then i tried to run the script but still always give me this error. So i delete the code (loop if) that it is responsible about checking if the user is root or otrs user. because i did not understand where i should create this user. The user in database is otrs.
I don know if you have idea also about this problem.
Thanks in advance
| [reply] |
-
the "OTRS user" would be the userid, under which the OTRS daemon (linux terminology) or service (windows terminology) is running. You have to find out which one that is. Might be the "local system", or a special user.
The script wants to run under that same user. If it's "system", it might be easier to have the daemon changed to a special user instead (e.g. the otrs user you created)
-
There probably is a difference between things running from cmd.exe versus running from the linux subsystem. If the OTRS daemon is started from the WSL (Windows Subsystem for Linux), then you should do the same with the script.
-
Did the perl.exe come with OTRS, or did you install it yourself? Which flavour (Active, Strawberry, Cygwin, ...) and version is it? And most importantly: is it the same perl(.exe) that OTRS uses itself?
| [reply] [d/l] |