If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back  dBforums > Database Server Software > PostgreSQL > postgresql-X & apache on Mac un-/install, use and issues

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Jan 2013
Posts: 1
postgresql-X & apache on Mac un-/install, use and issues

Hi,

Im trying to get a db working on my Mac. I dont know what Ive done wrong but my installation of postgresql putted several folders in strange directories, others not named in Manual. I'm sure I done something wrong so i want to uninstall everything and start all over but I'm not sure how.
Can I simply remove everything? Is it something that I should know before installing postgresql again?

And i have another problem. Apache is trying to start postgresql over and over again but getting error every time. Ive looked on the "Error Console" (?) and the error log i get is:

Pancho-iMac com.apple.launchd[1] (com.edb.launchd.postgresql-9.0[4954]): getpwnam("postgres") failed

Ive tried to stop this using launchctl but get error msg: unkown process

How can i stop Apache trying to start Postgresql?

thank you!
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: Dec 2012
Posts: 32
Hello S.Pancho,

I'm sorry but I don't have practice with iMac.
But the error
Code:
getpwnam("postgres") failed
means that there is no such user (in /etc/passwd or elsewhere).

It seems that postgresql is not installed correct.
Pleas try to uninstall and install again (after reboot?).

Why apache should starts postgresql?
There is no reason for the apache server to that because apache has nothing to do with postgresql.

Or did you installed the XAMP or XAPP bundle or so?
If yes, pleas refer to the XAMP documentation concerning iMAC / FreeSBD.

Otherwise you can install the independed software apache (and php) and postgresql.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On