Page 1 of 1

MiniDLNA start error

Posted: 12 Mar 2013 04:33
by tester
Hello,

I have USB embeded OS. I followed wiki http://wiki.nas4free.org/doku.php?id=do ... owto:jails to install the jail. Here I have a question about "jail_proto_ip", is it the ip address of NAS server?
When I specify the same ip address as NAS(192.168.10.10), the system hangs. then I changed to 192.168.10.11, jail started ok. Type "jls" give the following results:
JID IP Address Hostname Path
1 192.168.10.11 upnp /jail/proto

then I follow the post to install minidlna, everything is ok except the last step to start minidlna. I have error:

root@upnp:/usr # /usr/local/etc/rc.d/minidlna start
Starting minidlna.
Shared object "libsqlite3.so.8" not found, required by "minidlna"
/usr/local/etc/rc.d/minidlna: WARNING: failed to start minidlna

I searched libsqlite3.so.8, it exists in /usr/local/lib. So I do not know how to fix the problem.

Thanks for help

Re: MiniDLNA start error

Posted: 12 Mar 2013 07:35
by raulfg3
tester wrote:Here I have a question about "jail_proto_ip"
in your example is 192.168.10.11 (IP jail must be different from NAS IP)

you can have something like this:

NAS_IP= 192.168.10.10
jail_proto_ip=192.168.10.11
jail_minidlna_ip=192.168.10.12
jail_amule_ip=192.168.10.13 and so on.....

Re: MiniDLNA start error

Posted: 12 Mar 2013 16:18
by tester
I stop configure jail just before "Deleting a jail" on Wiki topic. I did not go through "Advanced Topic", but I think it should be ok, so I have only one jail proto and I wish to install minidlna on it. Is this ok or I have to create new jail for minidlna?

And how can I resolve the problem with libsqlite3.so.8?

Also, if I do "pkg-add -r minidlna", it is pointing to "Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest", however, I am using intel core 2 dual with x64 embedded system, can I still use the ftp link above with "amd64"?

Re: MiniDLNA start error

Posted: 12 Mar 2013 18:35
by raulfg3
tester wrote:stop configure jail just before "Deleting a jail" on Wiki topic. I did not go through "Advanced Topic", but I think it should be ok, so I have only one jail proto and I wish to install minidlna on it. Is this ok or I have to create new jail for minidlna
is OK.

tester wrote:Also, if I do "pkg-add -r minidlna", it is pointing to "Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... ent/Latest", however, I am using intel core 2 dual with x64 embedded system, can I still use the ftp link above with "amd64"?
Please read HOWTO install minidlna inside a jail:
viewtopic.php?f=79&t=2099

I say that you need to do:

Code: Select all

setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/
prior to do

Code: Select all

pkg_add -r minidlna

if you use the proper HOWTO, minidlna Must work

Re: MiniDLNA start error

Posted: 14 Mar 2013 01:37
by tester
Thanks. It is working now. I think the problem is because I changed the command "setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports ... ent/Latest" to "setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports ... ent/Latest".

Now I have another two questions:
1. How to upgrade to minidlna 1.0.25?
2. I tried to create minidlna log. I edited /use/local/www/diag_log.inc, however, it changed back everytime the system reboots.

Re: MiniDLNA start error

Posted: 14 Mar 2013 07:59
by raulfg3
tester wrote:2. I tried to create minidlna log. I edited /use/local/www/diag_log.inc, however, it changed back everytime the system reboots.
do you have embeded install?

tester wrote:1. How to upgrade to minidlna 1.0.25?
do not exist in BSD, latest is 1.0.24_2

do NOT do pkg_add -r minidlna

do;

pkg_add -R -r ftp://ftp.freebsd.org/pub/FreeBSD/ports ... 24_2,1.tbz

delete actual minidlna jail and create one new and start from scrath, this time you have more experience, so you need less time.

Re: MiniDLNA start error

Posted: 16 Mar 2013 05:20
by tester
yes, I have embedded install. I installed minidlna in jail