Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Nov 2004
    Posts
    8

    Default Cpanel install failed on FreeBSD 6.2

    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.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by h3lios View Post
    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.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  3. #3
    Member
    Join Date
    Nov 2004
    Posts
    8

    Default

    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

  4. #4
    cPanelBilly
    Guest

    Default

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

  5. #5
    Member
    Join Date
    Nov 2004
    Posts
    8

    Default

    /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

  6. #6
    cPanelBilly
    Guest

    Default

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

  7. #7
    Member
    Join Date
    Nov 2004
    Posts
    8

    Default

    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.

  8. #8
    cPanelBilly
    Guest

    Default

    Please open a support ticket using the complimentary support option:
    https://tickets.cpanel.net/submit/in...eqtype=tickets

    You can submit a support request without logging in through there.

  9. #9
    Member
    Join Date
    Nov 2004
    Posts
    8

    Default

    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.

  10. #10
    cPanelBilly
    Guest

    Default

    Do it without the support access number... if it still isnt working email billing@cpanel.net and mention this thread

  11. #11
    cPanelBilly
    Guest

    Default

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

Similar Threads & Tags
Similar threads

  1. Cannot install cPanel on FreeBSD 6.1
    By foolsama in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-16-2007, 06:00 AM
  2. cpanel install error on freebsd
    By makoy in forum New User Questions
    Replies: 3
    Last Post: 07-12-2007, 05:01 AM
  3. cpanel install errors on FreeBSD
    By big in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-01-2005, 07:02 AM
  4. IMAP failed on all FreeBSD CPanel servers
    By rhood in forum cPanel and WHM Discussions
    Replies: 32
    Last Post: 09-07-2004, 01:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube