Re: Debian stable Samba 3.0.22-1 SIGHUP Probleme
Stefan Bauer wrote:
> ich betreibe hier einen Samba-Server mit 6 Windows Clients auf Debian
> Stable mit 2.6.8.2 Default Kernel. Alle Clients befinden sich im
> Netzwerk 169.254.0.0
>
> Leider enthällt der Server-Log komischerweise alle 3-4 Tage folgende
> Einträge, welche mich dazu veranlassen den Dienst neustarten zu müssen.
Warum neu starten? Funktioniert danach etwas nicht mehr?
> /var/log/samba/log.smbd
> [2006/09/03 06:25:26, 1] smbd/server.c:open_sockets_smbd(360)
> Reloading services after SIGHUP
man smbd:
The configuration file, and any files that it includes, are automati‐
cally reloaded every minute, if they change. You can force a reload by
sending a SIGHUP to the server. Reloading the configuration file will
not affect connections to any service that is already established. Ei‐
ther the user will have to disconnect from the service, or smbd killed
and restarted.
> /var/log/samba/log.nmbd
>
> [2006/09/03 06:25:27, 0] nmbd/nmbd.c:process(596)
> Got SIGHUP dumping debug info.
man nmbd:
nmbd will accept SIGHUP, which will cause it to dump out its namelists
into the file namelist.debug in the /var/run/samba directory (or the
var/locks directory configured under wherever Samba was configured to
install itself). This will also cause nmbd to dump out its server
database in the log.nmb file.
> Warum gibt es laufend SIGHUPS, wo dumpt er Informationen hin und wie
> kann ich das vermeiden?
logrotate installiert? Wenn Ja könnte das der schuldige sein. Wohin er
dumpt siehe oben (man nmdb: /SIGHUP)
HTH und Gruß, Michel
--
Aus Murphy's Gesetze:
Bei jedem Ereignis kommen die Zuschauer, deren Plätze am weitesten vom
Durchgang entfernt sind, zuletzt.
Reply to: