Quantcast
Channel: tolecnal.net
Browsing index pages (44 articles)

Image may be NSFW.
Clik here to view.

[HOWTO] Could not find a login matching the name provided. [CLIENT: ]

In the process of expanding my home lab, I ran into an issue as I was setting up a Microsoft SQL Server instance in my network. The installation breezed through without a hitch, and every service...

View Article


[HOWTO] Upgrade all Python packages after Ubuntu distribution upgrade

If you are anything like me, you use Python extensively for a wide range of different tasks. My main usage for Python is through Ansible, a tool I use often. It’s an invaluable tool which I simply...

View Article


[HOWTO] GitLab – Remove Two Factor Authentication (MFA) from an account in...

The other day I was faced with the challenge of restoring an old backup of a GitLab instance. This is in itself is fairly straightforward process, as long as you follow the correct upgrade path....

View Article

[HOWTO] Get the main group name for a username using Ansible

The other day I needed a way to get the main group of a user account in a playbook in Ansible. I figured there was a way to do this using native methods in Ansible, which proved correct. You can...

View Article

[HOWTO] Setup secondary network card (NIC) on Ubuntu in AWS

This simple how-to enables a secondary network card on an Ubuntu instance running Amazon AWS EC2. It assumes a setup where the primary network card is in a private subnet, and the secondary network...

View Article


[HOWTO] – Get a list of repositories from Docker Hub using PowerShell

The other day, I had the need to get a list of all the repositories from an organization in DockerHub to gather some statistics. Being a huge advocate I wanted to do this in PowerShell, as this makes...

View Article

[HOWTO] – PowerShell’s Invoke-WebRequest is very slow

Preface If you have ever used the PowerShell cmdlet Invoke-WebRequest to download content, you might have observed that it is terribly slow. Files that typically download within seconds with any web...

View Article

[HOWTO] Active Directory Replication fails – The target principal name is...

I was doing some maintenance work on one of the many different environments I help maintain today when I noticed that Active Directory replication failed to one of the Domain Controllers in the...

View Article


[HOWTO] EC2Launch – agent failed to assume identity

The other day I stumbled upon a string of similar events logged from some of my Windows EC2 instances in regards to the SSM Agent. It simply refused to start up, and examining the log files, I could...

View Article


Image may be NSFW.
Clik here to view.

[HOWTO] Fix EventLog Invalid Handle and Powershell Invalid Class

Lately I have been busy with upgrading a lot of servers from Windows 2012R2 and Windows 2016 to Windows Server 2019. The majority of these upgrades have gone through without a hitch. But of course,...

View Article

Image may be NSFW.
Clik here to view.

[HOWTO] No snap-ins have been registered for Windows PowerShell version 5

The other day I was upgrading a SharePoint 2016 Server Farm from Windows Server 2012 R2 to Windows Server 2019. The inline upgrade went quite nicely, and everything worked like a charm after the...

View Article

[HOWTO] apt upgrade fails – dpkg: error processing package grub-common

Quite recently I have seen some cases of apt failing when doing package upgrades. It seems like there is a change in the package grub-common that breaks on some systems, but works well on others....

View Article

[HOWTO] Pretty print AWS encoded authorization failure message

When working with AWS command line tools such as aws or their PowerShell tools, you will from time to time encounter that the error message for the failing command will be an encoded error message. To...

View Article


[HOWTO] Fix broken pip/pip3 in Ubuntu – f”ERROR: {exc}”

So the other day I was upgrading some old test instances and setting up some roles using Ansible and the role geerlingguy.pip, and ran into an issue. The issue was that pip simply wouldn’t work,...

View Article

[HOWTO] Transferring Route53 domains between Amazon AWS accounts

Ever had the need to transfer a registered Route53 domain from one AWS account to the other? Follow this guide to transfer your domains using PowerShell. Recently I had the need to do just that, and...

View Article


[HOWTO] Create list of ISO3166 Language Codes in Debian/Ubuntu

The other day I needed to create a list of ISO3166 language codes in the following format: ‘XX’,’YY’,’ZZ’. Being lazy, and also a fan of performing a bit of bash oneliner magic, or oneliner golf as...

View Article

[HOWTO] Using wildcards with logrotate

I often deploy services of different types and natures, and one thing that they all have in common is that they log their activity. Now logging is essential, however one of the downsides with logging...

View Article


Image may be NSFW.
Clik here to view.

[HOWTO] Tag EC2 instances based on platform type

Recently I had the need to tag all our EC2 instances based on the platform, as I wanted to create resource groups based on the actual underlying platform used for the EC2 instances. Much to my...

View Article

An open letter to the people of USA

  For the first time ever, I’m worried senseless about an election in the US. This election is one of the most important elections in modern history, and stands to shift the political climate not only...

View Article

One world

I am so fucking angry, I’m way beyond upset, my heart is bleeding, my head is racing, my gut wants to vomit until there’s nothing more left inside, I’m disappointed beyond even my own comprehension....

View Article
Browsing index pages (44 articles)


Latest Images