[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: init script can't find /bin/dirname



On 2014-12-22 04:10 +0100, Rob Owens wrote:

> I rebooted and found that the path is fine:
>
> /sbin:/usr/sbin:/bin:/usr/bin

A notable difference to the default PATH of a logged in user (with the
standard /etc/profile, anyway) is that init places /bin before /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.

Maybe you have a /bin/dirname executable whose interpreter is missing,
e.g. it could be a 32-bit binary and you don't have libc6:i386
installed anymore.

Cheers,
       Sven


Reply to: