| Previous · Next | |
| User | Message |
|
bradcan
|
Date: 12/10/2009 8:41 am · Subject: Install sanity check · Rating: -1
Hi I'm installing on a Ubuntu 6 test system and I don't understand what I'm doing! After much installing of perl modules to satisfy many 'Can't locate' compile errors in my Apatche2/log/error.log I have arrived at an error I can't solve. Here is my configuration: (I'll try to be breif:) My virtual host config: <VirtualHost *:80> and I have /data/WebGUI/etc/test.conf I start spectre and do an apache2ctl start and see: Starting WebGUI 7.7.28 So far so good. However when I point my browser (Firefox) at http://test.com (which I have in /etc/hosts) I get an Internal Server error 500. My /var/log/apache2/error.log now has: Use of uninitialized value $pathToFile in open at /usr/local/share/perl/5.10.0/Config/JSON.pm line 170. A quick poke at WebGUI.pm, WebGUI/Config.pm and JSON.pm tells me I completely insane!! --- (Edited on 12/10/2009 8:41 am [GMT-0600] by bradcan) --- |
| Back to Top |
Rate [ | ]
|
|
perlDreamer
|
Date: 12/10/2009 10:09 am · Subject: Re: Install sanity check · Rating: 0
There are two kinds of "source" installs:
As to the amount of memory and the speed of your processor, that all depends on how busy you think the server is going to be. Obviously, regardless of the package used to serve the website, you're not going to build anything really big on a server like that. You can limit the number of processes that mysql and httpd will create to handle that. For the config problem, is the file in /etc/test.conf readable by the Apache user? --- (Edited on 12/10/2009 8:09 am [GMT-0800] by perlDreamer) --- |
| Back to Top |
Rate [ | ]
|
|
bradcan
|
Date: 12/10/2009 4:55 pm · Subject: Re: Install sanity check (Ubuntu install SOLVED) · Rating: 0
Hi Thanks for the tip. I have finaly got my test site up. Oh yes! As I observed some of the CPAN modules don't seem to be compatible so I found the right way to make my apache2 use the the wre-9.0.3-debian5 install. Like so: I place: use lib '/data/wre/prereqs/lib/perl5/5.10.0'; in WebGUI.pm and use lib '/data/wre/prereqs/lib/perl5/5.10.0'; in /data/WebGUI/sbin/preload.perl That fixes the perl installation problems. I still get some complaints in my error.log that /etc/test.conf can't be loaded by JSON. This is because there are verious places where dir_config is called somethin like this: my $session = WebGUI::Session->open($server->dir_config('WebguiRoot'),$config->getFilename, $request, $server, $sessionId); Well for some reasion $server->dir_config returns nothing on my install, but hapily $request->dir_config('WebguiRoot') does. I can't spot any clues anywhere but perhaps some mod_perl guru does? Any how I just hacked a couple of places and hay presto I'm up and working. Hope this helps somebody. --- (Edited on 12/10/2009 4:55 pm [GMT-0600] by bradcan) --- |
| Back to Top |
Rate [ | ]
|