• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Fog wont install

Scheduled Pinned Locked Moved
FOG Problems
4
93
61.8k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mlb2009
    last edited by Aug 30, 2013, 7:31 PM

    So am running fedora 19.
    What version of Linux would you like to run the installtion for?
    1.redhat os
    2. ubuntu os
    Choice 1
    Install Normal server
    don’t know ip so i search up my ip on google and it says:76.118.254.129 (public ip)
    so i enter that
    Would you like to setup a router address for the DHCP server?
    yes
    What is the IP address to be used for the router on the DHCP server?
    192.168.1.1
    Would you like to setup a DNS address for the DHCP server and client boot image?
    yes
    192.168.1.1
    Would you like to change the default network interface from eth0?
    No
    Would you like to use the FOG server for dhcp service?
    yes
    This version of FOG has internationalization support, would
    you like to install the additional language packs?
    yes

    Distro: Redhat
    Installation Type: Normal Server
    Server IP Address: 76.118.254.129
    DHCP router Address: 192.168.1.1
    DHCP DNS Address: 192.168.1.1
    Interface: eth0
    Using FOG DHCP: 1
    Internationalization: 1

    • Skipping package: httpd (Already Installed)
    • Skipping package: php (Already Installed)
    • Skipping package: php-gd (Already Installed)
    • Skipping package: php-cli (Already Installed)
    • Skipping package: php-gettext (Already Installed)
    • Installing package: mysql
    • Installing package: mysql-server
    • Installing package: php-mysql
    • Skipping package: dhcp (Already Installed)
    • Skipping package: tftp-server (Already Installed)
    • Skipping package: nfs-utils (Already Installed)
    • Skipping package: vsftpd (Already Installed)
    • 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)
    • Skipping package: gcc (Already Installed)
    • Skipping package: gcc-c++ (Already Installed)
    • Skipping package: htmldoc (Already Installed)
    • Skipping package: perl (Already Installed)
    • Skipping package: perl-Crypt-PasswdMD5 (Already Installed)
    • Skipping package: lftp (Already Installed)
    • Skipping package: clamav-update (Already Installed)
    • 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…OK
    • Checking package: mysql…Failed!

    run command mysql
    ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)
    so it looks like it is installed
    i dont have /var/lib/mysql/ folder

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Aug 30, 2013, 9:00 PM

      Try manually installing mysql with yum -y install mysql-server, it should install the package. Check that mysql is installed then, and you should find /var/lib/mysql folder. Another way to find out if it’s installed is to run:
      chkconfig mysqld on; service mysqld start
      Then, try your install. I’ll need to check the install folder for redhat to see that it’s pointing to the right package for mysql.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • M
        mlb2009
        last edited by Aug 30, 2013, 10:05 PM

        Didn’t work.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Aug 30, 2013, 10:39 PM

          Alright,

          What errors is it giving you when you try to manually install mysql, if any?

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • M
            mlb2009
            last edited by Aug 31, 2013, 12:53 AM

            no errors.MySQL working perfectly now

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Aug 31, 2013, 11:53 AM

              So is your fog setup now installed?

              If it is, what did you end up having to do?

              If it isn’t, I’ll take a look at the 0.32 Redhat install portion to find out why it didn’t install for you.

              Thanks,

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • M
                mlb2009
                last edited by Aug 31, 2013, 12:55 PM

                Fog is not installing still,but mysql is intsalled perfectly

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Aug 31, 2013, 1:58 PM

                  Okay,

                  So now that we know mysql is installed and working (how btw?) what’s the error’s you’re getting with installing fog?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • M
                    mlb2009
                    last edited by Aug 31, 2013, 5:03 PM

                    it says i dont have mysql installed and when it download and installs the packages it wont say Skipping:MySQL (Alrerdy installed) I tried 2 times,but with the same error

                    1 Reply Last reply Reply Quote 0
                    • M
                      mlb2009
                      last edited by Aug 31, 2013, 5:04 PM

                      By the way,Am i supposed to use my public ip? (unrelated)

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Aug 31, 2013, 5:54 PM

                        Your public IP is not what should be used. You would use the IP address your fog server is setup for within your internal network (the network you’re trying to image from).

                        Can you do me a favor and check the install. I’ll download a copy of the tar file and see what it’s doing as well, but I’ve never seen any issues with it before. Maybe it’s forgetting a part for Fedora 19 which is RH Based.

                        I’ll double check, but do you know how to edit the files?

                        From the install folder, look within for a folder that contains redhat and which files do the install process. I will get back here with the info, but it’s going to be a little bit.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Aug 31, 2013, 6:10 PM

                          Okay, looking into this, I don’t think there’s an issue with the default installation files for redhat. Fedora 19 should use the yum install mysql mysql-server and the configuration is chkconfig mysqld on; service mysqld restart which, you stated, works fine for your system.

                          However, it may have an issue because it’s trying to restart the service from your public IP address, which would cause a failure as it, theoretically, can’t access from that point.

                          Try not using your public IP address and use your server’s internal IP address during the setup. Hopefully this helps out.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • M
                            mlb2009
                            last edited by Aug 31, 2013, 9:55 PM

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • M
                              mlb2009
                              last edited by Aug 31, 2013, 10:02 PM

                              I know how to edit them,but i don’t know where to edit them.Also,where do i find my servers internal ip

                              1 Reply Last reply Reply Quote 0
                              • M
                                mlb2009
                                last edited by Aug 31, 2013, 10:05 PM

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom Elliott
                                  last edited by Aug 31, 2013, 10:52 PM

                                  Is your fog server connected directly to the internet? You understand linux and the command line?

                                  The way to obtain your systems IP (which you should have setup statically) is to run:
                                  ifconfig
                                  If you have multiple interfaces, you’ll need to figure out which interface you’re trying to use and use the IP associated with that.

                                  I assume your IP is going to be in the range of 192.168.1.2 thru 192.168.1.254 as you put your router and dns server as 192.168.1.1

                                  Your files to be edited should be located in:
                                  <locationOfFogInstallFolder>/lib/redhat

                                  There are two files in there which I forget the names of.

                                  However, if my memory serves me correctly, when you do the install, it should ask you what you want to set your IP up as, and it defaults to your systems IP, so unless your FOG server is directly connected to the Modem, it should have a private IP address assigned to it already. I’d recommend, until you understand what this software is doing, sticking with the defaults.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mlb2009
                                    last edited by Aug 31, 2013, 11:26 PM

                                    it doesn’t tell me the ip i should use.I found the ip,still not installing.And my isp wont allow me to have a static ip anyway.But i am ok with changing it all the time

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mlb2009
                                      last edited by Aug 31, 2013, 11:30 PM

                                      it looks like the code to check the packges is this:

                                      confirmPackageInstallation()
                                      {
                                      for x in $packages
                                      do
                                      echo -n " * Checking package: $x";
                                      rpm -q $x >/dev/null 2>&1;
                                      if [ “$?” != “0” ]
                                      then
                                      echo “…Failed!”
                                      exit 1;

                                          else
                                              echo "...OK";
                                          fi
                                      done;
                                      

                                      }

                                      and the configue mySQL code is here:

                                      configureMySql()
                                      {
                                      echo -n " * Setting up and starting MySql";
                                      chkconfig mysqld on;
                                      service mysqld restart >/dev/null 2>&1;
                                      service mysqld status >/dev/null 2>&1;
                                      if [ “$?” != “0” ]
                                      then
                                      echo “…Failed!”;
                                      exit 1;
                                      else
                                      echo “…OK”;
                                      fi
                                      }
                                      I do have some command line experence

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tom Elliott
                                        last edited by Aug 31, 2013, 11:45 PM

                                        Okay,

                                        Is your FOG Server behind a router that then connects to a modem or directly connected to the modem?

                                        If you’re connected directly to the modem, then how did you get the DHCP Server and the DNS Server IP Address?

                                        You’re sure mysql is actually running on your system then?

                                        Is selinux running or disabled?
                                        To check:
                                        cat /etc/sysconfig/selinux

                                        Look for:
                                        SELINUX=disabled
                                        If it doesn’t say disabled change it and reboot your machine.
                                        Then check that iptables is disabled <- DONT DO THIS IF YOU’RE CONNECTED DIRECTLY TO THE MODEM
                                        service iptables stop; chkconfig iptables off
                                        Once done, retry the install process.
                                        Can you post a reading of:
                                        /var/log/messages
                                        Directly after you’ve tried installing fog.
                                        Thank you,

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Tom Elliott
                                          last edited by Aug 31, 2013, 11:57 PM

                                          Also,

                                          When giving information, please try to provide as much information as possible. It’s not easy to troubleshoot something when not being directly in front of it. It makes it much more difficult to help out when there isn’t any information to go off of.

                                          Responses such as:
                                          “didn’t work.”,“Didn’t help”

                                          Doesn’t give us anything to work off. We don’t know what you’ve tried, or how you know certain things.

                                          How do you know that mysql is working?
                                          What have you tried beyond the help I’ve tried giving?
                                          What kinds of error messages is the system telling you? Fog tells you information, but we don’t know your systems particular setup.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 1 / 5
                                          1 / 5
                                          • First post
                                            6/93
                                            Last post

                                          209

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project