Problem with postgresql configuration on Fedora 18
Roger
arelem at bigpond.com
Wed May 15 23:34:04 UTC 2013
> On Wed, 2013-05-15 at 13:46 -0500, Matthew J. Roth wrote:
>> Roger wrote:
>>> ps aux |grep psql shows
>>> Home_user 5734 0.0 0.0 109180 872 pts/0 S+ 21:10 0:00 grep --color=auto psql
>>> it seems to be finding the fedors user login.
>> It's finding the grep command itself. A trick to avoid that is to put one of
>> the characters of your search term inside square brackets as follows:
>>
>> $ ps aux | grep [n]otaprocess
>> $ ps aux | grep notaprocess
>> mroth 14945 0.0 0.0 61176 776 pts/2 S+ 14:21 0:00 grep notaprocess
> Or use pgrep.
>
> poc
>
Thank you to everyone who responded I have learned much about pgsql and
am most grateful.
I did not have any pgsl databases to test on hence the failures.
After reading the responses and realizing that there was no database
being created by Rails, went back to basics.
Rails generates a file database.yml. Tutorials instruct that one must
have host: localhost in each of the test, def and prod configurations.
In a test this morning I left that line out and rake db:create worked as
did rails new scaffold somename name:string.
This rather substantiates my contention that I have something very wrong
with apache or it's config. More testing unfortunately!
Thanks also for the tips on grep [] and pgrep.
Roger
More information about the users
mailing list