selfsufficient has asked for the wisdom of the Perl Monks concerning the following question:

I am running Apache 1.3 in a FreeBSD jail which works as expected. Next I added in mod_perl 1.0 by installing, adding the entry to the httpd.conf file to load dynamically and copy across the libraries to the jail. I also copied the usr/bin/perl file and the directories under perl5 to the jail, however apache will no longer start as it is displaying an error as follows: Can't open perl script "/dev/null": Operation not supported I have tried removing and recreating the /dev/null device in the jail, (as it was already there and working for the standard Apache install) but to no avail. Any ideas as to what to try next?

Replies are listed 'Best First'.
Re: mod_perl in jail /dev/null error
by perrin (Chancellor) on Aug 31, 2007 at 12:22 UTC
    It think it's not actually trying to open /dev/null. It is trying to access some other needed file. You might want to ask on the mod_perl mailing list to see if anyone else is using it with a FreeBSD jail.