Cpanel install failed on FreeBSD 6.2

h3lios

Member
Nov 7, 2004
8
0
151
I downloaded the "latest" script, ran " sh latest" and sat and watched the screen fly by.
After it came up as "Install complete" I went back up a few lines and saw the following error:

DBD-mysql-4.005/t/prepare_noerror.t
x DBD-mysql-4.005/t/texecute.t
x DBD-mysql-4.005/t/utf8.t
x DBD-mysql-4.005/TODO

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz

Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
CAPTTOFU/DBD-mysql-4.005.tar.gz
/usr/bin/perl Makefile.PL -- NO Makefile created
Running make install
Make had some problems, won't install
perlmod--Install done
chown: mysql: Invalid argument
Unable to reset root MySQL password. at /scripts/securemysql line 154.
touch: : No such file or directory





Seems like the Mysql perl Mod did not install, I don't want to do it manually and screw something else up, does anyone have a clue? Thanks.
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,217
4
193
Minneapolis, MN
Seems like the Mysql perl Mod did not install, I don't want to do it manually and screw something else up, does anyone have a clue? Thanks.
SSH to the server and run these commands to re-install MySQL and related modules:
/scripts/perlinstaller --force DBD::mysql
/scripts/mysqlup --force

Then, login to the WHM and reset root password for MySQL.
 

h3lios

Member
Nov 7, 2004
8
0
151
Andy,

This is what I get when I run "/scripts/perlinstaller --force DBD::mysql" :


x DBD-mysql-4.005/t/prepare_noerror.t
x DBD-mysql-4.005/t/texecute.t
x DBD-mysql-4.005/t/utf8.t
x DBD-mysql-4.005/TODO
CPAN: File::Temp loaded ok (v0.19)
CPAN: YAML loaded ok (v0.66)

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz

Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
CAPTTOFU/DBD-mysql-4.005.tar.gz
/usr/bin/perl Makefile.PL -- NO Makefile created
Running make install
Make had some problems, won't install
perlmod--Install done
 
C

cPanelBilly

Guest
reverse these:
run: /scripts/mysqlup --force
then run: /scripts/perlinstaller --force DBD::mysql
 

h3lios

Member
Nov 7, 2004
8
0
151
/scripts/mysqlup --force


MySQL Setup Script Version 7.0
This is the MySQL installer for OS FreeBSD
Use of uninitialized value in substr at /scripts/cPScript/SafeRun.pm line 33.
safe_recchown: Error Fetching the uid/gidUnable to create mysql privileges database at /scripts/mysqlup line 597.
mysql_fix_privilege_tables not found in path, skipping
mysqladmin: not found
Method: Perl Expect
Fetching CPAN timestamp...Done
Testing connection speed...(this could take a while)...Done
Ping:1.021 Testing connection speed to cpan.schatt.com using pureperl...(321800.00 bytes/s)...Done
Ping:10.332 Testing connection speed to mirrors.kernel.org using pureperl...(177628.07 bytes/s)...Done
Ping:10.869 Testing connection speed to cpan-sj.viaverio.com using pureperl...(93996.26 bytes/s)...Done
Three usable mirrors located
Three usable mirrors located
Mirror Check passed for cpan.schatt.com (/index.html)
Attempting to install missing CPAN items: unzip
Package index download failed!
Unable to locate working expect! Please check your installation.
Unable to locate working rdate! Please check your installation.
Attempting to install missing CPAN items: unzip
Package index download failed!
Unknown config variable 'less'
commit: wrote '/usr/local/lib/perl5/5.8.8/CPAN/Config.pm'
CPAN: File::HomeDir loaded ok (v0.67)
CPAN: Storable loaded ok (v2.18)
Going to read /home/.cpan/Metadata
Database was generated on Tue, 11 Dec 2007 23:37:54 GMT
Running install for module 'DBD::mysql'
Running make for C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v1.42)
Checksum for /home/.cpan/sources/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz ok
x DBD-mysql-4.005/
x DBD-mysql-4.005/ChangeLog
x DBD-mysql-4.005/constants.h
x DBD-mysql-4.005/dbdimp.c
x DBD-mysql-4.005/dbdimp.h
x DBD-mysql-4.005/eg/
x DBD-mysql-4.005/eg/prepare_memory_usage.pl
x DBD-mysql-4.005/eg/proc_example1.pl
x DBD-mysql-4.005/eg/proc_example2.pl
x DBD-mysql-4.005/eg/proc_example3.pl
x DBD-mysql-4.005/INSTALL.html
x DBD-mysql-4.005/lib/
x DBD-mysql-4.005/lib/Bundle/
x DBD-mysql-4.005/lib/Bundle/DBD/
x DBD-mysql-4.005/lib/Bundle/DBD/mysql.pm
x DBD-mysql-4.005/lib/DBD/
x DBD-mysql-4.005/lib/DBD/mysql/
x DBD-mysql-4.005/lib/DBD/mysql/GetInfo.pm
x DBD-mysql-4.005/lib/DBD/mysql/INSTALL.pod
x DBD-mysql-4.005/lib/DBD/mysql.pm
x DBD-mysql-4.005/Makefile.PL
x DBD-mysql-4.005/Makefile.PL.embedded
x DBD-mysql-4.005/MANIFEST
x DBD-mysql-4.005/MANIFEST.SKIP
x DBD-mysql-4.005/META.yml
x DBD-mysql-4.005/myld
x DBD-mysql-4.005/mysql.xs
x DBD-mysql-4.005/README
x DBD-mysql-4.005/t/
x DBD-mysql-4.005/t/00base.t
x DBD-mysql-4.005/t/10connect.t
x DBD-mysql-4.005/t/20createdrop.t
x DBD-mysql-4.005/t/30insertfetch.t
x DBD-mysql-4.005/t/35limit.t
x DBD-mysql-4.005/t/35prepare.t
x DBD-mysql-4.005/t/40bindparam.t
x DBD-mysql-4.005/t/40bindparam2.t
x DBD-mysql-4.005/t/40blobs.t
x DBD-mysql-4.005/t/40catalog.t
x DBD-mysql-4.005/t/40listfields.t
x DBD-mysql-4.005/t/40nulls.t
x DBD-mysql-4.005/t/40numrows.t
x DBD-mysql-4.005/t/41bindparam.t
x DBD-mysql-4.005/t/41blobs_prepare.t
x DBD-mysql-4.005/t/42bindparam.t
x DBD-mysql-4.005/t/50chopblanks.t
x DBD-mysql-4.005/t/50commit.t
x DBD-mysql-4.005/t/60leaks.t
x DBD-mysql-4.005/t/70takeimp.t
x DBD-mysql-4.005/t/75supported_sql.t
x DBD-mysql-4.005/t/80procs.t
x DBD-mysql-4.005/t/insertid.t
x DBD-mysql-4.005/t/lib.pl
x DBD-mysql-4.005/t/multi_statement.t
x DBD-mysql-4.005/t/mysql.dbtest
x DBD-mysql-4.005/t/param_values.t
x DBD-mysql-4.005/t/prepare_noerror.t
x DBD-mysql-4.005/t/texecute.t
x DBD-mysql-4.005/t/utf8.t
x DBD-mysql-4.005/TODO
CPAN: File::Temp loaded ok (v0.19)
CPAN: YAML loaded ok (v0.66)

CPAN.pm: Going to build C/CA/CAPTTOFU/DBD-mysql-4.005.tar.gz

Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.

Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Failed to determine directory of mysql.h. Use

perl Makefile.PL --cflags=-I<dir>

to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type

perl Makefile.PL --help
CAPTTOFU/DBD-mysql-4.005.tar.gz
/usr/bin/perl Makefile.PL -- NO Makefile created
Running make install
Make had some problems, won't install
perlmod--Install done
chown: mysql: Invalid argument
Unable to reset root MySQL password. at /scripts/securemysql line 154.
touch: : No such file or directory
usage:
touch [-A [-][[hh]mm]SS] [-acfhm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...
Install Complete
 
C

cPanelBilly

Guest
Please open a support ticket about this ATTN: Billy and post the ticket ID here so that I can look into it asap.
 

h3lios

Member
Nov 7, 2004
8
0
151
Billy,

We bought the license from buycpanel.net.
So trying to open a ticket with you guys is not working.

I've used cpanel in the past, but never had it error out during a fresh install.
The techs over at buycpanel.com are asking me to reformat before the do any support on it.
I don't want to go that way since it's in a remote location.

Any help you guys can give us would be immensely appreciated.
 

h3lios

Member
Nov 7, 2004
8
0
151
Hey Billy,

Even trying to get a "support access number" it fails:

/usr/local/cpanel/cpanel -S /usr/local/cpanel /usr/libexec/ld-elf.so.1: Shared object "libm.so.2" not found, required by "cpanel"


We really appreciate your help.
 
C

cPanelBilly

Guest
Just an update, this was a FreeBSD 6.3-PRERELEASE server. This is not currently supported due to these issues.