Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to get a postgesql server running (most recent version). I downloaded the source, and it compiled fine. I also created a user postgresql and let that user own /usr/local/pgsql/data and such. I followed the installation procedure on the website of postgresql.

However, the system now can't find the postmaster program, necessary to start the server (not on my account, but also not on the special created postgres account). Apt-get install also can't find a program called postmaster, so I assumed it was part of postgress.

Clearly I did or understood something wrong, can you help me?

Thanks in advance.

share|improve this question
up vote 0 down vote accepted

Have you added the postgresql binaries to the PATH of the postgresql user (and other users) who need to use them; e.g. for bash

su - postgresql

export PATH=$PATH:/usr/local/pgsql/bin

If you can then use the postgresql commands, you'll want to bake the change into the users' profiles (a script in /etc/profile.d/ or as appropriate to your *ix flavour).

share|improve this answer
    
That did the trick indeed, thanks! – openbas2 Apr 28 '10 at 20:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.