|
From: Florian H. <fh...@in...> - 2002-07-13 10:07:55
|
Hi. I justed installed OI 1.40 on a Powerbook running OS X 10.1.5 with Perl 5.6.0, Apache 1.2.23 (patched version to fix OS X specific problems with libapreq), mod_perl 1.27 and PostgreSQL as database. Installation ran very smooth - but on the first access with a browser I get this error message: Can't locate object method "parse" via package "OpenInteract::Cookies::Apache" at /Library/Perl/OpenInteract.pm line 253. I tried to comment this line out just to see what happens, but it seems as if this is a more systematic problem as I get a similar error for line 256. I don't have a linux based system around at the moment, so I cannot try it on a "proved working" plattform. Anyway, my question is, might that be the same issue as mentioned in the NOTES section of the man page for OpenInteract? And if so - has anyone discovered what the exact problem is? Thanks for listening, Florian -- 0699 109 24 24 5 - http://www.laudatio.com |
|
From: Chris W. <ch...@cw...> - 2002-07-13 22:36:21
|
* Florian Helmberger (fh...@in...) [020713 06:18]: > I justed installed OI 1.40 on a Powerbook running OS X 10.1.5 with Perl > 5.6.0, Apache 1.2.23 (patched version to fix OS X specific problems with > libapreq), mod_perl 1.27 and PostgreSQL as database. Do you mean Apache 1.3.23? > Installation ran very smooth - but on the first access with a browser I get > this error message: > > Can't locate object method "parse" via package > "OpenInteract::Cookies::Apache" at /Library/Perl/OpenInteract.pm line 253. > > I tried to comment this line out just to see what happens, but it seems as > if this is a more systematic problem as I get a similar error for line 256. > > I don't have a linux based system around at the moment, so I cannot try it > on a "proved working" plattform. It sounds like something wasn't initialized properly. Do you see anything in the Apache server error log (where messages generated during the OpenInteract::Apache process go) or the virtual host error log? Also try setting DEBUG to 1 and restart the server to get more messages in the vhost log. > Anyway, my question is, might that be the same issue as mentioned in the > NOTES section of the man page for OpenInteract? And if so - has anyone > discovered what the exact problem is? I'm pretty confident this is a different problem. The 'NOTES' item happens after a number of requests, usually when there were memory issues from out-of-control processes. (I haven't seen this happen for over a year, so I think these problems were fixed.) Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988 |
|
From: Florian H. <fh...@in...> - 2002-07-14 11:03:28
|
Am 14.07.2002 0:46 Uhr schrieb "Chris Winters" unter <ch...@cw...>:
> * Florian Helmberger (fh...@in...) [020713 06:18]:
>> I justed installed OI 1.40 on a Powerbook running OS X 10.1.5 with Perl
>> 5.6.0, Apache 1.2.23 (patched version to fix OS X specific problems with
>> libapreq), mod_perl 1.27 and PostgreSQL as database.
>
> Do you mean Apache 1.3.23?
Oh yes I meant 1.3.23 - sorry for the typo.
> It sounds like something wasn't initialized properly. Do you see
> anything in the Apache server error log (where messages generated
> during the OpenInteract::Apache process go) or the virtual host error
> log? Also try setting DEBUG to 1 and restart the server to get more
> messages in the vhost log.
Okay. Here are the messages generated at server startup:
error_log:
***
Subroutine Compress::Zlib::constant redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::zlib_version redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzopen_ redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzdopen_ redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzread redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzreadline redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzwrite redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzflush redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzclose redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::DESTROY redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::gzFile::gzerror redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::adler32 redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::crc32 redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::_deflateInit redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::_inflateInit redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::deflate redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::DESTROY redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::flush redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::dict_adler redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::deflateStream::msg redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::inflate redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::__unc_inflate redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::DESTROY redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::dict_adler redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
Subroutine Compress::Zlib::inflateStream::msg redefined at
/Library/Perl/darwin/Compress/Zlib.pm line 94.
DBI handle cleared whilst still active at /Library/Perl/darwin/DBI.pm line
266.
dbih_clearcom (h 0x4c79d8, com 0xaa5c90):
FLAGS 0x211: COMSET Warn AutoCommit
TYPE 1
PARENT undef
KIDS 0 (0 Active)
IMP_DATA undef in 'DBD::Pg::dr'
[Sun Jul 14 12:57:45 2002] [notice] Apache/1.3.23 (Darwin) mod_perl/1.27
configured -- resuming normal operations
[Sun Jul 14 12:57:45 2002] [notice] Accept mutex: flock (Default: flock)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER
for app (OpenInteract::Stash) to (OpenInteract::Error::System)
***
Note: all of the shown messages are not present when I exclude the OI
httdp.conf.
A request via browser creates the following entries in the OI error log:
***
OpenInteract::handler (34) >>
==============================
Request started: Sun Jul 14 13:01:08 2002
path: ( / ) PID: (1202)
OpenInteract::setup_server_interface (128) >> Server hostname set to
openinteract
OpenInteract::setup_server_interface (131) >> Request coming from 127.0.0.1
OpenInteract::parse_uri (176) >> Original path: (/)
OpenInteract::parse_uri (184) >> Items in the path:
OpenInteract::parse_uri (197) >> Action found from URL:
OpenInteract::parse_uri (204) >> Original path/query string set to: /
OpenInteract::Request::lookup_conductor (225) >> Find conductor for action
()
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
()
OpenInteract::Request::lookup_action (275) >> Found action info for ()
OpenInteract::find_action_handler (227) >> Found OpenInteract::UI::Main //
handler for conductor
Found item: Apache::DBI::db
--EXITED WITH ERROR from main handler eval block
Error: 0
***
Is this of any help to you?
Thanks,
Florian
--
0699 109 24 24 5 - http://www.laudatio.com
|
|
From: Chris W. <ch...@cw...> - 2002-07-16 13:59:48
|
(Apologies for the lateness of this reply -- we're in the middle of moving -- always hectic :-) On Sun, 2002-07-14 at 07:02, Florian Helmberger wrote: > Okay. Here are the messages generated at server startup: > > error_log: > > *** > Subroutine Compress::Zlib::constant redefined at > /Library/Perl/darwin/Compress/Zlib.pm line 94. > ... These are a separate issue, I think. > DBI handle cleared whilst still active at /Library/Perl/darwin/DBI.pm line > 266. > dbih_clearcom (h 0x4c79d8, com 0xaa5c90): > FLAGS 0x211: COMSET Warn AutoCommit > TYPE 1 > PARENT undef > KIDS 0 (0 Active) > IMP_DATA undef in 'DBD::Pg::dr' > [Sun Jul 14 12:57:45 2002] [notice] Apache/1.3.23 (Darwin) mod_perl/1.27 > configured -- resuming normal operations > [Sun Jul 14 12:57:45 2002] [notice] Accept mutex: flock (Default: flock) > OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER > for app (OpenInteract::Stash) to (OpenInteract::Error::System) > ... These look ok too. This is the first time I've seen the DBI error, but I don't think it's a big deal. (Actually, it probably means you're not using Apache::DBI.) > A request via browser creates the following entries in the OI error log: > > *** > OpenInteract::handler (34) >> > > ============================== > Request started: Sun Jul 14 13:01:08 2002 > path: ( / ) PID: (1202) > OpenInteract::setup_server_interface (128) >> Server hostname set to > openinteract > OpenInteract::setup_server_interface (131) >> Request coming from 127.0.0.1 > OpenInteract::parse_uri (176) >> Original path: (/) > OpenInteract::parse_uri (184) >> Items in the path: > OpenInteract::parse_uri (197) >> Action found from URL: > OpenInteract::parse_uri (204) >> Original path/query string set to: / > OpenInteract::Request::lookup_conductor (225) >> Find conductor for action > () > OpenInteract::Request::lookup_action (254) >> Find action corresponding to > () > OpenInteract::Request::lookup_action (275) >> Found action info for () > OpenInteract::find_action_handler (227) >> Found OpenInteract::UI::Main // > handler for conductor > Found item: Apache::DBI::db > --EXITED WITH ERROR from main handler eval block > Error: 0 > *** This is dying where you'd normally parse your cookies and create your session. This may be a problem with Apache::Cookie. Try changing the class we use to parse the cookies. In $WEBSITE_DIR/conf/server.ini, modify the line: [system_alias] cookies = OpenInteract::Cookies::Apache to read: [system_alias] cookies = OpenInteract::Cookies::CGI And restart the server to see what happens. (You might also set DEBUG at the top of the server.ini file to 2 to see more information.) Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |