-
Quick HowTo fix the DNS error “isc_socket_bind: address not available” on macOSQuick HowTo
To fix the DNS error “isc_socket_bind: address not available” on macOS, you can try the following steps: If you are using a different network interface (like en1 or en2), replace “en0” with the appropriate interface name. Enter your administrator password when prompted. Enter your administrator password when prompted.
-
upgrade debian 11 (bullseye) to debian 12 (bookworm)
Hit a couple of time Enter key, overwrite or not configs in questions during the upgrade.. and then: restart it may be not bad idea to do #update-grub and double-check before restart…
-
Quick FIX: MacOS x11 Window System $DISPLAY variable issues with ClusterSSH(and all other xterms..)
issue(s) type #1:– Can’t connect to DISPLAY at ‘/private/tmp….’ fix: 1. Start XQuartz.app 2. Set shell $DISPLAY variable to host=localhost display=0 screen=0 a.k.a.: issue(s) type #2: – Invalid MIT-MAGIC-COOKIE-1 key at /opt/local/lib/…. fix: 1. Start XQuartz.app 2. Add localhost in allowed x11 hosts acl , a.k.a.: or That’s ALL. detailed explanation in below A display…
-
FIX: OpenVPN Client can’t connect with server log: TLS Error: cannot locate HMAC in incoming packet from [AF_INET]IP_ADDR:57442
Simptomatic ( symptoms ): Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: Outgoing Control Channel Authentication: Using 512 bit message hash ‘SHA512’ for HMAC authenticationJul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: Incoming Control Channel Authentication: Using 512 bit message hash ‘SHA512’ for HMAC authenticationJul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: TCP connection established with [AF_INET]IP_ADDR:57442Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: IP_ADDR:57442 TLS: Initial…
-
sysadmin tools (collection-like selection) as bookmarks
Terminal:(Linux/Unix) clusterssh – parallel ssh commander with simple text hosts file, hosts groups etc.: github link, description and howto tutorial pssh – parallel ssh program -> man page tutorial/howto link DBs: pt-table-checksum – check MySQL Replication synced data, compare master and slaves, works on STATEMENT based replication only -> Percona Toolkit pt-table-sync – if found…
-
HowTo: remote reboot Linux with D state processes ( dead processes ) + LINUX MAGIC SYSTEM REQUEST KEY HACKS doc !!!
Originally posted on LINE BY LINE ON COMMAND LINE: #echo b > /proc/sysrq_trigger
-
FIX: /auto-gpt/Auto-GPT# docker-compose build auto-gpt[+] Building 0.2s (1/1) FINISHED=> ERROR [auto-gpt internal] booting buildkit 0.2s | docker-compose build auto-gpt
the Problem: => => pulling image moby/buildkit:buildx-stable-1 0.2s [auto-gpt internal] booting buildkit: error getting credentials – err: exit status 1, out: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files [+] Building 0.2s (1/1) FINISHED=> ERROR [auto-gpt internal] booting buildkit 0.2s the FIX: …. and build
-
FIX: error getting credentials – err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAYFIX: !! docker-compose auto-gpt
Problem: [+] Building 0.0s (1/1) FINISHED=> ERROR [auto-gpt internal] booting buildkit 0.0s => => pulling image moby/buildkit:buildx-stable-1 0.0s [auto-gpt internal] booting buildkit: error getting credentials – err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAY FIX:
-
QuickHowTo: Allow registered (18-) to play f* Minecraft game in MultiPlayer
If microsoft account is used for kid’s Minecraft, then multiplayer option is unselectable, so you:
-
CheatSheet: Debian apt magic combos
Upgrade only, but all security updates in .deb system Be sure to follow this link to full APT description, cheats and …
-
Check yourself for “sudo unescape_overflow” bug vulnerability
Sudo versions 1.7.7 through 1.7.10p9, 1.8.2 through 1.8.31p2, and 1.9.0 through 1.9.5p1 are affected. Vulnerability CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3156 Check your host with simple $ sudoedit -s / if the command line exits with it’s regular help message, eg: then it’s ok… you are save and your sudo is not vulnerable BUT, if output is something else,…
-
ZFS Encrypted Pools, encrypted filesystems… and decrypt them :)
Create raidz1 zpool with 5 drives, with encrypted zfs (using default encryption algo a.k.a. aes-128-gcm) dataset with a password prompt.. Command line brief explanation: DECRYPT …and enter your encryption password..voila baby
-
Fix: NGINX can’t start on boot
ISSUE: nginx will not start on boot when there are upstream configurations when using FQDN as backend server’s address. FIX: Add the particular HQDN/hostname with it’s IP address in /etc/hosts -or- use IP address in your nginx upstream servers configuration. Logged in nginx’s error.log: #tail -1 /var/log/nginx/error.log Systemd status output:#systemctl status nginx.service SOLUTION Configuration Output:#tail…
-
FIX: Unable to negotiate with X.X.X.X port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,kexguess2@matt.ucc.asn.au
When trying to ssh to an old box, with only sha1 support, you most probably will end up in this: … or something like it. So.. it’s not a bug or error, you just need to force using sha1 by the client, like that: .. and that’s all… but… wait for it… what? there’s more?…
-
ffmpeg wisdom … [cheatsheet]
FFMPEG Timestamps: Well it’s all about time. FFMpeg uses in fact three different timestamps in different bases in order to work.
-
MegaCli / MegaCli64 CheatSheet .. LSI Raid Controllers Linux management tool most used commands:
Here are some useful commands: View information about the RAID adapter For checking the firmware version, battery back-up unit presence, installed cache memory and the capabilities of the adapter: View information about the battery backup-up unit state View information about virtual disks Useful for checking RAID level, stripe size, cache policy and RAID state: View…
-
HowTo: NGINX match on URI param+value(with regex) and redirect to other URL and same URI
The above configuration will redirect to @loc_redirect URL, while keeping the URI, all requests but these with URI parameter “media_request” containing “dvr” in this param value. So, the URL: https://some-exact-url.here/alabala?type=one&media_request=djidji-bidji_dvr-eho&index=index.php will do 302 redirect to @srv-stream location. And all URLs which does not contain param “media_request” with value containing “dvr” will be 302 redirected to…
-
HowTo: FreeBSD hard Reboot via terminal. ( linux have sysrq_trigger, fbsd got sysctl )
Ensure you set: sysctl kern.sync_on_panic=0 then execute: sysctl debug.kdb.panic=1
-
[HowTo]: ffmpeg audio/video tracks mappings a.k.a. ffmpeg Advanced Options
from: http://ffmpeg.org/ffmpeg.html#Advanced-options <— Go here and read the updated docs! 5.11 Advanced options -map [-]input_file_id[:stream_specifier][?][,sync_file_id[:stream_specifier]] | [linklabel] (output) Designate one or more input streams as a source for the output file. Each input stream is identified by the input file index input_file_id and the input stream index input_stream_id within the input file. Both indices start at 0. If specified, sync_file_id:stream_specifier sets which input…
-
miniHowTo: Reset(add) Windows Server 2012r2 VM ( virtio / PROXMOX ) localAdministrator Login
When win2k12r2 is installed in a proxmox VM with Virtio (virtioscsci) driver, the installation need a loaded virtio driver to be able to access block device. A.k.A. Boot from win2k12r2 Installation ISO Goto Install Step, select Load Driver Mount win-virtio iso, select amd64/win2k12 drivers folder and load driver Hit SHIFT+F10 to open Command Prompt (cmd.exe)…
-
QuickFix/Hack HowTo reset Windows 7,8,9,10 local Administrator and/or any local users passwords
quickHint: 5 Times Shift key – open Sticky Keyswin10 – sethc.exe win7 – sethc.exe -or- win7ultimate – utilman.exe windows 7, windows 7 Ultimate Restart to Recovery: 1.Safe Mode with Command Prompt2.Reboot with Windows7 Install CD/USB and choose: Recover your Install (or something like that) then choose to run Command Prompt: Restart.on Login screen: 5 Times…
-
QUICK.FIX – MacOSX stop( and disable ) Report Crashing -or- HOW-TO kill ReportCrash process
Two commands $ launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist $ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist and done.
-
Quick How-TO: Execute scripts on remote server via ssh
It’s not about one liners and/or simple scripts. It’s suitable for multiline scripts, however an example for one liner is also included. vim /tmp/ma_script.sh 1 #!/bin….. 2 echo 3 mecho 4 fi and then: ssh user@remote_server < /tmp/ma.script.sh That’s all. Goodbay. To execute a single script or a one liners just add it in…
-
CheatSheet: ffmpeg merge video+audio in 1 video file, aka ffmpeg mp4+m4a = mp4 (with audio)
ffmpeg -i video.mp4 -i audio.m4a -c:a copy -c:v copy video-with-audio.mp4 that’s all without re/transcoding neither video nor audio.
-
SOLVED: GPG error: https://packages.grafana.com stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
Problem: W: GPG error: https://packages.grafana.com stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6 Solution: root@nms-ra:~# apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 8C8C34C524098CB6 Executing: gpg –ignore-time-conflict –no-options –no-default-keyring –homedir /tmp/tmp.my5T5fELsP –no-auto-check-trustdb –trust-model always –keyring /etc/apt/trusted.gpg –primary-keyring /etc/apt/trusted.gpg –keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg –keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg –keyring /etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg –keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg –keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg –keyring…
-
SSH X Forwarding from Linux to MacOS X ssh client || FIX: Can’t Open Display -and- FIX: Warning: untrusted X11 forwarding setup failed: xauth key data not generated
When you do ssh -X from your MacOS X box to linux and receive error: Can’t open display , just do ( on macosx box ): # echo ‘X11Forward yes’ >> ~/.ssh/config When you login with X Forwarding but you receive warning: Warning: untrusted X11 forwarding setup failed: xauth key data not generated, then you…
-
APT: W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: …… jessie InRelease: The following signatures were invalid: KEYEXPIRED ….. KEYEXPIRED 1550….32 KEYEXPIRED 15……832
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packagecloud.io jessie InRelease: Clearsigned file isn’t valid, got ‘NODATA’ (does the network require authentication?)