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

    Problem configuring new storage node / creating images

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    17
    5.1k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      The Login credentials it’s requesting are the credentials you use to login to the FOG GUI, this is different from the user the server is using for ftp and such.

      You have no problems logging into the Web Interface correct? Use those same credentials at the quick image screen and all should work.

      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
      • P
        pdpk
        last edited by

        [quote=“Tom Elliott, post: 32232, member: 7271”]The Login credentials it’s requesting are the credentials you use to login to the FOG GUI, this is different from the user the server is using for ftp and such.

        You have no problems logging into the Web Interface correct? Use those same credentials at the quick image screen and all should work.[/quote]

        first thanks for your answer, i forgot to write that the login credentials that i’m using on the quik image screen are the ones from the fog gui. i just got thrown back to the selection menu…

        when i’m using the login credentials of my AD i get an login incorrect error.

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

          Here’s a test you could perform to see if it helps you out.

          Create a generic GUI user. Something as simple as user and password
          and test that.

          If you still have issues, can you get me a copy of your error and access logs?

          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
          • P
            pdpk
            last edited by

            i tried with a new GUI user and still get the same error.

            i would post y error log but the database marked it as spam so i send you a priv massage.

            EDIT: i uploaded a txt file with the error logs…

            [url=“/_imported_xf_attachments/1/1105_logfiles.txt?:”]logfiles.txt[/url]

            1 Reply Last reply Reply Quote 0
            • P
              pdpk
              last edited by

              so i uploaded the files on my post above

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

                Your host does not have an image assigned to it. This is why it’s not working for you. Please assign an image and try again.

                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

                  Also, have you uploaded an image that can be pushed to the client machine?

                  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
                  • P
                    pdpk
                    last edited by

                    okay so now i have weekend, i will try this on monday…

                    i thought the quik image is to create a image of the local device where you boot from…

                    seems that i misunderstood that.

                    thank you in advance for your help, i will post on monday again if it works.

                    1 Reply Last reply Reply Quote 0
                    • P
                      pdpk
                      last edited by

                      Hey Tom,

                      okay, so i am at work now and have tried smth.

                      i created an image. i selected the host and assigned it to the image which i ceated.
                      then i created a basic upload task for my host.

                      i get the following error, i think the configuration of my nfs storage is not configured correctly…
                      [ATTACH=full]1106[/ATTACH]

                      i think theres some trouble becouse my /images/windows folder has no dev folder…

                      i tried to copy/move the dev folder from /images/ to /images/windows but i have no permissions to do this.

                      do you have any ideas?

                      [url=“/_imported_xf_attachments/1/1106_2014-07-07 08.32.55.jpg?:”]2014-07-07 08.32.55.jpg[/url]

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

                        The only thing is you need the dev folder within.

                        FOG Works as such:

                        /images/<imagename(s)> is the actual uploaded images. These are mounted Read-only so as to be used. Inside of the /images/ folder (or in your case, /images/windows/) there should be three things. First, there should be: /images/windows/.mntcheck and /images/windows/dev and /images/windows/dev/.mntcheck

                        Command line ability to do this within linux as root user is:
                        [code]mkdir -pv /images/windows/dev
                        touch /images/windows/{.mntcheck,dev/.mntcheck}
                        chown -R fog:root /images/windows
                        chmod -R 777 /images/windows[/code]

                        Next you need to make sure the exports file is properly setup.

                        Change the references from /images AND /images/dev to /images/windows AND /images/windows/dev respectively. Restart the NFS server with:[code]service nfs restart
                        service nfs-kernel-server restart[/code]

                        This should help.

                        If you don’t have permissions to do this, then find a person who does as these are the required elements to operate with FOG.

                        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
                        • P
                          pdpk
                          last edited by

                          thanks for this explaination,

                          i set up my fog server as you wrote above.
                          after a day of searching i found out why i can’t execute the chown command, it was a fault in my user mapping.

                          now i did the following things:

                          created the dev folder in my /images/windows path
                          created mntcheck in /images/windows and /images/windows/dev
                          chown my /images/windows folder successfully

                          changed my references in /var/www/fog/lib/fog/config.class.php to /images/windows and /images/windows/dev

                          restarted my nfs server.

                          [SIZE=14px][FONT=Arial][COLOR=#000000]Unfortunately i get the same error when i try to upload an image as in the picture above…[/COLOR][/FONT][/SIZE]

                          [SIZE=14px][FONT=Arial][COLOR=#000000]“Failed to mount NFS Volume”[/COLOR][/FONT][/SIZE]

                          [SIZE=14px][FONT=Arial][COLOR=#000000][/COLOR][/FONT][/SIZE]

                          1 Reply Last reply Reply Quote 0
                          • P
                            pdpk
                            last edited by

                            ok so after i read moe and more resources i get a step further.

                            my exports file is correctly configured, the storage nod eis correctly configured now too.

                            the error on uploading the image looks now like this:
                            [ATTACH=full]1120[/ATTACH]

                            seems that there is a error with my nfs share… i’m going to take a deeper look at this.

                            [url=“/_imported_xf_attachments/1/1120_2014-07-09 08.48.43.jpg?:”]2014-07-09 08.48.43.jpg[/url]

                            1 Reply Last reply Reply Quote 0
                            • Gilberto FerrazG
                              Gilberto Ferraz
                              last edited by

                              Hello pdpk

                              to solve your problem you need chanhe the file

                              #sudo nano /etc/exports

                              /images/windows *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsi$
                              /images/windows/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2)

                              1 Reply Last reply Reply Quote 0
                              • Gilberto FerrazG
                                Gilberto Ferraz
                                last edited by

                                exportfs –a

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pdpk
                                  last edited by

                                  [quote=“Gilberto Ferraz, post: 32554, member: 2615”]exportfs –a[/quote]

                                  hello gilberto,

                                  when i ran the command exportfs -a i get the following error:

                                  [CODE]root@OptimusFOG:/images# exportfs -a
                                  exportfs: /etc/exports [1]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/images/windows”.
                                  Assuming default behaviour (‘no_subtree_check’).
                                  NOTE: this default has changed since nfs-utils version 1.0.x

                                  exportfs: /etc/exports [2]: Neither ‘subtree_check’ or ‘no_subtree_check’ specified for export “*:/images/windows/dev”.
                                  Assuming default behaviour (‘no_subtree_check’).
                                  NOTE: this default has changed since nfs-utils version 1.0.x

                                  exportfs: /images/windows/dev does not support NFS export
                                  exportfs: /images/windows does not support NFS export[/CODE]

                                  my share is on a NTFS formated HDD maybe this is the problem?

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    pdpk
                                    last edited by

                                    ok it works. i changed the exports back to it’s defaults and now it works!

                                    thanks tom for your help and thanks gilberto!

                                    now this post can be closed!

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

                                    195

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project