[LON-CAPA-cvs] cvs: loncom /configuration Firewall.pm
raeburn
raeburn at source.lon-capa.org
Thu Jul 9 09:42:37 EDT 2020
raeburn Thu Jul 9 13:42:37 2020 EDT
Modified files:
/loncom/configuration Firewall.pm
Log:
- Warn if iphost information is missing.
Index: loncom/configuration/Firewall.pm
diff -u loncom/configuration/Firewall.pm:1.20 loncom/configuration/Firewall.pm:1.21
--- loncom/configuration/Firewall.pm:1.20 Sat Jan 11 22:07:54 2020
+++ loncom/configuration/Firewall.pm Thu Jul 9 13:42:37 2020
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Firewall configuration to allow internal LON-CAPA communication between servers
#
-# $Id: Firewall.pm,v 1.20 2020/01/11 22:07:54 raeburn Exp $
+# $Id: Firewall.pm,v 1.21 2020/07/09 13:42:37 raeburn Exp $
#
# The LearningOnline Network with CAPA
#
@@ -181,10 +181,13 @@
}
}
} else {
- print "no key found in $iphost hash ref\n";
+ print "no key found in \$iphost hash ref.\n".
+ "Domain Name Service (DNS) may not be available.\n".
+ "If this LON-CAPA node is standalone, then you can fix this issue by modifying /etc/hosts.\n".
+ "Use a text editor to add: IPaddress Hostname\n";
}
} else {
- print "$iphost is not a reference to a hash\n";
+ print "\$iphost is not a reference to a hash\n";
}
if (@lond_port_curropen) {
unless (grep(/^\Q$port\E$/, at opened)) {
More information about the LON-CAPA-cvs
mailing list