latest Kurento on VPS Ubuntu 14.04 64 bit won't start

1,014 views
Skip to first unread message

Milan Agatonovic

unread,
Nov 28, 2014, 8:24:10 AM11/28/14
to kur...@googlegroups.com
Hi, 

I bought a VPS with nothing installed.
Followed your installation guide and installed kurento media server 
This is the report of the installed packages.

root@kms:/var/log/kurento-media-server# dpkg -l | grep kms
ii  kms-core                                    5.0.4-trusty                         amd64        Kurento core module
ii  kms-elements                                5.0.4-trusty                         amd64        Kurento elements module
ii  kms-filters                                 5.0.4-trusty                         amd64        Kurento filters module
ii  kms-gstmarshal                              1.0.1-trusty                         amd64        Kurento marshal library
ii  kms-jsonrpc                                 0.1.2-trusty                         amd64        Kurento jsonrpc library
root@kms:/var/log/kurento-media-server# dpkg -l | grep kurento
ii  gstreamer1.0-plugins-bad:amd64              1.4.1-1ubuntu1kurento1               amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-bad-faad:amd64         1.4.1-1ubuntu1kurento1               amd64        GStreamer faad plugin from the "bad" set
ii  gstreamer1.0-plugins-bad-videoparsers:amd64 1.4.1-1ubuntu1kurento1               amd64        GStreamer videoparsers plugin from the "bad" set
ii  gstreamer1.0-plugins-base:amd64             1.4.1-1~kurento1                     amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:amd64             1.4.1-1ubuntu1kurento1               amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64             1.4.1-1~kurento1                     amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-x:amd64                        1.4.1-1~kurento1                     amd64        GStreamer plugins for X11 and Pango
ii  kurento-media-server                        5.0.4-trusty                         amd64        Kurento Media Server
ii  libgstreamer-plugins-bad1.0-0:amd64         1.4.1-1ubuntu1kurento1               amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:amd64        1.4.1-1~kurento1                     amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64        1.4.1-1ubuntu1kurento1               amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer1.0-0:amd64                     1.4.1-1~kurento1                     amd64        Core GStreamer libraries and elements


However, when I start the server I can see the following log:

libdc1394 error: Failed to initialize libdc1394
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
[2014-11-28 12:39:15.167658] [0xdc07f880] [info]    KurentoModuleManager ModuleManager.cpp:119 loadModules() Looking for modules in /usr/lib/x86_64-linux-gnu/kurento/modules
[2014-11-28 12:39:15.168430] [0xdc07f880] [debug]   KurentoModuleManager ModuleManager.cpp:78 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmsfiltersmodule.so
[2014-11-28 12:39:15.168450] [0xdc07f880] [info]    KurentoModuleManager ModuleManager.cpp:94 loadModule() Loaded filters version 5.0.4
[2014-11-28 12:39:15.171677] [0xdc07f880] [debug]   KurentoModuleManager ModuleManager.cpp:78 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmselementsmodule.so
[2014-11-28 12:39:15.171696] [0xdc07f880] [info]    KurentoModuleManager ModuleManager.cpp:94 loadModule() Loaded elements version 5.0.4
[2014-11-28 12:39:15.171913] [0xdc07f880] [debug]   KurentoModuleManager ModuleManager.cpp:78 loadModule() Module loaded from /usr/lib/x86_64-linux-gnu/kurento/modules/libkmscoremodule.so
[2014-11-28 12:39:15.171927] [0xdc07f880] [info]    KurentoModuleManager ModuleManager.cpp:94 loadModule() Loaded core version 5.0.4
[2014-11-28 12:39:15.172039] [0xdc07f880] [info]    KurentoMediaServer main.cpp:232 main() Kmsc version: 5.0.4
[2014-11-28 12:39:15.172047] [0xdc07f880] [info]    KurentoMediaServer main.cpp:64 load_config() Reading configuration from: /etc/kurento/kurento.conf.json

And it gets stuck there forever.

Could you please help?

Thanks,
Milan

Jose Antonio Santos Cadenas

unread,
Nov 28, 2014, 8:43:20 AM11/28/14
to kur...@googlegroups.com
That's  normal, this version had a bug on log writing so logs aren't written automatically. Have you tried to interact with the mediaserver?

--
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.

Subhakanta Das

unread,
Nov 28, 2014, 9:36:54 AM11/28/14
to kur...@googlegroups.com
I am getting the same error and to test the media server installed example application .  I am getting following error statements in the log file :

libdc1394 error: Failed to initialize libdc1394
/usr/bin/kurento-media-server already running.
[2014-11-26 13:15:31.483792] [0x6b5d0880] [info]    KurentoModuleManager ModuleManager.cpp:119 loadModules() Looking for modules in /usr/lib/x86_64-linux-gnu/kurento/modules
[2014-11-26 13:15:31.484109] [0x6b5d0880] [info]    KurentoMediaServer main.cpp:232 main() Kmsc version: 5.0.4
[2014-11-26 13:15:31.484119] [0x6b5d0880] [info]    KurentoMediaServer main.cpp:64 load_config() Reading configuration from: /etc/kurento/kurento.conf.json
[2014-11-26 13:15:31.484633] [0x6b5d0880] [info]    KurentoMediaServer main.cpp:77 load_config() Configuration loaded successfully
[2014-11-26 13:15:31.484838] [0x6b5d0880] [info]    KurentoWebSocketTransport WebSocketTransport.cpp:197 WebSocketTransport() Secure websocket server not enabled
[2014-11-26 13:15:31.485228] [0x6b5d0880] [info]    KurentoMediaServer main.cpp:239 main() Mediaserver started
[2014-11-26 13:24:10.668553] [0x61989700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:458 openHandler() Client connected from localhost:8888
[2014-11-26 13:24:10.672352] [0x62d8b700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:437 processMessage() Message: >{"jsonrpc":"2.0","method":"create","params":{"type":"MediaPipeline","constructorParams":{}},"id":0}<
[2014-11-26 13:24:10.674105] [0x62d8b700] [error]   KurentoModuleManager ModuleManager.cpp:179 getFactory() Factory MediaPipeline not found: map::at
[2014-11-26 13:24:10.674335] [0x62d8b700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:439 processMessage() Response: >{"error":{"code":-32603,"message":"Unexpected error while processing method: Factory not found"},"id":0,"jsonrpc":"2.0"} 

Looking for a fix.

Milan Agatonovic

unread,
Nov 28, 2014, 11:21:15 AM11/28/14
to kur...@googlegroups.com
Nope, I dont see anything listening to 8888 (default ws port)

root@kms:~# lsof -i :8888
root@kms:~# 

Can you publish the version without logging bug?
This is like dancing in the dark, really.

Milan Agatonovic

unread,
Nov 29, 2014, 4:35:52 AM11/29/14
to kur...@googlegroups.com
Hello,
could somebody help please?
1. how can I see what's going on, when media server stops logging during startup?
2. I can see that default 8888 doesn't accept any request through websockets
3. I can see that the process is not live itself: lsof -i and ps auxw do not show the process
4. I can start the process again without "stopping it", as it were never started.

Obviously something is really wrong with this machine and I did everything by following instructions.
What would you suggest?
I am happy to provide the account on the vps.

best,
MIlan

Milan Agatonovic

unread,
Nov 29, 2014, 11:49:49 AM11/29/14
to kur...@googlegroups.com
Update:
Tried with nightly dev packages for Trusty64 bit. No luck Same symptoms.

Tried to build from source. The same.

Jose Antonio Santos Cadenas

unread,
Dec 1, 2014, 3:32:14 AM12/1/14
to kur...@googlegroups.com
Analyzing the log again it seems that you have a problem with your locale.

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid

Googling a little bit I found this:





All of them mention that using 

export LC_ALL=C

could solve the issue.

rtc.b...@gmail.com

unread,
Jan 14, 2015, 9:25:42 PM1/14/15
to kur...@googlegroups.com
i have same problem. https://groups.google.com/forum/#!topic/kurento/5HbPm5EF_5I

how to solve it? please help me.

Nolan Darilek

unread,
Jan 14, 2015, 9:35:08 PM1/14/15
to kur...@googlegroups.com
Do you perhaps need to generate locales?

http://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue

I find that the Ubuntu servers I get from VPS providers sometimes don't
do this correctly so much that it became a part of my default Ansible setup.

rtc.b...@gmail.com

unread,
Jan 14, 2015, 10:01:15 PM1/14/15
to kur...@googlegroups.com
ye success, thx Nolan, thx everyone~


On Friday, November 28, 2014 at 9:24:10 PM UTC+8, Milan Agatonovic wrote:
Reply all
Reply to author
Forward
0 new messages