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.

many errors during install

Discussion in 'General Discussion' started by rodstewart, Apr 5, 2004.

  1. rodstewart

    rodstewart Active Member

    Joined:
    Feb 4, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamburg Germany
    cPanel Access Level:
    DataCenter Provider
    Hello Cpanel Staff

    I get many errors during the install of cPanel on a Suse 8.2 Server.

    Can you help me whats going wrong?

    Code:
    ==> cPanel Install Complete
    ==> Removing Installer.....Done
    ==> Starting cPanel....
    Shutting down Mailman's master qrunner
    PID unreadable in: /usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid
    [Errno 2] No such file or directory: '/usr/local/cpanel/3rdparty/mailman/data/master-qrunner.pid'
    Is qrunner even running?
    mailmanctl: no process killed
    Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /usr/local/cpanel /usr/local/cpanel/3rdparty/lib/perl) at /usr/local/cpanel/cpanellogd line 34.
    BEGIN failed--compilation aborted at /usr/local/cpanel/cpanellogd line 34.
    -ERR Cpanel License is expired
    Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/bin/eximstats line 254.
    BEGIN failed--compilation aborted at /usr/local/cpanel/bin/eximstats line 254.
    
     
  2. rodstewart

    rodstewart Active Member

    Joined:
    Feb 4, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamburg Germany
    cPanel Access Level:
    DataCenter Provider
    And during the Update to the release Version

    WHM 9.1.0 cPanel 9.1.0-R85
    SuSE 8.2 - WHM X v2.1.2

    i get the following errors:

    Code:
    Using DBI 1.42 (for perl 5.008 on i586-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI
    Writing Makefile for DBD::mysql
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/Mysql.pm blib/lib/Mysql.pm
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cc -c  -I/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 --pipe   -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC "-I/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE"   dbdimp.c
    /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI/Driver.xst > mysql.xsi
    /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap  mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
    cc -c  -I/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 --pipe   -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC "-I/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE"   mysql.c
    Running Mkbootstrap for DBD::mysql ()
    chmod 644 mysql.bs
    rm -f blib/arch/auto/DBD/mysql/mysql.so
    LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld cc  -shared dbdimp.o mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so   -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv  
      /usr/bin/make  -- NOT OK
    Running make install
      make had returned bad status, install seems impossible
    Running install for module DBD::mysql
    Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz
      Is already unwrapped into directory /home/.cpan/build/DBD-mysql-2.9003
      Has already been processed within this session
    Running make install
      make had returned bad status, install seems impossible
    [COLOR=red]Bundle summary: The following items in Bundle::DBD::mysql had
    installation problems:[/COLOR] 
    Mysql DBD::mysql 
    
     
  3. rodstewart

    rodstewart Active Member

    Joined:
    Feb 4, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamburg Germany
    cPanel Access Level:
    DataCenter Provider
    I have tried to install DBI wirth ./installdbi but there i get the following error.

    Code:
    server1:~ # cd /scripts
    server1:/scripts # ./installdbi
    Testing connection speed...(this could take a while)....Done
    Five usable mirrors located
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Mon, 05 Apr 2004 02:57:58 GMT
    Running install for module DBD::mysql
    Running make for R/RU/RUDY/DBD-mysql-2.9003.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /home/.cpan/sources/authors/id/R/RU/RUDY/DBD-mysql-2.9003.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    DBD-mysql-2.9003/
    DBD-mysql-2.9003/t/
    DBD-mysql-2.9003/t/mysql2.t
    DBD-mysql-2.9003/t/akmisc.t
    DBD-mysql-2.9003/t/60leaks.t
    DBD-mysql-2.9003/t/10dsnlist.t
    DBD-mysql-2.9003/t/ak-dbd.t
    DBD-mysql-2.9003/t/50chopblanks.t
    DBD-mysql-2.9003/t/mysql.t
    DBD-mysql-2.9003/t/lib.pl
    DBD-mysql-2.9003/t/40blobs.t
    DBD-mysql-2.9003/t/40nulls.t
    DBD-mysql-2.9003/t/insertid.t
    DBD-mysql-2.9003/t/40listfields.t
    DBD-mysql-2.9003/t/40bindparam.t
    DBD-mysql-2.9003/t/mysql.dbtest
    DBD-mysql-2.9003/t/dbdadmin.t
    DBD-mysql-2.9003/t/20createdrop.t
    DBD-mysql-2.9003/t/00base.t
    DBD-mysql-2.9003/t/30insertfetch.t
    DBD-mysql-2.9003/t/40numrows.t
    DBD-mysql-2.9003/t/50commit.t
    DBD-mysql-2.9003/t/mysql.mtest
    DBD-mysql-2.9003/MANIFEST
    DBD-mysql-2.9003/myld
    DBD-mysql-2.9003/dbdimp.c
    DBD-mysql-2.9003/lib/
    DBD-mysql-2.9003/lib/DBD/
    DBD-mysql-2.9003/lib/DBD/mysql/
    DBD-mysql-2.9003/lib/DBD/mysql/GetInfo.pm
    DBD-mysql-2.9003/lib/DBD/mysql/INSTALL.pod
    DBD-mysql-2.9003/lib/DBD/mysql.pm
    DBD-mysql-2.9003/lib/Mysql/
    DBD-mysql-2.9003/lib/Mysql/Statement.pm
    DBD-mysql-2.9003/lib/Bundle/
    DBD-mysql-2.9003/lib/Bundle/DBD/
    DBD-mysql-2.9003/lib/Bundle/DBD/mysql.pm
    DBD-mysql-2.9003/lib/Mysql.pm
    DBD-mysql-2.9003/dbdimp.h
    DBD-mysql-2.9003/mysql.xs
    DBD-mysql-2.9003/MANIFEST.SKIP
    DBD-mysql-2.9003/README
    DBD-mysql-2.9003/INSTALL.html
    DBD-mysql-2.9003/Makefile.PL
    DBD-mysql-2.9003/ChangeLog
    DBD-mysql-2.9003/constants.h
    DBD-mysql-2.9003/TODO
    Removing previously used /home/.cpan/build/DBD-mysql-2.9003
    
      CPAN.pm: Going to build R/RU/RUDY/DBD-mysql-2.9003.tar.gz
    
    I will use the following settings for compiling and testing:
    
      cflags        (mysql_config) = -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce
      libs          (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
      nocatchstderr (default     ) = 0
      nofoundrows   (default     ) = 0
      ssl           (guessed     ) = 0
      testdb        (default     ) = test
      testhost      (default     ) =
      testpassword  (default     ) =
      testuser      (default     ) =
    
    To change these settings, see 'perl Makefile.PL --help' and
    'perldoc INSTALL'.
    
    Checking if your kit is complete...
    Looks good
    Using DBI 1.42 (for perl 5.008 on i586-linux-thread-multi) installed in /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI
    Writing Makefile for DBD::mysql
    cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
    cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
    cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
    cp lib/Mysql.pm blib/lib/Mysql.pm
    cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
    cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
    cc -c  -I/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 --pipe   -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC "-I/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE"   dbdimp.c
    /usr/bin/perl -p -e "s/~DRIVER~/mysql/g" /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI/Driver.xst > mysql.xsi
    /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap  mysql.xs > mysql.xsc && mv mysql.xsc mysql.c
    Warning: duplicate function definition 'do' detected in mysql.xs, line 192
    Warning: duplicate function definition 'rows' detected in mysql.xs, line 290
    cc -c  -I/usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/DBI -I/usr/include/mysql -mcpu=i486 -fno-strength-reduce -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 --pipe   -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fPIC "-I/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE"   mysql.c
    Running Mkbootstrap for DBD::mysql ()
    chmod 644 mysql.bs
    rm -f blib/arch/auto/DBD/mysql/mysql.so
    LD_RUN_PATH="/usr/lib/mysql:/lib" /usr/bin/perl myld cc  -shared dbdimp.o mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so   -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
    /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lnss_files
    collect2: ld returned 1 exit status
    make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1
      /usr/bin/make  -- NOT OK
    Running make install
      make had returned bad status, install seems impossible
    Net::DNS is up to date.
    perlmod--Install done
    
     
  4. rodstewart

    rodstewart Active Member

    Joined:
    Feb 4, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Hamburg Germany
    cPanel Access Level:
    DataCenter Provider
    I have resolve the Problem.

    GO into yast and install the "perl-msql-mysql-modules".
    not in cpanel the DBI::Mysql rpm

    that was all.
    And it works fine
     
Loading...

Share This Page