Здравствуйте! Grigory Batalov пишет: > On Tue, 04 Mar 2008 16:45:46 +0500 > Всеволод Мартыненко wrote: > >> У меня такой вопрос - поставил попробовать этот дистрибутив на свободный >> сервер. В общем впечатление хорошее, правда по ходу возникают некоторые >> вопросы. Вроде как просмотрел сообщения этой рассылки - никто о таком не >> спрашивал, а именно: Сразу после установки подсчёт трафика вёлся >> нормально, т.е. в секции "Статистика - Сетевой трафик" были значения о >> полученных килобайтах, но после обновления системы там стали одни нули, > > Откуда и какой командой обновлялись? Покажите вывод
Обновлялось из секции "Система - Обновление" вэб-управления сервером. > $ egrep -hrv "^(#|[[:space:]]*$)" /etc/apt/sources.list* # egrep -hrv "^(#|[[:space:]]*$)" /etc/apt/sources.list* rpm [security] ftp://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/Server/current i586 main rpm [security] ftp://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/Server/current i586 classic rpm [updates] ftp://updates.altlinux.org/4.0 i586 updates rpm [updates] ftp://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch i586 classic rpm [updates] ftp://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch noarch classic rpm [security] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/Server/current i586 main rpm [security] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/Server/current i586 classic rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/updates/4.0 i586 updates rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch i586 classic rpm [updates] http://ftp.altlinux.org/pub/distributions/ALTLinux/4.0/branch noarch classic Please note that you shouldn't uncomment any lines in sisyphus.*.list files without understanding the following matters: * Sisyphus is ALT Linux unstable branch, it's not suitable for production systems even if being nice development environment; * Sisyphus does not and cannot provide dedicated "security updates" repository since it is a moving target incorporating both security fixes and major code revamps; * breakage also happens from time to time in Sisyphus, it's hard to tell without following sisyphus@ mailing list or at least inspecting the announce page: http://wiki.sisyphus.ru/changes [ru] In any case, never ever mix up any stable repo being uncommented in apt sources and Sisyphus being uncommented too: this is a very dangerous mixture which has been proven more than once by experienced but careless folks. If in doubt, subscribe and ask in one of these mailing lists: https://lists.altlinux.org/mailman/listinfo/community-en/ [en] https://lists.altlinux.org/mailman/listinfo/sisyphus/ [ru; en OK] Backports are less QA covered than Sisyphus as of spring 2007 but still based on a stable branch; you should be somewhat careful though and in case of any doubt ask in appropriate mailing list: https://lists.altlinux.org/mailman/listinfo/backports/ [ru; en OK] We hope that you will enjoy using ALT Linux. -- ALT Linux Team rpm cdrom:[ALT Linux 4.0 Office Server ]/ ALTLinux base disk > >> причём значения не меняются. Т.е. сколько бы не получал внешних данных - >> всё-равно нули. Есть ли способ это поправить? Я посмотрел в >> конфигурационный файл /etc/ulogd.conf, там изменения, по сравнению с >> /etc/ulogd.conf.rpmnew только в месте хранения данных. В первом случае >> это используется модуль ulogd_LOGEMU.so, а во втором случае >> ulogd_SQLITE3.so и запуск от пользователя ulogd. > > Это существенно. Подсчёт трафика ведётся записью в sqlite. > >> Но смена в основном >> конфиге этих значений ничего не меняет, статистика так и находится на >> нуле. Что я ещё упускаю? > > После возвращения ulogd.conf в исходный вид нужно перезапустить ulogd: > # service ulogd restart Да, конечно я это делал. Более того, я делал перезагрузку сервера в целом. > > > ------------------------------------------------------------------------ > > _______________________________________________ > office-server mailing list > [email protected] > https://lists.altlinux.org/mailman/listinfo/office-server _______________________________________________ office-server mailing list [email protected] https://lists.altlinux.org/mailman/listinfo/office-server
