Munin stopped working after a ports update yesterday

The graphs in Munin weren't appearing after I preformed a ports update yesterday. When viewing the graphs in a separate tab I received the following error message. Can't load '/usr/local/lib/perl5/site_perl/5.14/mach/auto/RRDs/RRDs.so'…

Comments Off on Munin stopped working after a ports update yesterday

FreeBSD and phpList : White Screen of Death

Despite turning on errors in php.ini I wasn't getting any error messages when I went to http://ipaddress/lists/ or http://ipaddress/lists/admin/, I just received a white screen of death. After adding error_log() statements thoughout the code…

Comments Off on FreeBSD and phpList : White Screen of Death

Disable Windows Update Forced Reboots

Registry Method Open Registry Editor and create a DWORD called NoAutoRebootWithLoggedOnUsers under HKEY_LOCAL_MACHINE, SOFTWARE, Policies, Microsoft, Windows, WindowsUpdate and finally AU.  The value of NoAutoRebootWithLoggedOnUsers must be set to 1…

Comments Off on Disable Windows Update Forced Reboots

.NET Framework repair

Microsoft .NET Framework Repair Tool Version 2 of the Microsoft .NET Framework repair tool is available .NET Framework Setup Verification Tool User's Guide ASoft .NET Version Detector...

Comments Off on .NET Framework repair

Writable Protected Storage Service for Win7

Old versions of Outlook fail to save passwords when installed on Windows 7. https://sites.google.com/site/simpledotnet/outlook-express-6/writable-protected-storage-service-for-win7 ProtectedStorage.v0.3

Comments Off on Writable Protected Storage Service for Win7

Group Policy Debugging

http://support.microsoft.com/kb/325376 How to enable verbose startup, shutdown, logon, and logoff status Message To enable verbose status messages by using Group Policy Object Editor To enable verbose status messages by using…

Comments Off on Group Policy Debugging

’ characters or similar on your WordPress site

If you see random â€™ characters or similar on your Wordpress site its likely to be an encoding mismatch between your Wordpress installation and your MySQL database server. I did the…

Comments Off on ’ characters or similar on your WordPress site

Show locked Tables, Views etc in Microsoft SQL

SELECT DISTINCT object_name(a.rsc_objid) AS object, a.req_spid, b.loginame FROM master.dbo.syslockinfo a (nolock) JOIN master.dbo.sysprocesses b (nolock) on a.req_spid=b.spid WHERE object_name(a.rsc_objid) IS not null ORDER BY object

Comments Off on Show locked Tables, Views etc in Microsoft SQL

Opening up SQL server in the Windows Server 2008 firewall

@echo ========= SQL Server Ports =================== @echo Enabling SQLServer default instance port 1433 netsh firewall set portopening TCP 1433 “SQLServer” @echo Enabling Dedicated Admin Connection port 1434 netsh firewall set…

Comments Off on Opening up SQL server in the Windows Server 2008 firewall

David InfoCenter, Internet Explorer 10 (maybe?) and mailto links

David InfoCenter, Internet Explorer 10 (maybe?) and mailto links resulting in the following window... Windows Internet Explorer Could not perform this operation because the default mail client is not properly…

Comments Off on David InfoCenter, Internet Explorer 10 (maybe?) and mailto links

Allow users with Local Admin & UAC still have logon script run and successfully map drives.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "EnableLinkedConnections"=dword:00000001 Computer Configuration -> Preferences -> Windows Settings -> Registry. Create a DWORD with a name EnableLinkedConnections and a value of 1

Comments Off on Allow users with Local Admin & UAC still have logon script run and successfully map drives.

degree2decimal

DROP FUNCTION IF EXISTS `degree2decimal`; CREATE DEFINER = `root`@`localhost` FUNCTION `degree2decimal`(deg_coord float) RETURNS float BEGIN #converts NMEA/GPS Lat -Long to Decimal Degrees. Code comments are self explanatory. #The code is…

Comments Off on degree2decimal

Common Places to look for Viruses

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon REG_SZ : Shell : "C:\Users\Administrator\AppData\Roaming\dbu32.ocx,explorer.exe" There should be no Shell value

Comments Off on Common Places to look for Viruses

Find all the netblocks owned by a particular organisation

On 2013-03-20 at 11:55 +0100, DTNX Postmaster wrote: > I've looked up quite a few now, and they are all Crystone ranges, > belonging to their various European subsidiaries. There…

Comments Off on Find all the netblocks owned by a particular organisation

Get the size of all the tables in the databate you’re currently using.

SELECT t.NAME AS TableName, p.rows AS RowCounts, SUM(a.total_pages) * 8 AS TotalSpaceKB, SUM(a.used_pages) * 8 AS UsedSpaceKB, (SUM(a.total_pages) - SUM(a.used_pages)) * 8 AS UnusedSpaceKB FROM sys.tables t INNER JOIN sys.indexes…

Comments Off on Get the size of all the tables in the databate you’re currently using.

Printing not working on RDP session even though printers are visible in RD session (ie drivers installed and sent with session etc)

Cause: Besides having the role of Terminal Services in Application Mode installed, you also installed the role of a Domain Controller (DC) When a DC is being configured as a…

Comments Off on Printing not working on RDP session even though printers are visible in RD session (ie drivers installed and sent with session etc)

No more connections can be made – when joining domain

Check time on DC and workstation is within 5mins ;) Also... One additional thing I found very handy was the ability to join the domain using a specific server. The…

Comments Off on No more connections can be made – when joining domain

In DNS zone domain.local, your local server is not in the name server records . Migration will fail without fixing this issue. Go to http://support.microsoft.com/kb/2578426 for more details.

Comments Off on

Group Policy installation failed error 1274

You're seeing the dreaded scourge of asynchronous policy processing. It's not a "feature" (and was default-off in Windows 2000 but default-on in Windows XP and above) and causes exactly what…

Comments Off on Group Policy installation failed error 1274