Ad Widget

Collapse

First time installation on Debian 12

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bowlsys
    Junior Member
    • Mar 2024
    • 3

    #1

    First time installation on Debian 12

    Using Zabbix instructions to install Zabbix I get ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2) after a successful apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent. I am a complete noob to Zabbix and equally to Linux.
    Any help really appreciated.
    Thanks
  • etfz
    Junior Member
    • Apr 2024
    • 19

    #2
    I think you need to install MariaDB (MySQL) separately.
    Code:
    sudo apt install mariadb-server

    Comment

    • Wojciech_Rawicki
      Junior Member
      • Nov 2024
      • 4

      #3
      Originally posted by bowlsys
      Using Zabbix instructions to install Zabbix I get ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2) after a successful apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-sql-scripts zabbix-agent. I am a complete noob to Zabbix and equally to Linux.
      Any help really appreciated.
      Thanks
      Hello bowlsys,
      as etfz said, which database you picked up for your setup? It looks like database is down or not installed

      Comment

      • bowlsys
        Junior Member
        • Mar 2024
        • 3

        #4
        Very many thanks for your advice, I have managed to move on considerably.
        I can now open the web page but I am getting an error saying Locale for language "en_US" is not found on the web server.

        Any ideas?

        Comment

        • fpawlicki
          Junior Member
          • Dec 2024
          • 9

          #5
          Hi
          Try using locale-gen to generate the locale. Then, restart web server.
          Code:
          sudo systemctl restart apache2

          Comment

          Working...