This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

MiniDLNA start error

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
tester
NewUser
NewUser
Posts: 8
Joined: 14 Feb 2013 18:35
Status: Offline

MiniDLNA start error

Post 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

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: MiniDLNA start error

Post 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.....
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

tester
NewUser
NewUser
Posts: 8
Joined: 14 Feb 2013 18:35
Status: Offline

Re: MiniDLNA start error

Post 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"?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: MiniDLNA start error

Post 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
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

tester
NewUser
NewUser
Posts: 8
Joined: 14 Feb 2013 18:35
Status: Offline

Re: MiniDLNA start error

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

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: MiniDLNA start error

Post 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.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

tester
NewUser
NewUser
Posts: 8
Joined: 14 Feb 2013 18:35
Status: Offline

Re: MiniDLNA start error

Post by tester »

yes, I have embedded install. I installed minidlna in jail

Post Reply

Return to “Jails”