[LON-CAPA-cvs] cvs: doc /loncapafiles modify_config_files.piml ntpcheck.piml rpmcheck.piml sendmail_fix.piml webserver.piml
matthew
lon-capa-cvs@mail.lon-capa.org
Mon, 23 Aug 2004 19:07:26 -0000
matthew Mon Aug 23 15:07:26 2004 EDT
Modified files:
/doc/loncapafiles modify_config_files.piml ntpcheck.piml
rpmcheck.piml sendmail_fix.piml webserver.piml
Log:
Put "**** " in front of WARNINGs and ERRORs so they will be picked up
in the summary.
Index: doc/loncapafiles/modify_config_files.piml
diff -u doc/loncapafiles/modify_config_files.piml:1.1 doc/loncapafiles/modify_config_files.piml:1.2
--- doc/loncapafiles/modify_config_files.piml:1.1 Mon Aug 9 17:17:50 2004
+++ doc/loncapafiles/modify_config_files.piml Mon Aug 23 15:07:26 2004
@@ -3,7 +3,7 @@
<!-- accesscount_seed.piml -->
<!-- Matthew Hall -->
-<!-- $Id: modify_config_files.piml,v 1.1 2004/08/09 21:17:50 matthew Exp $ -->
+<!-- $Id: modify_config_files.piml,v 1.2 2004/08/23 19:07:26 matthew Exp $ -->
<!--
@@ -38,7 +38,7 @@
print "\nUpdating yum and MySQL configuration files\n";
system("/home/httpd/perl/modify_config_files.pl");
-print "WARNING: It may be neccessary to restart MySQL at this time.\n".
+print "**** WARNING: It may be neccessary to restart MySQL at this time.\n".
" Use the command \"/etc/init.d/mysqld restart\"\n";
</perlscript>
Index: doc/loncapafiles/ntpcheck.piml
diff -u doc/loncapafiles/ntpcheck.piml:1.4 doc/loncapafiles/ntpcheck.piml:1.5
--- doc/loncapafiles/ntpcheck.piml:1.4 Tue Jul 6 16:52:18 2004
+++ doc/loncapafiles/ntpcheck.piml Mon Aug 23 15:07:26 2004
@@ -3,7 +3,7 @@
<!-- ntpcheck.piml -->
<!-- Matthew Hall -->
-<!-- $Id: ntpcheck.piml,v 1.4 2004/07/06 20:52:18 matthew Exp $ -->
+<!-- $Id: ntpcheck.piml,v 1.5 2004/08/23 19:07:26 matthew Exp $ -->
<!--
@@ -48,20 +48,20 @@
# chkconfig barfs to stderr if the target isn't set up right.
my $restartchk = `/sbin/chkconfig --list ntpd 2>/dev/null`;
if ($restartchk eq '') {
- print "WARNING: ntpd is either not installed or not configured to run at boot.\n";
+ print "**** WARNING: ntpd is either not installed or not configured to run at boot.\n";
exit;
}
if ($restartchk =~ /^error reading information on service / ||
$restartchk !~ /\d:(on|off)/) {
- print "WARNING: Unable to check status of ntpd with /sbin/chkconfig.\n";
+ print "**** WARNING: Unable to check status of ntpd with /sbin/chkconfig.\n";
exit;
}
if ($restartchk !~ /\s3:on/) {
- print "WARNING: ntpd is not set to start at runlevel 3. To correct this run:\n/sbin/chkconfig --level 3 ntpd on\n";
+ print "**** WARNING: ntpd is not set to start at runlevel 3. To correct this run:\n/sbin/chkconfig --level 3 ntpd on\n";
exit;
}
if ($restartchk !~ /\s5:on/) {
- print "WARNING: ntpd is not set to start at runlevel 5. To correct this run:\n/sbin/chkconfig --level 5 ntpd on\n";
+ print "**** WARNING: ntpd is not set to start at runlevel 5. To correct this run:\n/sbin/chkconfig --level 5 ntpd on\n";
exit;
}
</perlscript>
Index: doc/loncapafiles/rpmcheck.piml
diff -u doc/loncapafiles/rpmcheck.piml:1.7 doc/loncapafiles/rpmcheck.piml:1.8
--- doc/loncapafiles/rpmcheck.piml:1.7 Wed Aug 11 10:12:47 2004
+++ doc/loncapafiles/rpmcheck.piml Mon Aug 23 15:07:26 2004
@@ -3,7 +3,7 @@
<!-- phpcheck.piml -->
<!-- Matthew Hall -->
-<!-- $Id: rpmcheck.piml,v 1.7 2004/08/11 14:12:47 matthew Exp $ -->
+<!-- $Id: rpmcheck.piml,v 1.8 2004/08/23 19:07:26 matthew Exp $ -->
<!--
@@ -46,7 +46,7 @@
# Look for php packages that should not be installed
my @phprpms = `rpm -q -a|grep php`;
if (@phprpms) {
- print "WARNING: PHP packages are present on this system.\n".
+ print "**** WARNING: PHP packages are present on this system.\n".
"There are known conflicts between PHP libraries and LON-CAPA.\n".
"Use the following command to remove ".
"the php packages from your system:\nrpm -e ";
@@ -61,14 +61,14 @@
my @mod_rpms = `rpm -q -a | grep mod`;
foreach my $rpm (@mod_rpms) {
if ($rpm =~ /mod_bandwidth/) {
- print "WARNING: it appears you have the mod_bandwidth ".
+ print "**** WARNING: it appears you have the mod_bandwidth ".
"package installed.\n".
"mod_bandwidth appears to conflict with LON-CAPA.\n".
"Use the following command to remove it:\n".
"rpm -e $rpm\n";
}
if ($rpm =~ /mod_throttle/) {
- print "WARNING: it appears you have the mod_throttle ".
+ print "**** WARNING: it appears you have the mod_throttle ".
"package installed.\n".
"mod_throttle appears to conflict with LON-CAPA.\n".
"Use the following command to remove it:\n".
@@ -83,11 +83,12 @@
foreach my $rpm ('gnuplot-3.7.1-5','LON-CAPA-systemperl') {
my @matching_rpms = grep(/$rpm/,@RPMS);
if (! @matching_rpms) {
- print "WARNING: ".$rpm." does not appear to be installed.\n";
+ print "**** WARNING: ".$rpm." does not appear to be installed.\n";
}
}
} else {
- foreach my $rpm ('gnuplot-',
+ foreach my $rpm ('LONCAPA-prerequisites',
+ 'gnuplot-',
'perl-IO-Socket-SSL',
'perl-Net-SSLeay',
'perl-Time-HiRes-1.59',
@@ -126,7 +127,7 @@
'perl-TimeDate',) {
my @matching_rpms = grep(/$rpm/,@RPMS);
if (! @matching_rpms) {
- print "WARNING: ".$rpm." does not appear to be installed.\n";
+ print "**** WARNING: ".$rpm." does not appear to be installed.\n";
}
}
}
@@ -136,7 +137,7 @@
'^bzip2-libs','^unzip','^bzip2','^tar-') {
my @matching_rpms = grep(/$rpm/,@RPMS);
if (! @matching_rpms) {
- print "WARNING: ".$rpm." does not appear to be installed.\n";
+ print "**** WARNING: ".$rpm." does not appear to be installed.\n";
}
}
@@ -144,7 +145,7 @@
# Look for files which we need to be present
foreach my $file ('/usr/bin/pstops') {
if (! -e $file) {
- print "WARNING: ".$file." does not appear to be installed.\n";
+ print "**** WARNING: ".$file." does not appear to be installed.\n";
}
}
</perlscript>
Index: doc/loncapafiles/sendmail_fix.piml
diff -u doc/loncapafiles/sendmail_fix.piml:1.2 doc/loncapafiles/sendmail_fix.piml:1.3
--- doc/loncapafiles/sendmail_fix.piml:1.2 Mon Feb 3 13:03:51 2003
+++ doc/loncapafiles/sendmail_fix.piml Mon Aug 23 15:07:26 2004
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/piml.dtd">
<!-- sendmail_fix.piml -->
-<!-- $Id: sendmail_fix.piml,v 1.2 2003/02/03 18:03:51 harris41 Exp $ -->
+<!-- $Id: sendmail_fix.piml,v 1.3 2004/08/23 19:07:26 matthew Exp $ -->
<!--
@@ -50,7 +50,7 @@
<perlscript mode='fg'>
# Generated from doc/loncapafiles/sendmail_fix.piml
unless (-e "<TARGET />") {
- print('ERROR! Where is the root directory on this strange filesystem!');
+ print('**** ERROR! Where is the root directory on this strange filesystem!');
exit(1);
}
else {
Index: doc/loncapafiles/webserver.piml
diff -u doc/loncapafiles/webserver.piml:1.15 doc/loncapafiles/webserver.piml:1.16
--- doc/loncapafiles/webserver.piml:1.15 Tue Feb 10 15:54:14 2004
+++ doc/loncapafiles/webserver.piml Mon Aug 23 15:07:26 2004
@@ -2,7 +2,7 @@
"http://lpml.sourceforge.net/DTD/piml.dtd">
<!-- webserver.piml -->
-<!-- $Id: webserver.piml,v 1.15 2004/02/10 20:54:14 www Exp $ -->
+<!-- $Id: webserver.piml,v 1.16 2004/08/23 19:07:26 matthew Exp $ -->
<!--
@@ -52,7 +52,7 @@
<perlscript mode='fg'>
# Generated from doc/loncapafiles/webserver.piml
unless (-e "<TARGET />") {
- print 'ERROR! httpd.conf should exist! Are you missing the Apache '.
+ print '**** ERROR! httpd.conf should exist! Are you missing the Apache '.
'software package?';
exit(1);
}