Where did all my space go on Linux?

It happens your systems are working away happily one min and the next they stop. On Linux most of the time it seems that the hard drive or partition fills up and then everything stops.

If you open up a SSH and type

[root@SLnetTest1 ~]# du -h --max-depth=1 /

399M /opt
16K /lost+found
28M /sbin
13M /boot
412K /dev
1.5M /cli-rt
17G /var
5.4M /bin
32K /root
4.0K /media
9.1M /etc
4.0K /home
4.0K /selinux
4.0K /mnt
0 /proc
4.0K /srv
104M /lib
13G /tmp
0 /sys
468M /usr

As you can see mine was all gone in the /tmp. Cleaned it up and restart the services and good as gold.


Posted in: Blog

Leave a Comment (0) →

Exchange 2010 Missing Server configuration in EMC?

I was using outlook locally on a Exchange server. (i know not a good idea)  Anyway if you are going to use it to access a mail box DON’T click the remember password. If not next time you log in to the Exchange Management Console it will log on with those credentials and you wont be able to manage your server.  It is easy fixed tho. Just go in to the control panel -> Credential Manager find the password you saved a click remove from vault.




Posted in: Blog

Leave a Comment (0) →

Microsoft Exchange PST Capture is used to discover and import .pst files into Exchange Server or Exchange Online

While doing a mass mailbox move from one exchange provider to us i found this handy tool. It allows you to bulk import PST files directly to exchange with no outlook installed.


PST Capture helps you search your network to discover and then import .pst files across your environment – all from a straightforward admin-driven tool. PST Capture will help reduce risk while increasing productivity for your users by importing .pst files into Exchange Online or Exchange Server 2010 – directly into users’ primary mailboxes or archives.

Posted in: Blog

Leave a Comment (0) →

Outlook still autodiscovering BPOS after moving off it.

We moved a customer from BPOS (Telstra Hosted Exchange) to our own managed exchange. After hours of backing up mail boxes and restoring (due to the bpos platform being slow) and reseting up the profiles on the local pc i found the autodiscover kept prompting for a username and password for the bpos servers. ( after some looking i found this link Revert Autodiscover Changes for Exchange Online

It has these steps

To revert Autodiscover changes for Exchange Online

Click Start, and then click Run.
In the Run dialog box, type regedit, and then click OK.
In Registry Editor, go to the following registry key:
Delete the following Autodiscover entries:
Exit Registry Editor.
Restart Windows for the changes to take effect.


After doing all this it still didn’t work. Same problem. Then after looking at the reg files that that BPOS installer runs i found that it puts a entry in

HKEY_CURRENT_USERSoftwareMicrosoftOffice12.0OutlookAutoDiscoverdomainname = =”C:DOCUME~1…outlook-autodiscovery.xml” remove this reboot and everything should be good to go.


you can also clean up the C:Users%username%AppDataLocalMicrosoftSign InConfigusername@domain


If you have issues with not being able to send to internal email’s try outlook /cleanautocompletecache


Posted in: Blog

Leave a Comment (0) →

Xenserver guest wont shutdown

Got a Xenserver guest that wont shutdown? give this ago

1 – “xe vm-list” to get the uuid of the VM that is hung

2 – “list_domains” to list the domain uuid’s so you can determine
the domain # of the VM above by matching the uuids from this output with
the uuid for your VM from the previous command.

3 – “/opt/xensource/debug/destroy_domain -domid XX” where XX is the domain number from the previous command

4 – “xe vm-reboot uuid=XXXX –force” where XXXX is the uuid from the first vm-list command for your VM. (name-label may work but didn’t work this time for me so I used the uuid)

5 – (optional) If its still stuck try “xe-toolstack-restart”

Your VM will be back up running now in most cases. (I use this for my HVMs that hang so I don’t have to reboot the host server)
Source : Thanks

Posted in: Blog

Leave a Comment (0) →

Xenserver Issues

Some times things go a bit astray like the local hard dive fills up with log files.

Once you clean them out you might still not beable to get access to the server via Xencenter

Try going to the local shell of the server and type

[root@xenserver2 ~]# xe-toolstack-restart

Stopping xapi: Lost connection to the server.
. [ OK ]
Stopping the v6 licensing daemon: [ OK ]
Stopping the memory ballooning daemon: [FAILED]
Stopping perfmon: [FAILED]
Stopping the fork/exec daemon: [ OK ]
Starting the fork/exec daemon: [ OK ]
Starting perfmon: [ OK ]
Starting the memory ballooning daemon: [ OK ]
Starting the v6 licensing daemon: [ OK ]
Starting xapi: …start-of-day complete. [ OK ]
[root@xenserver2 ~]# xe-toolstack-restart

After that it all looks good. Its a good idea to find out what went wrong so you can fix that and not just use this command every day.


Posted in: Blog

Leave a Comment (0) →

How to Enable or Disable Quick Launch Bar Toolbar in Windows 7

Quick Launch Bar has been almost deprecated in Windows 7 as the whole Taskbar been replaced with greatly enhanced Superbar, which now allows shortcut icons to be placed on it directly. For users who miss Quick Launch bar so much to want it back in Windows 7, Microsofthas not yet completely removed the Quick Launch Bar yet, instead the Quick Launch Toolbar has been disabled and hidden by default.

Use the hack below to enable and turn on the Quick Launch Bar in Windows 7:

  1. Right click on Windows 7 Taskbar, and point to Toolbars context menu item, and then select New Toolbar….
  2. Browse to the following folder (easy way is to copy and paste to Address box to automatically navigate to):%SystemDrive%Users%username%AppDataRoamingMicrosoftInternet Explorer
  3. Locate and highlight the Quick Launch folder, and then click on Select Folder button.
  4. A Quick Launch Toolbar will be added to Windows Taskbar close to notification area. Unlock the Taskbar (right click on Taskbar and uncheck Lock the taskbar) to move the Quick Launch Toolbar.
  5. To move the Quick Launch Toolbar to the left of Taskbar next to Start button, unpin all applicationprograms from the Superbar by right click on each and every icons, then select Unpin this program from taskbar.Move the both borders of Quick Launch Toolbar to the furthest left, and then re-pin the applications to Taskbar if you still require them.
  6. Optionally, right click on empty space inside Quick Launch Toolbar area, and unselect Show Title to remove the Quick Launch wording, or uncheck Show Text to remove the label next to the shortcuts and icons in Quick Launch bar.

Add the icons and/or shortcuts to Quick Launch Bar by drag and drop to the Quick Launch Bar Toolbar or to %SystemDrive%Users%username%AppDataRoamingMicrosoftInternet ExplorerQuick Launch folder, while delete the icon as you would with any typical file (right click on it, and then select Delete).

How to Disable and Remove Quick Launch Toolbar in Windows 7

After added the Quick Launch bar in Windows 7, to remove the QuickLaunch Toolbar, just right click on Taskbar, and go to Toolbars, then uncheck Quick Launch menu item. The Quick Launch Toolbar will be removed from Taskbar and the toolbar item in Toolbars folder will also be deleted.


Taken from

Posted in: Blog

Leave a Comment (0) →

Linksys / Cisco Dial Plans

Just a quick post. Put in a SRP527W for a customer that is using the AT for cordless phones.

To make the phone dial quicker i changed  the dial plan to

(*xxS0|000S0|<:03>[4689]xxxxxxxS0|13[1-9]xxx S0|1300xxxxxxS0|1800xxxxxxS0|0[2478]xxxxxxxxS0|0011xxxxxx.|09xxxxxxS0)

It also add’s a 03 for local numbers. (For the SIP providers that need it)

Posted in: Blog

Leave a Comment (0) →

Easy way to add DNS server to Centos 6

The minimal install of Centos 6.2 is exactly that. Very minimal while this is good for appliances if you dont know your way around linux and vi it could be a bit hard to get a network connection going.

Here are a few tips i have picked up.

Setup a IP address on a nic

ifconfig eth0 netmask up
this will add a default gateway
route add default gw
These settings will be removed from the server on reboot. 
Run this to make the nic come up on boot automatically.
# cd /etc/sysconfig/network-scripts/ 
# sed -i -e 's@^ONBOOT="no@ONBOOT="yes@' ifcfg-eth0

To put a dns server in try

echo “nameserver” > /etc/resolv.conf

This adds the google dns server to the resolv.conf file and your ready to go.

If you want to use a GUI to setup a perminate IP address try

yum install system-config-network-tui

then system-config-network-tui

Posted in: Blog

Leave a Comment (0) →

Add printer with vbscript and enable snmp on tcp port

I like using VB Script to automate tasks and use them on logon scripts.

strComputer = "."
Set WshShell = WScript.CreateObject("WScript.Shell")
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\" & strComputer & "rootcimv2")

‘Install TCP/IP Port :

Set objNewPort = objWMIService.Get(“Win32_TCPIPPrinterPort”).SpawnInstance_

objNewPort.Name = “IP_192.168.1.10” ‘Change to TCP/IP port name you want created.
objNewPort.Protocol = 2
objNewPort.HostAddress = “” ‘ Change to the ip address of the printer or the hostname
objNewPort.PortNumber = “515” ‘ Change to the port number normally 9100 or 515 for brother printers
objNewPort.Queue = “BINARY_P1” ‘ Change to Queue name
objNewPort.SNMPCommunity = “public” ‘ Normally just public
objNewPort.SNMPEnabled = True

‘Stop Spooler Service

Set colServiceList = objWMIService.ExecQuery _
(“Select * from Win32_Service where Name=’Spooler'”)
For Each objService In colServiceList
errReturn = objService.StopService()
WScript.Sleep 5000

‘Start Spooler Service

For Each objService In colServiceList
errReturn = objService.StartService()
WScript.Sleep 5000

‘Install Driver :

objWMIService.Security_.Privileges.AddAsString “SeLoadDriverPrivilege”, True

Set objDriver = objWMIService.Get(“Win32_PrinterDriver”)
objDriver.Name = “Brother MFC-6490CW Printer” ‘ Change to the driver name that matches INF file
objDriver.SupportedPlatform = “Windows NT x86”
objDriver.Version = “3”
objDriver.FilePath = “s:\printer\” ‘ Path to the print drivers
objDriver.InfName = “s:\printer\brprbh97.inf” ‘ Path to the INF file
intResult = objDriver.AddPrinterDriver(objDriver)

‘Install TCP-Printer :

strComputer = “.”
Set objWMIService = GetObject(“winmgmts:” _
& “{impersonationLevel=impersonate}!\” & strComputer & “rootcimv2”)

Set objPrinter = objWMIService.Get(“Win32_Printer”).SpawnInstance_

objPrinter.DriverName = “Brother MFC-6490CW Printer” ‘ Must match driver name
objPrinter.PortName = “IP_192.168.1.10” ‘ Must match port name created above
objPrinter.DeviceID = “Brother MFC-6490CW Printer” ‘What ever you want to name the printer
objPrinter.Network = True
objPrinter.Shared = False
objPrinter.ShareName = “”
objPrinter.Published = False
objPrinter.Location = “A3 Printer Upstairs” ‘Location of the printer


Posted in: Blog

Leave a Comment (0) →
Page 14 of 15 «...101112131415