Dendrite service won't start

Hello everyone,

For several days I have been struggling with the problem I can't deal with.

I installed the package: dendrite-0.13.6

After setting the dendrite.yaml file, I wanted to start the service, I followed the following commands:
sysrc dendrite_enable = "yes"
service dendrite start

However, the service did not get up. After a few days analysis where the problem is, it seems to me that it is the fault of a dendrite automatically created user.

I edited file /usr/local/etc/rc.d/dendrite where I delete user from command. So command looks like:
/usr/sbin/daemon -p /var/run/dendrite.pid -f /usr/local/dendrite/bin/dendrite -config /usr/local/etc/dendrite/dendrite.yaml

I tried to login on this account, but I recieve message:
"This account is currently not available."

So I change path user in /etc/passwd from:
dendrite:*:269:269:Dendrite user:/nonexistent:/usr/sbin/nologin

to

dendrite:*:269:269:Dendrite user:/usr/local/dendrite:/bin/sh

And I changed owner in directory /usr/local/dendrite from root to dendrite.
But it doesn't work with user dendrite. With root user everythink work perfecly.

What I'm doing wrog?
 
What about /etc/group? Did it add a dendrite group? If so, are relevant accounts added to that group? Check what the user and groups the files that came with dendrite are.

It's all permission problems. Also, if it uses devices in /dev/, those permissions have to be granted specific access as well.
 
Back
Top