LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-19-2007, 10:01 PM   #1
phani.85
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Rep: Reputation: 0
postgres problem[urgent]


Hai all I installed postgres on RHEL 5 and i am using it but suddenly after 2 or 3 days when i am logging into postgres it gives errors like this

could not connect to server
is the server running locally or remotely?

I installed it and i laso configured the iptables for the port to allow all.
Please if any one knows about the problem or u can give me install steps if i made wrong.


I installed the RPMS for postgres and postgresqlserver and made
chkconfig postgres on
service postgres start
su - postgres
psql -d template1 -U postgres
port accept all in iptables file.



Thanks in advance
 
Old 12-20-2007, 01:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
please do not mark threads as urgent. it is not urgent for out voluntary members who donate their time to help others.
 
Old 12-20-2007, 08:10 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Go read this post: http://www.linuxquestions.org/questi...95#post1730795
 
Old 12-20-2007, 11:18 AM   #4
phani.85
LQ Newbie
 
Registered: Dec 2007
Posts: 5

Original Poster
Rep: Reputation: 0
sorry for posting as urgent and i won't repeat it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postgres Login Problem aarajthomas Linux - Security 3 12-08-2005 08:00 AM
Problem with Postgres Database Connection anjani.78 Linux - Software 1 10-07-2005 02:06 AM
postgres+syslogng+logrotation problem emailssent Linux - General 8 04-11-2005 05:27 PM
php postgres problem Xing Linux - Software 3 03-08-2004 12:22 PM
Postgres installation initdb problem bruce64 Linux - Software 3 10-16-2003 01:55 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration