* [Comm] Проблема с командой service
@ 2008-07-31 9:23 Отдел ИТ
2008-07-31 9:22 ` Pavel
2008-07-31 9:34 ` Andriy Dobrovol`s`kii
0 siblings, 2 replies; 15+ messages in thread
From: Отдел ИТ @ 2008-07-31 9:23 UTC (permalink / raw)
To: community
Здравствуйте, community.
Страная трабла случилась. После одного из обновлений аптгетом
перестала выполнятся команда service . при попытке рестартнуть любой
сервис выдается ошибка что команда service не найдена. Помогите плиз
это исправить.
--
С уважением,
Денис mailto:itech@avtoprognoz.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 9:23 [Comm] Проблема с командой service Отдел ИТ
@ 2008-07-31 9:22 ` Pavel
2008-07-31 9:40 ` Половников Денис Владимирович
2008-07-31 9:34 ` Andriy Dobrovol`s`kii
1 sibling, 1 reply; 15+ messages in thread
From: Pavel @ 2008-07-31 9:22 UTC (permalink / raw)
To: community
от рута выполняете? если от пользователя, то попробуйте
sudo /sbin/service
вывод ls -l /sbin/service д.б. примерно таким:
> -rwxr-xr-x 1 root root 1186 Апр 25 06:38 /sbin/service
--
Best regards, Pavel
email/xmpp: p2n-at-ya-dot-ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 9:22 ` Pavel
@ 2008-07-31 9:40 ` Половников Денис Владимирович
2008-07-31 9:36 ` Andriy Dobrovol`s`kii
0 siblings, 1 reply; 15+ messages in thread
From: Половников Денис Владимирович @ 2008-07-31 9:40 UTC (permalink / raw)
To: ALT Linux Community general discussions
Здравствуйте, Pavel.
Вы писали 31 июля 2008 г., 13:22:08:
> от рута выполняете? если от пользователя, то попробуйте
> sudo /sbin/service
И от юзера с админскими права и от рута пробовал. Вылазит следующая
месага:
admin is not in the sudoers file. This incident will be reported.
> вывод ls -l /sbin/service д.б. примерно таким:
>> -rwxr-xr-x 1 root root 1186 Апр 25 06:38 /sbin/service
Вывод такой же.
--
С уважением,
Половников Денис mailto:itech@avtoprognoz.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 9:40 ` Половников Денис Владимирович
@ 2008-07-31 9:36 ` Andriy Dobrovol`s`kii
2008-07-31 9:49 ` Половников Денис Владимирович
0 siblings, 1 reply; 15+ messages in thread
From: Andriy Dobrovol`s`kii @ 2008-07-31 9:36 UTC (permalink / raw)
To: ALT Linux Community general discussions
2008/7/31 Половников Денис Владимирович <itech@>:
> Здравствуйте, Pavel.
>
> Вы писали 31 июля 2008 г., 13:22:08:
>
>> от рута выполняете? если от пользователя, то попробуйте
>> sudo /sbin/service
> И от юзера с админскими права и от рута пробовал. Вылазит следующая
> месага:
>
> admin is not in the sudoers file. This incident will be reported.
>
>> вывод ls -l /sbin/service д.б. примерно таким:
>>> -rwxr-xr-x 1 root root 1186 Апр 25 06:38 /sbin/service
> Вывод такой же.
Тогда покажите как именно Вы даете команду и точный вывод шибки.
--
Regards,
Andrii Dobrovol`s`kyj
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 9:36 ` Andriy Dobrovol`s`kii
@ 2008-07-31 9:49 ` Половников Денис Владимирович
2008-07-31 9:49 ` Andrey Rahmatullin
2008-07-31 9:57 ` Вадим Илларионов
0 siblings, 2 replies; 15+ messages in thread
From: Половников Денис Владимирович @ 2008-07-31 9:49 UTC (permalink / raw)
To: ALT Linux Community general discussions
Здравствуйте, Andriy.
Вы писали 31 июля 2008 г., 13:36:32:
> 2008/7/31 Половников Денис Владимирович <itech@>:
>> Здравствуйте, Pavel.
>>
>> Вы писали 31 июля 2008 г., 13:22:08:
>>
>>> от рута выполняете? если от пользователя, то попробуйте
>>> sudo /sbin/service
>> И от юзера с админскими права и от рута пробовал. Вылазит следующая
>> месага:
>>
>> admin is not in the sudoers file. This incident will be reported.
>>
>>> вывод ls -l /sbin/service д.б. примерно таким:
>>>> -rwxr-xr-x 1 root root 1186 Апр 25 06:38 /sbin/service
>> Вывод такой же.
> Тогда покажите как именно Вы даете команду и точный вывод шибки.
[root@proxy /]# service xinetd restart
bash: service: команда не найдена
и так при попытке любех дествий с сервисами.
--
С уважением,
Половников mailto:itech@avtoprognoz.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 9:49 ` Половников Денис Владимирович
@ 2008-07-31 9:49 ` Andrey Rahmatullin
2008-07-31 10:16 ` Половников Денис Владимирович
2008-07-31 9:57 ` Вадим Илларионов
1 sibling, 1 reply; 15+ messages in thread
From: Andrey Rahmatullin @ 2008-07-31 9:49 UTC (permalink / raw)
To: community
On Thu, Jul 31, 2008 at 01:49:45PM +0400, Половников Денис Владимирович wrote:
> [root@proxy /]# service xinetd restart
> bash: service: команда не найдена
Рутом как становились?
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 9:49 ` Половников Денис Владимирович
2008-07-31 9:49 ` Andrey Rahmatullin
@ 2008-07-31 9:57 ` Вадим Илларионов
2008-07-31 10:52 ` Дегтярёв Дмитрий
1 sibling, 1 reply; 15+ messages in thread
From: Вадим Илларионов @ 2008-07-31 9:57 UTC (permalink / raw)
To: community
Половников Денис Владимирович wrote:
>>>> вывод ls -l /sbin/service д.б. примерно таким:
>>>>> -rwxr-xr-x 1 root root 1186 Апр 25 06:38 /sbin/service
>>> Вывод такой же.
Покажите вывод команды
/sbin/service
>> Тогда покажите как именно Вы даете команду и точный вывод шибки.
> [root@proxy /]# service xinetd restart
> bash: service: команда не найдена
>
> и так при попытке любех дествий с сервисами.
Покажите вывод команды
echo $PATH
_________________________________
С уважением,
Вадим Илларионов
системный администратор
ООО "Новые Системы Телеком"
UIN: 7899517
JID: master at usib dot irkps dot ru
Телефоны:
- рабочий +7 495 6414045+5885
- мобильный +7 916 3889337
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 9:57 ` Вадим Илларионов
@ 2008-07-31 10:52 ` Дегтярёв Дмитрий
2008-07-31 11:09 ` Andrew Borodin
0 siblings, 1 reply; 15+ messages in thread
From: Дегтярёв Дмитрий @ 2008-07-31 10:52 UTC (permalink / raw)
To: ALT Linux Community general discussions
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
Вадим Илларионов пишет:
> Половников Денис Владимирович wrote:
>
>
>>>>> вывод ls -l /sbin/service д.б. примерно таким:
>>>>>
>>>>>> -rwxr-xr-x 1 root root 1186 Апр 25 06:38 /sbin/service
>>>>>>
>>>> Вывод такой же.
>>>>
>
> Покажите вывод команды
> /sbin/service
>
>
>>> Тогда покажите как именно Вы даете команду и точный вывод шибки.
>>>
>> [root@proxy /]# service xinetd restart
>> bash: service: команда не найдена
>>
>> и так при попытке любех дествий с сервисами.
>>
>
> Покажите вывод команды
> echo $PATH
> _________________________________
> С уважением,
> Вадим Илларионов
> системный администратор
> ООО "Новые Системы Телеком"
> UIN: 7899517
> JID: master at usib dot irkps dot ru
> Телефоны:
> - рабочий +7 495 6414045+5885
> - мобильный +7 916 3889337
>
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community
echo
"PATH=\"\$PATH:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin\""
>> ~/.bashrc
[-- Attachment #2: ddv.vcf --]
[-- Type: text/x-vcard, Size: 1091 bytes --]
begin:vcard
fn;quoted-printable:=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9 =D0=94=D0=B5=D0=B3=D1=82=D1=8F=
=D1=80=D1=91=D0=B2
n;quoted-printable;quoted-printable:=D0=94=D0=B5=D0=B3=D1=82=D1=8F=D1=80=D1=91=D0=B2;=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9
org;quoted-printable:=D0=9E=D0=9E=D0=9E "=D0=9D=D0=95=D0=92=D0=9E=D0=94"
adr;quoted-printable;quoted-printable;quoted-printable;quoted-printable:;;=D0=9A=D0=BE=D0=BC=D1=81=D0=BE=D0=BC=D0=BE=D0=BB=D1=8C=D1=81=D0=BA=D0=B8=D0=
=B9 =D0=BF=D1=80=D0=BE=D1=81=D0=BF=D0=B5=D0=BA=D1=82 34, =D0=BE=D1=84=D0=B8=
=D1=81 519;=D0=9F=D0=B5=D1=80=D0=BC=D1=8C;=D0=9F=D0=B5=D1=80=D0=BC=D1=81=D0=BA=D0=B8=D0=B9 =D0=BA=D1=80=D0=B0=D0=B9=
;614000;=D0=A0=D0=BE=D1=81=D1=81=D0=B8=D0=B9=D1=81=D0=BA=D0=B0=D1=8F =D0=A4=D0=B5=
=D0=B4=D0=B5=D1=80=D0=B0=D1=86=D0=B8=D1=8F
email;internet:ddv@nevod.ru
title;quoted-printable:=D0=A1=D0=B8=D1=81=D1=82=D0=B5=D0=BC=D0=BD=D1=8B=D0=B9 =D0=B8=D0=BD=D1=82=
=D0=B5=D0=B3=D1=80=D0=B0=D1=82=D0=BE=D1=80
tel;work:+73422196960,+73422385309
tel;cell:+79082555386
x-mozilla-html:FALSE
url:www.nevod.ru
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 10:52 ` Дегтярёв Дмитрий
@ 2008-07-31 11:09 ` Andrew Borodin
2008-07-31 11:12 ` [Comm] [JT] " Andrey Rahmatullin
2008-07-31 11:19 ` [Comm] " Вадим Илларионов
0 siblings, 2 replies; 15+ messages in thread
From: Andrew Borodin @ 2008-07-31 11:09 UTC (permalink / raw)
To: ALT Linux Community general discussions
On Thu, Jul 31, 2008 at 04:52:22PM +0600, Дегтярёв Дмитрий wrote:
> echo
> "PATH=\"\$PATH:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin\""
> >> ~/.bashrc
Зачем это, если дело в том, что рутом надо становиться через
"su -", а не просто "su" ?
И не могли бы вы квотить поаккуратнее?
--
С уважением,
А. Бородин.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] [JT] Проблема с командой service
2008-07-31 11:09 ` Andrew Borodin
@ 2008-07-31 11:12 ` Andrey Rahmatullin
2008-07-31 11:19 ` [Comm] " Вадим Илларионов
1 sibling, 0 replies; 15+ messages in thread
From: Andrey Rahmatullin @ 2008-07-31 11:12 UTC (permalink / raw)
To: community
On Thu, Jul 31, 2008 at 03:09:39PM +0400, Andrew Borodin wrote:
> Зачем это, если дело в том, что рутом надо становиться через
> "su -", а не просто "su" ?
Ну в этом треде большинство пищущих его не читало.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 11:09 ` Andrew Borodin
2008-07-31 11:12 ` [Comm] [JT] " Andrey Rahmatullin
@ 2008-07-31 11:19 ` Вадим Илларионов
2008-07-31 11:22 ` Вадим Илларионов
1 sibling, 1 reply; 15+ messages in thread
From: Вадим Илларионов @ 2008-07-31 11:19 UTC (permalink / raw)
To: community
Andrew Borodin wrote:
> On Thu, Jul 31, 2008 at 04:52:22PM +0600, Дегтярёв Дмитрий wrote:
>> echo
>> "PATH=\"\$PATH:/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin\""
>> >> ~/.bashrc
>
> Зачем это, если дело в том, что рутом надо становиться через
> "su -", а не просто "su" ?
Когда я задавал вопрос, мне ещё не было известно, что мой визави получает
админские привилегии без смены среды.
Теперь всё ясно, и вопрос снимается автомагически.
_________________________________
С уважением,
Вадим Илларионов
системный администратор
ООО "Новые Системы Телеком"
UIN: 7899517
JID: master at usib dot irkps dot ru
Телефоны:
- рабочий +7 495 6414045+5885
- мобильный +7 916 3889337
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 11:19 ` [Comm] " Вадим Илларионов
@ 2008-07-31 11:22 ` Вадим Илларионов
0 siblings, 0 replies; 15+ messages in thread
From: Вадим Илларионов @ 2008-07-31 11:22 UTC (permalink / raw)
To: community
> Когда я задавал вопрос, мне ещё не было известно, что мой визави получает
> админские привилегии без смены среды.
А если сомневаетесь, обратите внимание на время поступления в рассылку
исчерпывающего ответа от Андрея Рахматуллина и моего вопроса.
_________________________________
С уважением,
Вадим Илларионов
системный администратор
ООО "Новые Системы Телеком"
UIN: 7899517
JID: master at usib dot irkps dot ru
Телефоны:
- рабочий +7 495 6414045+5885
- мобильный +7 916 3889337
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Comm] Проблема с командой service
2008-07-31 9:23 [Comm] Проблема с командой service Отдел ИТ
2008-07-31 9:22 ` Pavel
@ 2008-07-31 9:34 ` Andriy Dobrovol`s`kii
1 sibling, 0 replies; 15+ messages in thread
From: Andriy Dobrovol`s`kii @ 2008-07-31 9:34 UTC (permalink / raw)
To: ALT Linux Community general discussions
2008/7/31 Отдел ИТ <itech@avtoprognoz.ru>:
> Здравствуйте, community.
> Страная трабла случилась. После одного из обновлений аптгетом
> перестала выполнятся команда service . при попытке рестартнуть любой
> сервис выдается ошибка что команда service не найдена. Помогите плиз
> это исправить.
>
rpm -qf /sbin/service
service-0.5.15-alt1
Соответствующий пакет часом не "унесло"?
Что говорит rpm -qa|grep service ?
--
Regards,
Andrii Dobrovol`s`kyj
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2008-07-31 11:22 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-31 9:23 [Comm] Проблема с командой service Отдел ИТ
2008-07-31 9:22 ` Pavel
2008-07-31 9:40 ` Половников Денис Владимирович
2008-07-31 9:36 ` Andriy Dobrovol`s`kii
2008-07-31 9:49 ` Половников Денис Владимирович
2008-07-31 9:49 ` Andrey Rahmatullin
2008-07-31 10:16 ` Половников Денис Владимирович
2008-07-31 10:09 ` Andrey Rahmatullin
2008-07-31 9:57 ` Вадим Илларионов
2008-07-31 10:52 ` Дегтярёв Дмитрий
2008-07-31 11:09 ` Andrew Borodin
2008-07-31 11:12 ` [Comm] [JT] " Andrey Rahmatullin
2008-07-31 11:19 ` [Comm] " Вадим Илларионов
2008-07-31 11:22 ` Вадим Илларионов
2008-07-31 9:34 ` Andriy Dobrovol`s`kii
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