Wednesday, 18 August 2010

Sophos SBE not updating - fix

services.msc

-stop sophos agent service
-stop sophos certification manager service
-stop sophos management service
-stop sophos message router service
-stop sophos update manager service

-c:\documents and settings\all users\application data\sophos\update manager\working (delete)

-c:\documents and settings\all users\application data\sophos\update manager\update manager\warehouse (delete)

-c:\documents and settings\all users\application data\sophos\update manager\update manager\cids (delete)-c:\program files\sophos\scc\sum\sum_status.xml, specialactions.xml, ~specialactions.xml (delete the 3 files in the folder)

-start services in reverse order


-update now in the console.

Thursday, 5 August 2010

Windows / SBS 2008 C: low on space

I have discovered a great tool for freeing up space on a System drive of a Windows 2008 after SP2 has been installed computer. WARNING this rolls up service so that I CAN'T be installed.

compcln.exe


After...


On Windows 2008r2 the command is...

DISM.exe /online /Cleanup-Image /spsuperseded

Outlook 2007 'Your Out of Office settings cannot be displayed, because the server is currently unavailable. Try again later"

After an transition to SBS 2008, Outlook 2007 clients might get this warning when they try to open their Out Of Office Assistant.



You might also see this symptom below if you "Test E-Mail Autoconfiguration." in outlook.

Most troubleshooting websites point you to the certificate being incorrect. However the SBS wizard should have done the job correctly. I fixed this but disabling 'Require SSL' on the autodiscover virtual directory. If that does not work try the EWS virtual directory.

Great Exchange 2007 SSL tool

http://www.u-btech.com/products/certificate-manager-for-exchange-2007.html

Friday, 2 July 2010

Quickly add Sophos management ports to SBS 2008 firewall

To allow the network PCs to communicate with the Sophos Control Center you need to open some ports on the SBS 2008 box. Issue these commands from the CMD prompt

netsh firewall add portopening TCP 8192 "Sophos Management"
netsh firewall add portopening TCP 8193 "Sophos Management"
netsh firewall add portopening TCP 8194 "Sophos Management"
netsh firewall add portopening TCP 8081 "Sophos quarantine digest"

Thursday, 3 June 2010

Usefull ESX commands

df -h  lists the filesystems and space available.
perl -spi -e 's|PermitRootLogin no|PermitRootLogin yes|' /etc/ssh/sshd_config enables SSH for root, need to issue service sshd restart afterwards
vimsh -n -e /hostsvc/maintenance_mode_enter or _exi enter mainenance mode from the shell
vmkfstools -Ph -v 10 /vmfs/volumes/$$volume_label$$/ Check free file space as VMFS can only support 32k files
dd if=/dev/cdrom of="isoname.iso" makes an ISO from the CD-ROM in the host.
mkdir iso | chmod 777 iso Makes a directory called iso and sets permissions to read write.