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

    Error generating image

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    20
    723
    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.
    • george1421G
      george1421 Moderator @Thiago Ryuiti
      last edited by

      @Thiago-Ryuiti said in Error generating image:

      We did the entire procedure regarding changing the password and reinstalling fogproject,

      Can you explain this? The reason why i ask is that there was some bad instructions on the internet that said to log into the fog server with the user fog and then install FOG. People were getting locked out of the fog account because the installer would reset the password. There was never an intent by the developers for admins to use the fog service account. So the developers changed the name of the service account to fogproject. So you saying “changing the password” is a bit suspect since you should never touch this account.

      So what state is your install in at the moment? Can you ftp to the fog server using the account information in the .fogsettings file (ignoring the bit about sql server for the moment)?

      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!

      I 3 Replies Last reply Reply Quote 0
      • I
        inconnu @george1421
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • I
          inconnu @george1421
          last edited by

          @george1421

          Hi George,

          I work with Thiago. We followed a tutorial written by you back in 2017 where there is an error exactly the same, follow the link below.

          https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

          We put Print below all permissions. I can carry out more tests on Monday.

          1 Reply Last reply Reply Quote 0
          • I
            inconnu @george1421
            last edited by

            @george1421 hi George,

            I tested the FTP connection to move the folders and files and everything works correctly, the problem must be in the DB, correct?

            any idea?

            1505126c-10e2-44f4-8a52-8064b2bfdb48-image.png

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

              @inconnu Is it possible there’s not enough room to put the file?

              I ask because it seems to create the directory needed for image capture, but fail to put the file, so … maybe the disk is simply full?

              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

              I 1 Reply Last reply Reply Quote 0
              • I
                inconnu @Tom Elliott
                last edited by

                @Tom-Elliott

                I have a lot of disk space.

                And congrat for maintain the project live.

                c7f6a8dc-85a0-4b8a-a2a4-1ba74d589fcc-image.png

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

                  @inconnu Ok if you can move the files via ftp then you have the permissions right. Now the login information you used for FTP, go into the web ui and look at the storage node (probably master or default) make sure the ftp settings there are correct. If not correct them.

                  Make sure the /opt/fog/.fogsettings password match what you used for logging into ftp. If yes then rerun the installer.

                  I have not seen issues with the database, but its always possible. In the same .fogsettings file there should be a user name and password for mysql.

                  From the fog server’s linux command line key in mysql -u <fog_use_name_from_settings_file> -p <password_from_file> fog

                  Make sure you can login with the mysql passwords from the config file.

                  If you want to make sure it works you can key in the following from the mysql console.

                  use fog;
                  show tables;
                  exit;
                  

                  It should show you more than just an error message. Especially the show tables command.

                  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!

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    inconnu @george1421
                    last edited by inconnu

                    @george1421

                    Variables (–variable-name=value)
                    and boolean options {FALSE|TRUE} Value (after reading options)


                    abort-source-on-error FALSE
                    auto-rehash TRUE
                    auto-vertical-output FALSE
                    binary-as-hex FALSE
                    character-sets-dir (No default value)
                    column-type-info FALSE
                    comments FALSE
                    compress FALSE
                    debug-check FALSE
                    debug-info FALSE
                    database (No default value)
                    default-character-set auto
                    delimiter ;
                    vertical FALSE
                    force FALSE
                    named-commands FALSE
                    ignore-spaces FALSE
                    init-command (No default value)
                    local-infile FALSE
                    no-beep FALSE
                    host (No default value)
                    html FALSE
                    xml FALSE
                    line-numbers TRUE
                    unbuffered FALSE
                    column-names TRUE
                    sigint-ignore FALSE
                    port 0
                    progress-reports TRUE
                    prompt \N [\d]>
                    protocol
                    quick FALSE
                    raw FALSE
                    reconnect TRUE
                    socket /run/mysqld/mysqld.sock
                    ssl FALSE
                    ssl-ca (No default value)
                    ssl-capath (No default value)
                    ssl-cert (No default value)
                    ssl-cipher (No default value)
                    ssl-key (No default value)
                    ssl-crl (No default value)
                    ssl-crlpath (No default value)
                    tls-version (No default value)
                    ssl-verify-server-cert FALSE
                    table FALSE
                    user fogmaster
                    safe-updates FALSE
                    i-am-a-dummy FALSE
                    connect-timeout 0
                    max-allowed-packet 16777216
                    net-buffer-length 16384
                    select-limit 1000
                    max-join-size 1000000
                    secure-auth FALSE
                    show-warnings FALSE
                    plugin-dir (No default value)
                    default-auth (No default value)
                    binary-mode FALSE
                    connect-expired-password FALSE
                    root@fog:/home/fog#

                    38d7de3e-3e98-4da0-aefb-b3767914c3eb-image.png

                    I had already tested the bank before and it was connecting.

                    But I can log in just by using it.

                    mysql

                    and then the normal procedure.
                    use fog;
                    etc.

                    I 1 Reply Last reply Reply Quote 0
                    • I
                      inconnu @inconnu
                      last edited by

                      @Tom-Elliott @george1421

                      I looked a little at PHP and Udpcast to try to put some debugging in to help me resolve this issue.

                      Can you help us in any way?

                      Yours sincerely,

                      I 1 Reply Last reply Reply Quote 0
                      • I
                        inconnu @inconnu
                        last edited by

                        Hi guys, i install in other two servers and the same error.

                        Sorry for this, but i really need some help :(.

                        Thanks.

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

                          @inconnu From the storage node at 10.1.3.100, with username fogproject and the password associated, you can login, and create files. I see in the FTP code you tested that worked, but where did you get the password you used there?

                          Was that from the /opt/fog/.fogsettings file or the password associated in the UI?

                          I am undersuspicion the password in the DB is incorrect.

                          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

                          I 1 Reply Last reply Reply Quote 0
                          • I
                            inconnu @Tom Elliott
                            last edited by

                            @Tom-Elliott

                            ed9d7c3f-9570-442a-99b4-43edb75ac899-image.png

                            all passwords match those in the configuration file;

                            a12b150d-b091-49dc-af57-a8ad096d51c1-image.png

                            Except this one.

                            I’m soo sorry for multiple messages, but this tool will help us a lot in my environment where I don’t have a Windows server.

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

                              @inconnu The StorageNode user/Pass is only used when you have Storage nodes in your environment. (Which we always do as the “Server” as well, but more meant relating to Additional “Storage Nodes” that communicate with a central system (the server).

                              I don’t think this is the cause of the FTP issues you’re seeing.

                              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

                              I 1 Reply Last reply Reply Quote 0
                              • I
                                inconnu @Tom Elliott
                                last edited by

                                @Tom-Elliott

                                So do you have any idea what I can do or how I can try to debug this?

                                I tried to understand the clone’s source code through the error messages, but I didn’t have much success, if I knew where it is more or less I could try to recompile (if it’s in C) or change PHP to try to find the cause.

                                I’m kind of at a loss as to what to do.

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

                                  @inconnu can you provide your fog servers (10.1.3.100) php-fpm/html error logs from immediately after seeing this error?

                                  I know it’s not a fix persay, but knowing if there’s a server error that we can actually read through might help us understand the problem better.

                                  Particularly due to the fact that it gets to the point of capturing the image, it seems likely there’s some code error, but without knowing what the logs actually show (from the php perspective) I can only take WAGs at this point (Wild assumptive guesses).

                                  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

                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    inconnu @Tom Elliott
                                    last edited by

                                    @Tom-Elliott

                                    Hi Tom,

                                    While I was installing the Log tool as dependencies and started the capture process, it worked.

                                    I tested it on 2 different workstations, both of which worked.

                                    I have no idea why, but I’m happy.

                                    As soon as I do this on more machines, I will return to congratulate you for your support and request closure.

                                    Thank you very much.

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

                                    151

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project