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

    Can't send inventory.. PLS HLP

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    40
    15.8k
    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.
    • T
      Todd King
      last edited by

      I checked the /opt/fog/service/etc/config.php and noticed that the SQL username was blank… Should Root be added here?
      [IMG]https://dl.dropboxusercontent.com/u/40787797/IMG_2740.jpg[/IMG]

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

        Yes, but your main file dealing with that needs to match:

        /var/www/fog/commons/config.php

        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

          Your host should be the FOG SERVER IP (not Localhost or 127.0.0.1)

          The database should, typically, be called fog

          The Username is usually root. If you have a different username, then use that, but typically it’s fog.

          Did you set a password for the database? If you did, make sure that is correct as well.

          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
            Todd King
            last edited by

            Tom
            I found in the /var/www/fog/commons/config.php the MYSQL_Host was set to “localhost”. I changed the “localhost” to the IP address of the server and rebooting. I just want to confirm that is the correct change for the MYSQL_Host variable.

            Thanks

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

              It should be correct, but did you verify the database name, username, and password fields were all correct?

              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
                Todd King
                last edited by

                Tom

                After I changed the MYSQL_Host variable to the IP address it now when I try to PXE boot times out at the TFTP portion of the PXE boot… It pulls but doesn’t go past that stage.

                Thanks

                1 Reply Last reply Reply Quote 0
                • T
                  Todd King
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    then change the host part back to localhost for both the /opt/fog/service/etc/config.php and the /var/www/fog/commons/config.php

                    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
                      Todd King
                      last edited by

                      I changed it back and now it is still crapping out on the TFTP… The database name and password are correct… Can you post an image of what both of those files should look like so I have something to compare it to…

                      Thanks

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

                        I really can’t.

                        However, try running service tftp-hpa stop; service tftp-hpa start

                        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
                          Todd King
                          last edited by

                          Now I am getting an unrecognized service.

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

                            I don’t know your system. I don’t know your particular setup.

                            Unrecognized service means something is not being typed properly.

                            What ever the commands where that restarted your tftp services yesterday should be the same today, unless somebody uninstalled that program.

                            To find the service, open a terminal and perform:

                            sudo ls /etc/init.d

                            Look for a the files called tftp. I think it may be tftpd-hpa

                            so maybe try:

                            sudo service tftpd-hpa restart.

                            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
                              Todd King
                              last edited by

                              I was able to restart the service. It went back to doing the same original issue. So I changed the files again, restarted the server, restarted the services, with changed files and still will not register the host.

                              This is not working out to well. 😞

                              1 Reply Last reply Reply Quote 0
                              • Jaymes DriverJ
                                Jaymes Driver Developer
                                last edited by

                                Since this is a blank server with no data on it yet have you entertained the idea of re-naming the installation directory and re-installing the server again?

                                I blew my server away and re-configured it about 5 times before I found the method that worked with my hardware.

                                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Todd King
                                  last edited by

                                  I have done this twice… Thinking it is a configuration issue or I missed something during the setup. I am new to both Fog and Ubuntu. Both times I have blown away the system and the fog… First time I was able to get an inventory of the same machine, but it wouldn’t pull the image… This time I can’t even get it to do the inventory.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Todd King
                                    last edited by

                                    Ok… After some assistance from Jaymes I am now able to do an inventory, however when it tries to uploade the image it says can’t find image store.

                                    I have completely rebuilt the Ubuntu and the Fog server. So I am getting closer to uploading an image…

                                    Pls Advise

                                    Thanks in advance.

                                    1 Reply Last reply Reply Quote 0
                                    • Jaymes DriverJ
                                      Jaymes Driver Developer
                                      last edited by

                                      Did you first create an image in the Web GUI before trying to upload the image?

                                      WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

                                        The task won’t be created if the GUI doesn’t have the information to store it to.

                                        Is the portmap service and nfs-kernel-server service running?

                                        Also, is your images folder the one FOG creates during installation or did you create it yourself?

                                        If you created it yourself, lets just say at /data/somewhereelse/images, make sure you add that to the storage group. If it’s within the same server, you’ll probably need to edit the /etc/exports file to serve the NFS share to the new location rather than, /image /images/dev

                                        Also, if you created the directory for images yourself, make sure you have the .mntcheck files within. All you have to do is run:

                                        [code]touch /images/.mntcheck; touch /images/dev/.mntcheck[/code]
                                        [b]Change the /images part to match your file structure[/b]

                                        Then run:
                                        [code]chmod -R 777 /images[/code]
                                        [b]Again…change the /images part to match your file structure[/b]

                                        I don’t know how else to help.

                                        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
                                          Todd King
                                          last edited by

                                          Ok… Just wanted to give an update… After a lot of changes and troubleshooting and much much thanks to Jaymes and Tom… I am finally able to upload my first image. Fingers crossed I am at 17% upload… Next will be the deploy.

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

                                            I’m glad that this is finally working, but at a loss as to what you did to fix the problem. Could you maybe post, as detailed as you can, what you did to troubleshoot and fix this issue so others that may run into this can find this thread?

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

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project