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

    Error "Undefined index: pass" in capture

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    11
    2.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.
    • F
      Frank
      last edited by

      Server
      • FOG Version: 1.3.5
      • OS: Ubuntu 14.04
      Client
      • Service Version:
      • OS: Windows
      Description

      I’m capturing an image and in one of the last steps, after uploading image, in “Updating database…” phase I get:
      “Error returned: Type: 8. File: /var/www/html/lib/fog/fogbase.clas.php. Line: 837. Message: Undefined index: pass.Host: xx.xx.xx.xx. Username: fog”

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

        https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

        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

        F 1 Reply Last reply Reply Quote 0
        • F
          Frank @Tom Elliott
          last edited by

          @Tom-Elliott Thanks for your answer.
          I guess you mean issues with ftp credentials, but the message points to code. I have not changed any storage settings but I am going to double-check it anyway.

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

            The message “undefined” typically comes when a storage node is not running. This is just from my experience though. The reason I suggest running through the troubleshoot ftp is because it’s a good basis to start looking and finding the cause.

            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

            F 1 Reply Last reply Reply Quote 0
            • F
              Frank @Tom Elliott
              last edited by

              @Tom-Elliott I’ve monitoring de “database updating” with wireshark and I see an http dialog between fog main server an the client. This seems to go OK, but after clients seems to wait something for half a minute until the error appears.
              Does this tell something to you?

              F 1 Reply Last reply Reply Quote 0
              • F
                Frank @Frank
                last edited by

                @Frank said in Error "Undefined index: pass" in capture:

                @Tom-Elliott I’ve monitoring de “database updating” with wireshark and I see an http dialog between fog main server an the client. This seems to go OK, but after clients seems to wait something for half a minute until the error appears.
                Does this tell something to you?

                I’m going to try to be more explicit:
                First come a http dialog between fog main server and client.
                Then clients waits on “Updating database…” half a minute.
                “Failed” is shown.
                Another http dialog happens between main server and client.

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

                  @Frank Can you please do the basic steps in the troubleshooting article?

                  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/

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Frank @Wayne Workman
                    last edited by Frank

                    @Wayne-Workman After rebooting all implied servers now its working !?!
                    Let’s left it as another IT mystery. Thanks to all for your help anyway.
                    Problem can be closed as well.

                    My God! I was on holiday and I have confused myself! sorry!
                    Its still failing at the same point

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

                      @Frank I still need you to do the troubleshooting. This is what I would do if I were there.

                      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/

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        Frank @Wayne Workman
                        last edited by

                        @Wayne-Workman I’ve followed the troubleshooting guide in case of “Update database…failed” and tftpd passwords are OK.
                        The error happens in fog.imgcomplete script, in “curl” line. If I do the curl at command prompt I get this:

                        curl -ks --data ‘mac=98:90:96:d8:29:4d&type=up&osid=9’ http://<ip_of_main_fog_server>/fog/service/Post_Stage2.php

                        Type: 8, File: /var/www/html/fog/lib/fog/fogbase.class.php, Line: 837, Message: Undefined index: pass. Host: <storage_node_ip>, Username:fog

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Frank @Frank
                          last edited by

                          @Frank said in Error "Undefined index: pass" in capture:

                          @Wayne-Workman I’ve followed the troubleshooting guide in case of “Update database…failed” and tftpd passwords are OK.
                          The error happens in fog.imgcomplete script, in “curl” line. If I do the curl at command prompt I get this:

                          curl -ks --data ‘mac=98:90:96:d8:29:4d&type=up&osid=9’ http://<ip_of_main_fog_server>/fog/service/Post_Stage2.php

                          Type: 8, File: /var/www/html/fog/lib/fog/fogbase.class.php, Line: 837, Message: Undefined index: pass. Host: <storage_node_ip>, Username:fog

                          SOLVED!! So simple as a firewall rule! Shame on me.
                          Fog main server was unable to contact client to port 21.
                          What had made me crazy was log messages, which seemed to have no sense.
                          Thanks anyway.

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

                          156

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project