Google AdSense Ads Are Not Displayed in Firefox with Startpage Privacy Protection Installed

Oh man, I was banging my head off of the desk for a good long while trying to figure out why Google AdSense ads were not being displayed using Google SiteKit (Version 1.92.0) on a WordPress installation (Version 6.1.1). I scoured forums for countless hours on end blindly following rabbit trails of various troubleshooting steps, install guides on Google AdSense and Tag Manager manual installation, and reading other people’s articles that were having similar error messages, none of which were overly helpful, but was not having any luck. It’s only in retrospect, that I realized if I were paying closer attention to some really obvious details, I could have spared myself some grief and several more wasted ticks off the old life clock.

These are the two primary (redacted) error messages I was getting:

GET https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXX&host=ca-host-pub-XXXXXXXXXXXXXXXX
Blocked By Extension

TLDR – “Blocked By Extension” was the dead giveaway I kept overlooking.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-XXXXXXXXXXXXXXXX&host=ca-host-pub-XXXXXXXXXXXXXXXX. (Reason: CORS request did not succeed). Status code: (null).

Continue reading “Google AdSense Ads Are Not Displayed in Firefox with Startpage Privacy Protection Installed”

Bash Script: Test Veeam Linux Agent Socket and Restart Service if Needed

I recently started using the full version of Veeam Backup & Replication (Build 11.01.1261) in a corporate production environment and was kind of shocked to find that the Veeam Agent for Linux (Agent version: 5.0.1.4493) fails so regularly with the following warning and error messages:

Processing ServerName Error: Failed to execute agent management command print. Connection refused Failed to connect: /var/tmp/veeam/socket/veeamservice.sock. Failed to connect to veeamservice daemon.

and

Task failed. Error: Failed to execute agent management command print. Connection refused Failed to connect: /var/tmp/veeam/socket/veeamservice.sock. Failed to connect to veeamservice daemon.

Apparently, Veeam offers no error checking or resolution process for automatically restarting the service, so I had to write a quick script to resolve this ongoing issue.
Continue reading “Bash Script: Test Veeam Linux Agent Socket and Restart Service if Needed”

Korn – Y’all Want a Single Lyrics

Y’all want a single say fuck that
Fuck that, Fuck that
Y’all want a single say fuck that
Fuck that, Fuck that
Y’all want a single say fuck that
Fuck that, Fuck that
Y’all want a single say fuck that
Boom Boom Boom Boom

What’s going on today?
We gotta break away
We got a problem and
I think it’s going to make us go down

They think we’re all the same
And always we’re to blame
For shit I think is lame
It’s time to stop the game
I think it’s time to pay for everything you made me say

Y’all want a single say fuck that
Fuck that, Fuck that [x4]

Continue reading “Korn – Y’all Want a Single Lyrics”

Ubuntu Server 18.04 – Postfix 3.3.0 Issues

After doing a release upgrade to Ubuntu Server 18.04, Postfix stopped working with the following messages in the syslog:

Mar 11 09:56:02 servername postfix/master[1046]: warning: process /usr/lib/postfix/sbin/smtpd pid 12628 exit status 1
Mar 11 09:56:02 servername postfix/master[1046]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling
Mar 11 09:57:02 servername postfix/smtpd[12650]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destination, reject, defer, defer_if_permit or check_relay_domains

The fix:

postconf -e 'compatibility_level=2'
systemctl restart postfix.service

Bash Script – Install HP Server Management Tools on Ubuntu Server

Here’s a quick and dirty, no-frills bash script to install the HP Server Management Tools on Ubuntu Server. As is, it will install the command line utilities to configure ILO and your RAID controllers. You can look up the other package names available for your distribution by examining the Packages file as in this example here:

Continue reading “Bash Script – Install HP Server Management Tools on Ubuntu Server”

Server 2012 and Up – Sync DHCP Filter List on Hot Spare Failover Server

Once again, we find out how worthless and pathetic Microsoft is when it comes to thoroughness. Starting with Server 2012, they added the ability to have a failover DHCP server using load balancing or by acting as a hot spare and have it replicate the server configuration, which is great, except they left out the MAC filtering lists, forcing us to use scripts yet again to accomplish something that should have been built in.
Continue reading “Server 2012 and Up – Sync DHCP Filter List on Hot Spare Failover Server”

How to Clone Windows with Clonezilla when the Destination Disk is Smaller than the Original – OR – Cloning a Large Drive to a Smaller SSD

I’ve done this dozens of times now over the last couple of years when it comes to swapping out workstation hard drives with SSDs and it’s pretty much become second nature at this point, but I think the world could use a good write up on this because I’ve wasted countless hours acquiring this knowledge.

So, for today’s lesson, we will be cloning a Windows 8.1 installation from a 500GB desktop hard drive onto a 250GB SSD. Basic knowledge of how to use tools like the command line and Disk Management are assumed. Continue reading “How to Clone Windows with Clonezilla when the Destination Disk is Smaller than the Original – OR – Cloning a Large Drive to a Smaller SSD”

1675211259