Re: Question regarding postgresql

"Jeremy Leonard" <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
The first commands need to be run as root. Via sudo should be sufficient.


Jeremy Leonard
[email protected]
(517) 349-4900
Systems Engineer
CNE, CLE, MCSE, CCA, A+, CNS, CLS, CCDA, MCITP EA
Gracon Services, Inc. 

>>> tony lin  11/01/11 3:19 PM >>>
Hi,

I tried to install postgresql and opennms on a Fedora 15 machine. I've 
followed the steps according to the following website:

http://opennms.org/wiki/QuickStart
http://opennms.org/wiki/Installation:Yum

However, after installing everything, I cannot connect to PostgreSQL 
server as the "postgres" user. I tried with all these 3 commands as 
postgres user:

    /etc/init.d/postgresql start
    /sbin/service postgresql start
*su postgres -c 'service postgresql start'*

and it all returns the following:

"Starting postgresql (via systemctl): Failed to issue method call: 
Access denied. "

I have already changed the ownership of /var/lib/Postgres/data to user 
"postgres", and I also modified the pg_hba.conf and postgresql.conf file 
accordingly.

However, I can start the PostgreSQL server under root account. I'm not 
sure where the problem is? Could anybody give me a hand? Thanks a lot.

Cheers,

Tony






------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.