Apache dies for the second night in a row at the same time.

Mark admin at asarian-host.net
Thu Apr 1 00:57:15 PST 2004


Kevin Greenidge wrote:

> Wanted to see if anyone can point me in the right direction. This is
> the second night that apache went down at the same exact time. I used
> portupgrade to upgrade a few things about 3 days ago which most likely
> upgraded perl in the process. A simple restart of Apache fixes the
> issue but how can I fix it for good? Below is an excerpt from my
> error_log.
>
> System: FreeBSD 4.9
> Current Perl Version: 5.8.2
>
> Can't locate Cwd.pm in @INC (@INC contains:
> /usr/local/lib/perl5/site_perl/5.8.0/mach

Your obvious Perl problems notwithstanding, why would a Perl program crash
your Apache? (you would expect a child to die, not the parent).  See, this
is why I hate fully automated portupgrades.

First order of business, methinks, is to go to:

/usr/ports/lang/perl5.8

And reinstall it. Then I would go to:

/usr/ports/www/mod_perl

And reinstall that too (provided, of course, you use mod_perl; but it seems
like you do).

- Mark



More information about the freebsd-questions mailing list