ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Обновление httpd2
Date: Sun, 23 Jan 2011 22:24:20 +0300
Message-ID: <4D3C8064.1090106@solin.spb.ru> (raw)
In-Reply-To: <4D3C7BB8.6070605@mail.ru>

[-- Attachment #1: Type: text/plain, Size: 1498 bytes --]

23.01.2011 22:04, Vladimir Karpinsky пишет:
> 
> 
> 23.01.2011 21:51, Aleksey Avdeev пишет:
>> 23.01.2011 21:08, Vladimir Karpinsky пишет:
>>> Сегодня обновил ARK-сервер и получил неработающий httpd2: файл 
>>> /etc/httpd2/conf/extra-available/Directory_html_default.conf при 
>>> обновлении был переименован в Directory_html_default.conf.rpmsave
>>> и httpd2 отказался запускаться, после восстановления файла на
>>> место захотел Directory_root_default.conf, которого тоже не было
>>> и т.д. Как возвратить работоспособность?
>> 
>> Каковы версия/релиз старого и нового пакетов?
> 
> Старого не помню, а нового --- apache2-2.2.17-alt0.M51.1
> 
>> PS: Прошу повесть на меня багу по поводу некорректного обновления.
> 
> А что значит "на меня"?

  В поле Исполнитель указать мой email (solo@...)

> 
>> В 2.2.16-alt1 (см. %changelog пакета) было выполнено перемещение 
>> /etc/httpd2/conf/extra_available/Directory_*_default.conf в 
>> /etc/httpd2/conf/include/.
> 
> Я мого пару-тройку версий и пропустить...
> 
> Да в /etc/httpd2/conf/include/ есть недостающие конфиги:
> 
> # ls /etc/httpd2/conf/include/ Directory_cgibin_default.conf
> Directory_html_default.conf Directory_root_default.conf
> 
> Где надо поправить пути?

  Везде, где встречаются.

  Можно чем-то типа (одна строка):

$ find /etc/httpd2/conf -type f | xargs sed -ri
's@extra-available/Directory(.*)_default\.conf@include/Directory\1_default.conf@g'

-- 

С уважением. Алексей.



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]

  reply	other threads:[~2011-01-23 19:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-23 18:08 Vladimir Karpinsky
2011-01-23 18:51 ` Aleksey Avdeev
2011-01-23 18:56   ` Aleksey Avdeev
2011-01-23 19:04   ` Vladimir Karpinsky
2011-01-23 19:24     ` Aleksey Avdeev [this message]
2011-01-23 19:41       ` Vladimir Karpinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D3C8064.1090106@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git