Apache/Cookie.pm - Can't locate

make testdeps reports CGI::Cookie 1.06 as “OK”.

But trying to reload Apache is not possible…

Any ideas? I’m using now RT 1.0.7 without problems…

[root@katia rt-2-0-1]# /etc/rc.d/init.d/httpd start
Starting httpd: [Fri Jul 13 05:49:17 2001] [error] Can’t locate
Apache/Cookie.pm in @INC (@INC contains: /opt/rt2/etc /opt/rt2/lib
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .
/etc/httpd/ /etc/httpd/lib/perl) at /opt/rt2/bin/webmux.pl line 76.
BEGIN failed–compilation aborted at /opt/rt2/bin/webmux.pl line 76.

Syntax error on line 1294 of /etc/httpd/conf/httpd.conf:
Can’t locate Apache/Cookie.pm in @INC (@INC contains: /opt/rt2/etc
/opt/rt2/lib /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .
/etc/httpd/ /etc/httpd/lib/perl) at /opt/rt2/bin/webmux.pl line 76.
BEGIN failed–compilation aborted at /opt/rt2/bin/webmux.pl line 76.

[root@katia rt-2-0-1]# make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.16 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.40 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 0.896 …found
Checking for CGI::Cookie 1.06 …found
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found
You have new mail in /var/spool/mail/hermann

2.0.1 testdeps doesn’t properly check for Apache::Cookie. you need
to install libapreq from CPAN.On Fri, Jul 13, 2001 at 02:04:44AM -0400, Hermann Wecke wrote:

make testdeps reports CGI::Cookie 1.06 as “OK”.

But trying to reload Apache is not possible…

Any ideas? I’m using now RT 1.0.7 without problems…


[root@katia rt-2-0-1]# /etc/rc.d/init.d/httpd start
Starting httpd: [Fri Jul 13 05:49:17 2001] [error] Can’t locate
Apache/Cookie.pm in @INC (@INC contains: /opt/rt2/etc /opt/rt2/lib
/usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .
/etc/httpd/ /etc/httpd/lib/perl) at /opt/rt2/bin/webmux.pl line 76.
BEGIN failed–compilation aborted at /opt/rt2/bin/webmux.pl line 76.

Syntax error on line 1294 of /etc/httpd/conf/httpd.conf:
Can’t locate Apache/Cookie.pm in @INC (@INC contains: /opt/rt2/etc
/opt/rt2/lib /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503
/usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .
/etc/httpd/ /etc/httpd/lib/perl) at /opt/rt2/bin/webmux.pl line 76.
BEGIN failed–compilation aborted at /opt/rt2/bin/webmux.pl line 76.

[root@katia rt-2-0-1]# make testdeps
/usr/bin/perl ./tools/testdeps -warn mysql
Checking for DBI 1.16 …found
Checking for DBIx::DataSource 0.02 …found
Checking for DBIx::SearchBuilder 0.40 …found
Checking for HTML::Entities…found
Checking for MLDBM…found
Checking for Net::Domain…found
Checking for Net::SMTP…found
Checking for Params::Validate 0.02 …found
Checking for HTML::Mason 0.896 …found
Checking for CGI::Cookie 1.06 …found
Checking for Apache::Session 1.53 …found
Checking for Date::Parse…found
Checking for Date::Format…found
Checking for MIME::Entity 5.108 …found
Checking for Mail::Mailer 1.20 …found
Checking for Getopt::Long 2.24 …found
Checking for Tie::IxHash…found
Checking for Text::Wrapper…found
Checking for Text::Template…found
Checking for File::Spec 0.8 …found
Checking for Errno…found
Checking for File::Temp…found
Checking for Log::Dispatch 1.6 …found
Checking for DBD::mysql 2.0416 …found
You have new mail in /var/spool/mail/hermann


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

A REAL sysadmin challenge is “resurrect five dead mailserver while so ripped
to the gills on mdma that you can’t focus on any given line of text for more
than 10 seconds continuously.”
-Nathan Mehl

2.0.1 testdeps doesn’t properly check for Apache::Cookie. you need
to install libapreq from CPAN.

OK. Problem solved. Now, another problem…
I recompiled mod_perl.1.26 with:

perl Makefile.PL EVERYTHING=1 APACHE_SRC=…/apache_1.3.20/src USE_APACI=1
PREP_HTTPD=1 DO_HTTPD=1
<<

then recompiled apache but this error is still showing:

Starting httpd: [Fri Jul 13 14:16:23 2001] [error] Can’t locate object method “uid” via package “Apache::Server” at /opt/rt2/bin/webmux.pl line 101.

Syntax error on line 1294 of /etc/httpd/conf/httpd.conf:
Can’t locate object method “uid” via package “Apache::Server” at
/opt/rt2/bin/webmux.pl line 101.
<<

Apache::Server is served by mod_perl.1.26, which is installed and
recompiled with apache…

My Apache is compiled almost as a copy of this page:
http://www.delouw.ch/linux/apache.phtml

Thanks,

Hermann

Hermann Wecke wrote:

Syntax error on line 1294 of /etc/httpd/conf/httpd.conf:
Can’t locate object method “uid” via package “Apache::Server” at
/opt/rt2/bin/webmux.pl line 101.
<<

What is on line 1294 of httpd.conf?

Ralph
Ralph Angenendt | “Military justice is to justice what military
http://www.letras.de | music is to music”
ra@letras.de | – Groucho Marx

Hermann Wecke wrote:

Syntax error on line 1294 of /etc/httpd/conf/httpd.conf:
Can’t locate object method “uid” via package “Apache::Server” at
/opt/rt2/bin/webmux.pl line 101.
<<

What is on line 1294 of httpd.conf?

PerlRequire /opt/rt2/bin/webmux.pl

ls -la /opt/rt2/bin/webmux.pl
-rwxr-xr-x 1 root rt 4226 Jul 13 05:14 /opt/rt2/bin/webmux.pl

“RA” == Ralph Angenendt ra@letras.de writes:

RA> Hermann Wecke wrote:

Syntax error on line 1294 of /etc/httpd/conf/httpd.conf:
Can’t locate object method “uid” via package “Apache::Server” at
/opt/rt2/bin/webmux.pl line 101.
<<

RA> What is on line 1294 of httpd.conf?

Based on the error message, I’ll bet it is:

PerlScript /opt/rt2/bin/webmux.pl

But that’s just from using mod_perl for so long :wink: