[COLUG] Hard Drive Failure?

Matthew Gardlik matt at mattgardlik.com
Wed Oct 18 10:06:22 EDT 2006


The new HD is 120 GB, and the second HD is a 200GB disk in two 100 GB 
partitions.

I've compiled PHP from source several times before, but now I'm running 
in to something I haven't seen before.  ./configure fails, and gives 
this error message at the end:

$./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-gd 
--with-zlib --with-mysql=/usr/local/mysql

...

checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for 
more information.

I have mysql installed, and using the mysql client, I can access the 
datbase, but for some reason, it see this.

I did a good search for this particular error, and none of the results 
seemed particularly useful.  Has anybody had this problem before?

Thanks,

Matt

Brett Stauffer wrote:
> On Tue, 2006-10-17 at 22:10 -0400, Matt Gardlik wrote:
> 
>> I was able to install CentOS with no problems, 
> 
> Good choice.  I recently switched to CentOS on a home system, and have
> been thrilled.  If you're accustomed to the Red Hat way of doing things,
> it's hard to beat.
> 
>> I sure am glad that I make backups of things--including configuration
>> files.
> 
> How big is the second disk in your system?  If you have enough space,
> you could back up all of your OS partitions onto the second disk.
> Likewise, you could back up your second disk (or at least a portion of
> it) on to your new 160GB drive.  That way you'd be protected against a
> failure of either disk.
> 
> I have a couple of scripts in cron.weekly that do this with rsync.
> While I haven't needed the backup for a disk failure yet, it is
> sometimes nice to have a weekly snapshot to refer back to.
> 
> 
> --brett
> 
> 
> 



More information about the colug432 mailing list