From: Rich S. <rsh...@ap...> - 2007-01-24 04:33:13
|
On Wed, 24 Jan 2007, Ashley J Gittins wrote: > In the doc subdirectory you will find instructions for each version's > upgrade. Essentially the bit you need to do is (do this from the root of your > sl install, eg /usr/local/sql-ledger/): > > 2. fix permissions > # chown -hR nobody:nogroup * > # chmod 711 templates users css spool Ashley, Well, I missed that because permissions were not changed in prior upgrades. > Note: replace nobody:nogroup with your web server user and group According to /etc/apache/httpd.conf, it's nobody.nobody. But, that gave me an internal server error when I tried to log in. So, I changed the group to to nogroup and now I get other access denied errors. > Ultimately I think your problem is that the config file is owned by > yourself, not apache, but you'll have other issues if you don't fix the > whole lot by doing to two steps above (note that the first step sets > ownership recursively, so will include your conf file etc). No, it's more insiduous. When I upgraded my system from Slackware-10.2 to -11.0 a bunch of perl modules went missing for some reason. So, I took a look at /var/log/apache/error_log and saw this: [root@salmo ~]# tail -f /var/log/apache/error_log at SL/User.pm line 117 Compilation failed in require at /usr/local/sql-ledger/login.pl line 99. [Tue Jan 23 20:17:59 2007] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/sql-ledger/login.pl install_driver(Pg) failed: Can't locate DBD/Pg.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i486-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i486-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at (eval 10) line 3. Perhaps the DBD::Pg perl module hasn't been fully installed, or perhaps the capitalisation of 'Pg' isn't right. Available drivers: DBM, ExampleP, File, Proxy, Sponge, mysql. at SL/User.pm line 117 Compilation failed in require at /usr/local/sql-ledger/login.pl line 99. [Tue Jan 23 20:20:42 2007] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/sql-ledger/login.pl Unfortunately, trying to re-install DBD::Pg fails because one or more tests fail. I need to contact a perl expert to learn how to overcome that. >From the log, it appears that when I get the module re-installed I'll be able to log in. If not, I'll be back. :-) Many thanks, Rich -- Richard B. Shepard, Ph.D. | The Environmental Permitting Applied Ecosystem Services, Inc. | Accelerator(TM) <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863 |