Hodžův blog

Archive for the 'Debian' Category

09 Kvě

GPG error: https://download.jitsi.org stable/ InRelease: The following signatures couldn’t be verified

Error: # apt update Hit:1 http://security.debian.org/debian-security buster/updates InRelease Hit:2 http://deb.debian.org/debian buster InRelease Get:3 https://download.jitsi.org stable/ InRelease [1,882 B] Err:3 https://download.jitsi.org stable/ InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B4D2D216F1FD7806 Reading package lists… Done Building dependency tree Reading state information… Done 12 packages can be upgraded. Run ‚apt […]

24 Bře

The following signatures were invalid: EXPKEYSIG B188E2B695BD4743

Error: root@mailgw:~# apt update Hit:1 http://deb.debian.org/debian buster InRelease Hit:2 http://security.debian.org/debian-security buster/updates InRelease Hit:3 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease Hit:4 https://packages.sury.org/php buster InRelease Err:4 https://packages.sury.org/php buster InRelease The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key Reading package lists… Done Building dependency tree Reading state information… Done All packages are up to date. W: An error […]

08 Úno

Xorg a rozlišení 2560×1440

Koupil jsem si nový monitor s rozlišením 2560×1440 pixelů, ale Xorg ho nerozpoznal korektně xrandr –listmonitors Monitors: 1 0: +*HDMI-1 1920/725×1440/428+0+0 HDMI-1 …takže jsem musel rozlišení nastavit ručně. Nejdříve jsem si vygeneroval adekvátní modeline (rozlišení 2560×1400 pixelů při 60Hz): $ cvt 2560 1440 60 # 2560×1440 59.96 Hz (CVT 3.69M9) hsync: 89.52 kHz; pclk: 312.25 […]

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

21 Zář

Failed to establish secure connection: sslv3 alert handshake failure: 1040

Debian 10 (Buster) + latest NSClient++ on Windows 2019 server Linux: root@nagios:/# /usr/lib/nagios/plugins/check_nrpe -H 172.24.1.1 -c check_ad CHECK_NRPE: (ssl_err != 5) Error – Could not complete SSL handshake with 172.24.1.1: 1 Windows: 2019-09-21 18:30:46: error:c:\source\master\include\socket/connection.hpp:273: Seems we other end is not using ssl: unknown protocol 2019-09-21 18:30:46: error:c:\source\master\include\socket/connection.hpp:274: Please review the ssl option as well […]

13 Led

Getent passwd dosen’t show all users of LDAP server (Can’t receive more than 500 entries)

Quick fix: echo „dn: cn=config changetype: modify replace: olcSizeLimit olcSizeLimit: 10000“ > olcSizeLimit.ldif ldapmodify -Y EXTERNAL -H ldapi:/// -f olcSizeLimit.ldif

01 Kvě

HowTo: SSL/TLS required but absent on data channel (ProFTPD & LFTP)

echo „“ >> /etc/lftp.conf echo „set ftp:ssl-allow true“ >> /etc/lftp.conf echo „set ftp:ssl-force true“ >> /etc/lftp.conf echo „set ftp:ssl-protect-data true“ >> /etc/lftp.conf echo „set ftp:ssl-protect-list true“ >> /etc/lftp.conf

11 Bře

HowTo: Debian Jessie & Huawei E3131 Mobile Broadband

Before: # lsusb | grep -i huawei Bus 002 Device 007: ID 12d1:14fe Huawei Technologies Co., Ltd Fix it with command: usb_modeswitch -v 12d1 -p 14fe -J After: # lsusb | grep -i huawei Bus 008 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard You can also create a udev rule: vi […]

04 Úno

HowTo: Update The Root Hints Data File for BIND Named Server on Debian GNU Linux

# wget –user=ftp –password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /etc/bind/db.root

16 Zář

Courier IMAP & POP3 – regenerate SSL certificates on Debian GNU Linux

# rm -f /etc/courier/imapd.pem # rm -f /etc/courier/pop3d.pem # vi /etc/courier/imapd.cnf # vi /etc/courier/pop3d.cnf # mkimapdcert # mkpop3dcert # /etc/init.d/courier-imap-ssl restart # /etc/init.d/courier-pop-ssl restart

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