방금 아래층 Ubuntu 서버에 Gerbera를 설치하고 gerbera
. 먼저 구성 파일을 생성한 후 다음 오류가 발생했습니다.
sarah@scilab_comp_0:~$ gerbera
2019-05-19 05:42:33 INFO: Gerbera UPnP Server version 1.1.0 - http://gerbera.io/
2019-05-19 05:42:33 INFO: ===============================================================================
2019-05-19 05:42:33 INFO: Gerbera is free software, covered by the GNU General Public License version 2
2019-05-19 05:42:33 INFO: Copyright 2016-2017 Gerbera Contributors.
2019-05-19 05:42:33 INFO: Gerbera is based on MediaTomb: Copyright 2005-2010 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
2019-05-19 05:42:33 INFO: ===============================================================================
2019-05-19 05:42:33 INFO: Loading configuration from: /home/sarah/.config/gerbera/config.xml
2019-05-19 05:42:33 INFO: Checking configuration...
2019-05-19 05:42:33 INFO: Setting filesystem import charset to UTF-8
2019-05-19 05:42:33 INFO: Setting metadata import charset to UTF-8
2019-05-19 05:42:33 INFO: Setting playlist charset to UTF-8
2019-05-19 05:42:33 WARNING: You enabled the YouTube feature, which allows you
to watch YouTube videos on your UPnP device!
Please check http://www.youtube.com/t/terms
By using this feature you may be violating YouTube
service terms and conditions!
2019-05-19 05:42:33 INFO: Configuration check succeeded.
Exception raised in [src/server.cc:123] upnp_init(): upnp_init: UpnpInit failed
2019-05-19 05:42:33 ERROR: main: upnp error -203
2019-05-19 05:42:33 ERROR: Could not bind to socket.
2019-05-19 05:42:33 INFO: Please check if another instance of Gerbera or
2019-05-19 05:42:33 INFO: another application is running on port 0.
2019-05-19 05:42:33 ERROR: upnp_cleanup: UpnpUnRegisterRootDevice failed
Exception raised in [src/server.cc:248] shutdown(): upnp_cleanup: UpnpUnRegisterRootDevice failed
이유가 확실하지 않습니다.
이상한 점은 gerbera 서비스가 실행되고 있다는 것입니다.
● gerbera.service - Gerbera Media Server
Loaded: loaded (/lib/systemd/system/gerbera.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-05-19 05:40:08 UTC; 6min ago
Docs: man:gerbera(1)
https://gerbera.io/
Main PID: 28343 (gerbera)
Tasks: 12 (limit: 4467)
CGroup: /system.slice/gerbera.service
└─28343 /usr/bin/gerbera -c /etc/gerbera/config.xml
May 19 05:40:08 scilab_comp_0 gerbera[28343]: 2019-05-19 05:40:08 INFO: Setting playlist charset to UTF-8
May 19 05:40:08 scilab_comp_0 gerbera[28343]: 2019-05-19 05:40:08 WARNING: You enabled the YouTube feature, which allows you
May 19 05:40:08 scilab_comp_0 gerbera[28343]: to watch YouTube videos on your UPnP device!
May 19 05:40:08 scilab_comp_0 gerbera[28343]: Please check http://www.youtube.com/t/terms
May 19 05:40:08 scilab_comp_0 gerbera[28343]: By using this feature you may be violating YouTube
May 19 05:40:08 scilab_comp_0 gerbera[28343]: service terms and conditions!
May 19 05:40:08 scilab_comp_0 gerbera[28343]: 2019-05-19 05:40:08 INFO: Configuration check succeeded.
May 19 05:40:08 scilab_comp_0 gerbera[28343]: 2019-05-19 05:40:08 INFO: Initialized port: 49152
May 19 05:40:08 scilab_comp_0 gerbera[28343]: 2019-05-19 05:40:08 INFO: Server bound to: 192.168.1.222
May 19 05:40:08 scilab_comp_0 gerbera[28343]: 2019-05-19 05:40:08 INFO: The Web UI can be reached by following this link: http://192.168.1.222:49152/
거베라를 잘못 사용하고 있는 걸까요? 어떻게 작동하게 하고 미디어 폴더를 볼 수 있나요?
답변1
우분투에 설치한 후 Gerbera는 (사용자를 통해) 데몬 프로세스로 자동으로 시작됩니다 gerbera
. 수동으로 시작하려면 데몬 프로세스를 종료해야 합니다. 예:
ps aux | grep gerbera
sudo kill <pid>