From: Vijai R. <vij...@gm...> - 2004-09-17 23:16:44
|
Greetings, I have been handed an old OI server and Im trying to get it to work. I had lots of problems with apache 2 , so I am running apache 1 seperately for this OI site. The server starts okay, but when I try to access any page, I get this in my apache logs: [error] Undefined subroutine &OpenInteract::handler called.\n The website just says 500 server error. After a config test, I get this: OpenInteract::ApacheStartup::initialize (34) >> ApacheStartup: Reading in information for configuration: /home/httpd/website/conf/base.conf OpenInteract::ApacheStartup::initialize (40) >> SERVER INIT: base configuration read in ok. OpenInteract::ApacheStartup::initialize (55) >> SERVER INIT: apache modules read in ok. OpenInteract::ApacheStartup::initialize (69) >> SERVER INIT: installed DBD driver (mysql) ok. OpenInteract::ApacheStartup::initialize (76) >> Creating proxy subroutine OpenInteract::ApacheStartup::initialize (79) >> SERVER INIT: installed proxy subroutine ok. Log4perl: Seems like no initialization happened. Forgot to call init()? OpenInteract::ApacheStartup::initialize (112) >> SERVER INIT: Adding ChildInitHandler for initialization Syntax OK Where should I be looking ? Regards, Vijai |
From: Chris W. <ch...@cw...> - 2004-09-18 01:51:41
|
Vijai Rao wrote: > I have been handed an old OI server and Im trying to get it to work. I > had lots of problems with apache 2 , so I am running apache 1 > seperately for this OI site. > > The server starts okay, but when I try to access any page, I get this > in my apache logs: > > [error] Undefined subroutine &OpenInteract::handler called.\n > > The website just says 500 server error. > > After a config test, I get this: > > OpenInteract::ApacheStartup::initialize (34) >> ApacheStartup: Reading > in information for configuration: /home/httpd/website/conf/base.conf > OpenInteract::ApacheStartup::initialize (40) >> SERVER INIT: base > configuration read in ok. > OpenInteract::ApacheStartup::initialize (55) >> SERVER INIT: apache > modules read in ok. > OpenInteract::ApacheStartup::initialize (69) >> SERVER INIT: installed > DBD driver (mysql) ok. > OpenInteract::ApacheStartup::initialize (76) >> Creating proxy subroutine > OpenInteract::ApacheStartup::initialize (79) >> SERVER INIT: installed > proxy subroutine ok. > Log4perl: Seems like no initialization happened. Forgot to call init()? > OpenInteract::ApacheStartup::initialize (112) >> SERVER INIT: Adding > ChildInitHandler for initialization > Syntax OK > > > Where should I be looking ? Try looking in $VHOST_DIR/logs/error_log_modperl -- the messages above are from the server-wide initialization which only happens when each Apache child is created. good luck Chris |
From: Vijai R. <vij...@gm...> - 2004-09-18 02:48:43
|
On Fri, 17 Sep 2004 21:51:22 -0400, Chris Winters <ch...@cw...> wrote: > > > Vijai Rao wrote: > > I have been handed an old OI server and Im trying to get it to work. I > > had lots of problems with apache 2 , so I am running apache 1 > > seperately for this OI site. > > > > The server starts okay, but when I try to access any page, I get this > > in my apache logs: > > > > [error] Undefined subroutine &OpenInteract::handler called.\n > > > > The website just says 500 server error. > > > > After a config test, I get this: > > > > OpenInteract::ApacheStartup::initialize (34) >> ApacheStartup: Reading > > in information for configuration: /home/httpd/website/conf/base.conf > > OpenInteract::ApacheStartup::initialize (40) >> SERVER INIT: base > > configuration read in ok. > > OpenInteract::ApacheStartup::initialize (55) >> SERVER INIT: apache > > modules read in ok. > > OpenInteract::ApacheStartup::initialize (69) >> SERVER INIT: installed > > DBD driver (mysql) ok. > > OpenInteract::ApacheStartup::initialize (76) >> Creating proxy subroutine > > OpenInteract::ApacheStartup::initialize (79) >> SERVER INIT: installed > > proxy subroutine ok. > > Log4perl: Seems like no initialization happened. Forgot to call init()? > > OpenInteract::ApacheStartup::initialize (112) >> SERVER INIT: Adding > > ChildInitHandler for initialization > > Syntax OK > > > > > > Where should I be looking ? > > Try looking in $VHOST_DIR/logs/error_log_modperl -- the messages above > are from the server-wide initialization which only happens when each > Apache child is created. > > good luck > > Chris > > Thanks for your response. Nothing is showing up there... The only error message generated is what I pasted earlier '[error] Undefined subroutine &OpenInteract::handler called.\n' from apache's ErrorLog V |
From: Vijai R. <vij...@gm...> - 2004-09-19 20:41:17
|
On Fri, 17 Sep 2004 21:51:22 -0400, Chris Winters <ch...@cw...> wrote: > > > Vijai Rao wrote: > > I have been handed an old OI server and Im trying to get it to work. I > > had lots of problems with apache 2 , so I am running apache 1 > > seperately for this OI site. > > > > The server starts okay, but when I try to access any page, I get this > > in my apache logs: > > > > [error] Undefined subroutine &OpenInteract::handler called.\n > > > > The website just says 500 server error. > > > > After a config test, I get this: > > > > OpenInteract::ApacheStartup::initialize (34) >> ApacheStartup: Reading > > in information for configuration: /home/httpd/website/conf/base.conf > > OpenInteract::ApacheStartup::initialize (40) >> SERVER INIT: base > > configuration read in ok. > > OpenInteract::ApacheStartup::initialize (55) >> SERVER INIT: apache > > modules read in ok. > > OpenInteract::ApacheStartup::initialize (69) >> SERVER INIT: installed > > DBD driver (mysql) ok. > > OpenInteract::ApacheStartup::initialize (76) >> Creating proxy subroutine > > OpenInteract::ApacheStartup::initialize (79) >> SERVER INIT: installed > > proxy subroutine ok. > > Log4perl: Seems like no initialization happened. Forgot to call init()? > > OpenInteract::ApacheStartup::initialize (112) >> SERVER INIT: Adding > > ChildInitHandler for initialization > > Syntax OK > > > > > > Where should I be looking ? > > Try looking in $VHOST_DIR/logs/error_log_modperl -- the messages above > are from the server-wide initialization which only happens when each > Apache child is created. > > good luck > > Chris > > Should have asked this in my earlier post. What should I do to get it to write in website_dir/logs/ ? Just make apache write there and it will start giving more information than usual? Write now I get nothing there Thanks, V |
From: Vijai R. <vij...@gm...> - 2004-09-20 02:17:25
|
On Fri, 17 Sep 2004 21:51:22 -0400, Chris Winters <ch...@cw...> wrote: > > > Vijai Rao wrote: > > I have been handed an old OI server and Im trying to get it to work. I > > had lots of problems with apache 2 , so I am running apache 1 > > seperately for this OI site. > > > > The server starts okay, but when I try to access any page, I get this > > in my apache logs: > > > > [error] Undefined subroutine &OpenInteract::handler called.\n > > > > The website just says 500 server error. > > > > After a config test, I get this: > > > > OpenInteract::ApacheStartup::initialize (34) >> ApacheStartup: Reading > > in information for configuration: /home/httpd/website/conf/base.conf > > OpenInteract::ApacheStartup::initialize (40) >> SERVER INIT: base > > configuration read in ok. > > OpenInteract::ApacheStartup::initialize (55) >> SERVER INIT: apache > > modules read in ok. > > OpenInteract::ApacheStartup::initialize (69) >> SERVER INIT: installed > > DBD driver (mysql) ok. > > OpenInteract::ApacheStartup::initialize (76) >> Creating proxy subroutine > > OpenInteract::ApacheStartup::initialize (79) >> SERVER INIT: installed > > proxy subroutine ok. > > Log4perl: Seems like no initialization happened. Forgot to call init()? > > OpenInteract::ApacheStartup::initialize (112) >> SERVER INIT: Adding > > ChildInitHandler for initialization > > Syntax OK > > > > > > Where should I be looking ? > > Try looking in $VHOST_DIR/logs/error_log_modperl -- the messages above > are from the server-wide initialization which only happens when each > Apache child is created. > > good luck > > Chris > Okay, I located the correct logs . The error is that it cant find packages that are already installed in /opt/OpenInteract . I have verified that the installs were succesful but the server can't seem to find it. Example: OpenInteract::Startup::require_module (355) >> --require error: OpenInteract::Error::User (from base_user): Can't locate OpenInteract/Error/User.pm in @INC (@INC contains: /home/httpd/www.website.com/tmplib /opt/OpenInteract/pkg /home/httpd/www.website.com /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl . /usr/local/apache/ /usr/local/apache/lib/perl) at (eval 228) line 3. But, I have the file in my system: /opt/OpenInteract/pkg/base_user-1.64/OpenInteract # ls . .. Error Handler SQLInstall User User.pm -v |
From: Chris W. <ch...@cw...> - 2004-09-20 12:13:54
|
> Okay, I located the correct logs . > > The error is that it cant find packages that are already installed in > /opt/OpenInteract . I have verified that the installs were succesful > but the server can't seem to find it. At startup the server grabs all the package libraries and copies them to a flattened temporary library directory. Typically this is '$WEBSITE_DIR/tmplib' and in your case this appears to be '/home/httpd/www.website.com/tmplib' -- see that the directory exists, the webuser has permission to write, etc. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
From: Vijai R. <vij...@gm...> - 2004-09-22 18:14:45
|
On Mon, 20 Sep 2004 07:15:33 -0500 (EST), Chris Winters <ch...@cw...> wrote: > > > Okay, I located the correct logs . > > > > The error is that it cant find packages that are already installed in > > /opt/OpenInteract . I have verified that the installs were succesful > > but the server can't seem to find it. > > At startup the server grabs all the package libraries and copies them to a > flattened temporary library directory. Typically this is > '$WEBSITE_DIR/tmplib' and in your case this appears to be > '/home/httpd/www.website.com/tmplib' -- see that the directory exists, the > webuser has permission to write, etc. > > Chris That error dissappeared after I appended default repository.perl to the old existing one. Now I get this ( in the virtualhost logs, not main server logs ) Error: Can't locate object method "throw" via package "Website::ErrorObject" Im running suse 9.1 , apache 1.3 , oi 1.61 ,modperl 1.29 and apachestartup 1.26 -v > -- > Chris Winters (ch...@cw...) > Building enterprise-capable snack solutions since 1988. > |