Raspberrypi : Fix for minidlna error - inssserv: warning: script 'mathkernel' missing LSB tags

I have previously written an article on how to install "miniDLNA" in RPI here. If you install miniDLNA in your Raspbian OS, sometimes you may ended up with following error/warning massage when you try to load minidlna.
"inssserv: warning: script 'mathkernel' missing LSB tags"

This is due to LSB header tags missing in Mathkernel library. In order to fix this error, please follow the instruction given below.

Open the mathkernel library file by using following command
sudo nano /etc/init.d/mathkernel

Then add following header tags just below the "#!/bin/sh"

# Provides:          mathkernel
# Required-Start:    $local_fs 
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: mathkernel library

Then restart the minidlana using following command
sudo service minidlana restart


Popular posts from this blog

Embedding PowerBI with ASP.NET Core 2 and Angular(2,4,5)

Handling Exit Event of Console Application in C#

Expand All / Collapse All panes in Ajax Accordion Extender