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

    Capturar imagen en un segundo disco que he montado

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    23
    2.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.
    • george1421G
      george1421 Moderator @Fernando Gietz
      last edited by

      @Fernando-Gietz said in Capturar imagen en un segundo disco que he montado:

      Hay dos usuarios fog, uno usuario del sistema linux y otro que es el administrador de la consolo web. son usuarios diferentes con claves diferentes.

      Comprueba que /images2, el directorio, tiene permisos 777 para que el usuario fog de linux pueda acceder a él.

      Thank you! Well said.

      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!

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

        @oliver said in Capturar imagen en un segundo disco que he montado:

        Cuando dices que compruebe que el usuario fog en esa maquina accede con esa contraseña, te refieres al servidor de fog?
        los permisos que tiene la carpeta images2 son

        To test this you should log into the fog server using the ftp client on a microsoft windows computer. FTP to the fog server, use the user ID of fog and the password found in the .fogsettings file (yes it will be long random characters).

        When you log into the ftp server on the fog server change to the /images2 directory. And then create a test directory.

        cd /images2
        mkdir /images2/test
        

        I will guess it will error because the fog linux user does not have rights to make files in /images2 or does not have rights to delete files in /images2/dev directory. But directory permissions is the problem. You can check with the ftp program.

        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!

        O 1 Reply Last reply Reply Quote 0
        • O
          oliver @george1421
          last edited by

          @george1421 said in Capturar imagen en un segundo disco que he montado:

          Comprueba que /images2, el directorio, tiene permisos 777 para que el usuario fog de linux pueda acceder a él.

          pero en el pantallazo anterior e muestra que el usuario fog tiene todos los permisos no?

          1 Reply Last reply Reply Quote 0
          • F
            Fernando Gietz Developer
            last edited by

            Los directorios que cuelgan de /images2 pueden tener todos los permisos habilitados pero si /images2 no los tiene, no puede acceder

            drwxrwxrwx  284 fog  root 16384 oct 11 14:11 images
            
            O 1 Reply Last reply Reply Quote 0
            • O
              oliver @george1421
              last edited by

              @george1421 said in Capturar imagen en un segundo disco que he montado:

              But directory permissions is the problem. You can check with the ftp program.

              Good morning, I entered with the user fog de linux in ftp and let me create the test directory in \ images2 and another one in \ images2 \ dev with which I understand that it is not a permissions problem

              1 Reply Last reply Reply Quote 0
              • O
                oliver @Fernando Gietz
                last edited by

                @Fernando-Gietz
                buenos dias, yo no veo ninguna diferencia

                33122456-bbc0-4466-ac28-baaaaed5db7e-image.png

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @oliver Is this CentOS? Please Run getenforce and post output here!

                  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

                  O 2 Replies Last reply Reply Quote 0
                  • O
                    oliver @Sebastian Roth
                    last edited by

                    @Sebastian-Roth said in Capturar imagen en un segundo disco que he montado:

                    Is this CentOS? Please Run getenforce and post output here

                    good morning

                    when running getenforce disable appears

                    1 Reply Last reply Reply Quote 0
                    • O
                      oliver @Sebastian Roth
                      last edited by

                      @Sebastian-Roth
                      [Mon Oct 14 09:19:37 2019] [error] [client 172.95.21.34] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 464

                      [11-Oct-2019 10:42:38] NOTICE: Terminating …
                      [11-Oct-2019 10:42:38] NOTICE: exiting, bye-bye!
                      [11-Oct-2019 10:43:30] NOTICE: fpm is running, pid 2045
                      [11-Oct-2019 10:43:30] NOTICE: ready to handle connections

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by

                        @oliver Check the FTP password in /var/www/html/fog/lib/fog/config.class.php!

                        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

                        O 1 Reply Last reply Reply Quote 0
                        • O
                          oliver @Sebastian Roth
                          last edited by

                          @Sebastian-Roth
                          hi.

                          the password is correct, it is the same one with which I opened the ftp with a client (filezilla)

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by

                            @oliver Username fog or fogproject? Which version of FOG do you have?

                            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

                            O 1 Reply Last reply Reply Quote 0
                            • O
                              oliver @Sebastian Roth
                              last edited by

                              @Sebastian-Roth
                              user fog
                              version 1.5.5

                              1 Reply Last reply Reply Quote 0
                              • S
                                Sebastian Roth Moderator
                                last edited by

                                @oliver The error message “Warning: ftp_login(): Login incorrect.” is very clear. Double check it all!!!

                                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

                                O 1 Reply Last reply Reply Quote 0
                                • O
                                  oliver @Sebastian Roth
                                  last edited by

                                  @Sebastian-Roth
                                  solved
                                  the problem was in the user with whom I had configured the storage node, you have to put the administrator of linux and not the one of the web

                                  george1421G 1 Reply Last reply Reply Quote 0
                                  • george1421G
                                    george1421 Moderator @oliver
                                    last edited by Sebastian Roth

                                    @oliver just so you know the linux user fog or fogproject should never be used for system administration. These accounts are owned by the fog program and will reset their passwords each time you install FOG.

                                    We are glad you have it working now.

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

                                    180

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project