Re: Problem with postgresql configuration on Fedora 18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux