Monday, May 18, 2009

Ctrl-Alt-Delete shutdown Linux

Do you know that if you push Ctrl-Alt-Delete on your linux will halt?
without login.

Now you know!

This is write on /etc/inittab file (inittab file describes which processes are started at bootup and during normal operation).

To disable Ctrl-Alt-Delete shutdown, open inittab file

# vi /etc/inittab

Search the line like this

ca:12345:ctrlaltdel:/sbin/shutdown -t3 -r now

Comment out the line with hash mark (#). Save the file end exit.

reboot the system to take effect or type command

# init q

Friday, May 15, 2009

FQDN error message during SQL2005 Mirroring Setup

Starting Mirroring after GUI configuration you receive the error “One or more of server network addresses lack a fully qualified domain name (FQDN). Specify the FQDN for each server, and click Start Mirroring again.”

This error occur because server cannot qualify computername (example 2 server on workgroup without dns configured).
In this case when you reach the following dialogbox


click on 'DO NOT START MIRRORING' and than edit this three fields.untitled Replace value with the IP address.

At the end if you start mirroring will function correctly.

PS forcing FQDN with host file resolution don’t function.

Thursday, May 7, 2009


Map picture

Robocopy & /fft parameter

Robocopy is very powerful utility with a lot of cli switch. Especially /MIR.

/MIR option activates mirror mode (i.e. deleting files in the destination that are not present in the source).

In some case may be necessary to use /FFT (FAT File Times) switch combined to /MIR.

Some third-party operating systems say that their volumes are NTFS, but only implement FAT-style file times with a 2 second granularity. When copying to such a destination from a true NTFS volume, file time rounding may occur, along with unnecessary copying of file data in subsequent jobs. If you encounter this situation, you can use the /FFT (FAT File Times) switch to tell Robocopy to consider file times to be identical if they are within 2 seconds of each other, even though both source and destination appear to be NTFS. This eliminates unnecessary copying in this scenario.

Snippet from