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"
### BEGIN INIT INFO
# 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
### END INIT INFO
Then restart the minidlana using following command
sudo service minidlana restart
"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"
### BEGIN INIT INFO
# 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
### END INIT INFO
Then restart the minidlana using following command
sudo service minidlana restart
Comments
Post a Comment