Help - Search - Members - Calendar
Full Version: Bad perl install - eximstats failed
The Planet Forums > Control Panels > cPanel/WHM
mitt
have been trying to get perl upgraded on my cpanel server and it seems somewhere along the lines the eximstats has failed. I watched the install when I ran /scripts/perlinstaller --force Bundle:BD::mysql. What I get is a bunch of errors telling me it did not work. I don't know what happened and I am probably not experienced enough to have done this in the first place but we needed a new version of perl. (Sometimes I hate cPanel)

Partial Install Output w/ errors:
QUOTE
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I/usr/include/mysql -march=i386 -mcpu=i686
embedded (mysql_config) =
libs (mysql_config) = -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm
mysql_config (guessed ) = mysql_config
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
Use of uninitialized value in printf at Makefile.PL line 172, line 103.
test_user ( ) =
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testsocket (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.52 (for perl 5.008007 on i686-linux) installed in /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/
Writing Makefile for DBD::mysql
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
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.7/i686-linux/auto/DBI -I/usr/include/mysql -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-strict-aliasin
g -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION="3.0007" -DXS_VERSION="3.0007" -fpic "-I/usr/lib/perl5/5.8.7/i686
-linux/CORE" dbdimp.c
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:2390: parse error before `rows'
dbdimp.c:2467: `rows' undeclared (first use in this function)
dbdimp.c:2467: (Each undeclared identifier is reported only once
dbdimp.c:2467: for each function it appears in.)
make: *** [dbdimp.o] Error 1

/usr/bin/make -- NOT OK
Running make install
make had returned bad status, install seems impossible
Bundle summary: The following items in bundle Bundle:BD::mysql had
installation problems:
Mysql DBD::mysql
perlmod--Install done
mitt
While continuing to fix the notification of eximstats being failed, I restarted cpanel and received the following error when the cPanel Log service failed to start and outputed the following:

QUOTE
Starting cPanel Log services: (internal death) Fri Oct  6 08:42:49 2006 [25722]
error: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/local/cpanel /usr/
local/cpanel/3rdparty/lib/perl /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.
8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /us
r/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_p
erl . /usr/local/cpanel /usr/local/cpanel) at /usr/local/cpanel/cpanellogd line
62.
at /usr/local/cpanel/cpanellogd line 62
       main::BEGIN() called at DBD/mysql.pm line 62
       eval {...} called at DBD/mysql.pm line 62
[a fatal error or timeout occurred while processing this directive][a fatal erro
r or timeout occurred while processing this directive](internal death) Fri Oct
6 08:42:49 2006 [25722] error: Can't locate DBD/mysql.pm in @INC (@INC contains:
/usr/local/cpanel /usr/local/cpanel/3rdparty/lib/perl /usr/lib/perl5/5.8.7/i686
-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/p
erl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6
.0 /usr/lib/perl5/site_perl . /usr/local/cpanel /usr/local/cpanel) at /usr/local
/cpanel/cpanellogd line 62.
BEGIN failed--compilation aborted at /usr/local/cpanel/cpanellogd line 62.
at /usr/local/cpanel/cpanellogd line 62
Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/c
panel/3rdparty/lib/perl /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /us
r/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/p
erl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /
usr/local/cpanel /usr/local/cpanel) at /usr/local/cpanel/cpanellogd line 62.
BEGIN failed--compilation aborted at /usr/local/cpanel/cpanellogd line 62.
mitt
Okay, seems nobody has any input on this. After hours of scouring the Internet I have seen many other people with a similar problem and they are all faced with the same issue.

All ran

perl -MCPAN -e 'install DBD::mysql'
/scripts/realperlinstaller --force DBD::mysql

and did not fix the problem.

I have tried to reinstall perl many times but keep getting the error
QUOTE
Using DBI 1.52 (for perl 5.008007 on i686-linux) installed in /usr/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/
Writing Makefile for DBD::mysql
CPAN: YAML loaded ok
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
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.7/i686-linux/auto/DBI -I/usr/include/mysql -march=i386 -mcpu=i686 -DDBD_MYSQL_INSERT_ID_IS_GOOD -g  -fno-strict-aliasin
g -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION="3.0007" -DXS_VERSION="3.0007" -fpic "-I/usr/lib/perl5/5.8.7/i686
-linux/CORE"   dbdimp.c
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:2390: parse error before `rows'
dbdimp.c:2467: `rows' undeclared (first use in this function)
dbdimp.c:2467: (Each undeclared identifier is reported only once
dbdimp.c:2467: for each function it appears in.)
make: *** [dbdimp.o] Error 1
 /usr/bin/make  -- NOT OK
Running make install
 make had returned bad status, install seems impossible
perlmod--Install done


So is there anyway to clean off perl and start over with it? This is really frustrating and I can't find out what I need to do.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.