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

    Create Snapin on SVN 6415

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    create new snapin update kernel
    3
    8
    1.5k
    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.
    • W
      wlainey
      last edited by Wayne Workman

      I recently just reloaded my server to the latest SVN on CentOS 7, when I try to create a new SnapIn or update the TFTP Kernel I am receiving an error for an undefined variable. Below is the tail from my apache error log.

      [Thu Feb 25 10:06:31.428867 2016] [:error] [pid 24394] [client 65.124.207.65:59868] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘FOGFTP: Failed to connect. Host: 192.168.10.1, Error: Undefined variable: whereArrayAnd’ in /var/www/html/fog/lib/fog/fogftp.class.php:26\nStack trace:\n#0 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(88): FOGFTP->connect()\n#1 [internal function]: SnapinManagementPage->add()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(67): call_user_func(Array)\n#3 /var/www/html/fog/management/index.php(24): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 26, referer: http://fog.CHANGED.com/fog/management/index.php?node=snapin&sub=search

      I have checked the Storage and TFTP_FTP passwords as well as the fog user password on the computer to ensure they match. Wasn’t sure if this was a scripting error in the latest SVN or if I had configured something incorrectly.

      Mod Edited

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Can you update to a new version and try again?

        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
        • W
          wlainey
          last edited by

          Just updated to 6445 with no change.

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @wlainey
            last edited by

            @wlainey No change? The EXACT same message, or a different message with a new time stamp?

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

              Same error with different timestamp.

              [Thu Feb 25 10:56:15.369558 2016] [:error] [pid 1166] [client 192.168.11.254:52895] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘FOGFTP: Failed to connect. Host: 192.168.10.1, Error: Undefined variable: whereArrayAnd’ in /var/www/html/fog/lib/fog/fogftp.class.php:26\nStack trace:\n#0 /var/www/html/fog/lib/pages/snapinmanagementpage.class.php(88): FOGFTP->connect()\n#1 [internal function]: SnapinManagementPage->add()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(67): call_user_func(Array)\n#3 /var/www/html/fog/management/index.php(24): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 26, referer: http://fog.CHANGED.com/fog/management/index.php?node=snapin&sub=list

              Mod Edited

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

                @wlainey Your FOG Server is internet facing, and I was able to log into it with the default fog / password credentials.

                Please change your default FOG user’s password. Also, I’ve removed the links to your FOG server from this thread.

                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/

                W 1 Reply Last reply Reply Quote 0
                • W
                  wlainey @Wayne Workman
                  last edited by

                  @Wayne-Workman Thanks for the info Wayne. This was a new server being setup today and had not done this yet.
                  @Tom-Elliot I was able to determine that the issue was an FTP permission problem. Once I realized that SELinux had not been configured properly by using ‘setenforce 0’ everything starting working fine.

                  Thanks Guys for all your help.

                  William

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

                    @wlainey said:

                    nce I realized that SELinux had not been configured properly by using ‘setenforce 0’ everything starting working fine.

                    You’ll need to set it permanently to permissive as well - you would edit /etc/selinux/config to do that. If you don’t, it’ll stop working again at the next reboot.

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

                    152

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project