Upgrade ERR or NOT

Discussion in 'Installation/Configuration' started by Morons, Jun 14, 2010.

  1. Morons

    Morons Member

    I re-installed ISPConfig 2.2.36 as per instructions and got
    Code:
    This version of ISPConfig comes with a SpamAssassin version that requires that the following two Perl modules are installed: NetAddr::IP and Archive::Tar. If you are unsure if these modules are installed, you should open a second shell now and install them, because otherwise the ISPConfig installation/update will fail! These modules can be installed as follows:
    Executed this
    Code:
    [email protected]:~/install_ispconfig# aptitude install libnetaddr-ip-perl libarchive-tar-perl
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Writing extended state information... Done
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Not sure maybe detection is brioken or Ubuntu 10.04 has issues! :confused:
    I found upon restarting clamd daemon that its database was corrupted, and this error lead to it
    I got this in my logs at first
    Code:
     * Starting ClamAV daemon clamd                                                 LibClamAV Error: cli_cvdload: Corrupted CVD header
    LibClamAV Error: Can't load /home/admispconfig/ispconfig/tools/clamav/share/clamav/main.cld: Malformed database
    After removing the db and replaced it with freshclam I got
    Code:
     * Stopping ClamAV daemon clamd                                                                                                                     [ OK ]
     * Starting ClamAV daemon clamd                                                                                                                            LibClamAV Error: cli_loaddb(): No supported database files found in /home/admispconfig/ispconfig/tools/clamav/share/clamav
    ERROR: Can't open file or directory
    Code:
    X-Virus-Report: /home/admispconfig/ispconfig/tools/clamav/bin/clamdscan error 2
    X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / ERROR: Can't connect to clamd: Permission denied
    Code:
    CLAMAVCONF=/home/admispconfig/ispconfig/tools/clamav/etc/clamd.conf
    CLAMUSER="$(grep "^User" ${CLAMAVCONF} | awk '{print $2}')"
    As per /etc/init.d/clamav-daemon witch resolve to admispconfig

    Code:
    User admispconfig
    I dont know It is 2 issues in one post one the cause of my re-install to try and fix the spamassin and the setup error that seem to be an installation script issue.:cool:
     
    Last edited: Jun 14, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Not sure why you have errors about clamd as ispconfig does not use clamd, it uses clamscan without the daemon. I guess you must have modified your setup somehow to use clamd and your modification is not compatible with the current ISPConfig release.
     
  3. Morons

    Morons Member

    Err

    the Isue is mostly with the first line - ./setup does not detect the correct Perl modules are installed: NetAddr::IP and Archive::Tar.

    the rest I always find nessesary to modify the clamscan to clamdscan because I never had a server that could take load running clamscan. with clamdscan uses MUCH less resources and works well, Till today Every time I re-install or upgrade the ISPC 2 on a server I have to modify the clamscan to clamdscan otherwise the CPU run up to 99.9% and no customer is services as the scaning absolutely create a process for each mail and quickly eat up all the resources.
    I never understood why you dont run the clamdscan version witch is most effective and better in all scenarios.

    See the post I made and cjc81 improved upon

    http://www.howtoforge.com/forums/showpost.php?p=73940&postcount=10
     

Share This Page