missing /lib/init/vars.sh

Hello,
I have an application that needs to startup on boot. When I install the application I get an error stating /lib/init/vars.sh No such file or directory. When contacting the developer he states it needs that file for reference of rcS system variables. I have two installs of CentOS 5.4 and neither of the two installs have this file. Googling it I see a number of end users getting the same error but no solutions. I was told the file is part of initscripts which is installed. Can I create the file or reinstall it?

Thank you.
kbmoneyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

liddlerCommented:
Yes you can just create the file, but you will need to know which variables to set in the file
0
nociSoftware EngineerCommented:
CentOS doesn't have rcS as a start/stop system.

Can the developer indicate what variables are needed for startup?
OTOH, the script most probably is run from the initscript, so you can lookat it.

somewhere the /lib/init/vars.sh is sourced, either source command or ". " (blank space) before the filename.

all variables that come after that that didn't exist before are candidates. $PATH f.e. allready exists.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Duncan RoeSoftware DeveloperCommented:
I downloaded initscripts-9.08.tar.bz2 from https://fedorahosted.org/releases/i/n/initscripts/ (dated 08-Mar-2010 20:48)
and there was no vars.sh in it. So you really must ask the developer for a copy
0
kbmoneyAuthor Commented:
Thanks all for the help. I am awaiting to hear from the developer on what variables I would need and will go from there.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.