Commands from bash/shell execute with long delay

Commands from bash/shell execute with long delay

to check what is going on use strace

strace -r -o trace.log echo hi
 
Sometimes /etc/hosts is missing entry about hostname
 
127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

so just add your hostname in the end of localhost or just make new entry

127.0.0.1       localhost.localdomain localhost test1 test1.example.com
::1             localhost6.localdomain6 localhost6

or

127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.0.1     test1 test1.example.com

Comments

Popular posts from this blog

How to clean DB from old logs in Magento 1.x

Reduce (shrink) and resize raw disk at Proxmox

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10