Ad Widget

Collapse

Problem with deploy new zabbix.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ZeroOnePL
    Junior Member
    • Apr 2022
    • 12

    #1

    Problem with deploy new zabbix.

    Hi i have problem
    I have new UBUNTU server 22.04
    I instal zabbix from this
    https://www.zabbix.com/download?zabb...ubuntu&os_vers ion=22.04&components=server_frontend_agent&db=pgsq l&ws=apache
    But when i try step C : sudo -u postgres createuser --pwprompt zabbix​

    I have error like this.
    sudo: unknown user postgres
    sudo: error initializing audit plugin sudoers_audit

    Click image for larger version

Name:	Screenshot_464.png
Views:	909
Size:	5.8 KB
ID:	452518
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    User postgres is usually created while installing Postgres DB. Did you do that?

    Comment

    • ZeroOnePL
      Junior Member
      • Apr 2022
      • 12

      #3
      Click image for larger version  Name:	Screenshot_465.png Views:	1 Size:	23.7 KB ID:	452522
      I use this command: apt install zabbix-server-pgsql zabbix-frontend-php php8.1-pgsql zabbix-apache-conf zabbix-sql-scripts zabbix-agent​
      And all go succesfull so i think Postregs is installed.

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        I doubt... You are installing Zabbix components with that command. You are not installing PG or apache... Try to resolve prerequisities at first. Install DB engine and webserver etc..

        Comment

        • ZeroOnePL
          Junior Member
          • Apr 2022
          • 12

          #5
          ok if zabbix has documentation on how to do this​?

          Comment

          • ZeroOnePL
            Junior Member
            • Apr 2022
            • 12

            #6
            Ok i Install postregs and apache.
            I end steps C,D and E but when i try to login to zabbix i have apache page.
            Click image for larger version  Name:	Screenshot_466.png Views:	0 Size:	64.5 KB ID:	452530


            EDIT: Ok all works. you can close this.
            Last edited by ZeroOnePL; 11-10-2022, 11:44.

            Comment

            • Ravindra
              Junior Member
              • Oct 2022
              • 2

              #7
              Can some please post steps to upgrade zabbix ubuntu 16.04 to 18.04

              Comment

              • cyber
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Dec 2006
                • 4807

                #8
                Originally posted by Ravindra
                Can some please post steps to upgrade zabbix ubuntu 16.04 to 18.04
                Platform upgrade is not a Zabbix topic. You should ask that from Ubuntu specific places.

                Comment

                Working...