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:269endrite user:/nonexistent:/usr/sbin/nologin
to
dendrite:*:269:269endrite 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?
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:269endrite user:/nonexistent:/usr/sbin/nologin
to
dendrite:*:269:269endrite 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?