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

Re: Getting Back to testing 1.4



1.4 is starting so seem like a brick wall here.
I am running Apache 2.4 and Postgresql 9.2
(I have several test versions of 1.2 working on this setup.)

likely a configuration issue on my Gentoo system however I thought I had
it working before.
Since it is just a test setup I have tried to set everything the most
permissive.
I set pg_hba.conf to:
# TYPE  DATABASE        USER            ADDRESS                 METHOD
local   all             all                                     trust
host    all             all             127.0.0.1/32            trust
host    all             all             ::1/128                 trust
host    all         all         0.0.0.0/0               md5



the pertinent lines from ledgersmb-httpd.conf are:
Alias /ledgersmb-1.4 /var/www/localhost/htdocs/ledgersmb-1.4/

<Directory ledgersmb-1.4>
  RewriteEngine On
  RewriteRule ^/ledgersmb-1.4/?$ /ledgersmb-1.4/login.pl [R]
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</Directory>

>From my postgres log when I try to connect to my old test database:
ERROR:  column "version" does not exist at character 8
STATEMENT:  SELECT version FROM defaults
ERROR:  column "version" does not exist at character 8
STATEMENT:  SELECT version FROM defaults

When I enter "14" into the input box on setup.pl I get
FATAL:  database "14" does not exist
FATAL:  database "14" does not exist

I tried to access with user postgres and a user I gave superuser rights to.
The apache error log gives me:
Apache/2.4.6 (Unix) OpenSSL/1.0.1c configured -- resuming normal operations
 Command line: '/usr/sbin/apache2 -D DEFAULT_VHOST -D INFO -D SSL -D
SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5 -D mod_dav -D dav_fs -D auth_digest
-D dav_svn -D SVN_AUTHZ -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf'
DEBUG - main:: lsmb-request.pl (44) -- Begin, referer:
http://localhost/ledgersmb-1.4/setup.pl
DEBUG - main:: lsmb-request.pl (49) -- getting new LedgerSMB, referer:
http://localhost/ledgersmb-1.4/setup.pl
DEBUG - LedgerSMB::new LedgerSMB.pm (231) -- Begin called from
$filename=lsmb-request.pl $line=51 $type=LedgerSMB $argstr= ref argstr=,
referer: http://localhost/ledgersmb-1.4/setup.pl
DEBUG - LedgerSMB::new LedgerSMB.pm (259) -- params=$VAR1 = {, referer:
http://localhost/ledgersmb-1.4/setup.pl
           'database' => '14',, referer:
http://localhost/ledgersmb-1.4/setup.pl
           's_user' => 'postgres',, referer:
http://localhost/ledgersmb-1.4/setup.pl
           'action' => 'login', referer:
http://localhost/ledgersmb-1.4/setup.pl
         };, referer: http://localhost/ledgersmb-1.4/setup.pl
DEBUG - LedgerSMB::merge LedgerSMB.pm (1006) -- begin caller
$filename=LedgerSMB.pm $line=264, referer:
http://localhost/ledgersmb-1.4/setup.pl
DEBUG - LedgerSMB::merge LedgerSMB.pm (1047) -- end caller
$filename=LedgerSMB.pm $line=264, referer:
http://localhost/ledgersmb-1.4/setup.pl
DEBUG - LedgerSMB::new LedgerSMB.pm (319) -- $self->{script} = setup.pl
$self->{action} = login, referer: http://localhost/ledgersmb-1.4/setup.pl
DEBUG - main:: lsmb-request.pl (53) -- Got
$request=LedgerSMB=HASH(0x231a820), referer:
http://localhost/ledgersmb-1.4/setup.pl
DEBUG - main:: lsmb-request.pl (60) --
$ENV{SCRIPT_NAME}=/ledgersmb-1.4/setup.pl $request->{action}=login
$script=setup.pl, referer: http://localhost/ledgersmb-1.4/setup.pl

Thanks again for any ideas.
-Turtle