search for: ping1chk

Displaying 1 result from an estimated 1 matches for "ping1chk".

2019 Mar 22
4
Problems with Samba 4.5.16 - configuring a second failover AD DC and joining this to an existing domain SAMDOM
...uot;check-winserv-emu" >> ${PROGRESS_FILE} fi # Ping to check local domain and dns is working correctly if ! grep -q 'ping-check-local-domain' ${PROGRESS_FILE}; then echo -e "${Cya}16) Ping test AD DNS functionality${RCol}" ping -c3 "$HOSTNAME"; PING1CHK=$?; ping -c3 "$HOSTNAME.$DOMAIN"; PING2CHK=$?; ping -c3 "$DOMAIN"; PING3CHK=$?; if [ $PING1CHK -ne 0 ] || [ $PING2CHK -ne 0 ] || [ $PING3CHK -ne 0 ]; then echo "ERROR: Could not ping host(s) and/or dns server. Exiting." exit 2 f...