Hi
I completly agree that /var/lib/pgsql/data is not the correct
place, but I was not given a choice of choosing the location .
In answer to the questions :
I did not use createdb command but I logged into the db using
psql and did a CREATE DATABASE ( Will this make a difference ? )
I specified the url in trac-admin as
postgres://<user>:<password>@localhost:5432/tracdb
Regards
Hari
On Mar 27, 9:11 pm, John Hampton <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I set up postgresql and was able to access using the tracd --port
> > 8000 command . The initenv was set up as /var/lib/pgsql/data/initenv
>
> I'm going to go out on a limb and say that this is definitely not the
> right place to put your trac environment. /var/lib/postgres is the
> default location for postgresql databases on many systems. I wonder if
> it's /var/lib/pgsql on Fedora. Even if it's not the location of the
> postgresql databases, it's still a bad location for trac environments.
> Generally people put trac environments in /var/trac or /usr/local/trac
> or some such. If you're using postgresql with trac, the database
> doesn't actually reside within the trac environment like when using sqlite.
>
> The bigger questions are:
> * Before you ran `trac-admin /path/to/env initenv` did you create a
> postgresql database with `createdb` (or directly from psql via `CREATE
> DATABASE foo`)
> * When running `initenv` what did you specify for the database uri
>
> Also, enable logging in both postgresql and trac and run via tracd until
> it's up and running, then migrate it to apache if you still want.
>
> My suspicion is on a misunderstanding of the relationship between
> postgresql and the trac environment.
>
> -John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---