From: Jon <jo...@3e...> - 2003-03-11 17:04:24
|
In this thread from Jan: "Cannot find configuration object from stash class" http://sourceforge.net/mailarchive/message.php?msg_id=2941630 FYI I got the same error. As Chris mentions in his reply server (not vhost) error logs give me: [Tue Mar 11 14:17:08 2003] [error] Cannot create base configuration from (/home/httpd/OItest)! at /usr/lib/perl5/site_perl/5.8.0/OpenInteract/ApacheStartup.pm This explains a lot for me as /home/httpd/OItest was where my website *was*. $BASE_CONFIG in conf/startup.pl was pointing at my new site however - so Apache/mod_perl still had the old value in memory. As mentioned in the admin guide, you shouldn't restart the server with a HUP :) I'm on RedHat 8 with Apache in /usr/local/, so I do: [root@3evtowers oi]# /usr/local/apache/bin/apachectl stop /usr/local/apache/bin/apachectl stop: httpd stopped [root@3evtowers oi]# /usr/local/apache/bin/apachectl start Using a hash as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/SPOPS/HashFile.pm line 116. /usr/local/apache/bin/apachectl start: httpd started ... instead of .. [root@3evtowers oi]# /usr/local/apache/bin/apachectl restart /usr/local/apache/bin/apachectl restart: httpd restarted [root@3evtowers oi]# The lack of the suprious warning message was a bit of a clue *not* to use 'restart' :) jon Chris McDaniel wrote: > After installing a new package and fixing a few bugs in it, I get - > > Cannot find configuration object from stash class (commerce::Stash). Cannot > continue! at /var/www/localperl/lib/site_perl/5.6.1/OpenInteract.pm line 91. > > on the website, but nothing in the logs. This is OI-1.54 - Anyone know what > I did wrong? IIRC this means the stash wasn't created properly, which means something's borked in the startup procedure. Your server (not vhost) error logs should provide illumination. Chris W |