From: Slava Dubrovskiy <slava@tangramltd.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] SAMS: проблемы в настройке
Date: Tue, 11 Dec 2007 10:11:52 +0200
Message-ID: <475E4648.3040306@tangramltd.com> (raw)
In-Reply-To: <200712111058.59792.beza@cit.vsi.ru>
[-- Attachment #1: Type: text/plain, Size: 1273 bytes --]
Безруков Александр пишет:
> День добрый!
>
> ВОПРОС:
> Как правильно сконфигурировать sams?
> Или менять вызовы в скриптах?
>
> При конфигурировании sams (из backports), если ничего не менять в коде sams,
> все время выскакивают ошибки в apache.log:
>
> [root@alt ~]# tail /var/log/httpd2/error_log
> [Tue Dec 11 10:42:04 2007] [notice] Apache/2.2.4 (Unix) PHP/4.4.7 with
> Suhosin-Patch configured -- resuming normal operations
> sh: freemem: command not found
> sh: freeswap: command not found
> sh: fsusage: command not found
> sh: getwbinfousers: command not found
>
> Файлы freemem, freeswap и т.д. находятся соответственно в ...sams/bin.
> В php соде соответственно вызов выглядит как
> $value=exec("getwbinfousers $e");
>
> Если код в скриптах поменять на
> $value=exec("bin/getwbinfousers $e");
> то ошибки выполнения пропадают.
>
Думаю надо директорию добавить в путь поиска в настройках php.ini
--
WBR,
Dubrovskiy Vyacheslav
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]
next prev parent reply other threads:[~2007-12-11 8:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-11 7:58 Безруков Александр
2007-12-11 8:11 ` Slava Dubrovskiy [this message]
2007-12-11 9:46 ` Alexander Volkov
2007-12-11 9:54 ` Алексей Шенцев
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=475E4648.3040306@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