Archive for the ‘System Config’ Category

[root@test]# ssh
ssh_exchange_identification: Connection closed by remote host
Reason for this issue
  •    SSH connection is very slow b/w two clients so not able to exchange the ssh keys #time ssh user@ IP — >figure out why slow
  •    /etc/hosts.deny file may be ssh is added – – > remove the entry
  •    SSH key got corrupted – – > remove the key and exchange new one

[root@test ~]# date

Tue Oct 4 10:05:15 EEST 2016

[root@test ~]# ll /etc/localtime

lrwxrwxrwx 1 root root 35 Oct 4 10:04 /etc/localtime -> /usr/share/zoneinfo/Europe/Helsinki

[root@test zoneinfo]# cd /usr/share/zoneinfo/

[root@test zoneinfo]# unlink /etc/localtime

[root@test zoneinfo]# cd Asia/

[root@test Asia]# pwd


[root@test Asia]# ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

[root@test Asia]# date

Tue Oct 4 12:40:00 IST 2016

[root@test Asia]# ll /etc/localtime

lrwxrwxrwx 1 root root 32 Oct 4 12:39 /etc/localtime -> /usr/share/zoneinfo/Asia/Kolkata


Lost connectivity for boot LUN is check below things.

Network connection /Storage Connection /Host connection

If it is available means may be LUN is disconnected some seconds and it will connecting fine. this error message still showing in summary so you have to restart the service. restart

After restarting service summary message is went off. 🙂 🙂 🙂

Thick Storage Disk


Disk Usage in Thick storage Format

# du -sh vm01-flat.vmdk
350.0G  vm01-flat.vmdk

# ls -lh vm01-flat.vmdk
-rw——-    1 root     root      350.0G Aug 31 14:31 vm01-flat.vmdk


Thin Storage Disk


Disk Usage in Thick storage Format

# du -sh vm01-flat.vmdk
39G   vm01-flat.vmdk
# ls -lh vm01-flat.vmdk
-rw——-    1 root     root      350.0G Sep  1 00:41 vm01-flat.vmdk

[root@vm07 ~]# df -T /root/
Filesystem           Type 1K-blocks    Used Available Use% Mounted on
/dev/mapper/rootVG-root     ext4  15705540 3552056  11349032  24% /
[root@vm07 ~]# debugfs -R ‘stat /root/karthi’ /dev/mapper/rootVG-root
debugfs 1.41.12 (17-May-2010)
Inode: 803247   Type: regular    Mode:  0640   Flags: 0x80000
Generation: 405325120    Version: 0x00000000:00000001
User:     0   Group:     0   Size: 42
File ACL: 0    Directory ACL: 0
Links: 1   Blockcount: 8
Fragment:  Address: 0    Number: 0    Size: 0
ctime: 0x576d2a70:bdab01c8 — Fri Jun 24 15:41:20 2016
atime: 0x576d2a74:2014fa58 — Fri Jun 24 15:41:24 2016
mtime: 0x576d2a70:bdab01c8 — Fri Jun 24 15:41:20 2016
crtime: 0x576d29c0:eca8b478 — Fri Jun 24 15:38:24 2016
Size of extra inode fields: 28

Command to delete only file not a directory.Example i have 3 sub directory and each level 20 directory each directory have 100 files. This case i want to delete only files not a directory.

#cd /backup/logs/

#find . ! -name ‘.*’ ! -type d -exec rm — {} +

HP ILO pointing some other mac address


I have faced above PXE Boot Problem in HP BL460c Gen 8 & Gen 9 Blades. Because i have used  Firmware version is  faulty one.

We cant find out easily this problem it means .. i tried multiple times after that only find mac address is not matched with defined NIC mac address. So  this is due to FW we have not update correct one.SO use and update below firmware version and it will work fine…

SPP version – SPP 2014.09  & SPP 2015.10

NIC PXE FW version – 7.10.33 & 7.12.8