List:General Discussion« Previous MessageNext Message »
From:Todd O'Bryan Date:July 3 2003 4:05am
Subject:Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
View as plain text  
I think mysqld_safe is just a shell script, so you might be able to go 
through there and see if you can find where /usr/local/mysql is defined.

On the other hand, I just looked, and it looks like it's smart enough 
to figure out if you've moved the installation directory. Try cd-ing to 
the place where your new version is and type ./bin/mysqld_safe.

That may not work, because another copy of mysql may already be running 
somewhere.

Something else to check: make sure mysqld is executable by doing a ls 
-l on the directory it's in.

We're far past my knowledge at this point (actually, we were at the 
limit of my knowledge when I told you to try cd-ing and re-typing the 
command) and I'm just throwing out possibilities...

Todd

On Wednesday, July 2, 2003, at 08:57  PM, Song.Xu@stripped wrote:

> Todd,
>
> It didn't help. Here is the message:
> ----------------
> $ cd /usr/local/mysql
> $ ./bin/mysqld_safe
> The file /usr/local/mysql/libexec/mysqld doesn't exist or is not 
> executable
> Please do a cd to the mysql installation directory and restart
> this script from there as follows:
> ./bin/mysqld_safe.
> $
> ---------------------------
> It worked fine until yesterday. SA told me he had rebuilt /user/local
> directory
> this morning. All the files are still there after the build. Actually 
> I have
> two versions of mysql. I would like to start mysqld using different 
> version
> of
> mysql that I installed in a different location. I wonder where the path
> '/usr/local/mysql/libexec/mysqld' stored in the system. Can we change 
> this
> path
> somewhere in the parameter file?
>
> Thanks,
> song
>
> -----Original Message-----
> From: Todd O'Bryan [mailto:toddobryan@stripped]
> Sent: Wednesday, July 02, 2003 6:56 PM
> To: Xu, Song PH/US/EXT
> Cc: mysql@stripped
> Subject: Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or
> is not executable
>
>
> Do what it says:
>
> cd /usr/local/mysql
> ./bin/mysqld_safe
>
> and see if that's any better.
>
> Todd
>
> On Wednesday, July 2, 2003, at 05:18  PM, Song.Xu@stripped wrote:
>
>> Hi,
>>
>> I got the following message when trying to start the mysql instance:
>> ------------
>> $ mysqld_safe &
>> [1]     22717
>> $ The file /usr/local/mysql/libexec/mysqld doesn't exist or is not
>> executable
>> Please do a cd to the mysql installation directory and restart
>> this script from there as follows:
>> ./bin/mysqld_safe.
>> -----------
>>
>> Can anyone help me to resolve this? It is emergency.
>>
>> Regards,
>> song
>>
>> --
>> MySQL General Mailing List
>> For list archives: http://lists.mysql.com/mysql
>> To unsubscribe:
>> http://lists.mysql.com/mysql?unsub=1
>>
>

Thread
The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executableSong.Xu2 Jul
  • Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executableharsh3 Jul
    • Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executableAleksandr Zingorenko3 Jul
  • Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executableTodd O'Bryan3 Jul
    • Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executableed3 Jul
  • Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executablePatrick3 Jul
RE: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executableSong.Xu3 Jul
  • Re: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executableTodd O'Bryan3 Jul
  • RE: The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executablePaul DuBois3 Jul