Kurento recording not working in local machine

359 views
Skip to first unread message

Sheesh Mohsin

unread,
Nov 18, 2015, 10:23:15 PM11/18/15
to kurento
It was working earlier but recently kurento stopped recording while testing in my local machine, on checking the kurento logs, I am getting error in recordpoint, I have pasted the log below.

2015-11-19 08:50:40,127100 1459 [0x00007f91a4b8f700]   error recorderendpoint          kmsrecorderendpoint.c:1159 bus_sync_signal_handler() <kmsrecorderendpoint0>  Message error message: 0x7f9188069a00, time 99:99:99.999999999, seq-num 280, element 'filesink0', GstMessageError, gerror=(GError)NULL, debug=(string)"gstfilesink.c\(432\):\ gst_file_sink_open_file\ \(\):\ /GstPipeline:muxingpipeline/GstFileSink:filesink0:\012system\ error:\ Permission\ denied";

Please guide me how to fix this.

Jose Antonio Santos Cadenas

unread,
Nov 19, 2015, 4:29:00 AM11/19/15
to kurento
Error seems pretty clear

error: Permission denied.

Looks like you are trying to store the file in a directory where you do not have permissions. Think that user running kurento is nobody.

--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sheesh Mohsin

unread,
Nov 19, 2015, 10:23:23 AM11/19/15
to kurento
Yeah, I got that point, that there is permission error but the directory in which i am trying to write the files has already setted this permission - drwxrwxrwt
and even  after setting that permission recording is not working.

Jose Antonio Santos Cadenas

unread,
Nov 19, 2015, 10:36:28 AM11/19/15
to kur...@googlegroups.com
Could you list the directory and show us the url that you are passing to the recorder?

--

Sheesh Mohsin

unread,
Nov 19, 2015, 10:43:18 AM11/19/15
to kurento
This is the directory i am storing into :-
    drwxrwxrwt  11 root root 16384 Nov 19 21:06 tmp
and this is the file path i am passing to kurento for recording:-
    file:///tmp/sheeshmohsin/Lenovo EasyCamera (04f2:b2e2)/19-11-2015/771819f8-7243-4e34-b39b-dbe5e0c78a82.webm


On Thursday, November 19, 2015 at 8:53:15 AM UTC+5:30, Sheesh Mohsin wrote:

Sheesh Mohsin

unread,
Nov 19, 2015, 10:55:31 AM11/19/15
to kurento
I am able to find that the kurento media server is running by nobody
    nobody    1465  0.0  0.7 2109156 43668 ?       Sl   14:05   0:16 /usr/bin/kurento-media-server

and i tried this for changing the user but not able to change it 
    sudo chown -R myyser:myyser /usr/bin/kurento-media-server

if it works by changing user only, please guide how to change the user


On Thursday, November 19, 2015 at 8:53:15 AM UTC+5:30, Sheesh Mohsin wrote:

Jose Antonio Santos Cadenas

unread,
Nov 19, 2015, 11:12:07 AM11/19/15
to kurento
The problem is that intermediate directories should also be created, in your case: /tmp/sheeshmohsin/Lenovo EasyCamera (04f2:b2e2)/19-11-2015/

--

Sheesh Mohsin

unread,
Nov 19, 2015, 11:12:50 AM11/19/15
to kurento
These directories are already there


On Thursday, November 19, 2015 at 8:53:15 AM UTC+5:30, Sheesh Mohsin wrote:

Jose Antonio Santos Cadenas

unread,
Nov 19, 2015, 11:16:00 AM11/19/15
to kurento
Then probably the spaces in the url or the special characters like colons are the problem. You can report a bug if you think you have found one.


Please read the readme carefully before submitting it.

Thanks.

--
Reply all
Reply to author
Forward
0 new messages