Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] rc.local executes twice
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: rc.local executes twice
18th May, 2013, 10:33 PM
Post: #6
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: rc.local executes twice
(18th May, 2013 11:24 AM)mihailescu2m Wrote:  This might be a debian issue, but rc.local executes twice when booting.

check header (first lines) of /etc/init.d/rc.local file.
there is line like:
Code:
# Default-start: 2 3 4 5

there should be just this "2 3 4 5". if it is so, then run
Code:
find /etc/rc?.d -iname S??rc.local

you should get only rc2.d, rc3.d, rc4.d and rc5.d in output.

if not, run
Code:
insserv -r /etc/init.d/rc.local; insserv -d /etc/init.d/rc.local

if still started twice
Code:
grep -ir rc.local /etc/init.d

you will get all scripts, where rc.local is inside (and probably launched). I suppose it will be /etc/init.d/bootlocal.

edit the file a comment rc.local out.

mk

this will be solved in beta1

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
rc.local executes twice - mihailescu2m - 18th May, 2013, 11:24 AM
RE: rc.local executes twice - kraleksandr - 18th May, 2013, 02:13 PM
RE: rc.local executes twice - mihailescu2m - 18th May, 2013, 04:05 PM
RE: rc.local executes twice - namtih - 18th May, 2013, 05:02 PM
RE: rc.local executes twice - mihailescu2m - 18th May, 2013, 07:51 PM
RE: rc.local executes twice - mk01 - 18th May, 2013 10:33 PM
RE: rc.local executes twice - mihailescu2m - 19th May, 2013, 10:06 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 21st Jun, 2025, 11:50 PM Powered By MyBB, © 2002-2025 MyBB Group.