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

    Failed access Database after upload image

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    19
    4.4k
    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.
    • Z
      zingaro
      last edited by

      Server
      • FOG Version: 1.4.0
      • OS:
      Client
      • Service Version:
      • OS:
      Description

      Hi,
      I’m crazy … !!!
      after created the image , fog server return an error when update status php image ( 0_1496134502361_Capture.JPG .
      I checked USER and Password into web ser0_1496134619004_Capture.JPG ver , php conf and all directory permission but the problem persist ! Any idea ?

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        The issue is with the linux fog user and not the web gui fog administrator account. If you changed the linux account fog user password then you have a problem. Some people will use that FOG Project internal user account for system maintenance. That linux fog user should only be used by the FOG application and not for maintenance.

        So how to fix?

        1. Review the following file /opt/fog/.fogsettings for the fog password.
        2. Reset the linux fog user to the password found in the .fogsettings file.
        3. Then login to the web gui. Go to the storage management and then edit the settings for the fog server. At the bottom there will be a ftp user and password. The user is fog (as seen from your picture). Make sure the password there matches the password defined in the .fogsettings file.

        Once all of those passwords are in sync your capture will complete.

        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!

        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

          1 Reply Last reply Reply Quote 0
          • Z
            zingaro
            last edited by

            Hi,
            thanks for your response !
            I checked all User and Password into .fogsettings and Fog management.I have change the psw into .fogsettings ( it was sets “ADFGDFGXXCXCXCXGDGDGDGHH…” ).
            I have the same problem !!

            Others suggest ?

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

              @zingaro You followed all information?

              Including the bits about chown/chmod to ensure /images was owned recursively by fog:root (chown -R fog:root /images) and you ensured it was read/writable with: chmod -R 777 /images

              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

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zingaro
                last edited by

                @george1421 said in Failed access Database after upload image:

                Once all of those passwords are in sync your capture will complete

                I’m tested ftp from windows … does not works
                0_1496142914288_Capture.JPG 0_1496143093902_Capture.JPG

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

                  @Tom-Elliott yes !
                  but does not works
                  0_1496143251635_Capture.JPG

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

                    @zingaro You have to cd to the directory first.

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

                      The password you’re using is set in Storage Management -> (Select your node) -> Management User/Password?

                      The “Login incorrect” message is not a misnomer in this case. It literally means, it can’t login.

                      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

                      Z 1 Reply Last reply Reply Quote 0
                      • Z
                        zingaro @Tom Elliott
                        last edited by

                        @Tom-Elliott user : fog psw: password

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

                          @zingaro What does that mean?

                          Is this what the “storage management->storage node->management user/password” shows?

                          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
                          • Z
                            zingaro
                            last edited by zingaro

                            hey guys,
                            it’s incredible but does not works…
                            i change user and password from unix user, fog management and directory…
                            same problem !!

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zingaro
                              last edited by zingaro

                              I’m tested ftp connection from WIndows and another istance of Fog Server:
                              the ftp work ( get and put ) with fogftp.class.php !
                              but when starts an upload of image there are the same error !.

                              Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott @zingaro
                                last edited by

                                @zingaro What does the same storage node look like for the username and password field. This is where people most often see the problem. My guess is this is set incorrectly which is why you’re having issues.

                                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
                                • george1421G
                                  george1421 Moderator @zingaro
                                  last edited by

                                  @zingaro look at the fog talk bubble at the top of the browser window. Its on the fog tool tray.

                                  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!

                                  1 Reply Last reply Reply Quote 1
                                  • Z
                                    zingaro
                                    last edited by zingaro

                                    The Winner is 💯
                                    I deleted all image saved and all host and now WORKS !

                                    but the PC after reboot was returned "WINLOAD.EXE Missing … "
                                    there are a bug after final resize ?

                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      robe2conoby
                                      last edited by

                                      I had this same Issue and under VAR/WWW/FOG/LIB/FOG/FOGFTP.CLASS.PHP
                                      public function login
                                      $username = null
                                      $password =null
                                      I changed this to my ftp user name and password and it solved the issue .

                                      Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @robe2conoby
                                        last edited by

                                        @robe2conoby Then you need to look at your Storage Node (Management User and Management Password) settings. These are likely incorrect.

                                        An update will “break” what you did to fix it.

                                        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
                                        • george1421G
                                          george1421 Moderator @robe2conoby
                                          last edited by george1421

                                          @robe2conoby Just to be clear IT Admins should never directly touch/use the linux user called fog. This is not the web ui admin account called fog (unfortunate coincidence). The linux user FOG is 100% managed by the fog installer. If someone changes this account afterwards or uses the linux fog account for system management bad things will happen.

                                          The next time the fog installer runs it will think that it has control of this account and will reset things back to what it needs, probably clobbering your configuration. Please don’t touch or change this account.

                                          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!

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

                                          158

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project