Hi Kyo,
>From what you've written below, your workaround (chmod +r fossologyinit.sql, 
>executed as root) should have worked.  Please make sure to use "su - postgres" 
>(include dash) so you get the postgres user's environment.

If you continue to have trouble, send me the output of these commands:
chmod +r fossologyinit.sql
ls -l  fossologyinit.sql
su - postgres
psql
psql > fossologyinit.sql

Thanks,
Mary


________________________________
From: [email protected] [mailto:[email protected]] 
On Behalf Of kyo xiaoyi
Sent: Monday, January 25, 2010 8:05 PM
To: [email protected]
Subject: [FOSSology] [Help]create the database schema failed!

Hi,everyone,
    I failed on the step creating the database schema when I was installing 
fossology. The doc said:

    You must be logged in as user postgres to create the database schema
   and define the owner.  As root, you can su to user postgres (su
   postgres) and then run the psql command:
      psql  < fossologyinit.sql

   I did exactly what it said and I got an error:
   sh: cannot open fossologyinit.sql: Permission denied

   Could someone tell me how to fix it?I tried chmod but it did not work, 
thanks a lot!

--
Kyo Xiaoyi
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to