楼主: mjyu51

[大虾课堂] 安装mediatomb 提供DLNA媒体服务器

[复制链接]
发表于 2012-6-26 08:55:19 | 显示全部楼层
安装成功了,也可以访问 ip:49152了,按照提示设置好mediatomb,并却重启nas,新的问题也来了,我在win7中找不到mediatomb,其他支持DLNA的设备也找不到mediatomb。高手能帮帮忙解释一下吗。谢谢
回复 支持 反对

使用道具 举报

发表于 2012-7-9 13:22:02 | 显示全部楼层
不成功, 出现以下:
(本人户口未有权限登出网址, 所以作了少许修改, 方便显示.)
怎麼办?

admin@U-NAS:~$ sudo apt-get install mediatomb
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libexif12 libffmpegthumbnailer4 libmozjs2d libnspr4-0d mediatomb-common
  mediatomb-daemon
The following NEW packages will be installed:
  libexif12 libffmpegthumbnailer4 libmozjs2d libnspr4-0d mediatomb
  mediatomb-common mediatomb-daemon
0 upgraded, 7 newly installed, 0 to remove and 62 not upgraded.
Need to get 435 kB/2204 kB of archives.
After this operation, 5972 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err hxxp__ftp.jp.debian.org/debian/ squeeze/main libmozjs2d amd64 1.9.1.16-10
  404  Not Found [IP: 150.65.7.130 80]
Failed to fetch hxxp__ftp.jp.debian.org/debian/pool/main/i/iceweasel/libmozjs2d_1.9.1.16-10_amd64.deb  404  Not Found [IP: 150.65.7.130 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
回复 支持 反对

使用道具 举报

发表于 2012-7-9 17:53:16 | 显示全部楼层
用 root 登入, 並加進了 Debian 源.
h tt p://www.u-share.cn/forum.php?mod=viewthread&tid=212&page=1&extra=#pid12280

error 不同了.

root@U-NAS:~# sudo apt-get install mediatomb
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  libexif12 libffmpegthumbnailer4 libmozjs2d libnspr4-0d mediatomb-common
  mediatomb-daemon
The following NEW packages will be installed:
  libexif12 libffmpegthumbnailer4 libmozjs2d libnspr4-0d mediatomb
  mediatomb-common mediatomb-daemon
0 upgraded, 7 newly installed, 0 to remove and 120 not upgraded.
Need to get 435 kB/2204 kB of archives.
After this operation, 5972 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 h tt p://ftp.jp.debian.org/debian/ squeeze/main libmozjs2d amd64 1.9.1.16-14 [435 kB]
Fetched 435 kB in 2s (166 kB/s)     
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "zh_CN:zh",
        LC_ALL = (unset),
        LC_CTYPE = "UTF-8",
        LANG = "zh_CN.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: ?????????
Selecting previously deselected package libexif12.
(Reading database ... 50447 files and directories currently installed.)
Unpacking libexif12 (from .../libexif12_0.6.19-1_amd64.deb) ...
Selecting previously deselected package libffmpegthumbnailer4.
Unpacking libffmpegthumbnailer4 (from .../libffmpegthumbnailer4_2.0.2-1+b1_amd64.deb) ...
Selecting previously deselected package libnspr4-0d.
Unpacking libnspr4-0d (from .../libnspr4-0d_4.8.6-1_amd64.deb) ...
Selecting previously deselected package libmozjs2d.
Unpacking libmozjs2d (from .../libmozjs2d_1.9.1.16-14_amd64.deb) ...
Selecting previously deselected package mediatomb-common.
Unpacking mediatomb-common (from .../mediatomb-common_0.12.0~svn2018-6.1_amd64.deb) ...
Selecting previously deselected package mediatomb-daemon.
Unpacking mediatomb-daemon (from .../mediatomb-daemon_0.12.0~svn2018-6.1_all.deb) ...
Selecting previously deselected package mediatomb.
Unpacking mediatomb (from .../mediatomb_0.12.0~svn2018-6.1_all.deb) ...
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: ?????????
Setting up libexif12 (0.6.19-1) ...
Setting up libffmpegthumbnailer4 (2.0.2-1+b1) ...
Setting up libnspr4-0d (4.8.6-1) ...
Setting up libmozjs2d (1.9.1.16-14) ...
Setting up mediatomb-common (0.12.0~svn2018-6.1) ...
Setting up mediatomb-daemon (0.12.0~svn2018-6.1) ...
insserv: warning: script 'K01sysboot.sh' missing LSB tags and overrides
insserv: warning: script 'S03sensors.sh' missing LSB tags and overrides
insserv: warning: script 'S03iptables.sh' missing LSB tags and overrides
insserv: warning: script 'sysboot.sh' missing LSB tags and overrides
insserv: warning: script 'sensors.sh' missing LSB tags and overrides
insserv: script iscsi-target: service iscsitarget already provided!
insserv: warning: script 'autopt.sh' missing LSB tags and overrides
insserv: warning: script 'iptables.sh' missing LSB tags and overrides
insserv: warning: script 'autoud.sh' missing LSB tags and overrides
Starting upnp media server: mediatomb.
Setting up mediatomb (0.12.0~svn2018-6.1) ...
root@U-NAS:~# sudo  nano /etc/mediatomb/config.xml -c
root@U-NAS:~# sudo  /etc/init.d/mediatomb restart
Restarting upnp media server: mediatomb.
回复 支持 反对

使用道具 举报

发表于 2012-7-9 18:03:43 | 显示全部楼层
已經再試裝, 說已完成,

root@U-NAS:~# sudo apt-get install mediatomb
Reading package lists... Done
Building dependency tree      
Reading state information... Done
mediatomb is already the newest version.

但我無法訪問 h tt p://u-nas:49152 或 h tt p://u-nas:49154
netstat 也不見有 49152 或 49154

回复 支持 反对

使用道具 举报

发表于 2012-7-9 19:23:16 | 显示全部楼层
等了約 十多分鐘, 終於可以登入.
但掃瞄多媒體檔出現大量錯誤, 有些也沒掃出來.
我想放棄使用, 請問如何反安裝 ?
謝謝.
回复 支持 反对

使用道具 举报

发表于 2012-7-10 10:01:10 | 显示全部楼层
本帖最后由 timothy 于 2012-7-10 10:01 编辑

顯示中文不亂碼
/etc/mediatomb/config.xml搜索scripting script-charset=”UTF-8″, 修改為
<filesystem-charset>UTF-8</filesystem-charset>
<metadata-charset>UTF-8</metadata-charset>
<playlist-charset>UTF-8</playlist-charset>
<scripting script-charset=”UTF-8″>

重新啟動mediatomb

sudo /etc/init.d/mediatomb restart
回复 支持 反对

使用道具 举报

发表于 2012-7-10 21:57:59 | 显示全部楼层
謝謝回覆.
已放棄使用, 請問如何解除安裝 ?
謝謝 !
回复 支持 反对

使用道具 举报

发表于 2012-7-10 23:17:24 | 显示全部楼层
nasbuddy 发表于 2012-7-10 21:57
謝謝回覆.
已放棄使用, 請問如何解除安裝 ?
謝謝 !

試重裝UNAS系統
早前因試軟件太多系統有問題,重裝后沒有問題!
現用VirtualBox作測試,試好了才安裝!
回复 支持 反对

使用道具 举报

发表于 2012-7-10 23:33:18 | 显示全部楼层
重裝UNAS系統, Raid 5 需要再同步一次嗎?
Thx!
回复 支持 反对

使用道具 举报

发表于 2012-7-10 23:44:56 | 显示全部楼层
nasbuddy 发表于 2012-7-10 23:33
重裝UNAS系統, Raid 5 需要再同步一次嗎?
Thx!

你先備份,裝好了再上載備份
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|万由科技 ( 浙ICP备10004788号-13 )

GMT+8, 2024-4-30 20:50 , Processed in 0.067909 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表