timrowledge
Posts: 1348
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

update-rc.d rpcbind enable fails

Wed Apr 23, 2014 12:33 am

I'm having problems with my NFS connection at boot - it doesn't get setup. Manually re-connecting is fine but the problem seems to be that

Code: Select all

update-rc.d rpcbind enable 
returns an error

Code: Select all

insserv: warning: script 'mathkernel' missing LSB tags and overrides
which means about the same to me as 'buzzbuzzbuzzwibblefrottagebuzz'.

Gronk?
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: update-rc.d rpcbind enable fails

Wed Apr 23, 2014 8:43 am

Two ways to fix it.

1. sudo apt-get purge wolfram*
2. sudo vi /etc/init.d/skeleton /etc/init.d/mathkernel # copy the first ten lines from the skeleton to the mathkernel script.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

timrowledge
Posts: 1348
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: update-rc.d rpcbind enable fails

Mon May 05, 2014 6:14 pm

DougieLawson wrote:Two ways to fix it.

1. sudo apt-get purge wolfram*
2. sudo vi /etc/init.d/skeleton /etc/init.d/mathkernel # copy the first ten lines from the skeleton to the mathkernel script.
Thanks Dougie - excuse the delayed response! Bit busy making Scratch faster....

I took a look at the two files and got a tad confused. The 'first ten lines' in my copy of skeleton didn't seem quite right since there are a bunch of comments that I have to imagine you don't care about (but given my knowledge of shel scripts, maybe comments are vital) and then the PATH= line that is the same in both files, followed by some stuff and then a function do_start. If I only count non-comment lines between PATH= and do_start I get 10; would that be the lines you referred to?
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: update-rc.d rpcbind enable fails

Mon May 05, 2014 9:32 pm

Those comments are the LSB headers.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”