spongessuck
spongessuck

Reputation: 1073

Kurento Media Server 6.4 Terminating With Permissions Error

I have KMS installed on a locked-down server and it seems like there are permissions issues keeping it from running.

Whenever I try to run the service, I get the following error in media-server_error.log:

terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
  what():  boost::filesystem::create_directory: Permission denied: "/var/log/kurento-media-server/logs"

I'm not sure why there's a permissions error, as kurento:root owns /var/log/kurento-media-server, my user is part of the root group, and the directory has 777 permissions.

Even if I create the directory manually with open permissions I still get the same error.

Upvotes: 1

Views: 535

Answers (1)

santoscadenas
santoscadenas

Reputation: 1492

The user that executes kurento-media-server has been changed recently to kurento. Try giving permission to that user on /var/log/kurento-media-server/ and /var/log/kurento-media-server/logs. To do so, just execute:

sudo chown -R kurento /var/log/kurento-media-server/

Edit:

You should also check that /var/log directory has proper permissions to let user kurento access /var/log/kurento-media-server/.

Upvotes: 1

Related Questions