Hello,

I am posting this matter to the list because  it takes so long from my
end of the world to download the relevant information for trouble
shooting. My problem is as follows:

I downloaded mod_perl-1.26 and apache_1.3.24  in May this year. I
followed all the instructions in the mod_perl guide on how to set up the
server and had it running successfully without any problems.
Now I decided to upgrade to mod_perll-1.27 and apache_1.3.26.
I downlloaded from the mirror site at nagoya.
I am following the same instructions which are, after uncompressing
them:

1. perl Makefile.PL APACH_SRC = ../apache_1.3.26/src \
DO_HTTPD = 1 USE_APACI = 1 EVERYTHING = 1

Everthing goes smoothly. Then:

2. make && make test && make install

The executiion is smooth until the test part which I believe fails and
hence the install leg is aborted?

The error output at the end is:

../apache_1.3.26/src/httpd -f `pwd`/t/conf/httpd.conf -X -d `pwd`/t &
httpd listening on port 8529
will write error_log to: t/logs/error_log
letting apache warm up...\c
done
/usr/bin/perl t/TEST 0
still waiting for server to warm up...............not ok
server failed to start! (please examine t/logs/error_log) at t/TEST line
95.
make: *** [run_tests] Error 9

The t/logs/error_log reads

[notice] Destruction->DESTROY called for $global_object
Prototype mismatch: sub Socket::INADDR_ANY vs () at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 328.
Prototype mismatch: sub Socket::INADDR_BROADCAST vs () at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 329.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 330.
Prototype mismatch: sub Socket::INADDR_LOOPBACK vs () at
/usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 331.
[Wed Jul 31 13:12:16 2002] [warn] [notice] child_init for process 3690,
report any problems to [no address given]

3. Then I backup into the apache_1.3.26 directory and issue

make install

I am congratulated for a successful installation.

4. The I issue (as root)

/usr/local/apache/bin/apachectl start and the error message from the
/usr/local/apache/logs/error_log

[Tue Jul 30 16:01:52 2002] [alert] httpd: Could not determine the
server's fully qualified domain name, using 127.0.0.1 for ServerName
Apache.pm failed to load!.
[Tue Jul 30 16:37:55 2002] [alert] httpd: Could not determine the
server's fully qualified domain name, using 127.0.0.1 for ServerName
[Tue Jul 30 16:37:55 2002] [warn] pid file
/usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?
Apache.pm failed to load!.
[Wed Jul 31 12:27:57 2002] [alert] httpd: Could not determine the
server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Jul 31 12:27:57 2002] [warn] pid file
/usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?
Apache.pm failed to load!.

I think the failure is due to incomplete mod_perl installation.

As I pointed out earlier, the earlier versions of mod_perl and apache
were installed successfully. I was configuring the httpd.conf file to
run some cgi scripts which did not execute very well but I think can fix
that.
I've spent the past 48 hours trying to trouble shoot the trouble as much
as I can but access to information  is so very frustrating from this end
of the world..

I am using Perl 5.6.1 on Linux 7.1. I installed the mod_perl and apache
packages which came with the box but did not use them so had them
unstalled.

Any pointers to where I can start meaningful trouble-shooting would be
greatly appreciated.

Thanks in advance,

Alfred Vahau
School of Natural and Physical Sciences
Uni. PNG





Reply via email to