Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 7 of 7
  1. #1
    Join Date
    September 2015
    Posts
    3

    warning: script 'K01ts3server' missing LSB tags and overrides insserv

    Hello all,

    I was looking to start learning how to do things through linux command line. But of course I am new, so don't totally understand everything. I did this so I can save money while hosting a teamspeak server on the VPS.


    So I was using this video for guidance: https://www.youtube.com/watch?v=8J8f0PJ7I4A&hd=1 [1]
    And (like I said in the youtube comments..)

    So I'm currently at 5:43 of this video with the linking part but I'm running into some issues.
    [email protected]:/etc/init.d# update-rc.d ts3server defaults insserv: warning: script 'K01ts3server' missing LSB tags and overrides insserv: warning: script 'ts3server' missing LSB tags and overrides
    I keep getting these messages.

    I do not get the messages after like you do in the video. (where it seems like it shows that it is being linked).
    This part is very important to me, because the editor of the video says by doing these commands we can have the service always startup if the server reboots. This is awesome, and a must needed for me.


    Thanks in advance.

  2. #2
    Join Date
    December 2004
    Location
    RF
    Posts
    3,008
    What Linux distriburion you're using?
    None of them using initd nowadays.

  3. #3
    Join Date
    March 2009
    Location
    Germany
    Posts
    41
    This question is Debian-specific.
    Please consult Debian Community Forums or Wikis to get more information about LSBInitScripts.

    see:
    > https://wiki.debian.org/LSBInitScripts

    You are missing headers as specified on that page.
    These comments are needed by the insserv script to correctly setup the bootup sequence.
    It simply gives basic information about what it is, when it should start, which services should be running before this one can start etc.

  4. #4
    Join Date
    December 2004
    Location
    RF
    Posts
    3,008
    The point is, these scripts are not needed.
    No Debian distro using initd nowadays.

  5. #5
    Join Date
    August 2015
    Posts
    3
    Hi progz,

    Did you find the answer to this, i'm running into the exact same issue.

    When i get to
    Code:
    update-rc.d ts3server defaults
    I get
    Code:
    insserv: warning: script 'ts3server' missing LSB tags and overrides
    I noticed in TutsTeach video (and other videos i've seen) he also gets this warning but it still adds it to the system startup.
    But doing
    Code:
    service ts3server start
    results in
    Code:
    Failed to start ts3server.service: Unit ts3server.service failed to load: No such file or directory.
    The symlink link is green when i check it, which i can only assume to mean the path is correct.

    I'm running on a VPS with Ubuntu 15 x64

    Strange, everything works fine using Ubuntu 14, but with Ubuntu 15 i get the "insserv: warning: script 'teamspeak' missing LSB tags and overrides" error.
    Last edited by Chris; October 8th, 2015 at 07:32 AM. Reason: merged

  6. #6
    Join Date
    March 2009
    Location
    Germany
    Posts
    41
    Well it seems that Debian becomes an unusable system...

    However:

    You run a system using systemd. Normally one would supply systemd.units (see systemd manpages) for that.
    Those Unit files can then be enabled (if they provide an install section) to be run on system startup.
    It seems that debian has written a wrapper to convert the old initscripts to systemd units.
    Please check debian documentation for further information.
    Be sure to check documents and tutorials matching your release!
    Since init.d was default with the last debian version, systemd seems to be the setup for the current one.
    There might even be a migration guide and or migration information which apply to this.

    If you need a unit file for teamspeak, here is an example:

    Code:
    [Unit]
    Description=TeamSpeak3 Server
    After=network.target
    
    [Service]
    Type=simple
    User=teamspeak
    Group=teamspeak
    WorkingDirectory=/opt/Teamspeak/
    Environment="LD_LIBRARY_PATH=/opt/Teamspeak/"
    ExecStart=/opt/Teamspeak/teamspeak3-server logpath=/var/log/teamspeak3-server/ dbsqlpath=/usr/share/teamspeak3-server/sql/ licensepath=/opt/Teamspeak/ dbplugin=ts3db_mariadb dbpluginparameter=/opt/Teamspeak/ts3db_mysql.ini dblogkeepdays=90 dbclientkeepdays=30
    
    [Install]
    WantedBy=multi-user.target

  7. #7
    Join Date
    August 2015
    Posts
    3
    Managed to get this sorted by doing.

    Code:
    ln -s /LOCATION/ts3server_startscript.sh /etc/init.d/teamspeak3
    
    nano /etc/rc.local
    
    Add the line below before exit 0
    
    /etc/init.d/teamspeak3 start

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Server Group that overrides all other assigned groups.
    By BoKa1337 in forum Permission System
    Replies: 2
    Last Post: February 26th, 2015, 03:10 PM
  2. Voice activation can't be turned off, overrides PTT
    By caffman263 in forum Client Support
    Replies: 0
    Last Post: June 29th, 2013, 11:16 PM
  3. insserv reports an error
    By liquidraver in forum Linux / FreeBSD
    Replies: 4
    Last Post: August 11th, 2010, 10:16 AM
  4. insserv reports an error
    By liquidraver in forum Bug Reports [EN/DE]
    Replies: 2
    Last Post: August 11th, 2010, 09:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •