On Sun, Dec 21, 2014 at 06:07:20PM -0500, Rob Owens wrote: > On Sun, Dec 21, 2014 at 10:32:07PM +0100, Sven Joachim wrote: > > On 2014-12-21 21:58 +0100, Rob Owens wrote: > > > I know I could add a PATH statement to the init script, but this problem > > > is my own doing and I'd like to fix it right. I "cross-graded" this > > > system from 32-bit to 64-bit using this guide: > > > > > > www.ewan.cc/?q=node/90 > > > > > > It worked pretty well, but not perfectly. Some things got missed, like > > > screen, ntp, and a couple other packages. I'm thinking that maybe > > > another missing package is preventing the mysql init script from > > > checking for /usr/bin/dirname. > > > > That seems to be unlikely, but you could add a line with "echo $PATH" to > > the script to find out what PATH actually is. > > > I will do this, but I can't reboot just yet to check it out. I will > post my findings later. I rebooted and found that the path is fine: /sbin:/usr/sbin:/bin:/usr/bin So I'm still not sure why /etc/init.d/mysql cannot find "dirname" and "basename" when running at system boot, but it can find them when run from a terminal after boot. Any advice would be appreciated! -Rob
Attachment:
signature.asc
Description: Digital signature