The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel install failed on FreeBSD 6.2

Discussion in 'General Discussion' started by h3lios, Dec 12, 2007.

  1. h3lios

    h3lios Member

    Joined:
    Nov 7, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    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.
     
  3. h3lios

    h3lios Member

    Joined:
    Nov 7, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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. cPanelBilly

    cPanelBilly Guest

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

    h3lios Member

    Joined:
    Nov 7, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    /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. cPanelBilly

    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.
     
  7. h3lios

    h3lios Member

    Joined:
    Nov 7, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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. cPanelBilly

    cPanelBilly Guest

  9. h3lios

    h3lios Member

    Joined:
    Nov 7, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    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. cPanelBilly

    cPanelBilly Guest

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

    cPanelBilly Guest

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

Share This Page