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

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

On Mon, Dec 22, 2014 at 04:41:05PM +0100, Sven Joachim wrote:
> On 2014-12-22 04:10 +0100, Rob Owens wrote:
> > 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.

That's it!  This system has a /bin/dirname as well as /usr/bin/dirname.
When I call /bin/dirname from a shell, I get "-bash: /bin/dirname: No
such file or directory".

My other Wheezy system (which was installed as a 64-bit system) only has

OK, I guess I've got a little research to do.  If you have any clue how
to straighten this out, I'm all ears.

Thanks for all your help!


Attachment: signature.asc
Description: Digital signature

Reply to: