• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • W
    Wayne Workman
    last edited by Mar 30, 2016, 3:48 PM

    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
    • W
      Wayne Workman
      last edited by Mar 30, 2016, 4:03 PM

      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/

      T 1 Reply Last reply Mar 30, 2016, 4:04 PM Reply Quote 0
      • T
        Tom Elliott @Wayne Workman
        last edited by Mar 30, 2016, 4:04 PM

        @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

        W 1 Reply Last reply Mar 30, 2016, 4:05 PM Reply Quote 0
        • W
          Wayne Workman @Tom Elliott
          last edited by Wayne Workman Mar 30, 2016, 10:05 AM Mar 30, 2016, 4:05 PM

          @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
          • W
            Wayne Workman
            last edited by Mar 30, 2016, 4:13 PM

            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 Mar 30, 2016, 6:02 PM

              @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

              T 1 Reply Last reply Mar 30, 2016, 6:15 PM Reply Quote 0
              • T
                Tom Elliott @Sebastian Roth
                last edited by Mar 30, 2016, 6:15 PM

                @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
                • T
                  Tom Elliott
                  last edited by Mar 30, 2016, 7:04 PM

                  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
                  • W
                    Wayne Workman
                    last edited by Wayne Workman Mar 30, 2016, 1:58 PM Mar 30, 2016, 7:57 PM

                    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
                    • W
                      Wayne Workman
                      last edited by Wayne Workman Mar 30, 2016, 2:15 PM Mar 30, 2016, 8:13 PM

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

                      146

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.4k

                      Posts
                      Copyright © 2012-2024 FOG Project