• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.3k
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 May 30, 2017, 8:57 AM

    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
    • G
      george1421 Moderator
      last edited by May 30, 2017, 9:55 AM

      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
      • T
        Tom Elliott
        last edited by May 30, 2017, 10:07 AM

        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 May 30, 2017, 11:10 AM

          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 ?

          T 1 Reply Last reply May 30, 2017, 11:14 AM Reply Quote 0
          • T
            Tom Elliott @zingaro
            last edited by May 30, 2017, 11:14 AM

            @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 May 30, 2017, 11:20 AM Reply Quote 0
            • Z
              zingaro
              last edited by May 30, 2017, 11:18 AM

              @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

              T 1 Reply Last reply May 30, 2017, 11:21 AM Reply Quote 0
              • Z
                zingaro @Tom Elliott
                last edited by May 30, 2017, 11:20 AM

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

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott @zingaro
                  last edited by May 30, 2017, 11:21 AM

                  @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
                  • T
                    Tom Elliott
                    last edited by May 30, 2017, 11:22 AM

                    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 May 30, 2017, 11:25 AM Reply Quote 0
                    • Z
                      zingaro @Tom Elliott
                      last edited by May 30, 2017, 11:25 AM

                      @Tom-Elliott user : fog psw: password

                      T 1 Reply Last reply May 30, 2017, 11:32 AM Reply Quote 0
                      • T
                        Tom Elliott @zingaro
                        last edited by May 30, 2017, 11:32 AM

                        @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 May 30, 2017, 9:32 AM May 30, 2017, 1:16 PM

                          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 May 30, 2017, 9:33 AM May 30, 2017, 3:32 PM

                            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 !.

                            T G 2 Replies Last reply May 30, 2017, 3:33 PM Reply Quote 0
                            • T
                              Tom Elliott @zingaro
                              last edited by May 30, 2017, 3:33 PM

                              @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
                              • G
                                george1421 Moderator @zingaro
                                last edited by May 30, 2017, 3:33 PM

                                @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 May 30, 2017, 9:37 AM May 30, 2017, 3:36 PM

                                  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 Jun 1, 2017, 6:18 PM

                                    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 .

                                    T G 2 Replies Last reply Jun 1, 2017, 6:21 PM Reply Quote 0
                                    • T
                                      Tom Elliott @robe2conoby
                                      last edited by Jun 1, 2017, 6:21 PM

                                      @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
                                      • G
                                        george1421 Moderator @robe2conoby
                                        last edited by george1421 Jun 1, 2017, 12:26 PM Jun 1, 2017, 6:25 PM

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

                                        151

                                        Online

                                        12.0k

                                        Users

                                        17.3k

                                        Topics

                                        155.2k

                                        Posts
                                        Copyright © 2012-2024 FOG Project