Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-16-2014, 12:51 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 24

Rep: Reputation: 0
Trouble with insserv

I'm trying to set up auto-run for a minecraft server and running into problems with insserv. It's complaining about every single required part of the LSB comment, but as far as I can see it's all properly formatted. When I try to install it I get:
insserv: Script minecraft is broken: incomplete LSB comment.
insserv: missing `Provides:' entry: please add.
insserv: missing `Required-Start:' entry: please add even if empty.
insserv: missing `Required-Stop:'  entry: please add even if empty.
insserv: missing `Default-Start:'  entry: please add even if empty.
insserv: missing `Default-Stop:'   entry: please add even if empty.
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `minecraft'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `minecraft'
The LSB comment for the script in question is:

# Provides: minecraft
# Required-Start: $local_fs $remote_fs screen-cleanup
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Minecraft server
# Description: Starts the minecraft server
What have I done wrong here?
Old 11-17-2014, 09:55 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Try removing the space before #!/bin/bash


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian insserv deamon starts but does not run my script stephaneeybert Linux - Server 1 10-11-2013 01:16 PM
LXer: Fixing VMware Workstation 8 and insserv LXer Syndicated Linux News 0 12-24-2011 03:10 AM
[SOLVED] How to get insserv without installing the package? catkin Ubuntu 9 07-14-2009 09:16 AM
insserv - can't handle that! Fulkabaster SUSE / openSUSE 3 01-08-2008 06:01 PM
insserv problem natgwil Linux - Newbie 1 09-25-2006 03:38 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration