Author:
erics, May 9th, 2023
I have been using RSA SSH keys forever to login to my various AWS EC2 instances. With macOS Ventura 13.3.1 ssh failed with the “Permission Denied” error. Using ssh -vvv, I saw that the RSA key was now being rejected. After much research, I decided to implement new keys on the client (Ventura) side using […]
Categories: How-To's, Technology Tags: AWS, denied, ed25519, Error, Generate, howto, key, Linux, MacOS, Permission Denied, public, Public Key, ssh, ssh-keygen, sshd, tips, Ventura
|
No comments
Author:
erics, November 24th, 2022
PROBLEM: Unable to sign out of iCloud on OSX Yosemite or disable Keychain SOLUTION: Delete the following, then reboot:
|
~/Library/Application Support/iCloud/ ~/Library/Preferences/Mobile*.plist |
Categories: Technology Tags: 10.10.5, Delete, Error, howto, iCloud, Library, macosx, OSX, plist, Preferences, Remove, tips, Yosemite
|
No comments
Author:
erics, September 7th, 2022
If you get the following error in WordPress when using the WPDataTables plugin, follow these steps to fix it: “You are trying to load a table of an unknown type. Probably you did not activate the addon which is required to use this table type.” SOLUTION SUMMARY: You must update the plugin files manually, deactivate […]
Categories: Technology Tags: Activate, Deactivaate, Error, Fix, howto, Plugin, Reactivate, tips, update, upgrade, WordPress, WPDataTables
|
No comments
Author:
erics, February 23rd, 2022
Try a newer browser before anything else! I was using an older version of Safari on Mac and got this:
|
If you're seeing this Grafana has failed to load its application files 1. This could be caused by your reverse proxy settings. 2. If you host grafana under subpath make sure your grafana.ini root_url setting includes subpath. If not using a reverse proxy make sure to set serve_from_sub_path to true. 3. If you have a local dev build make sure you build frontend using: yarn start, yarn start:hot, or yarn build 4. Sometimes restarting grafana-server can help 5. Check if you are using a non-supported browser. For more information, refer to the list of supported browsers. |
I switched to the latest version of FireFox and was fine.
Categories: How-To's, Technology Tags: Browser, Error, Failed, Failed to Load, Firefox, Grafana, howto, Safari, tips
|
No comments
Author:
erics, August 12th, 2021
vi /etc/postfix/main.cf
|
#inet_protocols = all inet_protocols = ipv4 |
service postfix restart
Categories: How-To's, Technology Tags: Email, Error, Gmail, howto, IPv4, IPv6, PostFix, Protocol, tips
|
No comments
Author:
erics, July 29th, 2021
I was getting error “You must specify a region” when running any aws CLI command. The fix: Using the aws command:
|
aws configure set region us-east-1 --profile demo |
which will automatically add the following to the file ~/.aws/config:
|
[profile demo] region = us-east-1 |
You many simply edit the ~/.aws/config file yourself and append the same thing:
|
vi ~/.aws/config [profile demo] region = us-east-1 |
Categories: How-To's, Technology Tags: AWS, aws cli, aws command, aws configure, aws set, cli, Command, Config, configure, Error, Region, You must specify a region
|
No comments
Author:
erics, December 3rd, 2020
Problem While running the aws cli command from a Perl async command inside apid, I go the following error:
|
IOError: [Errno 10] No child processes |
Solution The issue turned out to be a bug in Python2.7, so I upgraded to Python3.4, then uninstalled and re-installed the aws cli software so that it used the proper Python34 version. Procedure
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
sudo -i cd ## Upgrade Python yum install python34 alternatives --config python ## "Uninstall" old aws cli mv /opt/aws /opt/aws.fcs cd /usr/bin/ mv aws aws.fcs mv aws_completer aws_completer.fcs ## Install new aws cli curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip ./aws/install -i /opt/aws -b /usr/bin /usr/bin/aws --version |
https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-linux.html […]
Categories: How-To's, Technology Tags: alternatives, API, apid, AWS, aws cli, AWS Linux, Broken, cli, Cloudformation, Command, Curl, Error, Exec, Execute, howto, IOError, Linux, No child processes, perl, Python, Python27, Python34, tips, Yum
|
No comments
Author:
erics, January 24th, 2020
If you are unable to update a plugin via the WP admin console, then you can do the update manually. Download the zip file to your local hard drive and extract it. Then, from the command line, do the test run first:
|
cd {extracted_plugin_directory} rsync -av --dry-run --delete ../{extracted_plugin_directory}/ theHost:/volumes/www/theSite/wordpress/wp-content/plugins/{extracted_plugin_directory}/ |
*Make sure to use the trailing slashes with rsync for proper operation […]
Categories: How-To's, Technology Tags: cli, Download, Error, Extract, Fail, howto, Manual, Plugin, rsync, Terminal, tips, update, WordPress, zip
|
No comments
Author:
erics, January 20th, 2020
PROBLEM Wordpress site broken with Javascript errors with zero plugins or themes installed. The issue followed different devices, OS’es and different browsers. SOLUTION User account corrupted. The wp_usermeta locale field had an invalid value of “regular”, and nulling the field solved the issue. DETAILS JS console shows this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
[Error] TypeError: Language code must have format 2-3 letters and. optionally, hyphen, underscore followed by 2 more letters language (mediaelement-and-player.min.js:12:7263) (anonymous function) (mediaelement-and-player.min.js:12:14817) d (mediaelement-and-player.min.js:12:259) r (mediaelement-and-player.min.js:12:414) Global Code (mediaelement-and-player.min.js:12:430) [Error] ReferenceError: Can't find variable: MediaElementPlayer (anonymous function) (mediaelement-migrate.min.js:1:363) Global Code (mediaelement-migrate.min.js:1:1179) [Error] TypeError: undefined is not a function (near '...).mediaelementplayer(e)}}},n(e.wp.mediae...') initialize (wp-mediaelement.min.js:1:855) i (load-scripts.php:2:27368) fireWith (load-scripts.php:2:28123) ready (load-scripts.php:2:29926) J (load-scripts.php:2:30282) [Error] TypeError: undefined is not an object (evaluating 'd.hasClass') (anonymous function) (wp-auth-check.min.js:1:1538) dispatch (load-scripts.php:3:12375) handle (load-scripts.php:3:9094) trigger (load-scripts.php:3:11494) trigger (load-scripts.php:8:8280) (anonymous function) (load-scripts.php:3:18873) each (load-scripts.php:2:2908) each (load-scripts.php:2:851) trigger (load-scripts.php:3:18846) (anonymous function) (heartbeat.min.js:1:2228) i (load-scripts.php:2:27368) fireWith (load-scripts.php:2:28123) x (load-scripts.php:4:22587) c (load-scripts.php:4:26778) |
Categories: How-To's, Technology Tags: Error, Errors, javascript, JS, Locale, TypeError, WordPress
|
No comments
Author:
erics, June 12th, 2019
The Problem Tried to install the latest version of cpan and got stuck. Tracked it down to the dependency module Mac::SystemDirectory which was failing to build:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
cpan[1]> install Mac::SystemDirectory Reading '/var/root/.cpan/Metadata' Database was generated on Sun, 09 Jun 2019 07:17:02 GMT Running install for module 'Mac::SystemDirectory' Running make for E/ET/ETHER/Mac-SystemDirectory-0.10.tar.gz Checksum for /var/root/.cpan/sources/authors/id/E/ET/ETHER/Mac-SystemDirectory-0.10.tar.gz ok Scanning cache /var/root/.cpan/build for sizes ............................................................................DONE CPAN.pm: Building E/ET/ETHER/Mac-SystemDirectory-0.10.tar.gz HASCOMPILEREZFt/TESTUSSI.c:2:10: fatal error: 'EXTERN.h' file not found #include "EXTERN.h" ^~~~~~~~~~ 1 error generated. Couldn't execute cc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -Os "-I/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE" -c HASCOMPILEREZFt/TESTUSSI.c -o HASCOMPILEREZFt/TESTUSSI.o: Inappropriate ioctl for device at Makefile.PL line 14. Requires a compiler Warning: No success on command[/usr/bin/perl Makefile.PL INC=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE] ETHER/Mac-SystemDirectory-0.10.tar.gz /usr/bin/perl Makefile.PL INC=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: ETHER/Mac-SystemDirectory-0.10.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INC=-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE' returned status 6400 |
The Solution Use the MacOS installer command to deploy the needed files:
|
xcode-select --install sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target / installer: Package name is macOS_SDK_headers_for_macOS_10.14 installer: Installing at base path / installer: The install was successful. |
The, rerunning the cpan install works:
|
cpan[1]> install Mac::SystemDirectory ... Running make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /Library/Perl/5.18/darwin-thread-multi-2level/auto/Mac/SystemDirectory/SystemDirectory.bs Installing /Library/Perl/5.18/darwin-thread-multi-2level/auto/Mac/SystemDirectory/SystemDirectory.bundle Installing /Library/Perl/5.18/darwin-thread-multi-2level/Mac/SystemDirectory.pm Installing /usr/local/share/man/man3/Mac::SystemDirectory.3pm Appending installation info to /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level/perllocal.pod ETHER/Mac-SystemDirectory-0.10.tar.gz /usr/bin/make install -- OK |
Categories: How-To's, Technology Tags: 10.14, CPAN, Error, extern.h, Fatal, Fatal Error, File not found, Header, headers, howto, Install, installer, Libraries, Library, MacOS, Mojave, not found, Package, perl, pkg, System, tips, update, upgrade, XCode
|
No comments