FreeBSD 8.x amd64, Directadmin 1.41.1, cronfile and autosplit.ix

sistemi_clab

Verified User
Joined
Jun 20, 2012
Messages
6
Hi, I'm having an issue with:
/usr/local/directadmin/custombuild/cronfile

It seems that is unable to find autosplit.ix.

Here is the result:

Jun 24 04:02:06.110 [94273] error: Can't locate /usr/local/lib/perl5/5.12.4/auto/Compress/Zlib/autosplit.ix in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/BSDPAN /usr/local/lib/perl5/site_perl/5.12.4/mach /usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/mach /usr/local/lib/perl5/5.12.4) at /usr/local/lib/perl5/5.12.4/AutoLoader.pm line 169.

I've installed perl 5.12.4 from ports:
root@dadmin2:~# perl -V
Summary of my perl5 (revision 5 version 12 subversion 4) configuration:

Platform:
osname=freebsd, osvers=8.1-release-p3, archname=amd64-freebsd
uname='freebsd freebsd.org 8.1-release-p3 freebsd 8.1-release-p3 #0: wed mar 14 11:32:18 utc 2012 [email protected]:usrsrcsysmagickernelpath amd64 '
config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.12.4/mach -Dprivlib=/usr/local/lib/perl5/5.12.4 -Dman3dir=/usr/local/lib/perl5/5.12.4/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.12.4/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.12.4 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.12.4/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.4/BSDPAN" -Doptimize=-O2 -pipe -fno-strict-aliasing -Ui_gdbm -Dusethreads=n -Dusemymalloc=n -Duse64bitint'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.4/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-O2 -pipe -fno-strict-aliasing',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.12.4/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 20070719 [FreeBSD]', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.12.4/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
USE_PERL_ATOF
Built under freebsd
Compiled at Mar 14 2012 11:40:20
@INC:
/usr/local/lib/perl5/5.12.4/BSDPAN
/usr/local/lib/perl5/site_perl/5.12.4/mach
/usr/local/lib/perl5/site_perl/5.12.4
/usr/local/lib/perl5/5.12.4/mach
/usr/local/lib/perl5/5.12.4
.

With these p5- related ports:

root@dadmin2:~# pkg_info | grep ^p5-
p5-Archive-Tar-1.88 Perl module for creation and manipulation of tar files
p5-Authen-NTLM-1.09 An NTLM authentication module
p5-Compress-Raw-Zlib-2.054 Low-Level Interface to zlib compression library
p5-Crypt-OpenSSL-Bignum-0.04 OpenSSL's multiprecision integer arithmetic
p5-Crypt-OpenSSL-RSA-0.28 Perl5 module to RSA encode and decode strings using OpenSSL
p5-Crypt-OpenSSL-Random-0.04 Perl5 interface to the OpenSSL pseudo-random number generat
p5-Digest-HMAC-1.03 Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-SHA1-2.13 Perl interface to the SHA-1 Algorithm
p5-Encode-Locale-1.03 Determine the locale encoding
p5-Error-0.17018 Perl module to provide Error/exception support for perl: Er
p5-File-Listing-6.04 Parse directory listings
p5-HTML-Parser-3.69 Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20 Some useful data table in parsing HTML
p5-HTTP-Cookies-6.01 HTTP Cookie jars
p5-HTTP-Daemon-6.01 Simple HTTP server class
p5-HTTP-Date-6.02 Conversion routines for the HTTP protocol date formats
p5-HTTP-Message-6.03_1 Representation of HTTP style messages
p5-HTTP-Negotiate-6.01 Implementation of the HTTP content negotiation algorithm
p5-IO-Socket-INET6-2.69 Perl module with object interface to AF_INET6 domain socket
p5-IO-Socket-SSL-1.74 Perl5 interface to SSL sockets
p5-IO-String-1.08 Simplified Perl5 module to handle I/O on in-core strings
p5-LWP-MediaTypes-6.02 Guess media type for a file or a URL
p5-Mail-DKIM-0.39 Perl5 module to process and/or create DKIM email
p5-Mail-SPF-2.007 Reference implementation of the RFC 4408 SPF protocol
p5-Mail-Tools-2.09 Perl5 modules for dealing with Internet e-mail messages
p5-Net-DNS-0.68 Perl5 interface to the DNS resolver, and dynamic updates
p5-Net-DNS-Resolver-Programmable-0.003 Programmable DNS resolver for off-line testing
p5-Net-HTTP-6.03_1 Low-level HTTP client
p5-Net-SSLeay-1.48 Perl5 interface to SSL
p5-NetAddr-IP-4.061 Perl module for working with IP addresses and blocks thereo
p5-Socket6-0.23 IPv6 related part of the C socket.h defines and structure m
p5-TimeDate-1.20,1 Perl5 module containing a better/faster date parser for abs
p5-URI-1.60 Perl5 interface to Uniform Resource Identifier (URI) refere
p5-WWW-RobotRules-6.02 Database of robots.txt-derived permissions
p5-libwww-6.04 Perl5 library for WWW access
p5-version-0.99 Perl extension for Version Objects
root@dadmin2:~#


I've found autosplit.ix in my system, but in a different path:

root@dadmin2:/usr/local/lib/perl5# find ./ -type f -name autosplit.ix
./5.12.4/mach/auto/Compress/Raw/Bzip2/autosplit.ix
./5.12.4/mach/auto/Compress/Raw/Zlib/autosplit.ix
./5.12.4/mach/auto/Compress/Zlib/autosplit.ix
./5.12.4/mach/auto/DB_File/autosplit.ix
./5.12.4/mach/auto/DynaLoader/autosplit.ix
./5.12.4/mach/auto/I18N/Langinfo/autosplit.ix
./5.12.4/mach/auto/POSIX/autosplit.ix
./5.12.4/mach/auto/Storable/autosplit.ix
./5.12.4/mach/auto/Sys/Hostname/autosplit.ix
./site_perl/5.12.4/mach/auto/Net/SSLeay/autosplit.ix
./site_perl/5.12.4/mach/auto/NetAddr/IP/InetBase/autosplit.ix
./site_perl/5.12.4/mach/auto/NetAddr/IP/Util/autosplit.ix
./site_perl/5.12.4/mach/auto/NetAddr/IP/UtilPP/autosplit.ix
./site_perl/5.12.4/mach/auto/NetAddr/IP/autosplit.ix
./site_perl/5.12.4/mach/auto/Crypt/OpenSSL/Random/autosplit.ix
./site_perl/5.12.4/mach/auto/Crypt/OpenSSL/RSA/autosplit.ix
./site_perl/5.12.4/mach/auto/Compress/Raw/Zlib/autosplit.ix
root@dadmin2:/usr/local/lib/perl5#


Thanks in advance,
d.
 
I would start looking on google. Its not a directadmin related issue its an OS related issue. You could also post on FreeBSD forums.
 
Last edited:
I don't know if it's a OS or DADMIN issue.

Here how I solved it:

cd /usr/local/lib/perl5/5.12.4
mkdir -p auto/Compress
cd auto/Compress
ln -s ../../../site_perl/5.12.4/mach/auto/Compress/Raw/Zlib

d.
 
Back
Top