[lug] Scripting something that relies on pwd

John Starkey jstarkey at advancecreations.com
Mon Feb 19 21:37:04 MST 2001


Mysql returns an error telling me it can't find the dir. Once I'm in the
parent dir it executes fine.

Nate Duehr wrote:

> On Mon, Feb 19, 2001 at 08:21:55PM -0700, John Starkey wrote:
> > This haas been an issue for a few weeks. I need to start mysql on boot
> > and it's only allowing me to do so from it's parent dir. I've tried
> > adding to rc.local (when it was running at boot) and adding a script in
> > the mysql parent dir. But that didn't work. Do i need to chroot when i
> > do this? If so , how do i get back out for the rest of the boot? If not.
> > Anyone know how i can do this?
>
> Any errors in the logs when it doesn't start?
>
> --
> Nate Duehr <nate at natetech.com>
>
> GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
> Public Key available upon request, or at wwwkeys.pgp.net and others.
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list