rsoriano
(usa Debian)
Enviado em 19/06/2012 - 13:36h
Bruno Tecnico escreveu:
# Verificar os Logs;
# verificar os Cabos de Rede;
# Conferir se o IP o server está de acordo com a Rede (ifconfig)
e
# Executar o comando: dhcpd -d e colocar o resultado aqui
para conferirmos se há algum erro.
Veja se eu peguei o necessário, quando eu dou o comando dhcpd -d ele retorna o seguinte:
-bash: dhcpd: command not found
Meus arquivos de configuração
*********************************************
Interfaces
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
#gateway 192.168.0.1
iface eth1 inet dhcp
************************************************
syslog
Jun 19 13:05:37 server [AgentMon][4721]: kascTerminate-1097 -> Disable both sending and receiving and close socket
Jun 19 13:05:49 server dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
Jun 19 13:06:02 server dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 16
Jun 19 13:06:07 server [AgentMon][4721]: callKaseyaServer-4319 -> no persistent connection at this time
Jun 19 13:06:07 server [AgentMon][4721]: kascTerminate-1092 -> shutdown(thesocket = 6) failed (Transport endpoint is not connected).
Jun 19 13:06:07 server [AgentMon][4721]: kascTerminate-1097 -> Disable both sending and receiving and close socket
Jun 19 13:06:07 server [AgentMon][4721]: kascTerminate-1092 -> shutdown(thesocket = 6) failed (Transport endpoint is not connected).
Jun 19 13:06:07 server [AgentMon][4721]: kascTerminate-1097 -> Disable both sending and receiving and close socket
Jun 19 13:06:18 server dhclient: No DHCPOFFERS received.
Jun 19 13:06:18 server dhclient: No working leases in persistent database - sleeping.
Jun 19 13:06:22 server ddclient[4532]: WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
Jun 19 13:06:38 server [AgentMon][4721]: callKaseyaServer-4319 -> no persistent connection at this time
Jun 19 13:06:38 server [AgentMon][4721]: kascTerminate-1092 -> shutdown(thesocket = 6) failed (Transport endpoint is not connected).
Jun 19 13:06:38 server [AgentMon][4721]: kascTerminate-1097 -> Disable both sending and receiving and close socket
Jun 19 13:06:38 server [AgentMon][4721]: kascTerminate-1092 -> shutdown(thesocket = 6) failed (Transport endpoint is not connected).
Jun 19 13:06:38 server [AgentMon][4721]: kascTerminate-1097 -> Disable both sending and receiving and close socket
*************************************************************
dhcpd.conf
#
# Sample configuration file for ISC dhcpd for Debian
#
# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
# configuration file instead of this file.
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
#===================================
ddns-update-style none;
#===================================
# option definitions common to all supported networks...
# option domain-name "server";
# option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 1200;
#max-lease-time 21600;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
#===========================
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.21 192.168.0.99;
option routers 192.168.0.1;
option domain-name-servers 201.6.0.115,201.6.0.184;
option domain-name "server";
option broadcast-address 192.168.0.255;
}
************************************************************************
smbd.log
[2012/06/18 11:18:49, 0] param/loadparm.c:lp_do_parameter(3604)
Invalid octal number force create mode
[2012/06/18 11:18:49, 0] param/loadparm.c:lp_do_parameter(3604)
Invalid octal number force directory mode
[2012/06/18 11:18:49, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "revalidate"
[2012/06/18 11:18:49, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "revalidate"
[2012/06/19 10:16:23, 0] smbd/server.c:main(944)
smbd version 3.0.28a started.
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2012/06/19 10:16:23, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "ready only"
[2012/06/19 10:16:23, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "revalidate"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "revalidate"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3604)
Invalid octal number force create mode
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3604)
Invalid octal number force directory mode
[2012/06/19 10:16:23, 0] param/loadparm.c:map_parameter(2798)
Unknown parameter encountered: "revalidate"
[2012/06/19 10:16:23, 0] param/loadparm.c:lp_do_parameter(3539)
Ignoring unknown parameter "revalidate"
****************************************************************