Archive for the ‘Troubleshooting’ Category


[Errno 14] curl#7 – “Failed connect to XX.XX.XX.XX21; No route to host”

disable iptables in Yum server it will work

[root@rhel7 ~]# iptables -F
[root@rhel7 ~]# iptables -L

Advertisements

ftp://xx.xx.xx.xx/pub/softwareupdate/repodata/repomd.xml: [Errno 14] FTP Error 55 0 – Given file does not exist

[root@rhel7 ~]# getenforce
Enforcing

disable SELINUX in Yum server side it will work

[root@rhel7 ~]# getenforce
Disabled


while deploying VCSA from Linux environment to ESXi host check below condition are correct on your system.

  • DNS server should be needed in Linux machine
  • /etct/hosts entry should have esxi and vcsa DNS name entry in Linux machine
  • in the esxi side means where you are deploying esxi from there nslookup sholud work in ESXi
  • in /etct/resolv.conf entry should have only one DNS server. esxi should not have multiple entry like below.

in the above screen shot /etc/resolv.conf have both Ipv4 and IPv6. Actually in this case automatically ipv6 added by some other dhcp in the same network. 192.168.1.10 is actual dns entry rest added by DNS name server because same network multiple dhcp server is running . remove that entry if saw in /etc/resolv.conf.


Solution :

TFTP open time out because server not able to reach tftp server.  If you added iptables rule for tftp dhcpd and http server. Add the rules for this server also and re-trigger the same


screenshot_2

 

Fix

while doing pxe boot of any VM or server we will give mac address under this path /tftpboot/linux-install/pxelinux.cfg that time if u gave Upper mac address as below  it will fail

lrwxrwxrwx 1 root root  10 Feb 20 07:32 01-00-50-A6-9C-CE-E7 -> vm68
lrwxrwxrwx 1 root root  10 Feb 20 07:32 01-00-50-A6-9C-C1-C7 -> vm19

change as below it work 🙂 🙂 🙂

lrwxrwxrwx 1 root root  10 Feb 20 07:32 01-00-50-a6-9c-ce-e7 -> vm68
lrwxrwxrwx 1 root root  10 Feb 20 07:32 01-00-50-a6-9c-c1-c7 -> vm19


[root@nagios ~]# pvcreate /dev/sdb3
Device /dev/sdb3 not found (or ignored by filtering).

Fix : kernel partition table  not  synced /dev/sdb3 partition so you got a above error

#init 6 (not recommended)

#partx -av /dev/sdb


[root@localhost ~]# vim /etc/fstab
[root@localhost ~]# mount -a
mount: mount point /data does not exist
mount: mount point /data2 does not exist

Fix : fstab newly added partition information /data /data2 directory is not yet created

#mkdir /data /data2

#mount -a