Results 1 to 10 of 10

Thread: Missing LSB Information (Start Script Install)

  1. #1
    Join Date
    Nov 2009
    Beans
    2

    Exclamation Missing LSB Information (Start Script Install)

    Hey everybody,

    i tried to install domino server 8.5 on ubuntu. It all works perfectly, but now i wanted to install a start script (http://www.danilodellaquila.com/blog...ubuntu-part-ii) that makes the server start automatically.
    i downloaded the script, untared it and step "6.5 Register the script as service for automatic startup" didn't quite work:
    I always get errormessages:
    "update-rc.d: warning: /etc/init.d/domino missing LSB information
    update-rc.d: see <http://wiki.debial.org/LSBinitScripts>
    Sytem startup links for /etc/init.d/domino already exist.

    hope you can help me
    greetz

  2. #2
    Join Date
    Nov 2009
    Beans
    36

    Re: Missing LSB Information (Start Script Install)

    Quite similar issues with mine.

    I am still trying to find something information.

    PS:If you solve your problem, please post it out.

  3. #3
    Join Date
    Feb 2010
    Beans
    1

    Angry Re: Missing LSB Information (Start Script Install)

    I have the same problem , answer please!

  4. #4
    Join Date
    Dec 2006
    Beans
    26

    Re: Missing LSB Information (Start Script Install)

    I too have the same problem. When I go to the link identified in the error http://wiki.debian.org/LSBInitScripts I simply become confused at to how I am supposed to modify the script. In my case the script is simply to start WOL, however the warning doesn't seem to stop anything. Future configurations will likely need to have the init scripts changed to meet the required configuration. It would be nice to have a few more examples to understand how we supposed to make the changes correctly.

  5. #5
    Join Date
    Dec 2008
    Beans
    3
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Missing LSB Information (Start Script Install)

    Hello.


    I had the same problem: I had written a script e.g. mystartupscript and then I have done the following:

    Code:
    user@computer:/etc/init.d$ sudo update-rc.d mystartupscript defaults
    Then after some time I modified my script and thought to have to do this again. So I again wrote ...

    Code:
    user@computer:/etc/init.d$ sudo update-rc.d mystartupscript defaults
    ... and so I got the mysterious failure:

    Code:
    update-rc.d: warning: /etc/init.d/mystartupscript missing LSB information
    I have solved the problem as follows:

    Code:
    user@computer:/etc/init.d$ sudo update-rc.d -f mystartupscript remove
    user@computer:/etc/init.d$ sudo update-rc.d mystartupscript defaults
    And don't forget to make the script executable:
    Code:
    user@computer:/etc/init.d$ sudo chmod +x ./mystartupscript

    I hope it can help you.


    Cheers,
    wittgeinstein

  6. #6
    Join Date
    Feb 2009
    Beans
    36

    Re: Missing LSB Information (Start Script Install)

    to really get rid of the warning we have to add the corresponding script header as described here...
    http://wiki.debian.org/LSBInitScripts

    Code:
    ### BEGIN INIT INFO
    # Provides:          scriptname
    # Required-Start:    $remote_fs $syslog
    # Required-Stop:     $remote_fs $syslog
    # Default-Start:     2 3 4 5
    # Default-Stop:      0 1 6
    # Short-Description: Start daemon at boot time
    # Description:       Enable service provided by daemon.
    ### END INIT INFO

  7. #7
    Join Date
    Sep 2007
    Beans
    47

    Re: Missing LSB Information (Start Script Install)

    Dear Everyone,

    I was having a similar problem and I inserted the header as PPatrick had suggested. That cleared the LSB problem, but I still can't get my script to run at all.

    I have a laptop with a monitor attached to it and I want to make the monitor my primary screen. This script works and can be execute to do so, here is my script:
    ### BEGIN INIT INFO
    # Provides: scriptname
    # Required-Start: $remote_fs $syslog
    # Required-Stop: $remote_fs $syslog
    # Default-Start: 2 3 4 5
    # Default-Stop: 0 1 6
    # Short-Description: Start daemon at boot time
    # Description: Enable service provided by daemon.
    ### END INIT INFO
    #!/bin/bash
    NR_OF_MONITORS=$(xrandr -d :0 -q | grep ' connected' | wc -l)
    if [ $NR_OF_MONITORS = "2" ]; then
    xrandr --output VGA1 --primary
    fi

    I make sure to enter the following commands every time I made adjustments to the script
    sudo update-rc.d -f local.autostart remove
    sudo chmod +x /etc/init.d/local.autostart
    sudo update-rc.d local.autostart defaults 80

    After all this I reboot the computer and login, but after I login the script doesn't run.

    Further more, when I type "who -r", the output is "run-level 2 2011-07-16 21:35", so the above should work, I just can't figure out why.

    Can anyone help?

    Cheers,
    Rocko262c
    Last edited by Rocko262c; July 16th, 2011 at 12:56 PM.

  8. #8
    Join Date
    Sep 2007
    Beans
    47

    Re: Missing LSB Information (Start Script Install)

    I found a much simpler way. I just entered the script under System->Preferences->Startup Applications.

  9. #9
    Join Date
    Mar 2012
    Beans
    1

    Re: Missing LSB Information (Start Script Install)

    Yes but if you runin UBUNTU without any KDE or other interface???

  10. #10
    Join Date
    Sep 2007
    Beans
    47

    Re: Missing LSB Information (Start Script Install)

    Quote Originally Posted by dilis View Post
    Yes but if you runin UBUNTU without any KDE or other interface???

    Dear Dilis,

    Then I would suggest getting the startup script to run upon start up. I was unable to accomplish this.

    Cheers,
    Rocko262c

Bookmarks

Posting Permissions

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