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

2004-04-01 Thread Kevin Greenidge
Hi, 

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
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
Can't locate Cwd.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
Can't locate Cwd.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
Can't locate Cwd.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.0/mach
/usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
/usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2004-04-01 Thread Wayne Pascoe
On Thu, Apr 01, 2004 at 01:47:37AM -0600, Kevin Greenidge wrote:

> System: FreeBSD 4.9
> Current Perl Version: 5.8.2

What was your version of perl before the port upgrade ? You might just
be better off going back to whatever it was

> Can't locate Cwd.pm in @INC (@INC contains:
> /usr/local/lib/perl5/site_perl/5.8.0/mach
> /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
> /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
> /usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.

Try installing Cwd from CPAN. Then do a perl -c on whatever script is
running from cron at this time and find out what other modules it
requires.

HTH.

-- 
Wayne Pascoe
Bury me deep when there's no will to be
better than you! - Metallica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2004-04-01 Thread Kevin Greenidge
I was running Perl 5.8.0 before the upgrade. I think I will try to
install Cwd.pm from CPAN since I don't think I can downgrade Perl
easily.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wayne Pascoe
Sent: Thursday, April 01, 2004 2:29 AM
To: Kevin Greenidge
Cc: [EMAIL PROTECTED]
Subject: Re: Apache dies for the second night in a row at the same time.

On Thu, Apr 01, 2004 at 01:47:37AM -0600, Kevin Greenidge wrote:

> System: FreeBSD 4.9
> Current Perl Version: 5.8.2

What was your version of perl before the port upgrade ? You might just
be better off going back to whatever it was

> Can't locate Cwd.pm in @INC (@INC contains:
> /usr/local/lib/perl5/site_perl/5.8.0/mach
> /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
> /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
> /usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.

Try installing Cwd from CPAN. Then do a perl -c on whatever script is
running from cron at this time and find out what other modules it
requires.

HTH.

-- 
Wayne Pascoe
Bury me deep when there's no will to be
better than you! - Metallica
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2004-04-01 Thread Mark
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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2004-04-01 Thread Mark
Kevin Greenidge wrote:

> I was running Perl 5.8.0 before the upgrade. I think I will try to
> install Cwd.pm from CPAN since I don't think I can downgrade Perl
> easily.

Nor should you have to. I am running Perl 5.8.2 on a FreeBSD 4.9R-p3 system
too; and without any trouble.

- Mark

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


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

2004-04-01 Thread Nelis Lamprecht
On Thu, 2004-04-01 at 10:46, Kevin Greenidge wrote:
> I was running Perl 5.8.0 before the upgrade. I think I will try to
> install Cwd.pm from CPAN since I don't think I can downgrade Perl
> easily.

Or you could just symlink your older version to the newer.

ln -s /usr/local/lib/perl5/5.8.2 /usr/local/lib/perl5/5.8.0

and

ln -s /usr/local/lib/perl5/site_perl/5.8.2
/usr/local/lib/perl5/site_perl/5.8.0

If you haven't got that many programs/modules that rely on perl then you
would be better off just re-installing those programs.


>  
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Wayne Pascoe
> Sent: Thursday, April 01, 2004 2:29 AM
> To: Kevin Greenidge
> Cc: [EMAIL PROTECTED]
> Subject: Re: Apache dies for the second night in a row at the same time.
> 
> On Thu, Apr 01, 2004 at 01:47:37AM -0600, Kevin Greenidge wrote:
> 
> > System: FreeBSD 4.9
> > Current Perl Version: 5.8.2
> 
> What was your version of perl before the port upgrade ? You might just
> be better off going back to whatever it was
> 
> > Can't locate Cwd.pm in @INC (@INC contains:
> > /usr/local/lib/perl5/site_perl/5.8.0/mach
> > /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl
> > /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach
> > /usr/local/lib/perl5/5.8.0 .) at (eval 2) line 1.
> 
> Try installing Cwd from CPAN. Then do a perl -c on whatever script is
> running from cron at this time and find out what other modules it
> requires.
> 
> HTH.
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgpkey/nelis.asc
"Unix IS user friendly.. It's just selective about who its friends are."


signature.asc
Description: This is a digitally signed message part


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

2004-04-01 Thread Dirk-Willem van Gulik
On Apr 1, 2004, at 10:57 AM, Mark wrote:

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
Are you having a log rotate in your crontab ? The log file details are 
not
those of an apache server exiting.

Dw

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"