|
still not working
Went to this website, working from terminal: su to be the root user, then
vi /var/lib/pgsql/data/postgresql.conf
Result: lots of blank lines starting with ~ and then with INSERT at the bottom. OK, lets type in: change tcpip_socket = true
& hit return: no response. Did it work? No idea so lets go edit that file directly, except we cannot open it; log off, log back in as root.
Next question: which pgsql conf file to edit? There are 2. Right-click to open with text editor gedit: "Could not open the
file /var/lib/pgsql/data/.postgresql.conf.swp." The word processor opens (Open Office) but the file is mostly # characters and then "change tcpip_socket = true#" at the bottom. Does this mean the file is somehow correct? How to edit properly?
Next, the website directs to change/ add lines to a file which is not there:
/var/lib/pgsql/data/pg_hba.conf
Next, test from command line terminal:
“service postgresql start”. No initializing nor starting: get failed.
If there are any other websites with step-by-step newbie instructions, appreciated; thanks.
|