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

    FTP things are broke

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    10
    1.7k
    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
      last edited by

      on r7001 FTP related things are broke. FTP Image size doesn’t work and we also cannot deploy images, we get an error saying the image does not exist on the node.

      Here’s what’s in the Apache error logs after trying to list all images with FTP Image Size turned on:

      [Wed Mar 30 10:46:47.124621 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:46.454964 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:45.735960 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:44.907747 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:44.071128 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:43.225272 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:42.357179 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:41.489278 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:40.625987 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:39.871930 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:39.051890 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:38.487630 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:38.026607 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:37.547961 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:37.054895 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:36.483964 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:35.789064 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      [Wed Mar 30 10:46:34.904365 2016] [:error] [pid 63879] [client 10.2.3.9:52966] PHP Strict Standards: Only variables should be passed by reference in /var/www/html/fog/lib/pages/imagemanagementpage.class.php on line 78, referer: http://10.2.1.11/fog/management/index.php?node=image
      

      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

        Intersting point on this subject… seems my fog server on r7001 has this issue but other sites on r7001 in my organization do not… gosh. This morning has been rough.

        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/

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

          @Wayne-Workman Gonna guess maybe an older version of PHP?

          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

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

            @Tom-Elliott I’m on 5.6.19, the other site that is working fine is on 5.6.19.

            However, I’m running Fedora 21, they are running 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!
            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

              Only the image uploaded this morning doesn’t work, others still deploy fine.

              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

                @Wayne-Workman Still an issue or has Tom looked into this already? I wonder if you have the same line (78) of code as we have in the source:

                serverSize = $servSize($Image->get('path'),$StorageNode);
                

                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

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

                  @Sebastian-Roth I’ve looked into it and corrected it on my side. I have not pushed it so I can try to fix the db backup issue.

                  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 2
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    Pushed. Hopefully will fix the mysqldump crap but also should stop the error spamming.

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

                      r7005, It’s still broke. Here’s a screenshot:

                      0_1459367684089_upload-d1b6e5b8-0fc1-4793-bee3-ba0b058d4788

                      Here are some of the Apache errors. It seems the ftp errors are being suppressed, but there are other errors now.

                      [Wed Mar 30 14:52:39.346778 2016] [:error] [pid 33675] [client 10.2.3.46:49955] PHP Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /var/www/html/fog/lib/fog/fogbase.class.php on line 572
                      [Wed Mar 30 14:52:39.346069 2016] [:error] [pid 33675] [client 10.2.3.46:49955] PHP Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in /var/www/html/fog/lib/fog/fogbase.class.php on line 572
                      [Wed Mar 30 14:42:21.006794 2016] [:error] [pid 28807] [client 10.2.1.11:43538] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 383
                      

                      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 Wayne Workman

                        Oh you know what? I just figured out why this happened. blah.

                        I was just talking to Tom and he asked to see if the /home/fog directory existed.

                        It doesn’t. Why? Because I blasted the entire /home directory this morning because all those fog backups in there was crashing the server… rm -rf /home/* Yes sir…

                        I fixed it with
                        mkdir /home/fog;chown fog:fog /home/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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 2
                        • 1 / 1
                        • First post
                          Last post

                        160

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project