From: Dubrovskiy Viacheslav <slava@tangramltd.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Не останавливаются сервисы при обновлении
Date: Tue, 24 Jan 2012 17:59:53 -0500
Message-ID: <4F1F37E9.7000008@tangramltd.com> (raw)
In-Reply-To: <20120124210829.GA1902@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 2905 bytes --]
24.01.2012 16:08, Dmitry V. Levin пишет:
> On Tue, Jan 24, 2012 at 03:26:16PM -0500, Dubrovskiy Viacheslav wrote:
>> smartmontools
>> warning: /etc/smartd.conf created as /etc/smartd.conf.rpmnew
>> ###################################################################################################
>> [ 95%]
>> Service smartd is not running.[PASSED]
>> Starting smartd service: [ DONE ]
> Давайте попробуем более чистый эксперимент:
>
> # uname -r
> # service smartd start
> # apt-get reinstall smartmontools
> # service smartd status
> # xargs -i readlink '/proc/{}/exe' < /var/run/smartd.pid
[root@ca20 slava]# service smartd stop
Stopping smartd
service:
[ DONE ]
[root@ca20 slava]# uname -a
Linux ca20.tanhost.com 2.6.32-ovz-el-alt35 #1 SMP Tue Sep 20 12:18:59
UTC 2011 x86_64 GNU/Linux
[root@ca20 slava]# service smartd start
Starting smartd
service:
[ DONE ]
[root@ca20 slava]# apt-get reinstall smartmontools
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
0 будет обновлено, 0 новых установлено, 1 пакетов будет переустановлено,
0 пакетов будет удалено и 0 не будет обновлено.
Необходимо получить 0B/267kB архивов.
После распаковки потребуется дополнительно 0B дискового пространства.
Продолжить? [Y/n]
Совершаем изменения...
Preparing...
###################################################################################################
[100%]
1: smartmontools
###################################################################################################
[100%]
Service smartd is not running.[PASSED]
Starting smartd service: [ DONE ]
Running /usr/lib/rpm/posttrans-filetriggers
Завершено.
[root@ca20 slava]# service smartd status
smartd is running
[root@ca20 slava]# xargs -i readlink '/proc/{}/exe' < /var/run/smartd.pid
/usr/sbin/smartd
[root@ca20 slava]# ps aux | grep smartd
root 896013 0.0 0.0 12092 772 ? S 00:57 0:00
/usr/sbin/smartd -p /var/run/smartd.pid
root 896099 0.0 0.0 12092 772 ? S 00:57 0:00
/usr/sbin/smartd -p /var/run/smartd.pid
root 896152 0.0 0.0 7796 916 pts/0 S+ 00:58 0:00 grep
smartd
--
WBR,
Dubrovskiy Viacheslav
[-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --]
[-- Type: application/pkcs7-signature, Size: 4903 bytes --]
next prev parent reply other threads:[~2012-01-24 22:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-24 19:24 Dubrovskiy Viacheslav
2012-01-24 19:41 ` Michael Shigorin
2012-01-24 20:04 ` Dubrovskiy Viacheslav
2012-01-24 20:26 ` Dubrovskiy Viacheslav
2012-01-24 21:08 ` Dmitry V. Levin
2012-01-24 22:59 ` Dubrovskiy Viacheslav [this message]
2012-01-24 23:16 ` Dmitry V. Levin
2012-01-24 23:42 ` Dubrovskiy Viacheslav
2012-01-25 0:24 ` Dmitry V. Levin
2012-01-25 0:39 ` Dmitry V. Levin
2012-01-25 0:47 ` Dubrovskiy Viacheslav
2012-01-25 1:01 ` Dmitry V. Levin
2012-01-25 1:31 ` Dubrovskiy Viacheslav
2012-01-25 1:36 ` Dubrovskiy Viacheslav
2012-01-25 11:16 ` Sergey Vlasov
2012-01-25 12:41 ` Michael Shigorin
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=4F1F37E9.7000008@tangramltd.com \
--to=slava@tangramltd.com \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git