Ad Widget

Collapse

Newbie Install : psql error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shadowfayre
    Junior Member
    • Mar 2007
    • 8

    #1

    Newbie Install : psql error

    I am trying to install zabbix. I am attempting to seting the PostgreSQL part of the install where you run the scripts. In my case I am doing the one for PostgreSQL. When I type in psql -U (the user I am logged in) I received an error database "<username>" does not exist.

    I understand that the following command is where I create the database (create database zabbix), so I am confused on why I am receiving this error?

    I first tried mysql and everything seemed right, but once the make and make install is complete, running zabbix_server i received and error that the conf file could not be found.

    I do not care which db is used, I just would like to get the thing installed and working

    Thanks,
  • shadowfayre
    Junior Member
    • Mar 2007
    • 8

    #2
    Update: I figured out how to get PostgreSQL working (adduser createdatabase) and then continued with the scripts under Zabbix. Unfortunately, the same outcome occurred with psql that I had with mysql. I think the make install is failing somewhere which is causing the .conf file to not be created. The problem is I do not know anything about make or make install to even begin to provide you with details. Are there logs I can find and attach here for review?


    Thanks,

    Comment

    • savl
      Junior Member
      • Mar 2007
      • 9

      #3
      Hi!
      Make install doesn't create directory /etc/zabbix where zabbix_server looks for config file. You'll have to create this directory by hand with command mkdir /etc/zabbix and place there file misc/conf/zabbix_server.conf from your zabbix sourcetree. Don't forget to edit this file and place there your db connection settings.

      Comment

      • shadowfayre
        Junior Member
        • Mar 2007
        • 8

        #4
        Ah. Now that would have been useful information to put in the manual

        I am noticing that Linux manuals are written in mind that either you have Linux operational and everything already installed (in this case, mySQL installed and operational) or at bear minimal Linux knowledge.

        Realizing all of this is an open community participation; all is appreciated. Just throwing out comment for the wolves.

        Thanks for the help.

        Comment

        Working...