Looks like mixing of different installations. 

To ensure a clean separation of Solaris' installations from yours,
compile perl, apache, mod_perl and other required packages, and install
them in /usr/local. I'd use the "-L" and "-R" flags to lock the paths to
/usr/local/lib and other local lib locations, something that has worked
for me for many years.

Regards,

Jie 

* jitendra.s...@accenture.com <jitendra.s...@accenture.com> wrote:

> Date: Tue, 5 Feb 2013 12:29:49 +0000
> From: jitendra.s...@accenture.com
> To: modperl@perl.apache.org
> Subject: [mp2] mod_perl resulting apache failure
> 
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
> 
> Apache start is failing after adding mod_perl module in httpd.conf.
> 
> 2. Used Components and their Configuration:
> 
> *** mod_perl version 2.000007
> 
> *** using /home/soni498/mod_perl-2.0.7/lib/Apache2/BuildConfig.pm
> 
> *** Makefile.PL options:
>   MP_APR_LIB     => aprext
>   MP_APXS        => /usr/apache02/httpd_2.2.20/bin/apxs
>   MP_COMPAT_1X   => 1
>   MP_GENERATE_XS => 1
>   MP_LIBNAME     => mod_perl
>   MP_USE_DSO     => 1
> 
> 
> *** /usr/httpd2.2.20/httpd/bin/httpd -V
> Server version: Apache/2.2.20 (Unix)
> Server built:   Feb  5 2013 08:10:24
> Server's Module Magic Number: 20051115:28
> Server loaded:  APR 1.4.5, APR-Util 1.3.12
> Compiled using: APR 1.4.5, APR-Util 1.3.12
> Architecture:   32-bit
> Server MPM:     Prefork
>   threaded:     no
>     forked:     yes (variable process count)
> Server compiled with....
> -D APACHE_MPM_DIR="server/mpm/prefork"
> -D APR_HAS_SENDFILE
> -D APR_HAS_MMAP
> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
> -D APR_USE_PROC_PTHREAD_SERIALIZE
> -D APR_USE_PTHREAD_SERIALIZE
> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
> -D APR_HAS_OTHER_CHILD
> -D AP_HAVE_RELIABLE_PIPED_LOGS
> -D DYNAMIC_MODULE_LIMIT=128
> -D HTTPD_ROOT="/usr/httpd2.2.20/httpd"
> -D SUEXEC_BIN="/usr/httpd2.2.20/httpd/bin/suexec"
> -D DEFAULT_PIDLOG="logs/httpd.pid"
> -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
> -D DEFAULT_LOCKFILE="logs/accept.lock"
> -D DEFAULT_ERRORLOG="logs/error_log"
> -D AP_TYPES_CONFIG_FILE="conf/mime.types"
> -D SERVER_CONFIG_FILE="conf/httpd.conf"
> 
> *** /usr/bin/ldd /usr/httpd2.2.20/httpd/bin/httpd
>         libm.so.2 =>     /lib/libm.so.2
>         libaprutil-1.so.0 =>     /usr/httpd2.2.20/httpd/lib/libaprutil-1.so.0
>         libexpat.so.0 =>         /usr/httpd2.2.20/httpd/lib/libexpat.so.0
>         libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
>         libapr-1.so.0 =>         /usr/httpd2.2.20/httpd/lib/libapr-1.so.0
>         libuuid.so.1 =>  /lib/libuuid.so.1
>         libsendfile.so.1 =>      /lib/libsendfile.so.1
>         librt.so.1 =>    /lib/librt.so.1
>         libsocket.so.1 =>        /lib/libsocket.so.1
>         libnsl.so.1 =>   /lib/libnsl.so.1
>         libpthread.so.1 =>       /lib/libpthread.so.1
>         libc.so.1 =>     /lib/libc.so.1
>         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
>         libaio.so.1 =>   /lib/libaio.so.1
>         libmd.so.1 =>    /lib/libmd.so.1
>         libmp.so.2 =>    /lib/libmp.so.2
>         libscf.so.1 =>   /lib/libscf.so.1
>         libdoor.so.1 =>  /lib/libdoor.so.1
>         libuutil.so.1 =>         /lib/libuutil.so.1
>         libgen.so.1 =>   /lib/libgen.so.1
>         /lib/libm/libm_hwcap1.so.2
>         /platform/SUNW,SPARC-Enterprise/lib/libc_psr.so.1
> 
> 
> *** (apr|apu)-config linking info
> 
> -L/usr/apache02/httpd_2.2.20/lib -laprutil-1     -lexpat -liconv
>  -L/usr/apache02/httpd_2.2.20/lib -lapr-1 -luuid -lsendfile -lrt -lsocket 
> -lnsl  -lpthread
> 
> 
> 
> *** /usr/local/bin/perl -V
> Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
> 
>   Platform:
>     osname=solaris, osvers=2.10, archname=sun4-solaris-thread-multi
>     uname='sunos sz1061 5.10 generic_147440-19 sun4u sparc 
> sunw,sparc-enterprise '
>     config_args='-de -Dcc=gcc'
>     hint=previous, useposix=true, d_sigaction=define
>     useithreads=define, usemultiplicity=define
>     useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
>     use64bitint=undef, use64bitall=undef, uselongdouble=undef
>     usemymalloc=n, bincompat5005=undef
>   Compiler:
>     cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -pipe 
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -DPERL_USE_SAFE_PUTENV -DPERL_USE_SAFE_PUTENV',
>     optimize='-O',
>     cppflags='-D_REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include 
> -D_REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV'
>     ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'
>     intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
>     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
>     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
> lseeksize=8
>     alignbytes=8, prototype=define
>   Linker and Libraries:
>     ld='gcc', ldflags =' -L/usr/local/lib '
>     libpth=/usr/local/lib /usr/lib /usr/ccs/lib
>     libs=-lsocket -lnsl -ldl -lm -lpthread -lc
>     perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc
>     libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
>     gnulibc_version=''
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib'
> 
> 
> Characteristics of this binary (from libperl):
>   Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
>                         PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
>                         PERL_PRESERVE_IVUV PERL_USE_SAFE_PUTENV USE_ITHREADS
>                         USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
>                         USE_REENTRANT_API
>   Built under solaris
>   Compiled at Feb  5 2013 10:37:08
>   %ENV:
>     PERL_LWP_USE_HTTP_10="1"
>   @INC:
>     /usr/local/lib/perl5/site_perl/5.14.2/sun4-solaris-thread-multi
>     /usr/local/lib/perl5/site_perl/5.14.2
>     /usr/local/lib/perl5/5.14.2/sun4-solaris-thread-multi
>     /usr/local/lib/perl5/5.14.2
>     .
> 
> *** Packages of interest status:
> 
> Apache2            : -
> Apache2::Request   : -
> CGI                : 3.52
> ExtUtils::MakeMaker: 6.57_05
> LWP                : -
> mod_perl           : -
> mod_perl2          : 2.000007
> 
> 
> 3. This is the core dump trace: (if you get a core dump):
> 
>   [CORE TRACE COMES HERE]
> 
> This report was generated by t/REPORT on Tue Feb  5 12:22:54 2013 GMT.
> 
> -------------8<---------- End Bug Report --------------8<----------
> 
> Note: Complete the rest of the details and post this bug report to
> modperl <at> perl.apache.org. To subscribe to the list send an empty
> email to modperl-subscr...@perl.apache.org.
> 
> 
> [root@sz1061 mod_perl-2.0.7]#
> 
> Thanks & Regards,
> -----------------------------------------------------
> Jitendra Soni
> Accenture, Bangalore INDIA
> Mailto: jitendra.s...@accenture.com<mailto:sunanda.r...@accenture.com>
> Phone: (+91) 99860 29897
> 
> 
> ________________________________
> This message is for the designated recipient only and may contain privileged, 
> proprietary, or otherwise private information. If you have received it in 
> error, please notify the sender immediately and delete the original. Any 
> other use of the e-mail by you is prohibited.
> 
> Where allowed by local law, electronic communications with Accenture and its 
> affiliates, including e-mail and instant messaging (including content), may 
> be scanned by our systems for the purposes of information security and 
> assessment of internal compliance with Accenture policy.
> 
> ______________________________________________________________________________________
> 
> www.accenture.com

Reply via email to