From: "Безруков Александр" <beza@cit.vsi.ru> To: community@lists.altlinux.org Subject: [Comm] SAMS: проблемы в настройке Date: Tue, 11 Dec 2007 10:58:59 +0300 Message-ID: <200712111058.59792.beza@cit.vsi.ru> (raw) День добрый! ВОПРОС: Как правильно сконфигурировать 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"); то ошибки выполнения пропадают. Установлены из backports: sams-web-20070524-alt0.M40.2 sams-config-20070524-alt0.M40.2 sams-20070524-alt0.M40.2 sams-server-20070524-alt0.M40.2 Файл настроек sams.conf ---------------------------- [client] SQUID_DB=squidlog SAMS_DB=squidctrl MYSQLHOSTNAME=localhost MYSQLUSER=sams MYSQLPASSWORD=XXXXXXX MYSQLVERSION=4.0 SQUIDCACHEFILE=access.log SQUIDROOTDIR=/etc/squid SQUIDLOGDIR=/var/log/squid SAMSPATH=/usr/bin SQUIDPATH=/usr/sbin SQUIDGUARDLOGPATH=/var/log SQUIDGUARDDBPATH=/var/db/squidguard RECODECOMMAND=iconv -f KOI8-R -t 866 %finp > %fout LDAPSERVER=servername_or_ipadress LDAPBASEDN=VM LDAPUSER=Administrator LDAPUSERPASSWD=XXXXXXXX LDAPUSERSGROUP=Users REJIKPATH=/usr/share/rejik SHUTDOWNCOMMAND=shutdown -h now -- С уважением, Безруков А.И.
next reply other threads:[~2007-12-11 7:58 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-12-11 7:58 Безруков Александр [this message] 2007-12-11 8:11 ` Slava Dubrovskiy 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=200712111058.59792.beza@cit.vsi.ru \ --to=beza@cit.vsi.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