You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Eric Martin <em...@ams.org> on 2005/08/22 19:18:14 UTC

[mp2] 'make test' error--cannot start server: httpd () does not exist

1. Just installed gcc-3.4.4, perl-5.8.7, apache-2.0.54 on a clean 
installation of Solaris 10.  gcc, perl, and apache went in without a hitch. 
About 70 perl modules also installed without failure using the new gcc/perl.


2. I then proceed to do: 'perl Makefile.PL 
MP_APXS=/usr/local/apache2/bin/apxs', 'make' (/usr/ccs/bin), and 'make 
test,' which gives:
============begin 'make test'============
# make test
cd "src/modules/perl" && make
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -clean
APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT= APACHE_TEST_USER= 
APACHE_TEST_APXS= \
/usr/bin/perl -Iblib/arch -Iblib/lib \
t/TEST -bugreport -verbose=0
[warning] root mode: changing the files ownership to 'nobody' (60001:60001)
[warning] testing whether 'nobody' is able to -rwx 
/usr/local/src/perlmods/mod_perl-2.0.1/t
"/usr/bin/perl" -Mlib=/usr/local/src/perlmods/mod_perl-2.0.1/Apache-Test/lib 
 -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(60001, 
60001, q[/usr/local/src/perlmods/mod_perl-2.0.1/t]) }';


[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
[  error] cannot start server: httpd 
(/usr/local/stow/apache-2.0.54/apache2/bin/httpd) does not exist
+--------------------------------------------------------+
| Please file a bug report: http://perl.apache.org/bugs/ |
+--------------------------------------------------------+
*** Error code 1
make: Fatal error: Command failed for target `run_tests'
=============end 'make test'=============
Well, apxs is where I said it was (obviously), and httpd definately exists 
at: /usr/local/stow/apache-2.0.54/apache2/bin/httpd


3. Contents of t/REPORT (mybugreport):
============begin t/REPORT=============
# cat t/REPORT
#!/usr/local/stow/perl-5.8.7/bin/perl
# WARNING: this file is generated, do not edit
# 01: Apache-Test/lib/Apache/TestConfig.pm:923
# 02: Apache-Test/lib/Apache/TestConfig.pm:1013
# 03: Apache-Test/lib/Apache/TestReport.pm:44
# 04: Makefile.PL:316
# 05: Makefile.PL:56

BEGIN { eval { require blib && blib->import; } }

use strict;
use warnings FATAL => 'all';

use lib qw(
    /usr/local/src/perlmods/mod_perl-2.0.1/lib
    /usr/local/src/perlmods/mod_perl-2.0.1/Apache-Test/lib
    /usr/local/src/perlmods/mod_perl-2.0.1/t/lib
);


use ModPerl::TestReport;
ModPerl::TestReport->new(@ARGV)->run;
=============end t/REPORT==============


4. Also if this helps:
========begin 't/TEST -trace=debug'=========
# t/TEST -trace=debug
[  debug] loading custom config data from: 
'/usr/local/src/perlmods/mod_perl-2.0.1/lib/Apache/TestConfigData.pm'
[  debug] configuring httpd
[  debug] Using httpd: /usr/local/stow/apache-2.0.54/apache2/bin/httpd
[  debug] isolated httpd_info VERSION = Apache/2.0.54
[  debug] isolated httpd_info BUILT = Aug 18 2005 12:40:02
[  debug] isolated httpd_info MODULE_MAGIC_NUMBER = 20020903:9
[  debug] isolated httpd_defines APACHE_MPM_DIR = server/mpm/prefork
[  debug] isolated httpd_defines APR_HAS_SENDFILE = 1
[  debug] isolated httpd_defines APR_HAS_MMAP = 1
[  debug] isolated httpd_defines APR_HAVE_IPV6 (IPv4-mapped addresses 
enabled) = 1
[  debug] isolated httpd_defines APR_USE_FCNTL_SERIALIZE = 1
[  debug] isolated httpd_defines APR_USE_PTHREAD_SERIALIZE = 1
[  debug] isolated httpd_defines SINGLE_LISTEN_UNSERIALIZED_ACCEPT = 1
[  debug] isolated httpd_defines APR_HAS_OTHER_CHILD = 1
[  debug] isolated httpd_defines AP_HAVE_RELIABLE_PIPED_LOGS = 1
[  debug] isolated httpd_defines HTTPD_ROOT = /usr/local/apache2
[  debug] isolated httpd_defines SUEXEC_BIN = /usr/local/apache2/bin/suexec
[  debug] isolated httpd_defines DEFAULT_PIDLOG = logs/httpd.pid
[  debug] isolated httpd_defines DEFAULT_SCOREBOARD = 
logs/apache_runtime_status
[  debug] isolated httpd_defines DEFAULT_LOCKFILE = logs/accept.lock
[  debug] isolated httpd_defines DEFAULT_ERRORLOG = logs/error_log
[  debug] isolated httpd_defines AP_TYPES_CONFIG_FILE = conf/mime.types
[  debug] isolated httpd_defines SERVER_CONFIG_FILE = conf/httpd.conf
[  debug] inheriting config file: /usr/local/apache2/conf/httpd.conf
[  debug] using httpd.conf inherited ServerRoot to resolve conf/ssl.conf
[  debug] conf/ssl.conf successfully resolved to existing file 
/usr/local/apache2/conf/ssl.conf
[  debug] inheriting config file: /usr/local/apache2/conf/ssl.conf
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_access.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_access.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_access.so
[  debug] Found: access_module => mod_access.c
[  debug] LoadModule access_module mod_access.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_auth.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_auth.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_auth.so
[  debug] Found: auth_module => mod_auth.c
[  debug] LoadModule auth_module mod_auth.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_auth_dbm.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_auth_dbm.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_auth_dbm.so
[  debug] Found: auth_dbm_module => mod_auth_dbm.c
[  debug] LoadModule auth_dbm_module mod_auth_dbm.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_charset_lite.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_charset_lite.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_charset_lite.so
[  debug] Found: charset_lite_module => mod_charset_lite.c
[  debug] LoadModule charset_lite_module mod_charset_lite.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_include.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_include.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_include.so
[  debug] Found: include_module => mod_include.c
[  debug] LoadModule include_module mod_include.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_log_config.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_log_config.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_log_config.so
[  debug] Found: log_config_module => mod_log_config.c
[  debug] LoadModule log_config_module mod_log_config.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_env.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_env.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_env.so
[  debug] Found: env_module => mod_env.c
[  debug] LoadModule env_module mod_env.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_mime_magic.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_mime_magic.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_mime_magic.so
[  debug] Found: mime_magic_module => mod_mime_magic.c
[  debug] LoadModule mime_magic_module mod_mime_magic.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cern_meta.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cern_meta.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cern_meta.so
[  debug] Found: cern_meta_module => mod_cern_meta.c
[  debug] LoadModule cern_meta_module mod_cern_meta.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_expires.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_expires.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_expires.so
[  debug] Found: expires_module => mod_expires.c
[  debug] LoadModule expires_module mod_expires.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_headers.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_headers.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_headers.so
[  debug] Found: headers_module => mod_headers.c
[  debug] LoadModule headers_module mod_headers.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_usertrack.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_usertrack.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_usertrack.so
[  debug] Found: usertrack_module => mod_usertrack.c
[  debug] LoadModule usertrack_module mod_usertrack.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_unique_id.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_unique_id.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_unique_id.so
[  debug] Found: unique_id_module => mod_unique_id.c
[  debug] LoadModule unique_id_module mod_unique_id.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_setenvif.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_setenvif.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_setenvif.so
[  debug] Found: setenvif_module => mod_setenvif.c
[  debug] LoadModule setenvif_module mod_setenvif.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy.so
[  debug] Found: proxy_module => mod_proxy.c
[  debug] LoadModule proxy_module mod_proxy.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_connect.so 
is already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_connect.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_connect.so
[  debug] Found: proxy_connect_module => proxy_connect.c
[  debug] LoadModule proxy_connect_module proxy_connect.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_ftp.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_ftp.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_ftp.so
[  debug] Found: proxy_ftp_module => proxy_ftp.c
[  debug] LoadModule proxy_ftp_module proxy_ftp.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_http.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_http.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_proxy_http.so
[  debug] Found: proxy_http_module => proxy_http.c
[  debug] LoadModule proxy_http_module proxy_http.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_ssl.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_ssl.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_ssl.so
[  debug] Found: ssl_module => mod_ssl.c
[  debug] LoadModule ssl_module mod_ssl.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_mime.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_mime.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_mime.so
[  debug] Found: mime_module => mod_mime.c
[  debug] LoadModule mime_module mod_mime.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dav.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dav.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dav.so
[  debug] Found: dav_module => mod_dav.c
[  debug] LoadModule dav_module mod_dav.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_status.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_status.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_status.so
[  debug] Found: status_module => mod_status.c
[  debug] LoadModule status_module mod_status.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_autoindex.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_autoindex.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_autoindex.so
[  debug] Found: autoindex_module => mod_autoindex.c
[  debug] LoadModule autoindex_module mod_autoindex.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_asis.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_asis.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_asis.so
[  debug] Found: asis_module => mod_asis.c
[  debug] LoadModule asis_module mod_asis.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_info.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_info.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_info.so
[  debug] Found: info_module => mod_info.c
[  debug] LoadModule info_module mod_info.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cgi.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cgi.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cgi.so
[  debug] Found: cgi_module => mod_cgi.c
[  debug] LoadModule cgi_module mod_cgi.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cgid.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cgid.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_cgid.so
[  debug] Found: cgid_module => mod_cgid.c
[  debug] LoadModule cgid_module mod_cgid.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dav_fs.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dav_fs.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dav_fs.so
[  debug] Found: dav_fs_module => mod_dav_fs.c
[  debug] LoadModule dav_fs_module mod_dav_fs.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_vhost_alias.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_vhost_alias.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_vhost_alias.so
[  debug] Found: vhost_alias_module => mod_vhost_alias.c
[  debug] LoadModule vhost_alias_module mod_vhost_alias.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_negotiation.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_negotiation.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_negotiation.so
[  debug] Found: negotiation_module => mod_negotiation.c
[  debug] LoadModule negotiation_module mod_negotiation.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dir.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dir.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_dir.so
[  debug] Found: dir_module => mod_dir.c
[  debug] LoadModule dir_module mod_dir.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_imap.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_imap.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_imap.so
[  debug] Found: imap_module => mod_imap.c
[  debug] LoadModule imap_module mod_imap.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_actions.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_actions.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_actions.so
[  debug] Found: actions_module => mod_actions.c
[  debug] LoadModule actions_module mod_actions.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_speling.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_speling.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_speling.so
[  debug] Found: speling_module => mod_speling.c
[  debug] LoadModule speling_module mod_speling.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_userdir.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_userdir.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_userdir.so
[  debug] Found: userdir_module => mod_userdir.c
[  debug] LoadModule userdir_module mod_userdir.c
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_alias.so 
is already absolute
[  debug] /usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_alias.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_alias.so
[  debug] Found: alias_module => mod_alias.c
[  debug] LoadModule alias_module mod_alias.c
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_rewrite.so is 
already absolute
[  debug] 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_rewrite.so 
successfully resolved to existing file 
/usr/local/stow/apache-modules-2.0.54/apache2/modules/mod_rewrite.so
[  debug] Found: rewrite_module => mod_rewrite.c
[  debug] LoadModule rewrite_module mod_rewrite.c
[  debug] using httpd.conf inherited ServerRoot to resolve conf/mime.types
[  debug] conf/mime.types successfully resolved to existing file 
/usr/local/apache2/conf/mime.types
[  debug] Matched Apache revision Apache/2.0.54 2
[warning] root mode: changing the files ownership to 'nobody' (60001:60001)
[warning] testing whether 'nobody' is able to -rwx 
/usr/local/src/perlmods/mod_perl-2.0.1/t
"/usr/bin/perl" -Mlib=/usr/local/src/perlmods/mod_perl-2.0.1/Apache-Test/lib 
 -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(60001, 
60001, q[/usr/local/src/perlmods/mod_perl-2.0.1/t]) }';


[warning] result: OK
[warning] the client side drops 'root' permissions and becomes 'nobody'
[  error] cannot start server: httpd 
(/usr/local/stow/apache-2.0.54/apache2/bin/httpd) does not exist
=========end 't/TEST -trace=debug'==========

5. Doesn't matter whenther apache is running or not, I get the same "httpd 
does not exist" regarless

I hope this is enough to go on.  Thanks in advance to anyone that might see 
what's going on here.


----- Original Message ----- 
From: <mo...@perl.apache.org>
To: <em...@ams.org>
Sent: Monday, August 22, 2005 12:50 PM
Subject: WELCOME to modperl@perl.apache.org


> Hi! This is the ezmlm program. I'm managing the
> modperl@perl.apache.org mailing list.
>
>
> Acknowledgment: I have added the address
>
>   emm@ams.org
>
> to the modperl mailing list.
>
> Welcome to modperl@perl.apache.org!
>
> Please save this message so that you know the address you are
> subscribed under, in case you later want to unsubscribe or change your
> subscription address.
>
> =====================================================================
>
> Please save this for later reference. It lists your modperl and
> related help links. Please don't ask questions at the list before you
> made sure you have searched for the answers but didn't find them. 90%
> that the answer has been already answered and waits for you at one of
> the links below.
>
> This message includes links to help you with:
>
> 1. mod_perl
> 2. general perl and cgi/perl
> 3. general apache
>
> -----------------------------------------------------------------
>
> 1. To get started and to find most of the answers to your modperl
> related questions please refer to:
>
>    http://perl.apache.org/ - mod_perl home with links for everything
> related to mod_perl
>
>    http://www.modperl.com/ - This is the home site of The Apache
> Modules Book, a book about creating Web server modules using the
> Apache API, written by Lincoln Stein and Doug MacEachern.
>
>    http://mathforum.org/epigone/modperl - Searchable mod_perl
> mailing list archive. There are a lot of chances that someone has
> already asked the question you are about to ask the list. Please check
> the mailing list archive, by a quick search. It will save you the time
> to wait for someone to answer for your question if at all.
>
>    http://perl.apache.org/docs/ - mod_perl documentation. Many questions
> that has been asked at list are covered here, but you will find the
> answers better covered than in the archive. The guide doesn't cover the
> perl api programming. For that referer to the book Doug and Lincoln
> wrote. See the www.modperl.com for more info.
>
>    http://www.refcards.com/ - mod_perl Quick Reference Card
>
>
> -----------------------------------------------------------------
>
> 2. It's obvious that sometimes you need a help with perl, but please
> don't ask the perl related questions at the modperl list. Do it in the
> proper forum. To find a generic perl help please referer to:
>
>    http://perl.apache.org/docs/offsite/other.html
>
> That document also includes pointers to the information about CGI, and
> CGI/Perl.
>
> -----------------------------------------------------------------
>
> 3. And the last but not least important ingredient of your sucessful
> programming under modperl is a basic Apache webserver knowledge. The
> information below will help you to become more familiar with apache
> webserver if you weren't already:
>
>    http://www.apache.org/ - Apache Project's Home
>
>    http://www.apache.org/docs/misc/FAQ.html - The Apache FAQ
>
>    http://www.apache.org/docs/ Apache Server Documentation
>
>    http://www.refcards.com/about/apache.html -- Apache Quick
> Reference Card
>
> ------------------------------------------------------------------
>
> --- Administrative commands for the modperl list ---
>
> I can handle administrative requests automatically. Please
> do not send them to the list address! Instead, send
> your message to the correct command address:
>
> To subscribe to the list, send a message to:
>   <mo...@perl.apache.org>
>
> To remove your address from the list, send a message to:
>   <mo...@perl.apache.org>
>
> Send mail to the following for info and FAQ for this list:
>   <mo...@perl.apache.org>
>   <mo...@perl.apache.org>
>
> Similar addresses exist for the digest list:
>   <mo...@perl.apache.org>
>   <mo...@perl.apache.org>
>
> To get messages 123 through 145 (a maximum of 100 per request), mail:
>   <mo...@perl.apache.org>
>
> To get an index with subject and author for messages 123-456 , mail:
>   <mo...@perl.apache.org>
>
> They are always returned as sets of 100, max 2000 per request,
> so you'll actually get 100-499.
>
> To receive all messages with the same subject as message 12345,
> send an empty message to:
>   <mo...@perl.apache.org>
>
> The messages do not really need to be empty, but I will ignore
> their content. Only the ADDRESS you send to is important.
>
> You can start a subscription for an alternate address,
> for example "john@host.domain", just add a hyphen and your
> address (with '=' instead of '@') after the command word:
> <mo...@perl.apache.org>
>
> To stop subscription for this address, mail:
> <mo...@perl.apache.org>
>
> In both cases, I'll send a confirmation message to that address. When
> you receive it, simply reply to it to complete your subscription.
>
> If despite following these instructions, you do not get the
> desired results, please contact my owner at
> modperl-owner@perl.apache.org. Please be patient, my owner is a
> lot slower than I am ;-)
>
> --- Enclosed is a copy of the request I received.
>
> Return-Path: <em...@ams.org>
> Received: (qmail 69110 invoked by uid 99); 22 Aug 2005 16:50:07 -0000
> Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 
> 09:50:07 -0700
> X-ASF-Spam-Status: No, hits=0.0 required=10.0
> tests=
> X-Spam-Check-By: apache.org
> Received-SPF: pass (asf.osuosl.org: local policy)
> Received: from [130.44.1.105] (HELO ams.org) (130.44.1.105)
>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005 
> 09:50:24 -0700
> Received: from emmxp (emmxp.ams.org [130.44.10.28])
> by ams.org (Switch-3.1.6/Switch-3.1.6) with SMTP id j7MGo3cI026888
> (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO)
> for 
> <mo...@perl.apache.org>; 
> Mon, 22 Aug 2005 12:50:03 -0400 (EDT)
> Message-ID: <00...@emmxp>
> From: "Eric Martin" <em...@ams.org>
> To: 
> <mo...@perl.apache.org>
> References: <11...@perl.apache.org>
> Subject: Re: confirm subscribe to modperl@perl.apache.org
> Date: Mon, 22 Aug 2005 12:50:02 -0400
> MIME-Version: 1.0
> Content-Type: text/plain;
> format=flowed;
> charset="iso-8859-1";
> reply-type=original
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 6.00.2900.2527
> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
> X-Scanned-By: MIMEDefang 2.49 on 130.44.1.105
> X-Virus-Checked: Checked by ClamAV on apache.org
>
>
> ----- Original Message ----- 
> From: <mo...@perl.apache.org>
> To: <em...@ams.org>
> Sent: Monday, August 22, 2005 12:47 PM
> Subject: confirm subscribe to modperl@perl.apache.org
>
>
>> Hi! This is the ezmlm program. I'm managing the
>> modperl@perl.apache.org mailing list.
>>
>> To confirm that you would like
>>
>>   emm@ams.org
>>
>> added to the modperl mailing list, please send
>> an empty reply to this address:
>>
>>   modperl-sc.1124729260.njealboomdjcflcpamon-emm=ams.org@perl.apache.org
>>
>> Usually, this happens when you just hit the "reply" button.
>> If this does not work, simply copy the address and paste it into
>> the "To:" field of a new message.
>>
>> This confirmation serves two purposes. First, it verifies that I am able
>> to get mail through to you. Second, it protects you in case someone
>> forges a subscription request in your name.
>>
>> Some mail programs are broken and cannot handle long addresses. If you
>> cannot reply to this request, instead send a message to
>> <mo...@perl.apache.org> and put the
>> entire address listed above into the "Subject:" line.
>>
>>
>> --- Administrative commands for the modperl list ---
>>
>> I can handle administrative requests automatically. Please
>> do not send them to the list address! Instead, send
>> your message to the correct command address:
>>
>> To subscribe to the list, send a message to:
>>   <mo...@perl.apache.org>
>>
>> To remove your address from the list, send a message to:
>>   <mo...@perl.apache.org>
>>
>> Send mail to the following for info and FAQ for this list:
>>   <mo...@perl.apache.org>
>>   <mo...@perl.apache.org>
>>
>> Similar addresses exist for the digest list:
>>   <mo...@perl.apache.org>
>>   <mo...@perl.apache.org>
>>
>> To get messages 123 through 145 (a maximum of 100 per request), mail:
>>   <mo...@perl.apache.org>
>>
>> To get an index with subject and author for messages 123-456 , mail:
>>   <mo...@perl.apache.org>
>>
>> They are always returned as sets of 100, max 2000 per request,
>> so you'll actually get 100-499.
>>
>> To receive all messages with the same subject as message 12345,
>> send an empty message to:
>>   <mo...@perl.apache.org>
>>
>> The messages do not really need to be empty, but I will ignore
>> their content. Only the ADDRESS you send to is important.
>>
>> You can start a subscription for an alternate address,
>> for example "john@host.domain", just add a hyphen and your
>> address (with '=' instead of '@') after the command word:
>> <mo...@perl.apache.org>
>>
>> To stop subscription for this address, mail:
>> <mo...@perl.apache.org>
>>
>> In both cases, I'll send a confirmation message to that address. When
>> you receive it, simply reply to it to complete your subscription.
>>
>> If despite following these instructions, you do not get the
>> desired results, please contact my owner at
>> modperl-owner@perl.apache.org. Please be patient, my owner is a
>> lot slower than I am ;-)
>>
>> --- Enclosed is a copy of the request I received.
>>
>> Return-Path: <em...@ams.org>
>> Received: (qmail 66183 invoked by uid 99); 22 Aug 2005 16:47:40 -0000
>> Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005
>> 09:47:40 -0700
>> X-ASF-Spam-Status: No, hits=1.6 required=10.0
>> tests=MISSING_SUBJECT
>> X-Spam-Check-By: apache.org
>> Received-SPF: pass (asf.osuosl.org: local policy)
>> Received: from [130.44.1.105] (HELO ams.org) (130.44.1.105)
>>    by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2005
>> 09:47:57 -0700
>> Received: from emmxp (emmxp.ams.org [130.44.10.28])
>> by ams.org (Switch-3.1.6/Switch-3.1.6) with SMTP id j7MGlZqJ026519
>> (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO)
>> for <mo...@perl.apache.org>; Mon, 22 Aug 2005 12:47:36 -0400
>> (EDT)
>> Message-ID: <00...@emmxp>
>> From: "Eric Martin" <em...@ams.org>
>> To: <mo...@perl.apache.org>
>> Subject:
>> Date: Mon, 22 Aug 2005 12:47:35 -0400
>> MIME-Version: 1.0
>> Content-Type: text/plain;
>> format=flowed;
>> charset="iso-8859-1";
>> reply-type=original
>> Content-Transfer-Encoding: 7bit
>> X-Priority: 3
>> X-MSMail-Priority: Normal
>> X-Mailer: Microsoft Outlook Express 6.00.2900.2527
>> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
>> X-Scanned-By: MIMEDefang 2.49 on 130.44.1.105
>> X-Virus-Checked: Checked by ClamAV on apache.org
>>
>>
> 


Re: [mp2] 'make test' error--cannot start server: httpd () does not exist

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Eric Martin wrote:
> 1. Just installed gcc-3.4.4, perl-5.8.7, apache-2.0.54 on a clean
> installation of Solaris 10.  gcc, perl, and apache went in without a
> hitch. About 70 perl modules also installed without failure using the
> new gcc/perl.
> 
> 
> 2. I then proceed to do: 'perl Makefile.PL
> MP_APXS=/usr/local/apache2/bin/apxs', 'make' (/usr/ccs/bin), and 'make
> test,' which gives:
> ============begin 'make test'============
> # make test
> cd "src/modules/perl" && make
> /usr/bin/perl -Iblib/arch -Iblib/lib \
> t/TEST -clean
> APACHE_TEST_GROUP= APACHE_TEST_HTTPD= APACHE_TEST_PORT=
> APACHE_TEST_USER= APACHE_TEST_APXS= \
> /usr/bin/perl -Iblib/arch -Iblib/lib \
> t/TEST -bugreport -verbose=0
> [warning] root mode: changing the files ownership to 'nobody' (60001:60001)
> [warning] testing whether 'nobody' is able to -rwx
> /usr/local/src/perlmods/mod_perl-2.0.1/t
> "/usr/bin/perl"
> -Mlib=/usr/local/src/perlmods/mod_perl-2.0.1/Apache-Test/lib
> -MApache::TestRun -e 'eval { Apache::TestRun::run_root_fs_test(60001,
> 60001, q[/usr/local/src/perlmods/mod_perl-2.0.1/t]) }';
> 
> 
> [warning] result: OK
> [warning] the client side drops 'root' permissions and becomes 'nobody'
> [  error] cannot start server: httpd
> (/usr/local/stow/apache-2.0.54/apache2/bin/httpd) does not exist

Most likely problem here is that httpd does exist at that patch, but after
dropping privileges to nobody, it can't see it anymore.

Have you made sure that user 'nobody' can successfully stat/exec
/usr/local/stow/apache-2.0.54/apache2/bin/httpd ? (and the directories leading to there)

> +--------------------------------------------------------+
> | Please file a bug report: http://perl.apache.org/bugs/ |
> +--------------------------------------------------------+
> *** Error code 1
> make: Fatal error: Command failed for target `run_tests'
> =============end 'make test'=============
> Well, apxs is where I said it was (obviously), and httpd definately
> exists at: /usr/local/stow/apache-2.0.54/apache2/bin/httpd

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5