* [sisyphus] inn-2.3.4-alt2 и переиндексация
@ 2004-09-11 12:36 Sergey
2004-09-11 12:48 ` Sergey
2004-09-11 13:16 ` Sergey
0 siblings, 2 replies; 6+ messages in thread
From: Sergey @ 2004-09-11 12:36 UTC (permalink / raw)
To: sisyphus
Привет.
Что-то не соображу, почему не получается переиндексация базы.
Вроде бы, все правильно должно быть, ан нет. Новый индекс
создается, но тоже битый получается...
=====
echo -n "Renumber news base: "
cd /var/lib/news/
rm -f history*
su -c "makehistory -b -f history -O -F" -s "/bin/bash" news
su -c "makedbz -s `wc -l <history` -f history" -s "/bin/bash" news
=====
И, кстати:
# inncheck
/etc/news/control.ctl:0: owned by root, should be news
/etc/news/expire.ctl:0: owned by root, should be news
/etc/news/incoming.conf:0: owned by root, should be news
/etc/news/inn.conf:0: owned by root, should be news
/etc/news/moderators:0: owned by root, should be news
/etc/news/newsfeeds:0: owned by root, should be news
/etc/news/nntpsend.ctl:0: owned by root, should be news
/etc/news/overview.fmt:0: owned by root, should be news
/etc/news/passwd.nntp:0: owned by root, should be news
/etc/news/readers.conf:0: owned by root, should be news
Может, поправить скрипт ?
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] inn-2.3.4-alt2 и переиндексация
2004-09-11 12:36 [sisyphus] inn-2.3.4-alt2 и переиндексация Sergey
@ 2004-09-11 12:48 ` Sergey
2004-09-11 13:16 ` Sergey
1 sibling, 0 replies; 6+ messages in thread
From: Sergey @ 2004-09-11 12:48 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
И stop/restart, кажется, не очень корректно работает - там остается висеть
sleep, которого неплохо бы пристрелить... Примерно так:
kill `ps aux|grep news|grep sleep|sed -e 's/^news * \([0-9]*\) .*/\1/'`
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] inn-2.3.4-alt2 и переиндексация
2004-09-11 12:36 [sisyphus] inn-2.3.4-alt2 и переиндексация Sergey
2004-09-11 12:48 ` Sergey
@ 2004-09-11 13:16 ` Sergey
2004-09-11 15:04 ` [sisyphus] inn-2.4.1-alt4.1 " Sergey
1 sibling, 1 reply; 6+ messages in thread
From: Sergey @ 2004-09-11 13:16 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On Saturday 11 September 2004 17:36, Sergey wrote:
> Привет.
Черт, не посмотрел - это Мастер 2.2 был... :-(
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] inn-2.4.1-alt4.1 и переиндексация
2004-09-11 13:16 ` Sergey
@ 2004-09-11 15:04 ` Sergey
2004-09-13 12:18 ` Sergey
0 siblings, 1 reply; 6+ messages in thread
From: Sergey @ 2004-09-11 15:04 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On Saturday 11 September 2004 18:16, Sergey wrote:
> > Привет.
>
> Черт, не посмотрел - это Мастер 2.2 был... :-(
Взял src.rpm от Сизифа (inn-2.4.1-alt4.1), пересобрал в Мастере. Молча
не стартует. Хотя хистори, в теории, перестроился... Хоть бы ругался
куда о чем... :-(
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] inn-2.4.1-alt4.1 и переиндексация
2004-09-11 15:04 ` [sisyphus] inn-2.4.1-alt4.1 " Sergey
@ 2004-09-13 12:18 ` Sergey
2004-09-13 12:22 ` Dmitry V. Levin
0 siblings, 1 reply; 6+ messages in thread
From: Sergey @ 2004-09-13 12:18 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On Saturday 11 September 2004 20:04, Sergey wrote:
> > Черт, не посмотрел - это Мастер 2.2 был... :-(
>
> Взял src.rpm от Сизифа (inn-2.4.1-alt4.1), пересобрал в Мастере. Молча
> не стартует. Хотя хистори, в теории, перестроился... Хоть бы ругался
> куда о чем... :-(
В общем, для галочки - вдруг кто наступит. Почему-то ему не понравился
/var/spool/news. Если старый, предварительно, удалить (переместить),
поставить новый inn, а потом из старого в новый скопировать только
каталоги/файлы имеющихся групп (articles/*, правда я без служебных,
а-ля junk, копировал) и переиндексировать, то все начинает работать.
И там еще кое-что в конфиге поменялось, но это уже inncheck показывает.
Кстати, он, все равно, и в inn-2.4.1 ругается на права...
--
С уважением, Сергей
a_s_y@sama.ru
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] inn-2.4.1-alt4.1 и переиндексация
2004-09-13 12:18 ` Sergey
@ 2004-09-13 12:22 ` Dmitry V. Levin
0 siblings, 0 replies; 6+ messages in thread
From: Dmitry V. Levin @ 2004-09-13 12:22 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
On Mon, Sep 13, 2004 at 05:18:25PM +0500, Sergey wrote:
[...]
> И там еще кое-что в конфиге поменялось, но это уже inncheck показывает.
> Кстати, он, все равно, и в inn-2.4.1 ругается на права...
Пропатчить надо этот inncheck, наверное.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-09-13 12:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-11 12:36 [sisyphus] inn-2.3.4-alt2 и переиндексация Sergey
2004-09-11 12:48 ` Sergey
2004-09-11 13:16 ` Sergey
2004-09-11 15:04 ` [sisyphus] inn-2.4.1-alt4.1 " Sergey
2004-09-13 12:18 ` Sergey
2004-09-13 12:22 ` Dmitry V. Levin
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git