What is a LiveQing RTMP streaming media server?

How to support vod and RTMP/HLS/FLV live? LiveQing!

The getpwnam (” XXXXX “)

LiveQing: [emerg] getPwnam (“nobody”) failed when running LiveQing for Linux. As a result, easyDSS cannot run.

why

We use the function getpwnam to get the account information for the nobody account, and we default to task that nobody belongs to the nobody user group. There are two main cases.

  1. Some Linux distributions do not have the nobody user group by default (for example, Ubuntu 14.04.1 LTS). You need to add the nobody user group and add the nobody user to the nobody user group.

    Command as follows:groupadd nobody usermod -a -G nobody nobody 

    The user command iscat /etc/passwdTo view the user groupcat /etc/group
  2. We Liveqing for Linux compiled with Ubuntu 14.04 LTS and “tried” to use it-staticFixed runtime compatibility issues with all Linux distributions, and as a result, this issue is caused here.

if you link your program statically to GNU libc and use name services (getpwnam() etc.), 1. You End up linked up dynamically against Libc’s NSS (Name Service Switch)

Unix.stackexchange.com/questions/2…

The solution

  • If the getPwnam error occurs when running Liveqing for Linux, check whether the nobody user and the nobody group exist.
  • For smaller or later Linux distributions, contact the LiveQing team for support.