Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl Command Line is not working

by soonix (Canon)
on May 08, 2018 at 16:54 UTC ( [id://1214226]=note: print w/replies, xml ) Need Help??


in reply to Perl Command Line is not working

The script looks like it is for Linux, but you run it on Windows.

The script is intended to run on the same computer as the OTRS daemon. OTRS may be able to run on Windows, but that is not recommended.

Replies are listed 'Best First'.
Re^2: Perl Command Line is not working
by skilled (Initiate) on May 09, 2018 at 07:23 UTC

    actually, i did not know that the script for linux. Thats right, i am trying to run this script on windows machine (on the same machine that hosted otrs system)because OTRS need OTRS Daemon. But is there any solution or tool may be help to let this code to run on windows server 2012 r2? Thanks

      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?

        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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1214226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-23 19:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found