LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2003, 05:26 AM   #1
josedsilva
LQ Newbie
 
Registered: Apr 2002
Location: Goa, India.
Posts: 23

Rep: Reputation: 15
Question HowTo start Postgre sql daemon


How do I get the postgre sql server (daemon) up at bootup?
what is a documentation disk?
 
Old 03-20-2003, 11:34 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What distro are you using? You can try doing:

chkconfig --levels 35 postgresqld on

I think its 'postgresqld'. Do:

chkconfig --list | grep postgre

to see exactly what the service is called.
 
Old 03-20-2003, 06:41 PM   #3
TimeSaver
LQ Newbie
 
Registered: Mar 2003
Posts: 12

Rep: Reputation: 0
If you have the GUI (in the latest releases of Linux (Redhat, Mandrake, SUse) Try going to services options and enabling it.

Or try editing the /etc/rc.d/init.d/xinetd
and there will be entries for bunch of daemans, add one for the pgsql and turn it on.

you can start manually by

/etc/rc.d/init.d/pgsql start
 
Old 03-20-2003, 07:03 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Quote:
you can start manually by

/etc/rc.d/init.d/pgsql start
Although this will start the postgresql service it will not be configured to start at boot up.
 
Old 03-20-2003, 07:05 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That's how I do it on my Slackware 8.1 boxes...

Code:
Taken from my /etc/rc.d/rc.local
/bin/su - postgres /usr/local/pgsql/bin/pg_ctl start -l home/postgres/logfile -D /usr/local/pgsql/data&
Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Default databases in Postgre SQL redhatrosh Linux - Software 6 11-18-2005 07:33 AM
Create User in Postgre Sql waynejkruse10 Linux - Software 7 09-05-2005 11:53 AM
Postgre SQL agallant Programming 1 05-12-2004 10:32 PM
Howto stop daemon from starting Lawful Linux - General 3 04-30-2004 05:06 PM
(postgre) SQL question J_Szucs Programming 4 09-18-2003 09:40 PM


All times are GMT -5. The time now is 08:26 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration