Ad Widget

Collapse

Unable to Install Postgresql as part of Zabbix Package

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mtabujara
    Junior Member
    • Sep 2020
    • 1

    #1

    Unable to Install Postgresql as part of Zabbix Package

    Hi,

    I am trying to install Zabbix on my local following this documentation:

    Zabbix is being downloaded over 4 000 000 times every year for a reason. Download and install Zabbix for free and try it yourself!


    However, when I am trying to create the initial database I get the following error:

    HTML Code:
    zabbix@zabbix1:/etc/zabbix$ sudo -u postgres createuser --pwprompt zabbix
    sudo: unknown user: postgres
    sudo: unable to initialize policy plugin
    Is the postgresql not included in the package anymore? I was able to install zabbix with postgresql as database with the commands in the documentation last month but it seems I now I am having problems since postgresql was not installed as part of the package.

    May you please advise, what approach should I take in order to install postgresql with zabbix?

    Regards,
    MT
  • lwoody7110
    Junior Member
    • May 2021
    • 5

    #2
    I'm installing for the 1st time ever and I am getting the same issue you describe.

    Did you manage to resolve the problem?

    Comment

    • jmhalder1
      Junior Member
      • Feb 2020
      • 4

      #3
      Just a
      Code:
      sudo apt install postgresql
      should do the trick

      Comment

      Working...