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

    Apache2 for fog vhost.

    Scheduled Pinned Locked Moved
    Linux Problems
    3
    18
    4.9k
    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.
    • Wayne WorkmanW
      Wayne Workman @scheffman
      last edited by

      @scheffman This is very interesting.

      Let me re-confirm. Heading to the basement now lol.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        I just noticed Tom added an “Evasive” thing to the fog installer list for red-hat… Don’t remember the exact name, but maybe you should update and try again?

        I’m still in the process of building CentOS 7, got side tracked for a hot minute.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • S
          scheffman
          last edited by scheffman

          Okej, I did a ‘yum update’ and got the latest fog from the git and svn. And the same thing happend.

          Im trying to update a CentOS 7 fog 1.2.0 to trunk. becuse i dont have access to the server, but i might get access to it this week and do a fresh install, if i cant fix it.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth

            @scheffman My auto installer is running (cent os 7 this time) and I will post back in a minute…

            [edit]Haha, just found this… https://github.com/FOGProject/fogproject/commit/bb34c3774d736883124c7dd4fcd3b07a8de111f7#diff-744d8c9d766acc0c419b6d9a72183c63 [/edit]

            Possibly something to do with the newly added mod_evasive?!?

            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
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              Ok I just finished building a CentOS 7 minimal, following the exacto-o instructions for CentOS 7 in our Wiki and it worked overall just fine.

              I modified one part of the article about firewalld, because I just found out that minimal doesn’t come with firewalld installed by default.

              But other than that everything appears to be working as far as the web interface is concerned, not one hiccup, worked on the 1st try.

              My suggestion to you for the moment is to install CentOS 7 from scratch again, and go straight to FOG Trunk, do not bother with 1.2.0.

              However, I’m still very concerned that updating from 1.2.0 on CentOS 7 is not working for some reason.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth

                said in Apache2 for fog vhost.:

                systemctl status -l httpd

                @Tom-Elliott Haha, turns out that mod_fastcgi does not exist in CentOS 7 (and is actually really outdated…). Do we really need this???

                @scheffman I was able to replicate your problem by running the following commands:

                wget http://pkgs.repoforge.org/mod_fastcgi/mod_fastcgi-2.4.6-2.el6.rf.x86_64.rpm
                rpm -i mod_fastcgi-2.4.6-2.el6.rf.x86_64.rpm
                systemctl status -l httpd
                ...
                Apr 24 17:33:30 fog120.localdomain systemd[1]: Starting The Apache HTTP Server...
                Apr 24 17:33:30 fog120.localdomain httpd[6094]: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 12 of /etc/httpd/conf.d/fastcgi.conf: Cannot load modules/mod_fastcgi.so into server: /etc/httpd/modules/mod_fastcgi.so: undefined symbol: unixd_config
                ...
                

                PS: I wish you would have told us if you installed old packages or added package repositories by hand. Would have saved me a couple of hours…

                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

                S 1 Reply Last reply Reply Quote 1
                • S
                  scheffman @Sebastian Roth
                  last edited by

                  @Sebastian-Roth Maybe when i installer fog 1.2.0 6 months ago, sorry about that. But i removed mod_fastcgi then when i install with the new installfog.sh it gets installed again. So if i install a newer one it works? or remove the older repositorie?

                  I did just follow the old installation guid for CentOS when installing 1.2.0

                  Ill try to make a fresh install. this week if i cant fix it, i did only have access trough ssh so didnt have the possibility.

                  btw, thanks for greate support and great program.

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @scheffman
                    last edited by

                    @scheffman What guide did you follow?

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @scheffman You should be able to prevent the installer from pulling mod_fastcgi by either removing the repository from /etc/yum.repos.d/… (possibly named something like ‘rpmforge…’) or by editing the installer script in fogproject/lib/redhat/config.sh:

                      ...
                      packages="httpd ... mod_fastcgi"
                      ...
                      

                      Simplay remove mod_fastcgi from that line (keep the quote at the end!) and you should be fine.

                      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
                      • S
                        scheffman @Wayne Workman
                        last edited by

                        @Wayne-Workman I cant find it on the wiki, It was for CentOS 7 and fog 1.2.0, I did the first install september 2015 i think. I maybe have the installation guid writen down some where if needed.

                        It workt great, but not for the laptops that the fog server was going to work for, so i posted another tread on the forum about that, and george1421 told me that they maybe working beter with trunk so i tried to upgrade, and got where i am now.

                        @Sebastian-Roth Thank ill try it, ill get back with my results.

                        Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @scheffman
                          last edited by Wayne Workman

                          @scheffman George’s recommendation was a good one, it’s what I would have suggested. Only I would have advised to nuke, re-pave, and go straight to FOG Trunk.

                          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!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            scheffman @Wayne Workman
                            last edited by

                            @Wayne-Workman @Sebastian-Roth Okey so sorry for being afk, i hade some stuff to do in school. It did work too remove /etc/yum.repos.d/rpmforge. I did get some errors from the schemaupdaterpahe.php but did a pull from git and updated and every thing works now. Now i hope ill get the realtek card to work with fog, I have another post about that and will post in that one if it dont work. Thanks for the awesome support. Im more of a FreeBSD person, i would love to see fog working for FreeBSD some day. Still awesome work, keep it up!!!

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @scheffman
                              last edited by

                              @scheffman said in Apache2 for fog vhost.:

                              Im more of a FreeBSD person, i would love to see fog working for FreeBSD some day.

                              I’m sure it could easily work, I’m also sure I have my hands quite full with Fedora, CentOS , Debian, and Ubuntu at the moment lol. Why don’t you give it a try?

                              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!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @scheffman said:

                                Im more of a FreeBSD person, i would love to see fog working for FreeBSD some day.

                                While I think that it should be possible to do (requirements: PHP 5/6/7, MySql, Apache, FTP, NFS, (DHCP, TFTP)) it will be a hugh effort to get the installer to fully run on a BSD system - package system being very different!

                                I’d still love to see if it’d work. Are you happy to give it a try? Start by installing the mentioned packages/services on FreeBSD, then checkout fogproject via GIT and copy fogproject/packages/web folder to apache web root. See what you get. Looking forward to hear from you!

                                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 / 1
                                • First post
                                  Last post

                                312

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project