2nd questions from PerlBal novice
Galtsev Igor
gis at bytex.ru
Tue May 15 04:52:50 UTC 2007
"make test" procedure for Sys-Syscall-0.22 is failed too.
# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-use.........ok
t/01-epoll.......skipped
all skipped: test good only for Linux 2.6+
t/02-sendfile....ok 1/2got rv = -1 from sendfile at t/02-sendfile.t line 53.
# Looks like you planned 2 tests but only ran 1.
# Looks like your test died just after 1.
t/02-sendfile....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/02-sendfile.t 255 65280 2 2 2
1 test skipped.
Failed 1/3 test scripts. 1/3 subtests failed.
Files=3, Tests=3, 1 wallclock secs ( 0.27 cusr + 0.07 csys = 0.34 CPU)
Failed 1/3 test programs. 1/3 subtests failed.
*** Error code 255
Stop in /usr/home/inst/Sys-Syscall-0.22.
BF> Does "make test" succeed for Sys-Syscall and Perlbal?
BF> I think it's a Sys-Syscall issue on FreeBSD.
BF> On Mon, 14 May 2007, Galtsev Igor wrote:
>> Hello and greetings all and everyone again!
>>
>> I have one more possible dummy questions.
>>
>> I have stand up Perlbal as web-server (OS FreeBSD 6.2).
>>
>> /etc/perlbal/perlbal.conf is
>>
>> CREATE SERVICE docs
>> SET listen = 0.0.0.0:5555
>> SET role = web_server
>> SET docroot = /usr/share/doc/
>> SET dirindexing = 1
>> SET index_files = index.html, index.php
>> SET persist_client = on
>> server aio_mode = ioaio
>> ENABLE docs
>>
>> CREATE SERVICE mgmt
>> SET role = management
>> SET listen = 127.0.0.1:60000
>> ENABLE mgmt
>>
>> I was placed in the /usr/share/doc/ very simple file - index.html
>> contained 2 words:
>>
>> TEST DATA
>>
>> In the my browser (Opera 9.02) I try to connect to http:\\my_server:5555
>> and I expect to see this 2 words - TEST DATA.
>>
>> But I see - the blank page. And into the server's console I see 2
>> error messages:
>>
>> Error w/ sendfile: Invalid argument
>> Error w/ sendfile: Invalid argument
>>
>> I dont understand again - why I don see the content of the index.html
>> file. And in what sense and the plausible reason of these error messages?
>>
>> --
>> Many thanks you for a attention.
>> Igor Galtsev
>> mailto:gis at bytex.ru
>>
>>
More information about the perlbal
mailing list