ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Хихин Руслан" <hihin@rambler.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] postgrey-dogwatch & line 6: service: command not found
Date: Fri, 24 Nov 2006 08:46:16 +0300
Message-ID: <200611240846.17332@ruslandh> (raw)
In-Reply-To: <456684F0.3060700@reutman.ru>

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

Здравствуйте Alexey Sidorov
  В сообщении от Friday 24 November 2006 08:36 Alexey Sidorov 
написал(a):
 > Здравствуйте.
 > стоит postgrey-dogwatch в нём:
 > #!/bin/sh
 > ...
 > service postgrey restart
 
 > ну и собственно он каждый раз обламывается,
 > line 6: service: command  not found
 > куда прописать пути , чтобы sh находил service?

user>whereis service
service: /sbin/service
соответственно папка sbin в просматриваемых путях ($PATH) только у root

user>rpm -qa | grep service
service-0.5.12-alt1
А у вас пакет service установлен ?

-- 
  А ещё говорят так  (fortune):
 
Проблема в том, что сизиф сильно уехал.
		-- mike in sisyphus@
________________________________________________________________________
С уважением Хихин Руслан

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-11-24  5:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-24  5:36 Alexey Sidorov
2006-11-24  5:46 ` Хихин Руслан [this message]
2006-11-24  6:03   ` Alexey Sidorov
2006-11-25  6:49     ` Хихин Руслан
2006-11-25  7:50       ` Alexey Sidorov
2006-11-25  9:18         ` Maksim Otstavnov

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=200611240846.17332@ruslandh \
    --to=hihin@rambler.ru \
    --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