Shell () MongoDB start function

Run ("/test.js")

in the shell of a mango. I always get an error

Run ("/") test.js shell: the program /test.js sh2516 is running | Failed to start program /test.js errno: 13 Deviation allowed 255

for the test I add 777 permissions to this file I do not have passwords in DB

test.js is empty

What am I doing wrong?

+5
source share
1 answer

try using load () rather than run (). load for javascript and run for system binaries.

+11
source

All Articles