Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8763539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T15:48:08+00:00 2026-06-13T15:48:08+00:00

I have a script called storelogs located in /etc/init.d and I have link to

  • 0

I have a script called “storelogs” located in /etc/init.d and I have link to this in /etc/rc0.d and /etc/rc6.d called “K01storelogs”.

The script runs absolutely fine when I call it directly from /etc/init.d but when I try and reboot the machine, the script doesn’t ever seem to get called.

The script actually calls a php script which does a few bits and peices – and like I said, the script runs fine when I call it directly.

The script is incredibly simple:

#!/bin/sh
/usr/bin/php /var/www/html/storeLogs.php

Have I missed a step? Whats an easy way to debug this?

Cheers in advance!

Andy

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T15:48:09+00:00Added an answer on June 13, 2026 at 3:48 pm

    Are you sure the script is actually runing at startup ?
    You can try to add something like logger “my script is ruuning” in the script in order to be sure.

    Please check also with chkconfig tool if the startup links are ok for your runlevel

    • runlevel
    • “chkconfig –list”
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a shell script called displayArg.sh This is how I intend to run
I have code is this jsFiddle I have it in a script called AutoPolicy.js
I have a Powershell script file called ExecutBizTalkAppMSI.ps1 This contains a single function called
I have this script called test.sh: #!/bin/bash STR = Hello World echo $STR when
I have found this popular PHP/MySQL Script called Zip Location by SaniSoft and it
I have a script called at the end of an html page like this.
I have a script called ranking.php. I call this script at the top of
I have a script scripty.php Sometimes this script gets called through the browser. Other
So, I have a script called engine, and after much headbashing and (futile) debugging,
I have a Perl script called replaceUp: #!/usr/bin/perl search=$1 replace=$2 find . -type f

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.