No database in minidlna after update FW / spd8020 to 15.0

Re: No database in minidlna after update FW / spd8020 to 15.

Postby tom2005 » Fri Oct 25, 2013 2:14 pm

Hi Jocko,

here the next data:

login as: root
root@192.168.1.3's password:
root@SPD8020-7EBBB4:/ # ps -ef|grep minidlna|grep -v grep
root 887 1 0 07:55 ? 00:00:10 /usr/sbin/minidlna -f /share/1000/minidlna/minidlna.conf
root@SPD8020-7EBBB4:/ # netstat -apW|grep minidlna
tcp 0 0 0.0.0.0:8200 0.0.0.0:* LISTEN 887/minidlna
tcp 0 0 SPD8020-7EBBB4.local:8200 TABLETT.local:61718 ESTABLISHED 887/minidlna
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 SPD8020-7EBBB4.local:35112 0.0.0.0:* 887/minidlna
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
udp 0 0 0.0.0.0:1900 0.0.0.0:* 887/minidlna
root@SPD8020-7EBBB4:/ #

and:

root@SPD8020-7EBBB4:/ # df -h /dev/sda5
Filesystem Size Used Available Use% Mounted on
/dev/sda5 364.6M 8.3M 337.5M 2% /rw_fs
root@SPD8020-7EBBB4:/ #


Tom
tom2005
 

Re: No database in minidlna after update FW / spd8020 to 15.

Postby Jocko » Fri Oct 25, 2013 3:02 pm

root@SPD8020-7EBBB4:/ # ps -ef|grep minidlna|grep -v grep
root 887 1 0 07:55 ? 00:00:10 /usr/sbin/minidlna -f /share/1000/minidlna/minidlna.conf

This output is wrong. You should get :
Code: Select all
root  25897  1  0 11:59 ?  00:00:01 /usr/sbin/minidlna -f /share/1000/minidlna/minidlna.conf -P /var/run/minidlna.pid
So '-P /var/run/minidlna.pid' is missing in the command line :scratch

How do you start minidlna ?
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: No database in minidlna after update FW / spd8020 to 15.

Postby tom2005 » Fri Oct 25, 2013 8:08 pm

I do the start via the Start Button on the Media Server / MiniDlna page only.


So '-P /var/run/minidlna.pid' is missing in the command line


What does this mean?

Tom
tom2005
 

Re: No database in minidlna after update FW / spd8020 to 15.

Postby Jocko » Fri Oct 25, 2013 8:23 pm

tom2005,

I will send a pm to install an additional feature.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: No database in minidlna after update FW / spd8020 to 15.

Postby Jocko » Fri Oct 25, 2013 8:40 pm

See your pm

You can't have your command line if you use only web interface because in all case minidlna is started with that command :
Code: Select all
/usr/sbin/minidlna -f /share/1000/minidlna/minidlna.conf -P /var/run/minidlna.pid


So there is two options:
- you don't copy fully the output and "-P /var/run/minidlna.pid" is missing.
- I don't know if minidlna can restart itself after an error and don't reuse fully the command line
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: No database in minidlna after update FW / spd8020 to 15.

Postby fvdw » Fri Oct 25, 2013 9:02 pm

if the putty command window is no big enough it will not display part of the output, so make the putty window wide enough...
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: No database in minidlna after update FW / spd8020 to 15.

Postby tom2005 » Fri Oct 25, 2013 9:07 pm

Here are the data:

# Process running:
887 ? Ssl 0:15 /usr/sbin/minidlna -f /share/1000/minidlna/minidlna.conf
# Boot log:
tom2005
 

Re: No database in minidlna after update FW / spd8020 to 15.

Postby tom2005 » Fri Oct 25, 2013 9:17 pm

Hi Jocko,
here is a warning in the protocol.

Just for info.

* Starting FTP Service...
Warning: Invalid argument supplied for foreach() in /etc/finc/ftpfunc_built_users_share.finc on line 65
Warning: Invalid argument supplied for foreach() in /etc/finc/ftpfunc_built_users_share.finc on line 65
Warning: Invalid argument supplied for foreach() in /etc/finc/ftpfunc_built_users_share.finc on line 65
Warning: Invalid argument supplied for foreach() in /etc/finc/ftpfunc_built_users_share.finc on line 65
Warning: Invalid argument supplied for foreach() in /etc/finc/ftpfunc_built_users_share.finc on line 65

[ OK ]



Tom
tom2005
 

Re: No database in minidlna after update FW / spd8020 to 15.

Postby tom2005 » Fri Oct 25, 2013 9:24 pm

Hello fvdw,

I run the putty again with a big window.

Data:

login as: root
root@192.168.1.3's password:
root@SPD8020-7EBBB4:/ # ps -ef|grep minidlna|grep -v grep
root 887 1 0 07:55 ? 00:00:15 /usr/sbin/minidlna -f /share/1000/minidlna/minidlna.conf
root@SPD8020-7EBBB4:/ # netstat -apW|grep minidlna
tcp 0 0 0.0.0.0:8200 0.0.0.0:* LISTEN 887/minidlna
tcp 0 0 SPD8020-7EBBB4.local:8200 TABLETT.local:61718 ESTABLISHED 887/minidlna
netstat: /proc/net/tcp6: No such file or directory
udp 0 0 SPD8020-7EBBB4.local:35112 0.0.0.0:* 887/minidlna
udp 0 0 0.0.0.0:1900 0.0.0.0:* 887/minidlna
netstat: /proc/net/udp6: No such file or directory
netstat: /proc/net/raw6: No such file or directory
root@SPD8020-7EBBB4:/ #

For me it looks the same

Tom
tom2005
 

Re: No database in minidlna after update FW / spd8020 to 15.

Postby Jocko » Fri Oct 25, 2013 9:32 pm

Hi tom2005

I understand what happens.

As the pid file doesn't exist, the stop command can not stop the running daemon.
Then, if you try to start the daemon as it's already running the nas status doesn't change and you have still a wrong minidlna command...

So in putty, do
Code: Select all
killall -9 minidlna


then start the server with the menu and now all must be right :mrgreen:
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Philips SPD8020

Who is online

Users browsing this forum: No registered users and 6 guests