[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: installation help



Bernhard D Rohrer wrote:
> Hi, thanks, sorted that (not sure what exactly didit ...
> 
> now up to the next error
> 
> [Mon Sep 01 18:20:47 2008] [error] [client 192.168.1.8] Can't open
> config file 'ledgersmb.conf' (permission denied) at
> LedgerSMB/Sysconfig.pm line 79
> [Mon Sep 01 18:20:47 2008] [error] [client 192.168.1.8] Compilation
> failed in require at /usr/share/ledgersmb/login.pl line 52.
> [Mon Sep 01 18:20:47 2008] [error] [client 192.168.1.8] BEGIN
> failed--compilation aborted at /usr/share/ledgersmb/login.pl line 52.
> [Mon Sep 01 18:20:47 2008] [error] [client 192.168.1.8] Premature end of
> script headers: login.pl
> 
> but:
> 
> lrwxrwxrwx   1 root root    37 2008-09-01 13:46 ledgersmb.conf ->
> ../../../etc/ledgersmb/ledgersmb.conf
> 
> ..hidden..:/usr/share/ledgersmb# ls -al /etc/ledgersmb/
> total 20
> drwxr-x---   2 root     root  4096 2008-09-01 13:47 .
> drwxr-xr-x 154 root     root 12288 2008-09-01 15:49 ..
> -rw-r-----   1 www-data root  1180 2008-08-18 19:15 ledgersmb.conf
> 

I installed ledgersmb on Ubuntu Gutsy a couple of days back. Some of
your files you listed are also owned by www-data, so it appears you are
also using a Debian derivative. When I extracted the ledgersmb tgz in to
/usr/local, I changed the ownership of the tree to www-data and never
encoutered this problem:
$> sudo chown -R www-data:www-data /usr/local/ledgersmb

Before doing that many files were owned by root.

More experienced users on this list will, of course, point out if I am
missing something.

Good luck.
->HS