eestock again
Ted Ozolins
ted1
Mon May 17 11:57:31 PDT 2004
System gentoo-1.4
in make.conf:
USE="X gtk kde imap maildir oss alsa sdl xml tcltk
php java postgresql pgsql
apxs DSO cups mysql apache"
I've emerged apache-2, postgresql, php-4 and
mod_php-4 in the order listed.
I've installed eestock in /var/www/localhost/htdocs
then started postgresql with
/etc/init.d/postgresql -start
then according to the eestock install directions:
#su -
#su - postgres
#createuser -P
answered the prompts (and use a password)and
received the CREATE USER
#createdb eestock
#cd /var/www/localhost/htdocs/eestock/admin/utils
<enter>
#psql -d eestock -U eestock -f eeStock_init
This creates/fills all the fields/tables in
database eestock.
I can browse the database with phppgadmin with no
problem. I've included the -i in the postgresql
startup script so that postmaster can receive
tcp/ip connections.
In mozilla if I use http://localhost/eestock I get
the page I expect to see without any errors (this
would indicate that postgres is being connected to
postgresql via tcp/ip. There are two temporary
users, root and admin with temp passwd root
admin. This is where the problem is, I type in
root and root for passwd
and the root and **** disappear and nothing new
happens. This should open an admin window but does
not. For some reason the data base is not
read and thus no authentication takes place that
would allow administration of eestock. I'm at a
total loss, I've spent hours of reading the
postgresql, php, apache docs. Googled and tried to
follow any leads I've found but no joy. It seems
that there might be a permissions problem, I'm no
longer sure.
any suggestions welcome.
--
Ted Ozolins(VE7TVO)
Westbank, B. C
More information about the Linux-users
mailing list