Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.