Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 01:12
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Boot errors on: Samba & DHCP3
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5010
Location: Arizona, U.S.A.

PostPosted: Wed 18 Jan 2006, 17:59    Post subject:  Boot errors on: Samba & DHCP3  

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).
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0430s ][ Queries: 11 (0.0036s) ][ GZIP on ]