On Oct 28, 2014, at 1:42 PM, Alexander Hansen <alexanderk.han...@gmail.com> 
wrote:

> On 10/28/14, 11:00 AM, Mike Kilmer wrote:
>> Thank you.
>> 
>> $ fink info postgresql92
>> 
>> mentions: could not determine XFree86 version number
>> 
>> I get permission denied on /sw/var/postgresql-9.3/pgsql.log.
>> They are: -rw-------   1 mikekilmer  admin       747 Oct 27 20:50 pgsql.log
>> 
>> should I chown to postgres?
>> 
>> sudo pgsql.sh start matches your results
>> 
>> but,
>> 
>> $ sudo -u postgres /sw/opt/postgresql-9.2/bin/createdb mydb
>> 
>> returns:
>> 
>> createdb: could not connect to database template1:
>> could not connect to server: No such file or directory
>> Is the server running locally and accepting
>> connections on Unix domain socket "/tmp/.s.PGSQL.5432”?
>> 
>> permissions on created are:
>> -rwxr-xr-x  1 root  admin    59288 Apr 25  2014 createdb
>> 
> 
> If you've got multiple postgresql versions installed, what's going on might 
> be that your pgsql.sh is set for postgresql-9.3 and so you've started that 
> daemon, and so you won't be able to connect to the non-running server for 
> postgresql-9.2.  You can use "pgsql.sh-9.2" to ensure that you're on 
> postgresql92.

getting 'sudo: pgsql.sh-9.2: command not found’ with $sudo pgsql.sh-9.2 start

> 
> -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to