Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2005 12:23:22 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        eoghan <freebsd@redry.net>
Cc:        freebsd-questions@freebsd.org, Glenn Dawson <glenn@antimatter.net>
Subject:   Re: mysql port install
Message-ID:  <43392BAA.7050909@dial.pipex.com>
In-Reply-To: <43392755.3010103@redry.net>
References:  <A9542760-015D-431A-9CD5-315BA5D60B7C@redry.net>	<6.2.3.4.2.20050926123752.0352ad60@cobalt.antimatter.net>	<F6B50E9E-24D7-4600-9518-4E64E77B7327@redry.net>	<6.2.3.4.2.20050926131354.05b98e40@cobalt.antimatter.net>	<92AE5A80-D02C-4475-9885-7B7BC0661EEB@redry.net>	<6.2.3.4.2.20050926133955.05746c80@cobalt.antimatter.net>	<03FB710F-26BA-494B-9C67-6D877DE57333@redry.net>	<57416b300509261657764f2973@mail.gmail.com>	<43390E85.8090001@redry.net>	<6.2.3.4.2.20050927031459.05d71710@cobalt.antimatter.net> <43392755.3010103@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help
eoghan wrote:

>
> Hi Glenn
> Yes i have tried this and i get:
> This: not found
> I think there is something fundamentally wrong with my install? I 
> started acting up when i tried to do a sysintall upgrade which didnt 
> complete (perl and others wouldnt install for xorg i think). Ive 
> learnt a lot in the past few weeks though. and thanks for your help. i 
> really appreciate people helping out cos im really new at this. Dumped 
> windows for os x and got free bsd on my old windows machine to play with.

You have somehow messed up one of the configuration files which is 
loaded when you try to start mysqld.  Something is trying to load a 
program called "This" which it clearly doesn't find.

Look in the following files for a line which starts "This":
    /etc/rc.conf
    /usr/local/etc/rc.d/mysql-server.sh
    /etc/defaults/rc.conf
    /etc.rc.conf.local (this may not exist and that's OK)

You can then just comment out the line (put a # at the start of it).  
However, if you can't figure out why the line got there, you might want 
to post the contents of the file here (or at least the relevant portion) 
for more help.  There may be other errors in the file since something 
has clearly messed up.

If that does not help then try:

find /etc -type f -exec egrep -H This {} \; | less

and

find /etc/usr/local/etc -type f -exec egrep -H This {} \; | less

--Alex

PS You can also do the find like this:

find /etc -type f -print | xargs egrep This

which is  quicker on large filesystems, but less obvious.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43392BAA.7050909>