From: Williams, Quinton L (QWilliams@Central.UH.edu)
Date: Mon Oct 27 2003 - 15:09:43 CST
I set up the one slave box during the install of the master NetReg server.
I made the master server the DHCP failover for the slave.
The following is the directory under "SLAVE" that was created by the script:
/usr/local/src/netreg-2.0-beta1/SLAVE/129. This has a file called
"settings" with what appears to be several variables for the slave
install_script. What file should the slave's install script be looking for
that it says directory or file not found. I tarred the entire directory and
FTP'ed it to the slave where I un-compressed the directory and ran the
install_script.
Quinton
-----Original Message-----
From: David Bussenschutt [mailto:d.bussenschutt@griffith.edu.au]
Sent: Sunday, October 26, 2003 6:59 PM
To: netreg@southwestern.edu
Subject: Re: NetReg: Install_Script error on Slave box
Part of the "master" instalation process involves defining the names/details
of each of the slaves, so that the master can know about it's "slaves".
This process creates some temporary configuration files in a subdirectory of
the install files.
When installing a "slave" server, it looks for these temporary files, so it
can find out information about it's "master", and basic environment etc.
Your problem is that the the "slave" instalation is looking for these files
(that should have been created when you ran the install_script on the
master), and can't find them.
Possible solutions:
Did you define the slaves when installing the master?
Did you install the slaves from the same directory as the master? (either by
zipping up the netreg installation directory and copying to the slaves then
installing, or by using a NFS mounted directory from the server or similar)
David.
--------------------------------------------------------------------
David Bussenschutt Email: D.Bussenschutt@griffith.edu.au
Application Infrastructure Administrator
RedHat Certified Engineer.
Member of Systems Administrators Guild of Australia.
Location: Griffith University. Information Technology Services
Brisbane Qld. Aust. (Willett Centre rm0.36) Ph: (07)38757079
--------------------------------------------------------------------
Quote of the week:
"We, the willing, led by the unknowing, are doing the impossible for the
ungrateful. We have done so much for so long with so little, we are now
qualified to do anything with nothing."
"Williams, Quinton L" <QWilliams@Central.UH.edu>
Sent by: owner-netreg@southwestern.edu
22/10/2003 04:32 AM
Please respond to
netreg@southwestern.edu
To
"'netreg@southwestern.edu'" <netreg@southwestern.edu>
cc
Subject
NetReg: Install_Script error on Slave box
Hello, I am having a little problem with the install script running on a
slave box.
Below is the complete script until it stops so you can see all the answers.
Any ideas as to why it would think I am installing a Slave config on a
Master box?
------------------------------------------------------------------------
About to begin install of netreg.org (v2) please read the
"Netreg V2.0 Instalation and Administration Documentation"
and check you have installed the prerequisites before continuing :
IMPORTANT PREREQUISITES:
* quite a number of CPAN perl modules
* installed Apache2 webserver with mod_perl (tested with 2.0.45 and 1.99_08)
* installed version of the latest ISC version 3.x 'dhcpd' binary for your
platform
* installed oracle instalation is also required (postgresql is a less-tested
alternative)
* other requirements as mentioned in the documentation...
------------------------------------------------------------------------
Is this the registration server? (or is it a 'slave' dhcp/dns server?)
(Press one of):
[Y] or [enter] if it's the REGISTRATION server
[S] if it's just a slave dhcpd/dns server
[N] to abort this install entirely.
[Y]:
S
...SKIPPING
Installing server type SLAVE
------------------------------------------------------------------------
I have determined:
your IP as: "129.7.230.124"
your fully qualified DNS name as: "rhslave.netreg.uh.edu"
and short host name as: "rhslave"
(if any wrong, please abort, and check /etc/hosts file etc before
continuing)
Press a key ([enter] to use cached/default response): Y/y to continue, N/n
to abort entire script
default/cached: [Y]
...DONE
------------------------------------------------------------------------
Group 'netreg' already exists. Continuing.
Do you wish to customise the directories used in the instalation?
Skipping this section assumes all the default locations!
Press a key ([enter] to use cached/default response): Y/y to continue, S/s
to skip this section, N/n to abort entire script
default/cached: [Y]
Please confirm the following instalation path/s for your setup....
Press <enter> to accept default, or type alternate path to continue.
init.d install path [preferred: /etc/init.d/]:
default/cached: [/etc/init.d/]
bind-chroot install path [preferred: /usr/local/bind9/chroot/]:
default/cached: [/chroot/named/]
bin install path [preferred: /usr/local/bin/]:
default/cached: [/usr/local/bin/]
config install path [preferred: /etc/dhcpd/]:
default/cached: [/etc/dhcpd/]
sbin install path [preferred: /usr/local/sbin/]:
default/cached: [/usr/local/sbin/]
bind-conf install path [preferred: /chroot/named/etc/]:
default/cached: [/chroot/named/etc/]
...DONE
Do you wish to continue and create these directories ?
Press a key ([enter] to use cached/default response): Y/y to continue, S/s
to skip this section, N/n to abort entire script
default/cached: [Y]
------------------------------------------------------------------------
unable to open the setting file for this host - was it defined as being a
slave when the MASTER/registration server was setup/installed?: No such file
or directory
Quinton Williams
Telecommunications Analyst
University of Houston
(832) 842-4680
ForwardSourceID:NT0007715E
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:41 CDT