You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by milena schrevel <mi...@postmaster.co.uk> on 2002/09/13 17:36:55 UTC

[users@httpd] cannot start httpd daemon after reboot

hi all,
i am having following problem:
httpd daemon doesn�t start after i reboot my machine.
if i try to start it manually i get following message:
Starting httpd: [Fri Sep 13 16:39:03 2002] 
 [error] Can't locate strict.pm in @INC (@INC contains: 
 /usr/lib/perl5/5.6.0/i386-linux 
 /usr/lib/perl5/5.6.0 
 /usr/lib/perl5/site_perl/5.6.0/i386-linux 
 /usr/lib/perl5/site_perl/5.6.0 
 /usr/lib/perl5/site_perl/5.005/i386-linux 
 /usr/lib/perl5/site_perl/5.005 
 /usr/lib/perl5/site_perl . 
 /etc/httpd/ /etc/httpd/lib/perl) 
 at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 3.
 BEGIN failed--compilation aborted 
 at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 3.
 Compilation failed in require at (eval 1) line 3.
 [FAILED]
earlier i had perl5.6.0 installed on my machine, but due to some problem i upgraded with an oldpackage perl5.005.
only if i go to the rc-directory and try to start httpd manually it,i am able to start httpd.
can someone give me a hint?
regards, milena 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] cannot start httpd daemon after reboot

Posted by Jeff Beard <je...@cyberxape.com>.
After you down-graded Perl, did you install mod_perl for that version?

You can also include library paths with the "use lib" pragma in the 
startup.pl. This adds the path to the file to @INC. But I think 
something else is at issue.

Post up to the mod_perl mailing list if you want to get more input:

http://perl.apache.org/maillist/index.html

--Jeff

milena schrevel wrote:
> hi all,
> i am having following problem:
> httpd daemon doesn´t start after i reboot my machine.
> if i try to start it manually i get following message:
> Starting httpd: [Fri Sep 13 16:39:03 2002] 
>  [error] Can't locate strict.pm in @INC (@INC contains: 
>  /usr/lib/perl5/5.6.0/i386-linux 
>  /usr/lib/perl5/5.6.0 
>  /usr/lib/perl5/site_perl/5.6.0/i386-linux 
>  /usr/lib/perl5/site_perl/5.6.0 
>  /usr/lib/perl5/site_perl/5.005/i386-linux 
>  /usr/lib/perl5/site_perl/5.005 
>  /usr/lib/perl5/site_perl . 
>  /etc/httpd/ /etc/httpd/lib/perl) 
>  at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 3.
>  BEGIN failed--compilation aborted 
>  at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 3.
>  Compilation failed in require at (eval 1) line 3.
>  [FAILED]
> earlier i had perl5.6.0 installed on my machine, but due to some problem i upgraded with an oldpackage perl5.005.
> only if i go to the rc-directory and try to start httpd manually it,i am able to start httpd.
> can someone give me a hint?
> regards, milena 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

-- 
--
Jeff Beard | Systems Architecture, Programming, Management
Contact    | jeff at cyberxape dot com, 303.443.9339
Location   | In front of the computer, Boulder, CO, USA


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] cannot start httpd daemon after reboot

Posted by Ion Larrañaga <il...@s21sec.com>.
Hi,

I haven't used perl with apache, but it looks like you have some missing
file (strict.pm) that is only found when you start from rc. My guess is that
it is located under the rc directory and then it is found because @INC
includes '.'. Copy it to some other directory found in that list (for
instance, /usr/lib/perl5/5.6.0/i386-linux).

If the file is not in rc or init.d or something like that, try using "locate
strict.pm".

Hope it helps,

   Ion



-----Mensaje original-----
De: milena schrevel [mailto:milena_s@postmaster.co.uk]
Enviado el: viernes, 13 de septiembre de 2002 17:37
Para: users@httpd.apache.org
Asunto: [users@httpd] cannot start httpd daemon after reboot


hi all,
i am having following problem:
httpd daemon doesn´t start after i reboot my machine.
if i try to start it manually i get following message:
Starting httpd: [Fri Sep 13 16:39:03 2002]
 [error] Can't locate strict.pm in @INC (@INC contains:
 /usr/lib/perl5/5.6.0/i386-linux
 /usr/lib/perl5/5.6.0
 /usr/lib/perl5/site_perl/5.6.0/i386-linux
 /usr/lib/perl5/site_perl/5.6.0
 /usr/lib/perl5/site_perl/5.005/i386-linux
 /usr/lib/perl5/site_perl/5.005
 /usr/lib/perl5/site_perl .
 /etc/httpd/ /etc/httpd/lib/perl)
 at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 3.
 BEGIN failed--compilation aborted
 at /usr/lib/perl5/site_perl/5.6.0/i386-linux/Apache.pm line 3.
 Compilation failed in require at (eval 1) line 3.
 [FAILED]
earlier i had perl5.6.0 installed on my machine, but due to some problem i
upgraded with an oldpackage perl5.005.
only if i go to the rc-directory and try to start httpd manually it,i am
able to start httpd.
can someone give me a hint?
regards, milena

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org