[LON-CAPA-cvs] cvs: doc /install/redhat7.3 install.pl
harris41
lon-capa-cvs@mail.lon-capa.org
Wed, 08 Jan 2003 02:48:01 -0000
harris41 Tue Jan 7 21:48:01 2003 EDT
Modified files:
/doc/install/redhat7.3 install.pl
Log:
BUG 1137 FIXED. Specifying /sbin/ path for chkconfig
Index: doc/install/redhat7.3/install.pl
diff -u doc/install/redhat7.3/install.pl:1.17 doc/install/redhat7.3/install.pl:1.18
--- doc/install/redhat7.3/install.pl:1.17 Tue Jan 7 15:48:53 2003
+++ doc/install/redhat7.3/install.pl Tue Jan 7 21:48:01 2003
@@ -2,7 +2,7 @@
# The LearningOnline Network
# Red Hat 7.3 installation script
#
-# $Id: install.pl,v 1.17 2003/01/07 20:48:53 matthew Exp $
+# $Id: install.pl,v 1.18 2003/01/08 02:48:01 harris41 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -361,9 +361,9 @@
## Set up mysql
##
print_and_log("Setting mysqld to start on boot up.\n");
-system("chkconfig --add mysqld");
-system("chkconfig mysqld on");
-&writelog(`chkconfig --list mysqld`);
+system("/sbin/chkconfig --add mysqld");
+system("/sbin/chkconfig mysqld on");
+&writelog(`/sbin/chkconfig --list mysqld`);
writelog("mysql links created successfully\n");
writelog(`/etc/rc.d/init.d/mysqld start`);
@@ -414,9 +414,9 @@
##
## Remove the firewall.
##
-system("chkconfig ipchains off");
+system("/sbin/chkconfig ipchains off");
system("/etc/init.d/ipchains stop");
-system("chkconfig iptables on");
+system("/sbin/chkconfig iptables on");
system("/etc/init.d/iptables start");
# Someday we will add these to /etc/sysconfig/ipchains.
@@ -428,7 +428,7 @@
## Set up httpd
##
print_and_log("Setting httpd to start on boot up.\n");
-system("chkconfig httpd on");
+system("/sbin/chkconfig httpd on");
##
## Copy our (probably lousy) httpd.conf to its rightful place