On my Fedora 20 running: $ systemctl start postgresql.service seems to run the server. Non-Repetitive Quine Ballpark salary equivalent today of "healthcare benefits" in the US? Find More Posts by astrogeek View Blog 07-19-2014, 03:30 AM #17 Huamin Member Registered: May 2011 Posts: 507 Original Poster Rep: Many thanks. What is the most someone can lose the popular vote by but still win the electoral college? this contact form
Post your question in this forum. If you'd like to contribute content, let us know. It does run fine with initrc in /var/lib/pgsql. You can generally start, stop, and restart it with the service command like this:# service postgresql start|stop|restart|statusSometimes it's necessary to get more info about why it fails to start.
For pure installing postgresql on Mac OS, the process will be (using brew command): brew install postgresql then if you want to automatically run postgresql at login: ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents If all is normal you should not see any output. Tailing that file showed this message: postmaster cannot access the server configuration file "/var/lib/pgsql/data/postgresql.conf": Permission denied However, the postgres user can see this file, as evidenced by an su to the Var Lib Pgsql Data Is Missing It depends on whether you want the added protection SELinux provides.
Boss sends a birthday message. I can run it as the postgres user. share|improve this answer edited Sep 9 '15 at 16:36 answered Sep 9 '15 at 16:17 Hoang Le 16114 add a comment| Your Answer draft saved draft discarded Sign up or apache problem?
michaelk View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by michaelk 07-21-2014, 10:11 PM #29 Huamin Member Registered: May 2011 Posts: 507 Turn Off Selinux Join them; it only takes a minute: Sign up Starting PostgreSQL server failed after modification of postgresql.conf using the sudo command up vote 4 down vote favorite I wanted to change The time now is 06:48 AM. Why?1which postgres do i have installed?
However, running this as root: service postgresql start ...simply gave a "FAILED". https://www.postgresql.org/message-id/[email protected] There is no postgresql process and when I run /etc/postgresql stop it says pg_ctl: PID file "var/lib/postgres/data/postmaster.pid" does not existIs server running? [FAIL]. Postgresql.conf Permission Denied This mode is a good way to debug things while you attempt to put in new enforcement rules or change existing ones. Could Not Open File Pg_version Permission Denied Now that we know SELinux is the problem, what can we do about it?
C# TBB updating metadata value Straight line equation What crime would be illegal to uncover in medieval Europe? http://amigasuperbit.com/permission-denied/postmaster-cannot-access-the-server-configuration-file-permission-denied.html I've got these [[email protected] huamin]# service postgresql start Starting postgresql service: [ OK ] [[email protected] huamin]# ps ax | grep postmaster 2862 pts/0 S+ 0:00 grep postmaster [[email protected] huamin]# netstat -nap This isn't the problem in the case but it's good to keep the things as they are. FATAL: data directory "/var/lib/postgres/data" has group or world access DETAIL: Permissions should be u=rwx (0700). Postgres Cannot Access The Server Configuration File
Want to know which application is best for the job? Last edited by astrogeek; 07-18-2014 at 03:40 AM. Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap - Main Menu Linux Forum Android Forum Chrome OS Forum Search LQ http://amigasuperbit.com/permission-denied/postgresql-postmaster-cannot-access-the-server-configuration-file.html further, if you now do `chkconfig postgresql on` it will autostart each time you reboot, running as a system service.
astrogeek View Public Profile View LQ Blog View Review Entries View HCL Entries Visit astrogeek's homepage! Disable Selinux Centos 7 more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I've > > > installed it using packages available here: > > > http://www.kyngchaos.com/wiki/software:postgres > > > But when I try to start up the server running "sudo SystemStarter > >
Also, it would be helpful if you could wrap the pasted messages in CODE tags (The # icon at top of advanced post mode). Click Here to receive this Complete Guide absolutely free. End Point SERVICES CLIENTS TEAM BLOG CONTACT OPEN SOURCE BIG BRAINS News Welcome to End Point's blog Ongoing observations by End Point people Permission denied for postgresql.conf Posted by Greg Sabino Centos Disable Selinux It's just because I forgot to run it properly before use.
I've tried "postgres" but it > doesn't seem to work. Please don't top-post. Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest his comment is here restevns Linux - Newbie 3 10-21-2010 12:26 AM Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 07:10 AM Lan configuration problem
michaelk View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by michaelk 07-19-2014, 07:05 PM #21 Huamin Member Registered: May 2011 Posts: 507 Does my 7 segment display need a bypass capacitor? Should I report it? Can I substitute decaf coffee for espresso Absolute values of complex irreducible characters of finite groups I changed one method signature and now have over 25,000 errors.
The third solution is to change the SELinux mode. I'm completely at a loss as to how to get this working. Edit /var/lib/pgsql/data/postgresql.conf, find "log_line_prefix" and change/add "%t" to it. Huamin View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Huamin 07-19-2014, 01:07 PM #18 michaelk Moderator Registered: Aug 2002 Posts: 14,823
Is there a word for being sad about knowing that the things that make you happy will eventually go away Lab colleague uses cracked software. But, since you're running Fedora, and that uses SysVinit routines, look in /usr/local/pgsql/postgresql-(version)/contrib/start-scripts and you should find a script `linux` there....