Article 6MK43 permission errors starting momgodb

permission errors starting momgodb

by
camorri
from LinuxQuestions.org on (#6MK43)
I installed Alienbobs momgodb following these instructions:

https://alien.slackbook.org/blog/how...-on-slackware/

All went well until I tried to start mongodb. Here are the errors reported.

Code:/etc/rc.d/rc.mongodb start
/etc/bash_completion.d/libreoffice.sh: line 5: /dev/null: Permission denied
/etc/bash_completion.d/libreoffice.sh: line 12: /dev/null: Permission denied
/etc/bash_completion.d/libreoffice.sh: line 17: /dev/null: Permission denied
/etc/profile.d/libglib2.sh: line 18: /dev/null: Permission denied
{"t":{"$date":"2024-05-05T17:28:53.301Z"},"s":"E", "c":"-", "id":23825, "ctx":"main","msg":"SecureRandom: open `{kFn}`: {strerror_errSave}","attr":{"kFn":"/dev/urandom","strerror_errSave":"Permission denied"}}
{"t":{"$date":"2024-05-05T17:28:53.301Z"},"s":"F", "c":"-", "id":23089, "ctx":"main","msg":"Fatal assertion","attr":{"msgid":28839,"file":"src/mongo/platform/random.cpp","line":174}}
{"t":{"$date":"2024-05-05T17:28:53.301Z"},"s":"F", "c":"-", "id":23090, "ctx":"main","msg":"\n\n***aborting after fassert() failure\n\n"}
MongoDB server failed to start, exiting now...Each error for libreoffice.sh script fails on a line pointing at /dev/null.

I'm not well versed in this area. I suspect this is a clean up script. I am not sure how to proceed here, I don't want to start changing ownership and causing security holes.

Here is /dev/null.

Code:ls -l /dev/null
crw-rw---- 1 root plugdev 1, 3 May 5 11:37 /dev/nulland here is libreoffice.sh;

Code:ls -al /etc/bash_completion.d/libreoffice.sh
-rwxr-xr-x 1 root root 5290 Apr 1 16:26 /etc/bash_completion.d/libreoffice.shYour help is always appreciated.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments