CentOS 6.2 clamd problem

Discussion in 'Server Operation' started by jhonatandiazp, Jan 8, 2012.

  1. jhonatandiazp

    jhonatandiazp Member HowtoForge Supporter

    Hello everyone,
    I am trying to follow The perfect Server Centos 6.1. I am doing the setup in Centos 6.2. When I try to run the command;

    chkconfig --levels 235 clamd on
    I get: error reading information on service clamd. No such file or directory.

    When I try to install it: yum install clamd, I get that the package is all ready installed. I do not know how to resolve this issue.

    Thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. jhonatandiazp

    jhonatandiazp Member HowtoForge Supporter

    My mistake. I followed these instruction and I am getting a different error now installing suphp.

    After I get the file, in the step make I get:

    MAKE[3] Nothing to be done for 'all'.

    If I continue with make install, I get

    Nothing to be done for 'install-data-am'

    I am new on Linux, sorry for my question

    Thanks For the Help
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Try this:
    Code:
    cd /tmp
    rm -f suphp-0.7.1.tar.gz
    rm -fr suphp-0.7.1/
    wget http://suphp.org/download/suphp-0.7.1.tar.gz
    tar xvfz suphp-0.7.1.tar.gz
    cd suphp-0.7.1/
    ./configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/bin/apr-1-config --with-apxs=/usr/sbin/apxs --with-apache-user=apache --with-setid-mode=owner --with-php=/usr/bin/php-cgi --with-logfile=/var/log/httpd/suphp_log --enable-SUPHP_USE_USERGROUP=yes
    make
    make install
     
  5. jhonatandiazp

    jhonatandiazp Member HowtoForge Supporter

    Thank You Falko, I resolved the issue.
    :(

    I am still not be able to make the server works. After installed squirrelmail and do all configuration, where I try to access:

    https://server-ip/webmail, I am getting:

    ERROR: Config file ' . '"config/config.php" not found. You need to ' . 'configure SquirrelMail before you can use it.

    '; exit; } // If we are, go ahead to the login page. header('Location: src/login.php'); ?>

    Thanks Again
     
  6. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    updatedb
    locate config.php
    What's the output of
    Code:
    getenforce
    ?
     

Share This Page