|
|
Sponsor |
Re: [SQL] Problems invoking psql. Help please.: msg#00161db.postgresql.novice
Thank you so much, Mallah, Tomasz Myrta, Luis Sousa, Achilleus Mantzios, Tom Lane, Bill Eaton and Oliver Elphick. I have chmod 755 my readpgenv file, and then copied the shell script suggested by Tomasz Myrta into that file, yielding these results: biko:/usr/lib/postgresql/bin# cd /usr/bin How should that file read? Could not execv /usr/lib/postgresql/bin/psql Then I copied the readpgenv shell script to readpgenv.bu, and deleted all the text from the readpgenv script, leaving an empty file with 755 permissions. biko:/usr/bin# ./psql -U postgres template1 tried a different database (which exists according to pgAdmin II). biko:/usr/bin# ./psql -U postgres ggp_test2 Then I changed user from root to postgres, under which this database had been created: biko:/usr/bin# su postgres That's the current crop of errors following the advice to date. As postgres, here is how my .profile in that user's home directory reads: biko:/usr/bin$ whoami Shouldn't these environmental variables handle what the readpgenv file is supposed to do for me? Any ideas on what my next steps should be would be greatly appreciated. Thanks, -- Hugh Esco At 10:39 AM 11/17/02 +0530, Mallah wrote: try ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: sort case insensitive, Alexander Pucher |
|---|---|
| Next by Date: | Re: Help with PostgreSQL Access, Vijay Deval |
| Previous by Thread: | sort case insensitive, Alexander Pucher |
| Next by Thread: | Re: [SQL] Problems invoking psql. Help please., Oliver Elphick |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|