Проблема с каталогом /var
Добавлено: 2008-03-19 18:35:48
FreeBSD-6.2
Внешнее проявление проблемы: перестал работать DNS , пропал доступ к FTP , пропала вся почта из ящиков.
Заметил что в каталоге /var все папки пустые, FTP совсем отсутствует. Скопировал из резервной копии namedb и установил sysinstall -ом ftp в каталог /var ( в другие не хочет устанавливаться???) . После reboot все повторилось .
Вот содержимое файла /etc/rc :
Помогите исправить проблему!!!!!
Внешнее проявление проблемы: перестал работать DNS , пропал доступ к FTP , пропала вся почта из ящиков.
Заметил что в каталоге /var все папки пустые, FTP совсем отсутствует. Скопировал из резервной копии namedb и установил sysinstall -ом ftp в каталог /var ( в другие не хочет устанавливаться???) . После reboot все повторилось .
Вот содержимое файла /etc/rc :
Код: Выделить всё
#!/bin/sh
#
# Copyright (c) 2000-2004 The FreeBSD Project
# All rights reserved.
#
# Note that almost all of the user-configurable behavior is no longer in
# this file, but rather in /etc/defaults/rc.conf. Please check that file
# first before contemplating any changes here. If you do need to change
# this file for some reason, we would like to know about it.
stty status '^T'
# Set shell to ignore SIGINT (2), but not children;
# shell catches SIGQUIT (3) and returns to single user.
#
trap : 2
trap "echo 'Boot interrupted'; exit 1" 3
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export HOME PATH
. /etc/rc.subr
# Note: the system configuration files are loaded as part of
# the RCNG system (rc.d/rcconf.sh). Do not load them here as it may
# interfere with diskless booting.
#
if [ "$1" = autoboot ]; then
autoboot=yes
_boot="faststart"
rc_fast=yes # run_rc_command(): do fast booting
else
autoboot=no
_boot="start"
fi
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
if [ ${dlv:=0} -ne 0 -o -f /etc/diskless ]; then
sh /etc/rc.initdiskless
fi
skip="-s nostart"
[ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] && skip="$skip -s nojail"
files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null`
for _rc_elem in ${files}; do
run_rc_script ${_rc_elem} ${_boot}
done
echo ''
date
exit 0Помогите исправить проблему!!!!!