huffmana
asked on
sunfreeware apache server does not run
Can't get sunfreeware apache server to work !! See the following:
I saw a reference in the web about installing mod_perl, but that won't compile!!
Has anyone had any luck getting the sunfreeware apache to work? I've heard that Studio 11 c compiler needs to be used instead of gcc ? ? ? ?
----------------------- CUT HERE -------------------------- -
# pkgadd -d apache-2.2.0-sol9-sparc-lo cal
# /usr/local/apache2/bin/apa chectl -f /usr/local/apache2/conf/ht tpd.conf
ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/bin/htt pd: symbol
apr_hook_debug_enabled: referenced symbol not found Killed
# pkgadd -d apr-1.2.2-sol9-sparc-local
# pkgadd -d gdbm-1.8.3-sol9-sparc-loca l
# pkgadd -d db-4.2.52.NC-sol9-sparc-lo cal
# pkgadd -d expat-1.95.5-sol9-sparc-lo cal
#
# cd /opt/temp0/mod_perl-2.0.3
# perl Makefile.PL
no conflicting prior mod_perl version found - good.
Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):
/usr/local/apache2/bin/apx s
[ error] '/usr/local/apache2/bin/ap xs -q INCLUDEDIR' failed:
[ error] ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/bin/htt pd: symbol
apr_hook_debug_enabled: referenced symbol not found Killed
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/apache2/bin/ht tpd'..
[ error] Unable to determine server version, aborting.
[ error] Invalid MP_APXS specified?
# appcert /usr/local/apache2/bin/htt pd
finding executables and shared libraries to check ...
profiling: /usr/local/apache2/bin/htt pd
re-profiling binary objects with unbound symbols ...
determining list of Solaris libraries ...
checking binary objects for unstable practices ...
checking: /usr/local/apache2/bin/htt pd
-------------------------- ---------- ---------- ---------- ---------- ------
Summary: No stability problems detected, but not all binaries were checked.
A total of 1 binary objects were examined.
The following (1 of 1) components had no problems detected,
but could not be completely checked:
/usr/local/apache2/bin/htt pd (193 unbound symbols)
Summary of various warnings:
- unbound symbols (1 binaries)
Additional output regarding private symbols usage and other data is in the directory:
/tmp/appcert.12814
see the appcert documentation for more information.
#
#
#
# cd /tmp/appcert.12814
# ls -F
AbiIndex Index objects/ ProblemCount Report ResultCode Skipped
# grep apr_hook_debug *
# cd objects/:=usr=local=apache 2=bin=http d
# ls -F
check.dynamic.abi_models check.problems info.dump
profile.dynamic profile.static
check.dynamic.public info.arch info.file
profile.dynamic.ldd summary.dynamic
check.dynamic.unbound info.dtneeded info.path
profile.dynamic.objects
# grep apr_hook_debug *
check.dynamic.unbound:*DIR ECT*|apr_h ook_debug_ current
check.dynamic.unbound:*DIR ECT*|apr_h ook_debug_ enabled
check.dynamic.unbound:*DIR ECT*|apr_h ook_debug_ show
profile.dynamic:/usr/local /apache2/b in/httpd|* DIRECT*|*U NBOUND*|ap r_hook_deb ug_current
profile.dynamic:/usr/local /apache2/b in/httpd|* DIRECT*|*U NBOUND*|ap r_hook_deb ug_enabled
profile.dynamic:/usr/local /apache2/b in/httpd|* DIRECT*|*U NBOUND*|ap r_hook_deb ug_show
#
#
I saw a reference in the web about installing mod_perl, but that won't compile!!
Has anyone had any luck getting the sunfreeware apache to work? I've heard that Studio 11 c compiler needs to be used instead of gcc ? ? ? ?
----------------------- CUT HERE --------------------------
# pkgadd -d apache-2.2.0-sol9-sparc-lo
# /usr/local/apache2/bin/apa
ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/bin/htt
apr_hook_debug_enabled: referenced symbol not found Killed
# pkgadd -d apr-1.2.2-sol9-sparc-local
# pkgadd -d gdbm-1.8.3-sol9-sparc-loca
# pkgadd -d db-4.2.52.NC-sol9-sparc-lo
# pkgadd -d expat-1.95.5-sol9-sparc-lo
#
# cd /opt/temp0/mod_perl-2.0.3
# perl Makefile.PL
no conflicting prior mod_perl version found - good.
Please provide a full path to 'apxs' executable
(press Enter if you don't have it installed):
/usr/local/apache2/bin/apx
[ error] '/usr/local/apache2/bin/ap
[ error] ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/bin/htt
apr_hook_debug_enabled: referenced symbol not found Killed
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/local/apache2/bin/ht
[ error] Unable to determine server version, aborting.
[ error] Invalid MP_APXS specified?
# appcert /usr/local/apache2/bin/htt
finding executables and shared libraries to check ...
profiling: /usr/local/apache2/bin/htt
re-profiling binary objects with unbound symbols ...
determining list of Solaris libraries ...
checking binary objects for unstable practices ...
checking: /usr/local/apache2/bin/htt
--------------------------
Summary: No stability problems detected, but not all binaries were checked.
A total of 1 binary objects were examined.
The following (1 of 1) components had no problems detected,
but could not be completely checked:
/usr/local/apache2/bin/htt
Summary of various warnings:
- unbound symbols (1 binaries)
Additional output regarding private symbols usage and other data is in the directory:
/tmp/appcert.12814
see the appcert documentation for more information.
#
#
#
# cd /tmp/appcert.12814
# ls -F
AbiIndex Index objects/ ProblemCount Report ResultCode Skipped
# grep apr_hook_debug *
# cd objects/:=usr=local=apache
# ls -F
check.dynamic.abi_models check.problems info.dump
profile.dynamic profile.static
check.dynamic.public info.arch info.file
profile.dynamic.ldd summary.dynamic
check.dynamic.unbound info.dtneeded info.path
profile.dynamic.objects
# grep apr_hook_debug *
check.dynamic.unbound:*DIR
check.dynamic.unbound:*DIR
check.dynamic.unbound:*DIR
profile.dynamic:/usr/local
profile.dynamic:/usr/local
profile.dynamic:/usr/local
#
#
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I ment to say that I already installed all those things for mysql before starting with apache. So gcc is already there. Thanks, Allan
ASKER
That solved it. I just used apache-2.0.59-sol9-sparc-l ocal.gz instead of apache-2.2.0-sol9-sparc-lo cal.gz and everything is working fine :-) Just for fun I may try compiling the latest from apache.org.
But all is better with the world :-)
Thanks for your help, Allan
But all is better with the world :-)
Thanks for your help, Allan
ASKER
Just installed mysql with the following steps... sometimes the -CPAN install worked and sometimes I had to do it manually, but it works.
I don't understand why I have so much trouble with Apache...
SECTION I
STEP 1: Standard Package Installation
sunfreeware.com
perl-5.8.7-sol9-sparc-loca
- add Perl-Expect per Allan's install instructions
coreutils-6.4-sol9-sparc-l
ncurses-5.6-sol9-sparc-loc
zlib-1.2.3-sol9-sparc-loca
libiconv-1.11-sol9-sparc-l
gcc-3.4.6-sol9-sparc-local
nmap-4.20-sol9-sparc-local
mysql-5.0.27-sol9-sparc-lo
CPAN
STEP 2: CPAN Dependency Package Installation
Set the PATH variable
# echo $PATH
/usr/local:/usr/local/bin:
Running "/usr/local/bin/perl -MCPAN -e shell"
- require the following sunfreeware installations:
gnupg-1.4.7-sol9-sparc-loc
less-381-sol9-sparc-local.
lynx-2.8.5-sol9-sparc-loca
lynx-2.8.5-sol9-sparc-loca
make-3.81-sol9-sparc-local
shutils-2.0.15-sol9-sparc-
wget-1.10.2-sol9-sparc-loc
- And the following compilation
ncftpd-2.8.3-solaris9-spar
STEP 3: Parl Module Installation
MCPAN
Manually compile the following Perl modules:
use MCPAN where noted, in the following order:
- Note that these two are needed but I don't remember by who:
./Scalar-List-Utils-1.19.t
./parrot-0.4.1.tar.gz
/usr/local/bin/perl -MCPAN -e 'install Pod::Escapes'
./Pod-Simple-3.05.tar.gz
./Test-Pod-1.26.tar.gz
./Compress-Raw-Bzip2-2.004
./IO-Compress-Bzip2-2.004.
./IO-Compress-Zlib-2.004.t
./PerlIO-gzip-0.18.tar.gz
./Compress-Zlib-Perl-0.02.
./IO-Compress-Base-2.004.t
./Compress-Zlib-2.004.tar.
/usr/local/bin/perl -MCPAN -e 'install Bundle::libnet'
./Bundle-CPAN-1.855.tar.gz
./Devel-Symdump-2.07.tar.g
./Pod-Coverage-0.18.tar.gz
./Test-Pod-Coverage-1.08.t
./Crypt-Rijndael-1.04.tar.
/usr/local/bin/perl -MCPAN -e 'install Bundle::libnet'
/usr/local/bin/perl -MCPAN -e 'install 'DBI'
/usr/local/bin/perl -MCPAN -e 'install 'Net::SNMP'
/usr/local/bin/perl -MCPAN -e 'install 'Proc::Simple'
/usr/local/bin/perl -MCPAN -e 'install Bundle::libnet'
Note that
Net::Telnet is up to date.
Net::Cmd is up to date.
are install with Bundle::libnet
#