Blog posts

Blog full archive

Tags

Configuring Proxmox hosts (and other postfix installs) to send email via smarthost

Proxmox uses postfix as its MTA. To configure this to send email via smarthost run

dpkg-reconfigure postfix

For general type we want Satellite

SMTP server - usual

Mailbox size – could use the suggested 51200000 here – should be more than big enough seeing as nothing should be ending up in the system mailbox anyway.

Once this is done, edit /etc/aliases. It should look like:

postmaster: root
nobody: root
hostmaster: root
webmaster: root
www: root

Add a line at the end:

Read more...

Debian 6 (squeeze) to 7 (wheezy) upgrade notes

Some of the older debian servers are firewalled using a command in the /etc/network/interfaces file to load the iptables rules. For some reason this breaks the file on upgrade to Debian wheezy and the network interfaces don’t come up on boot. To fix, comment or remove the line:

pre-up iptables-restore < /etc/iptables.conf

and use the iptables-persistent package instead.

Also gives an error on

INPUT -i ! lo

Need to change to

Read more...

Getting the Windows automatic update prompt to appear (inc. RDP sessions)

Often the Windows update shield in the system tray won’t appear when you RDP into systems. A fairly reliable trick seems to be the following:

  1. Stop the Automatic Update service ( net stop wuauserv from the command line ).
  2. Set the NextFeaturedUpdatesNotificationTime key ( located at HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\ ) to a date and time slightly ahead (say a minute or two) of the present.
  3. Start the Automatic Update service ( net start wuauserv ).

Or use this script (save as .vbs):

Read more...

Matlab on OSX Mountain Lion (10.8)

OSX Mountain Lion (10.8) seems to change the order of the MAC addresses presented to flexlm licence processes. There is a page about various problems at the Mathworks website:

Why am I unable to launch MATLAB after upgrading to Mountain Lion?

At the bottom of the page it gives the command to run to determine which address the licence process is seeing:

/Applications/MATLAB_.app/etc/maci64/lmutil lmhostid

Win XP SMS advanced client setup problems

In our case, wondering where that cannot create Microsoft.SMS.Client object 800A01AD error comes from…

http://blogs.technet.com/b/configmgrteam/archive/2009/03/13/troubleshooting-client-deployment-issues-running-ccmsetup-as-a-service.aspx

Sometimes you need to let ccmsetup.exe do it’s thing when joining systems to the domain.