Problems when installing on RHEL 6.3!



  • So, downloaded the package & put it in the /opt.
    CHMOD +x the .sh and then run it…

    All went fine, BUT I didn’t get any /FOG folder under my /var/www/html…

    Any clues?


  • Developer

    Well I have install a FOG 0.30 in RHEL 6.3, and you must make some changes:

    1º) Disable firewall and selinux
    [I]#sudo selinuxenabled; echo $?[/I]
    if the echo returns 0, the SELinux is enable and you must disable it
    [I]#sudo /etc/selinux/confi[/I]g
    change the value to disabled
    [I]#sudo setenforce 0[/I]
    [I]#reboot[/I]
    2º) Download the FOG code
    3º) You must make some change in some config files:
    3.1) Unziped_folder/lib/redhat/config.sh
    [I]packages=“httpd [B]php php-gd php-cli[/B] mysql mysql-server [B]php-mysql[/B] tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav [B]clamd[/B]”;[/I]
    I change the next packages: php53 -> php and add clamd. The php-gettext not exists in RHEL.
    4º) download and install the next repositories:
    [I]#wget [url]http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm[/url][/I]
    [I]#wget [url]http://mirror.uv.es/mirror/fedora-epel/6/i386/epel-release-6-8.noarch.rpm[/url][/I]
    [I]#sudo rpm -i --quiet rpmforge-release-0.5.2-1.el6.rf.x86_64.rpm[/I]
    [I]#sudo rpm -i --quiet epel-release-6-8.noarch.rpm[/I]
    The EPEL repository is necesary to install htmldoc package.
    5º) Run installfog.sh to install FOG
    6º) You must config timezone in your php.ini:
    [I]#sudo vim /etc/php.ini[/I]
    In my case:
    date.timezone = “Europe/Madrid”
    [I]#/etc/init.d/httpd restart[/I]

    Some issues:
    *During the install process appears the next error:
    [I]Setting up and starting NFS Server…Failed![/I]
    Solution:
    [I]#sudo service rpcbind start[/I]
    *I have config the logwatch to see the freshclam messages, to config it:
    Edit the [I]/etc/logwatch/conf/logwatch.conf[/I] file
    Add the next line:
    [I]MailTo = [EMAIL]miemailaddress@mydomain.com[/EMAIL][/I] (<== your email)
    if you don’t want the logwatch messages delete the [I]/etc/cron.daily/0logwatch[/I] file

    • In logwatch messages appears the ext error:
      [I]Notifyclam error[/I]
      Solution:
      Edit the [I]/etc/freshclam.conf[/I], uncomment and config the next line:
      [I]NotifyClamd /etc/clamd.conf[/I]
      [I]
      Error: clamd was not notified can’t connect to clamd through /var/run/clamav/clamd.sock[/I]
      Solution:

    sudo touch /var/lib/clamav/clamd.sock

    sudo chown clam:clam /var/lib/clamav/clamd.sock



  • So, a brand new install of RHEL 6.3 and fully updated!

    [CODE]Installation Started…

    Installing required packages, if this fails
    make sure you have an active internet connection.

    • Installing package: httpd
    • Installing package: php
    • Installing package: php-gd
    • Skipping package: php-cli (Already Installed)
    • Installing package: php-gettext
    • Installing package: mysql
    • Installing package: mysql-server
    • Installing package: php-mysql
    • Installing package: tftp-server
    • Skipping package: nfs-utils (Already Installed)
    • Installing package: vsftpd
    • Skipping package: net-tools (Already Installed)
    • Skipping package: wget (Already Installed)
    • Skipping package: xinetd (Already Installed)
    • Skipping package: tar (Already Installed)
    • Skipping package: gzip (Already Installed)
    • Skipping package: make (Already Installed)
    • Skipping package: m4 (Already Installed)
    • Installing package: gcc
    • Installing package: gcc-c++
    • Installing package: htmldoc
    • Skipping package: perl (Already Installed)
    • Installing package: perl-Crypt-PasswdMD5
    • Installing package: lftp
    • Installing package: clamav-update
    • Skipping package: iso-codes (Already Installed)

    Confirming package installation.

    • Checking package: httpd…OK
    • Checking package: php…OK
    • Checking package: php-gd…OK
    • Checking package: php-cli…OK
    • Checking package: php-gettext…Failed!
      [/CODE]

    [root@IDAVALLEN ~]# cd /var/www/html/
    [root@IDAVALLEN html]# ls
    [root@IDAVALLEN html]#

    Nope, no FOG under my /var/www/html/ and no working FOG at all!



  • [quote=“chad-bisd, post: 10584, member: 18”]During the install, did it have any problems reported? I don’t use RHEL personally, but it might be differences in the packages that caused this.

    On RHEL 6.3, is the default apache directory still /var/www/html or something different?[/quote]

    Yeah, but I´m going to do a fresh install now on it and try a new install of FOG and now save the log… ^^


  • Moderator

    During the install, did it have any problems reported? I don’t use RHEL personally, but it might be differences in the packages that caused this.

    On RHEL 6.3, is the default apache directory still /var/www/html or something different?


Log in to reply
 

364
Online

38984
Users

10712
Topics

101686
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.