[GLUG-tech] Re: NFS dog
Chadley Wilson
chadley at pinteq.co.za
Tue Aug 31 12:19:14 UTC 2004
On Tuesday 31 August 2004 01:08, Heinz Meulke wrote:
> On Mon, 2004-08-30 at 12:57, Chadley Wilson wrote:
> > Greetings
> >
> > I urgently need some advise
> > My nfs server is failing to start
> > It has something to do with the exports file.
> > If the exports file is empty nfs starts.
> > If it has and entry it won't
> > I have restarted portmap and nfs several times.
> > I have also started nfs then exported the files with exportfs -r but
> > that also hangs.
> >
> > What can be done to find the root of this evil?
>
> check /var/log/messages
>
> nfs logs any error messages
>
> also check /var/log/dmesg
I am not getting any problems from my logs at all,
The strange thing here is that if I run "service named stop" then nfs works.
I manufacture PCs and you will be happy to know that I have already built
approx 4000 systems loaded with FC1 / 2 Linux this year. To speed up the
installations via the network I setup a dns server and a dhcp to assign IPs
and host names to the computers. The problem I am faced with is possibly a
config problem in my dhcp file. The server is not assigning the host names, I
also can't use mac address statements because the PCs are always new. In
other words I want the dhcp to assign an IP on a random basis, if for example
the IP is 192.168.2.1 then make that PCs hostname station1.domainname.
If a PC is unplugged from the network then it must make that IP immediatley
available again.
Here is my dhcpd.conf file could someone please give me a hint:
+++++++++++++++++++++++++++++++++++++++++++++++
ddns-update-style ad-hoc;
default-lease-time 30; # 30 seconds
max-lease-time 7200; # 2 hours
option domain-name "teq.pinteq";
option domain-name-servers 192.168.2.1;
option broadcast-address 192.168.2.255;
option routers 192.168.2.1;
option subnet-mask 255.255.255.0;
subnet 192.168.2.0 netmask 255.255.255.0
{
range 192.168.2.10 192.168.2.50;
}
+++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the fedora-list
mailing list