Current time: 11-25-2024, 05:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
Howto install Maia on ispCP
Author Message
mafia Offline
Banned

Posts: 170
Joined: May 2008
Post: #1
Howto install Maia on ispCP
bonjour

voila les erreus

Code:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/pear/Smarty/Smarty.class.php) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/tools/antispam/admin/configtest.php on line 88

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/php) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /usr/share/php/PEAR/Config.php on line 87

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/.pearrc) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /usr/share/php/PEAR/Config.php on line 616

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/etc/pear.conf) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /usr/share/php/PEAR/Config.php on line 625

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/etc/pear.conf) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /usr/share/php/PEAR/Config.php on line 625


Code:
File Permissions  OK
  PHP  OK: 5.2.0-8+etch11
  register_globals  OK
  Smarty Template Engine  OK: Found Smarty in ../libs//Smarty/Smarty.class.php
  WDDX Support  OK: WDDX support available
  MySQL Support  OK: MySQL support available
  PostgreSQL Support  SKIPPED: PostgreSQL support not available
  Database Support  OK: Database support is ok
  PEAR  OK: 1.7.2
  PEAR::Mail_Mime  OK: 1.5.2
  PEAR::DB  FAILED: Could not connect to database. Check the $maia_sql_dsn setting in config.php.
  Database Version  SKIPPED: Cannot determine database version. We recommend Postgresql > 8.0; Please verify this before continuing.
  PEAR::Pager  OK: 2.4.6
  PEAR::Net_Socket  OK: 1.0.8
  PEAR::Net_SMTP  OK: 1.3.1
  PEAR::Auth_SASL  OK: 1.0.2
  PEAR::Net_IMAP  SKIPPED: Not installed. This PHP extension is required to authenticate maia against IMAP.
  PEAR::Net_POP3  SKIPPED: Not installed. This PHP extension is required to authenticate maia against POP3.
  PEAR::Log  OK: 1.11.0
  PEAR::Image_Color  OK: 1.0.2
  PEAR::Image_Canvas  OK: 0.3.1
  PEAR::Image_Graph  SKIPPED: Found version: 0.7.2 - Image_Graph >= 0.7.2 recommended, but there is a bug in 0.7.2 that requires a small patch. See http://www.maiamailguard.org/maia/ticket/326 for more details and the patch.
  PEAR::Numbers_Roman  OK: 1.0.2
  PEAR::Numbers_Words  OK: 0.15.0
  IMAP library  OK: Unknown
  LDAP library  FAILED: Not installed, but only required if you want to be able to authenticate with LDAP. See this page for more information about downloading the LDAP extensions to PHP, and instructions for recompiling PHP with the --with-ldap flag.
  MCrypt library  FAILED: Support for Blowfish and CBC must be compiled into libmcrypt.
  BC math library  OK
  gd graphics library  OK: 2.0 or higher

dans /var/lib/amavis/maia/scripts#./configtest.pl

Code:
debian:/var/lib/amavis/maia/scripts# ./configtest.pl

MAIA MAILGUARD CONFIGURATION TEST

This script checks for the presence of applications and Perl modules
required by amavisd-maia, SpamAssassin, and Maia Mailguard's maintenance
scripts.  Version numbers are also checked, and if a newer version of
a component is recommended, you should consider upgrading to at least
the minimum recommended version.

If you have already configured your Maia Mailguard database, the script
will also test the connection to that database.

Remember also to run the configtest.php script on your web server to
perform similar tests of your web, PHP, and PEAR environment.

Application/Module      Version   Status
========================================================================
Perl                 :    5.8.8 : OK
file(1)              :     4.17 : OK
Archive::Tar         :     1.30 : OK
Archive::Zip         :     1.16 : OK
BerkeleyDB           :     0.31 : OK
Compress::Zlib       :     1.42 : OK
Convert::TNEF        :     0.17 : OK
Convert::UUlib       :     1.06 : OK
Crypt::Blowfish      :     2.10 : OK
Crypt::CBC           :     2.22 : OK
Crypt::OpenSSL::RSA  :      N/A : NOT INSTALLED (SpamAssassin's optional DomainKeys plugin requires this)
Data::UUID           :   1.0501 : OK
DB_File              :    1.814 : OK
DBD::mysql           :   3.0008 : OK
DBD::Pg              :      N/A : NOT INSTALLED (required if you use PostgreSQL as your Maia Mailguard database)
DBI                  :     1.53 : OK
Digest::MD5          :     2.36 : OK
Digest::SHA1         :     2.11 : OK
File::Spec           :     3.12 : OK
HTML::Parser         :     3.55 : OK
HTTP::Date           :     1.47 : OK
IO::Stringy          :    2.110 : OK
IO::Zlib             :     1.04 : OK
IP::Country          :      N/A : NOT INSTALLED (SpamAssassin's optional RelayCountry plugin requires this)
LWP::UserAgent       :    2.033 : OK
Mail::Address        :     1.74 : OK
Mail::DomainKeys     :      N/A : NOT INSTALLED (SpamAssassin's optional DomainKeys plugin requires this)
Mail::Internet       :     1.74 : OK
Mail::SpamAssassin   :    3.2.3 : OK
Mail::SPF::Query     :      N/A : NOT INSTALLED (SpamAssassin's optional SPF plugin requires this)
MIME::Base64         :     3.07 : OK
MIME::Parser         :    5.420 : OK
MIME::QuotedPrint    :     3.07 : OK
Net::CIDR::Lite      :      N/A : NOT INSTALLED (SpamAssassin's optional SPF plugin requires this)
Net::DNS             :     0.59 : OK
Net::Server          :     0.94 : OK
Net::SMTP            :     2.29 : OK
Pod::Usage           :     1.33 : OK
Template             :      N/A : NOT INSTALLED (required by Maia Mailguard)
Time::HiRes          :     1.86 : OK
Unix::Syslog         :    0.100 : OK
URI                  :     1.35 : OK

DBI connect('maia:localhost:3306','amavis',...) failed: Access denied for user 'amavis'@'localhost' (using password: YES) at ./configtest.pl line 306
Database DSN test    : FAILED (verify $dsn, $username, and $password in /etc/maia.conf)

dans /var/lib/amavis/maia/scripts#./load-sa-rules.pl

Code:
2008-06-22 21:57:22 Maia: [load-sa-rules] Warning: Couldn't find amavis user's user_prefs directory (optional: set $user_rules_dir in maia.conf)
DBI connect('maia:localhost:3306','amavis',...) failed: Access denied for user 'amavis'@'localhost' (using password: YES) at ./load-sa-rules.pl line 203
2008-06-22 21:57:22 Maia: [load-sa-rules] FATAL ERROR: Can't connect to the Maia database (verify $dsn, $username, and $password in maia.conf)

ici j ai pas bien compris

Correct the directories in the scripts

# vi /var/lib/amavis/maia/scripts/process-quarantine.pl

change '/var/amavisd/maia/scripts' to '/var/lib/amavis/maia/scripts' and also change '/var/amavisd/.process-quarantine.pid' to '/var/run/amavis/.process-quarantine.pid'

# vi /var/lib/amavis/maia/scripts/send-quarantine-digests.pl
./configtest.pl



encore merci
(This post was last modified: 06-23-2008 06:06 AM by mafia.)
06-23-2008 05:59 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)