Boot errors on: Samba & DHCP3

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

Boot errors on: Samba & DHCP3

#1 Post by sunburnt »

Samba boot screen error says there's no /lib/libgnutls.so.11 file & it's correct, there isn't one, so it looks like there's yet another file not supplied by the full Samba305 package.
I'll look for it, but I noticed lots of lib files are links to to other lib files, don't suppose libgnutls.so.11 is in one of them?
ADDENDUM: Debian.org download site is down for performance issues... GREAT!
====
Dhcp3 boot error says: file does not exist, the startup file for dhcp3 has:

# Read init script configuration (so far only interfaces the daemon
# should listen on.)
#. /etc/default/dhcp3-server
NOTE: (it would seem the file called above sets $INTERFACES, so I set it below)

INTERFACES=eth0
DHCPDPID=/var/run/dhcpd.pid

case "$1" in
start)
echo -n "Starting DHCP server: "
start-stop-daemon --start --quiet --pidfile $DHCPDPID \
--exec /usr/sbin/dhcpd3 -- -q $INTERFACES
sleep 2

if [ -f "$DHCPDPID" ] && ps h `cat "$DHCPDPID"` >/dev/null; then
echo "dhcpd3."
else
echo "dhcpd3 failed to start - check syslog for diagnostics."
exit 1
fi
;;

I looked & there's no /var/run/dhcpd.pid file, there is a nmbd.pid that was generated, I didn't make it.
The nmbd.pid file looks to have a process number in it, do I just make a file with any number in it, or should I comment out the " --pidfile $DHCPDPID " part & a process id number will be assigned to it?

I'm getting the line: "dhcpd3 failed to start - check syslog for diagnostics."

A messages file error for dhcp3 says: infinite leases, exiting.
The dhcpd.conf file has this in it:

default-lease-time 600;
max-lease-time 7200;

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.20;
option routers 192.168.0.1;
}

allow booting;
allow bootp;

# Standard configuration directives...
# option domain-name "domain_name";
# option subnet-mask subnet_mask;
# option broadcast-address broadcast_address;
# option domain-name-servers dns_servers;
# option routers default_router;

# Group the PXE bootable hosts together
group {
# PXE-specific configuration directives...
option dhcp-class-identifier "PXEClient";

option vendor-class-identifier "PXEClient";
next-server 192.168.0.102;

# You need an entry like this for every host
# unless you're using dynamic addresses
# host hostname {
# hardware ethernet ethernet_address;
# fixed-address hostname;
# }

}
====
Atftp boot error is the same report as dhcp3, file does not exist, I can't see what it's error is.
For dhcp3 I'm pretty sure it's the dhcpd.pid file that it's talking about.
Atftpd startup file says:

DAEMON=/usr/sbin/atftpd
NAME=atftpd
DESC="Advanced Trivial FTP server"

#USE_INETD=true
USE_INETD=false

OPTIONS=""

test -f $DAEMON || exit 0

set -e

if [ -f /etc/default/atftpd ]; then
. /etc/default/atftpd
fi

if [ "$USE_INETD" = "true" ]; then
exit 0;
fi

case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --oknodo --quiet --exec $DAEMON -- $OPTIONS
echo "$NAME."
;;
=====
WHAT'S THE ".pid" file for, setting process ID?
If there isn't one, is one assigned to the process (it seems so).

Post Reply