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

    Can't search client list

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    23
    5.2k
    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.
    • S
      seq-nate
      last edited by

      I am working at integrating FOG into my network. I have been running FOG on a laptop and imaging separately. I created the new server (Ubuntu 13.10) and installed FOG. I then exported the clients from the database on my old server and imported them into new server. If I select “list all hosts”, It displays all the hosts imported however if I try to search specifically for one machine it tells me “Error searching, please try again…”

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

        What version of 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
        • S
          seq-nate
          last edited by

          Sorry, I forgot that.
          .32

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

            It sounds like data isn’t where it should be.

            Do all systems have OSID, ImageID, Inventory, the correct MAC’s, etc…?

            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
            • S
              seq-nate
              last edited by

              I only imported the hosts so ImageID is missing. OSID, Hostname, MAC are there. Hardware info is not.

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

                When you’re searching it’s attempting to find the reference data in the images, inventory, and hostOS field. If those fields are blank, I’d imaging it would be rather tough to find all that data.

                You could attempt a manual search to see if you find any data.

                Look in the file {fogwebdir}/lib/HostManager.class.php for the search function. It will display the sql you need to test 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
                • S
                  seq-nate
                  last edited by

                  just to test it, I deleted a host and then went through the procedure to register the host and I get the same result searching for the newly registered machine.

                  1 Reply Last reply Reply Quote 0
                  • S
                    seq-nate
                    last edited by

                    Searching through the host db it appears that it did successfully import the identifier fields.

                    1 Reply Last reply Reply Quote 0
                    • S
                      seq-nate
                      last edited by

                      It appears that the search function is not working correctly being that the necessary fields are populated and also my test of a new import. Is there somewhere else I can be looking?

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

                        I haven’t a clue as to where to begin looking.

                        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
                        • S
                          seq-nate
                          last edited by

                          I cleared the host table, added a new test host and tried to search and still have the same result.

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

                            And you’re sure, what you’re searching for, is actually in the table?

                            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
                            • S
                              seq-nate
                              last edited by

                              Yes, when I cleared the table I created a new host entry and search for the host name I entered.

                              1 Reply Last reply Reply Quote 0
                              • C
                                chad-bisd Moderator
                                last edited by

                                check your apache log to see if you are getting a php error. turn on your developer tools in your browser to see if you are getting a javascript/ajax type error also.


                                If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                1 Reply Last reply Reply Quote 0
                                • S
                                  seq-nate
                                  last edited by

                                  only thing in apache log is:
                                  [CODE]10.10.1.68 - - [29/Jan/2014:14:55:45 -0700] “GET /fog/management/ajax/host.search.php?crit=test&_=1391032548832 HTTP/1.1” 500 342 “http://10.10.1.101/fog/management/index.php?node=host&sub=newsearch” “Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0”[/CODE]

                                  The only thing I am seeing in dev tools is that it is throwing ‘ERROR_SEARCHING’ but don’t see why.

                                  I have completely removed FOG and the MYSQL database and did a fresh install without any modification or imports and still getting the same problem.

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

                                    Whats the version of php that you’re using?

                                    If it’s > than 5.3, chances are this is your issue.

                                    Try searching and removing anything referencing &$tmp and remove the &.

                                    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
                                    • C
                                      chad-bisd Moderator
                                      last edited by

                                      What browser and version are you using (Chrome, Sarfari, Firefox, IE, Opera, etc)?


                                      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

                                        Looks like firefox to me. 🙂 Gecko/20100101 Firefox/26.0

                                        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
                                        • C
                                          chad-bisd Moderator
                                          last edited by

                                          Oh yeah, I see that now. I forgot how to scroll 😄

                                          Could this be an ajax type problem on the client side rather than an error on the server side?


                                          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            chad-bisd Moderator
                                            last edited by

                                            And I’d be willing to do a teamviewer type session to look at your setup sometime.


                                            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

                                            175

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project