Hodžův blog

Author Archive

24 Lis

FortiGate – Problem with license information

After renewing a contract license, the kicense information widget indicates that all or some of the licenses are not available. QuickFix: Run the following commands in the CLI diag debug app update -1 diag debug en exec update-now

28 Srp

Odstranění diakritiky ze souboru

# sudo apt install recode # recode -f utf8..flat soubor.txt

24 Čvc

HowTo: Nextcloud – Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

# mysql -u root -p MariaDB [(none)]> use nextcloud; MariaDB [nextcloud]> set global innodb_large_prefix=on; MariaDB [nextcloud]> set global innodb_file_format=Barracuda; MariaDB [nextcloud]> quit; # sudo -u www-data php occ maintenance:repair

30 Dub

HowTo: Uninstalling Windows Defender with PowerShell

Uninstall-WindowsFeature -Name Windows-Defender

20 Led

Error installing VMware Remote Console plugin – (k)ubuntu 18.04

Quick Fix # apt-get install desktop-file-utils

17 Led

„The Ext Drive has been disabled due to a detected fault“ Lenovo SR570 & Lenovo DE4000H

1. Power off (all) servers 2. Change the volume LUN ID to ID 0 on DE4000H 3. Power on (all) servers

05 Říj

UBNT UniFi AP (UAP) Upgrade Loop

1. Forgot device from UniFi 2. SSH to UniFi AP (default credential ubnt/ubnt) ssh root@ip_of_unifi_ap 3. Upload latest firmware image from UniFi web site (https://www.ui.com/download/unifi/unifi-ap) cd /tmp wget https://dl.ubnt.com/unifi/firmware/BZ2/4.0.15.9872/BZ.ar7240.v4.0.15.9872.181229.0259.bin –no-check-certificate mv BZ.ar7240.v4.0.15.9872.181229.0259.bin fwupdate.bin 4. Run upgrade process syswrapper.sh upgrade2 & 5. Wait a moment & adopt device in controller

05 Říj

DNSSEC in BIND & Fast validation

Edit Bind config file vi /etc/bind/named.conf.options … options { … dnssec-enable yes; dnssec-validation auto; … }; …

24 Zář

Error „Hardware RAID is disabled via NVRAM Controller setting“

# Show controller slots ssacli ctrl all show config # Disable HBA Mode ssacli controller slot=0 modify hbamode=off # Recheck controller status ssacli controller slot=0 show

21 Zář

Sync time on Windows 2019 server

# Set NTP servers w32TM /config /syncfromflags:manual /manualpeerlist:pool.ntp.org /update # Restart the time service net stop w32time && net start w32time # Resync the time w32tm /resync # Verify status w32tm /query /status

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme