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

I don't know what am missing

Scheduled Pinned Locked Moved Solved
FOG Problems
4
25
5.1k
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.
  • T
    tesparza
    last edited by Jan 24, 2018, 9:37 PM

    New to FOG, this problem has been happening to me every time I try to install FOG. I have not been able to ever setup a fog server. I’ve tried Ubuntu server and desktop so now I’m trying CentOS 7 FOG 1.4.4
    Fog tells me to go to the webpage but I go to it and it never works
    Please help I really want to make this work.
    0_1516829850924_error.jpg

    1 Reply Last reply Reply Quote 0
    • T
      tesparza @Tom Elliott
      last edited by Jan 24, 2018, 11:43 PM

      @tom-elliott Working, it was PHP. I had PHP 5.4 so i uninstalled it and install 5.6 and restarted apache2 and it gave me the webpage and was able to install/ update schema. THank you so much for the help guys!

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Jan 24, 2018, 9:43 PM

        What steps have you followed?

        Have you followed this article:
        https://wiki.fogproject.org/wiki/index.php?title=CentOS_7

        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

        T 1 Reply Last reply Jan 24, 2018, 9:48 PM Reply Quote 0
        • G
          george1421 Moderator
          last edited by Jan 24, 2018, 9:47 PM

          my bet is that you missed the step to set selinux config file to permissive, and to disable the centos firewall.

          for the firewall
          systemctl disable firewalld
          systemctl stop firewalld

          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!

          T 1 Reply Last reply Jan 24, 2018, 9:51 PM Reply Quote 0
          • T
            tesparza @Tom Elliott
            last edited by Jan 24, 2018, 9:48 PM

            @tom-elliott yes followed that exact guided. All commands copy and paste.

            T 1 Reply Last reply Jan 24, 2018, 9:51 PM Reply Quote 0
            • T
              Tom Elliott @tesparza
              last edited by Jan 24, 2018, 9:51 PM

              @tesparza what’s is showing in your Apache error logs then?

              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

              T 1 Reply Last reply Jan 24, 2018, 9:55 PM Reply Quote 0
              • T
                tesparza @george1421
                last edited by Jan 24, 2018, 9:51 PM

                @george1421 In the CentOS 7 guide i opened those firewall ports need and services too. Its the guided on the wiki. SELinux part i did that part too.

                G 1 Reply Last reply Jan 24, 2018, 9:55 PM Reply Quote 0
                • T
                  tesparza @Tom Elliott
                  last edited by Jan 24, 2018, 9:55 PM

                  @tom-elliott says file busy

                  1 Reply Last reply Reply Quote 0
                  • G
                    george1421 Moderator @tesparza
                    last edited by george1421 Jan 24, 2018, 3:56 PM Jan 24, 2018, 9:55 PM

                    @tesparza Not to send you in too many directions, but the next step is to key in at least.
                    systemctl stop firewalld and confirm you still get the same error message.
                    If you do then lets see if apache is listening on the http port. Key in
                    sudo netstat -an|grep 80
                    You should see (probably a few lines), but this one says apache is listening

                    tcp       0      0 :::80                   :::*                    LISTEN     
                    

                    If this line is listed then, for sure check the apache error log in /var/logs/http/error_log (as said from memory YMMV)
                    tail /var/logs/http/error_log

                    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!

                    T 1 Reply Last reply Jan 24, 2018, 9:57 PM Reply Quote 0
                    • T
                      tesparza @george1421
                      last edited by Jan 24, 2018, 9:57 PM

                      @george1421 0_1516831064181_erro1.jpg

                      G 1 Reply Last reply Jan 24, 2018, 9:59 PM Reply Quote 0
                      • G
                        george1421 Moderator @tesparza
                        last edited by Jan 24, 2018, 9:59 PM

                        @tesparza ok its running, now tail the error log, there should be something in the apache log telling what happened.

                        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!

                        T 1 Reply Last reply Jan 24, 2018, 10:00 PM Reply Quote 0
                        • T
                          tesparza @george1421
                          last edited by Jan 24, 2018, 10:00 PM

                          @george1421 0_1516831234697_erro2.jpg

                          G 1 Reply Last reply Jan 24, 2018, 10:02 PM Reply Quote 0
                          • G
                            george1421 Moderator @tesparza
                            last edited by george1421 Jan 24, 2018, 4:03 PM Jan 24, 2018, 10:02 PM

                            @tesparza First of all have mercy on an old guy with bad eyes, that is really small text.

                            Second that appears to be an error in the code, or something didn’t install correctly. What version of FOG did you install? Never mind I just reread the post

                            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!

                            T 1 Reply Last reply Jan 24, 2018, 10:04 PM Reply Quote 0
                            • T
                              tesparza @george1421
                              last edited by Jan 24, 2018, 10:04 PM

                              @george1421 I turned off the firewall disable and stop. Still not working

                              G 1 Reply Last reply Jan 24, 2018, 10:06 PM Reply Quote 0
                              • G
                                george1421 Moderator @tesparza
                                last edited by Jan 24, 2018, 10:06 PM

                                @tesparza Well I looked in the code and that & is in my code too, but I don’t understand the coding well enough to why its complaining.

                                        foreach ((array)$paths as &$element) {
                                            $allpaths[] = dirname($element[0]);
                                            unset($element);
                                        }
                                

                                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!

                                T 1 Reply Last reply Jan 24, 2018, 10:08 PM Reply Quote 0
                                • T
                                  tesparza @george1421
                                  last edited by Jan 24, 2018, 10:08 PM

                                  @george1421 I got no errors on the installation, i restarted httpd but still nothing

                                  G 1 Reply Last reply Jan 24, 2018, 10:18 PM Reply Quote 0
                                  • G
                                    george1421 Moderator @tesparza
                                    last edited by Jan 24, 2018, 10:18 PM

                                    @tesparza I’m still trying to find the answer. Looking at the code it appears like a configuration value either is blank or not there. I’m not good at the code. But I’ll keep looking. We may need to get one of the developers involved since this is a bit above my pay grade.

                                    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!

                                    T 1 Reply Last reply Jan 24, 2018, 10:23 PM Reply Quote 0
                                    • T
                                      tesparza @george1421
                                      last edited by Jan 24, 2018, 10:23 PM

                                      @george1421 Awesome! I will keep checking back and trying new things. Server is at my school but ill remote to it from home to try out different stuff. Shift is about to end.

                                      G 1 Reply Last reply Jan 24, 2018, 10:26 PM Reply Quote 0
                                      • G
                                        george1421 Moderator @tesparza
                                        last edited by Jan 24, 2018, 10:26 PM

                                        @tesparza Yeah I have to hop off for a while too. One thing that might be interesting to know is the contents of the hidden file “/var/opt/fog/.fogsettings” That would contain the answers to the questions asked during FOG installation. If you can connect to your fog server using putty, and then edit the file. Putty will allow you to copy and paste text better than screen shots.

                                        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!

                                        T 1 Reply Last reply Jan 24, 2018, 11:19 PM Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by Jan 24, 2018, 10:48 PM

                                          @tesparza You need at least PHP version 5.2 or you see exactly the error about unexpected '&'…

                                          What do you get when running rpm -qa | grep php?

                                          Something went wrong with your installation, I am fairly sure. It should install PHP 7 on CentOS from external repos. But seems like this has not happened in your case.

                                          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

                                          T T 2 Replies Last reply Jan 24, 2018, 11:07 PM Reply Quote 0
                                          • T
                                            Tom Elliott @Sebastian Roth
                                            last edited by Jan 24, 2018, 11:07 PM

                                            @sebastian-roth PHP 5.6 should be what’s required.

                                            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

                                            T 2 Replies Last reply Jan 24, 2018, 11:30 PM Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            1 / 2
                                            • First post
                                              12/25
                                              Last post

                                            158

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project