Run the following query as root:
SELECT table_schema AS "Database", SUM(data_length + index_length) / 1024 / 1024 AS "Size (MB)" FROM information_schema.TABLES GROUP BY table_schema
To reset the Admin password of Zabbix connect to the SQL console:
[root@zbx01 ~]# mysql -u root -p
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 238
Server version: 5.5.60-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use zabbix;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
MariaDB [zabbix]> update zabbix.users set passwd=md5('newpass') where alias='Admin';
Query OK, 0 rows affected (0.11 sec)
Rows matched: 1 Changed: 0 Warnings: 0
If you’re upgrading from Suse Enterprise Server 11 SP4 to 12 SP3 and you get this error:
Some partitions in the system on /dev/XdYZ are mounted by kernel-device name. This is not reliable for the update since kernel-device names are unfortunately not persistent. It is strongly recommended to start the old system and change the mount-by method to any other method for all partitions.
Follow the Suse kb 7003734:
If the installation/upgrade of Crystal Report is giving you “A reboot request is suppressed on the local machine.” despite reboots you have to clean a registry entry:
Delete the content of the PendingFileRenameOperations entry and launch the setup again.
Install clamav and clamsmtpd from ports
make install clean
make install clean
Add those lines to /etc/rc.conf:
Start the first sync of virus definitions:
root@hazard:/usr/ports/security/clamav # freshclam
ClamAV update process started at Sun Sep 2 15:58:02 2018
Downloading main.cvd [100%]
main.cvd updated (version: 58, sigs: 4566249, f-level: 60, builder: sigmgr)
Downloading daily.cvd [100%]
daily.cvd updated (version: 24895, sigs: 2072257, f-level: 63, builder: neo)
Downloading bytecode.cvd [100%]
bytecode.cvd updated (version: 327, sigs: 91, f-level: 63, builder: neo)
Database updated (6638597 signatures) from database.clamav.net (IP: 188.8.131.52)
Continue reading “FreeBSD 11.2 install Clamav with Postfix and Dovecot”