Beta4 Minidlna Not Starting

Status
Not open for further replies.

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
Hey guys,

Please excuse my noobness, I've recently installed Beta4 and Minidlna and Transmission.

Transmission works fine, but Minidlna which I click to start in GUI just loads and then stops, without any error message, and it never starts.

I've configured it, don't know why this isn't working or where to look? Anyone offer any advice?
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
Here's a example of whats in the jail log...

Jun 17 11:42:43 jail syslogd: exiting on signal 15
Jun 17 11:45:37 jail syslogd: kernel boot file is /boot/kernel/kernel
Jun 17 11:45:39 jail transmission-daemon[2755]: Couldn't bind port 51413 on 0.0.0.0: Can't assign requested address (net.c:363)
Jun 17 11:45:39 jail transmission-daemon[2755]: Couldn't bind port 51413 on ::: Can't assign requested address (net.c:363)
Jun 17 11:45:39 jail transmission-daemon[2755]: UDP Couldn't bind IPv4 socket (tr-udp.c:260)
Jun 17 11:46:42 jail sudo: www : /usr/pbi/minidlna-amd64/etc/sudoers is mode 0755, should be 0440 ; TTY=unknown ; PWD=/usr/pbi/minidlna-amd64/plugins/minidlna/public ;
Jun 17 11:46:51 jail sudo: www : /usr/pbi/minidlna-amd64/etc/sudoers is mode 0755, should be 0440 ; TTY=unknown ; PWD=/usr/pbi/minidlna-amd64/plugins/minidlna/public ;

I tried to start it manually when SSH'ed into it, but it said it didn't recognize the command? I seem to remember having to SSH into the jail itself but whenever I try and SSH into the jail IP it rejects it?
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
Forgive my noobness, how do I do it inside the jail? SSH'ing into the jail IP just rejects me.

Here are the commands from outside the jail...


Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGS 0 1777 bge0
127.0.0.1 link#2 UH 0 5372 lo0
192.168.1.0/24 link#1 U 0 30917 bge0
192.168.1.10 link#1 UHS 0 235 lo0

Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff01:2::/32 fe80::1%lo0 U lo0
ff02::%lo0/32 fe80::1%lo0 U lo0


[root@sol] ~# ifconfig -a
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
ether e8:39:35:2c:a5:8a
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 42:f8:a1:5a:a0:34
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:a1:4c:00:04:0a
[root@sol] ~#
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
Here we go..

Forgive my noobness but how do I do this from the jail?

[root@sol] ~# ifconfig -a
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
ether e8:39:35:2c:a5:8a
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 42:f8:a1:5a:a0:34
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:a1:4c:00:04:0a
[root@sol] ~#

[root@sol] ~# netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGS 0 1777 bge0
127.0.0.1 link#2 UH 0 5372 lo0
192.168.1.0/24 link#1 U 0 30917 bge0
192.168.1.10 link#1 UHS 0 235 lo0

Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff01:2::/32 fe80::1%lo0 U lo0
ff02::%lo0/32 fe80::1%lo0 U lo0
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
[root@sol] ~# netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Netif Expire
default 192.168.1.1 UGS 0 1777 bge0
127.0.0.1 link#2 UH 0 5372 lo0
192.168.1.0/24 link#1 U 0 30917 bge0
192.168.1.10 link#1 UHS 0 235 lo0

Internet6:
Destination Gateway Flags Netif Expire
::1 ::1 UH lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff01:2::/32 fe80::1%lo0 U lo0
ff02::%lo0/32 fe80::1%lo0 U lo0
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
I'm getting there! Won't let me post it all in one without mod approval... and 120 seconds before repost!

Forgive my noobness, but how do i run it within the jail? I can't seem to SSH into the IP.

[root@sol] ~# ifconfig -a
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
ether e8:39:35:2c:a5:8a
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 42:f8:a1:5a:a0:34
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:a1:4c:00:04:0a
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
[root@sol] ~# ifconfig -a
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
ether e8:39:35:2c:a5:8a
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 42:f8:a1:5a:a0:34
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:a1:4c:00:04:0a
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
Sorry, whenever I post the ipconfig it says I need moderator approval... Tried reducing the size of the text, still doesn't like it.

Saying that, how do I get into the jail? SSH into the jail IP rejects me.

[root@sol] ~# ifconfig -a
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
ether e8:39:35:2c:a5:8a
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>

bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 42:f8:a1:5a:a0:34
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 4 priority 128 path cost 2000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:a1:4c:00:04:0a

Hahaha! beat the system!
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
[root@sol] ~# ifconfig -a
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
ether e8:39:35:2c:a5:8a
inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
media: Ethernet autoselect (1000baseT <full-duplex,flowcontrol,rxpause,txpause>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
Uh, I'm an idiot. Forgive my Windowsness.

Below...


jail# ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 02:a1:4c:00:05:0b
inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::a1:4cff:fe00:50b%epair0b prefixlen 64 scopeid 0x2
nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Does running:

# chmod 440 /usr/pbi/minidlna-amd64/etc/sudoers

isnide the jail and then starting the service solves the issue?
 

Charleston

Dabbler
Joined
Jun 17, 2012
Messages
12
It does indeed, the service is started now!

You are both a gentleman and a scholar.

Thanks for your help.
 
Status
Not open for further replies.
Top