script problem

Discussion in 'Server Operation' started by unkn0wn, Aug 18, 2006.

  1. unkn0wn

    unkn0wn New Member

    On debian coudlnot start with boot ;/
    i use update-rc after installing gld.

    http://pastebin.ca/137372

    this si gld script.
     
  2. Ben

    Ben Active Member Moderator

    Could you describe your problem a bit more precisely?
     
  3. unkn0wn

    unkn0wn New Member

    GLD simple cant start with debian boot.
    That is problem i must by hand start it.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Did you try
    Code:
    update-rc.d gld defaults
    ? This should create the necessary system startup links for GLD.
     
  5. unkn0wn

    unkn0wn New Member

    Yess i used.
     
  6. unkn0wn

    unkn0wn New Member

    and nothing? :)
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Do you see any error messages when you run
    Code:
    update-rc.d gld defaults
    ?

    Try to be more patient. ;)
     
  8. unkn0wn

    unkn0wn New Member

    No errors :)
    Just regular output.
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Do you see symlinks to the gld init script in /etc/rc2.d, /etc/rc3.d, and /etc/rc5.d?
     
  10. unkn0wn

    unkn0wn New Member

    yes i see.
    so i thin the problem is in code / script.
     
  11. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /etc/rc3.d
    ? Do you get any errors when you start gld manually?
     
  12. unkn0wn

    unkn0wn New Member

    no i dont have problems

    Code:
    # ls -la /etc/rc3.d/ | grep gld
    lrwxrwxrwx   1 root root   13 2006-08-18 12:47 S20gld -> ../init.d/gld
    
     
  13. falko

    falko Super Moderator Howtoforge Staff

    The problem could be that gld gets started too early. You could try to delete this S20gld link and create a new one, let's say S99gld, for example (the higher the number, the later the process gets started during boot). Also do this in rc2.d and rc5.d.
     

Share This Page