The Perfect Server - CentOS 5.2 [ISPConfig 3]

Discussion in 'HOWTO-Related Questions' started by antishane, Apr 16, 2009.

  1. antishane

    antishane New Member

    This is in referrence to http://howtoforge.org/perfect-server-centos-5.2-ispconfig-3

    Hi. man, i love your tutorial. i am trying ispconfig to compare between it and virtualmin and i might like to check out one more before i decide which to go with. Virtualmin seems like it would be the best choice for n00bs like myself because of a very automated install script provided on thier website.

    anyway i am stuck in the middle on 15 getting the following error
    "Starting Clam AntiVirus Daemon: LibClamAV Error: cli_loaddbdir(): Can't open directory /var/clamav
    ERROR: Can't open file or directory"
    the directory is there and the permissions are as follows

    drwxrwxr-x 2 clamav clamav 4096 Apr 15 13:56 .
    drwxr-xr-x 28 root root 4096 Apr 13 00:50 ..
    -rwxrwxr-x 1 clamav clamav 1046865 Apr 15 13:56 daily.cvd
    -rwxrwxr-x 1 clamav clamav 20091559 Apr 15 13:56 main.cvd
    -rwxrwxr-x 1 clamav clamav 312 Apr 15 13:59 mirrors.dat

    i am so n00b that i am still dripping but i would appreciate it if you could guide me through this error.
    thanks,
    antishane

    That was my original message. Since I made it I had decided to continue with the tutorial ignoring the error for the time being. I worked around it as a friend told me the following:
    [02:22pm] <+sh4d0w> just try disabling it temporarily
    [02:22pm] <+sh4d0w> echo "0" >/selinux/enforce
    [02:23pm] <+sh4d0w> and check your .conf to make sure the correct user is running the app

    I got to the restarting Apache after the squirrelmail install and came across another error:
    /etc/init.d/httpd restart
    [FAILED]
    Starting httpd: Syntax error on line 2 of /etc/httpd/conf.d/suphp.conf:
    Invalid command 'adModule', perhaps misspelled or defined by a module not included in the server configuration

    Still green as hell, but i did download the 6 cd centos discs so that the environment would be identical to the tutorial so any help is awesome.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    So the ClamAV error is gone now that you've disabled SELinux?

    What's in /etc/httpd/conf.d/suphp.conf?
     
  3. antishane

    antishane New Member

    mixed up my pasted text, sorry



    What's in /etc/httpd/conf.d/suphp.conf?

    (originally it contained "adModule suphp_module modules/mod_suphp.so" and gave the error so i located the actual location of mod_suphp.so and changed the path to reflect the actual location but i got the same results, so this /usr/lib/httpd/modules/mod_suphp.so is what it contains at the moment


    "So the ClamAV error is gone now that you've disabled SELinux?"

    Yes
     
    Last edited: Apr 16, 2009
  4. falko

    falko Super Moderator Howtoforge Staff

    It must read
    Code:
    LoadModule suphp_module modules/mod_suphp.so
    not
    Code:
    adModule suphp_module modules/mod_suphp.so
     
  5. rct2dotcom

    rct2dotcom New Member

    Postfix not available at URL in HOWTO

    I'm finding your HOWTO easy to follow, but I have now come to a halt on step 11 on page 4.

    Postfix is no longer avaiable at the link in the article so I have downloaded it from the official site at http://ftp.wl0.org/official/2.3/RPMS-rhel4-i386/

    Unfortunately, the postfix.spec file does not have the same format as in the HOWTO and I cannot figure out what I need to do.

    Please help.
     
  6. rct2dotcom

    rct2dotcom New Member

    * bump *

    From page 5 :(

    Would still appreciate some help with this. The 'owner' of postfix has also failed to respond. :(
     
  7. falko

    falko Super Moderator Howtoforge Staff

    Try this one instead: http://ftp-stud.fht-esslingen.de/pub/Mirrors/centos/5.3/os/SRPMS/postfix-2.3.3-2.1.el5_2.src.rpm
     

Share This Page