Moin zusammen,
hänge leider schon bei Start :-) Bitte um Hilfe.
Die DNS Auflösung sollte passen, aber das Script erzählt mir es passt nicht
[09:28:11] | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[09:28:11] | P e r f e c t R o o t s e r v e r
[09:28:11] | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[09:28:11] | [INFO] Welcome to the Perfect Rootserver installation!
[09:28:24] | [INFO] Checking your system...
[09:28:25] | [ERROR] mail.iphone-doc.de does not resolve to the IP address of your server (81.169.225.121)
[09:28:26] | [ERROR] autoconfig.iphone-doc.de does not resolve to the IP address of your server (81.169.225.121)
[09:28:27] | [ERROR] autodiscover.iphone-doc.de does not resolve to the IP address of your server (81.169.225.121)
[09:28:28] | [ERROR] dav.iphone-doc.de does not resolve to the IP address of your server (81.169.225.121)
[09:28:29] | [ERROR]
[Only registered and activated users can see links. Click Here To Register...] does not resolve to the IP address of your server (81.169.225.121)
[09:28:29] | [WARN] Please check your DNS-Records.
[09:28:29] | [INFO] Press ENTER to repeat this check or CTRL-C to cancel the process
root@h2532822:~# dig @64.6.64.6 +short
[Only registered and activated users can see links. Click Here To Register...]
81.169.225.121
root@h2532822:~#
Vielleicht hat einer eine Idee was ich falsch mache. Laut "dig" aus dem Script sollte es aber passen.
Danke Gruß Alex
Also ich bin jetzt nicht der Scripter, aber "unset" löscht doch die Variablen, oder? Im Script kommt ein unset der Variablen, bevor die IP Verglichen wird. Und dann hat er doch die falsche, oder denke ich da falsch?
if [ ${USE_MAILSERVER} == '1' ]; then
while true; do
unset MAILIP ACIP ADIP DAVIP WWWIP
p=0
if [[ $MAILIP != $IPADR ]]; then
echo "${error} mail.${MYDOMAIN} does not resolve to the IP address of your server (${IPADR})" | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
else
p=$((p + 1))
fi
sleep 1
if [[ $ACIP != $IPADR ]]; then
echo "${error} autoconfig.${MYDOMAIN} does not resolve to the IP address of your server (${IPADR})" | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
else
p=$((p + 1))
fi
sleep 1
if [[ $ADIP != $IPADR ]]; then
echo "${error} autodiscover.${MYDOMAIN} does not resolve to the IP address of your server (${IPADR})" | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
else
p=$((p + 1))
fi
sleep 1
if [[ $DAVIP != $IPADR ]]; then
echo "${error} dav.${MYDOMAIN} does not resolve to the IP address of your server (${IPADR})" | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
else
p=$((p + 1))
fi
sleep 1
if [[ $WWWIP != $IPADR ]]; then
echo "${error} www.${MYDOMAIN} does not resolve to the IP address of your server (${IPADR})" | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
else
p=$((p + 1))
fi
if [ ${p} -eq 5 ]; then
break
else
echo
echo "${warn} Please check your DNS-Records." | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
echo "${info} Press $(textb ENTER) to repeat this check or $(textb CTRL-C) to cancel the process" | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
read -s -n 1 i
fi
done
else
while true; do
if [[ $WWWIP != $IPADR ]]; then
unset WWWIP
echo "${error} www.${MYDOMAIN} does not resolve to the IP address of your server (${IPADR})" | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
echo
echo "${warn} Please check your DNS-Records." | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
echo "${info} Press $(textb ENTER) to repeat this check or $(textb CTRL-C) to cancel the process" | awk '{ print strftime("[%H:%M:%S] |"), $0 }'
read -s -n 1 i
else
break
fi
done
Edit:
ich hab die unset mal raus genommen und jetzt läuft die Prüfung durch.
Allerdings hängt er nun beim SSL erstellen:
[INFO] Creating valid SSL certificates..
seit 30 min :-(
Wieder ein Edit:
Das SSL Dingens fragt nach wo man das SSL Zertifikat hin haben mag .. wenn man ">/dev/null 2>&1" bei dem Script entfernt kann man zwischen 2 optionen wählen. Dannach lief es durch.
Jetzt muss ich nur noch auf meinen AuthCode warten den die Strato lässt für Root Server keine TXT records zu .. also Domain Umzug :-)