LinuxQuestions.org
Visit Jeremy's Blog.
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 10-28-2004, 04:53 AM   #1
TechiePerson
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
PostgreSQL on Mandrake 10.1


Hi there,

I've never used Linux or postgreSQL before and I am trying to get it up and running for a college project. Basically, I've installed Mandrake 10.1 and during set up I individually choose packages and made sure everything relating to PostGreSQL 7.4 was installed with it.

According to the PostgreSQL documentation, I need to set a folder where the databases are stored and this is where the template1 database will be stored. In the documentation it says /usr/local/pgsql/data. This folder did not exist on my installation so I created it and set this folder without error.

When I try to start the server with the following command "postmaster -D /usr/local/pgsql/data" it gives me a FATAL ERROR. Apologies for not having the exact error as I'm not at my Linux PC at the moment.

Has anyone setup PostgreSQL after installing it as part of Mandrake 10.1? If so, can you tell me what I need to do after the default installation to get the PostgreSQL server up and running? Is it that I need to set a different path to store the databases on Mandrake 10.1?

Thanks,
TechiePerson.
 
Old 11-19-2004, 05:57 AM   #2
bftin
LQ Newbie
 
Registered: Nov 2004
Location: Singapore
Distribution: Redhat, slackware
Posts: 3

Rep: Reputation: 0
Hi,
are you running postmaster as "root"? Try changing it to an underprivileged user and try again. By the way, shouldn't you be able to start postmaster from the Service Control tool.
 
  


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
postgresql-devel on Mandrake 10.1 yevbo23 Mandriva 1 10-26-2004 10:21 AM
postgresql 4 mandrake 10 pelgrimforever Linux - Software 0 08-18-2004 08:37 AM
postgresql -odbc & postgresql-jdbc installation kjsubbu Linux - Software 0 06-19-2003 02:50 AM
postgreSQL dsgdevil Linux - Software 3 02-20-2003 10:30 PM
Postgresql Pain in the.......... Linux - General 2 11-09-2001 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:05 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