I finally made it through the build and configuration process, and I am now having some trouble with the postgreSQL interaction.
I'm running postgres 9.0.3 and here's what I did:
- Create a user account called "moss"
- Make a pgsql/data folder in its home
- export PGDATA=/home/moss/pgsql/data
- initdb
- pg_ctl start
- Created a new database called "moss"
- cd to MOSS/postgresql directory
- Opened with text editor the moss.sql file and changed returns text to returns uuid as requested in the readme file
- sudo make
- sudo make install
- cd to /usr/share/postgresql/contrib
- psql -U moss -d moss -f /home/myuser/MOSS/postgresql/moss.sql
- pg_ctl stop
- pg_ctl start
- moss_backend
I have done all the sus that were necessary and ran moss from the appropriate folder, where all its files are located, just to exclude that kind of error.
And now, here's the moss_backend.log file
Code: Select all
1305057100.008030 INFO backend: Backend startup
1305057100.077113 WARN backend: SQL error in Call_initvault: ERROR: function createage(unknown, unknown, unknown, unknown, uuid, unknown) does not exist
LINE 1: SELECT v_agenode FROM createage('Neighborhood', 'Bevin', 'DR...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
QUERY: SELECT v_agenode FROM createage('Neighborhood', 'Bevin', 'DRC', '', uuid(), NULL)
CONTEXT: PL/pgSQL function "initvault" line 151 at istruzione SQL
1305057100.077340 DEBUG backend: Quitting because of an error in init()
What went wrong?
Thanks for help