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

    Fog issue with new Dell optiplex 7040

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    5
    59
    27.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.
    • I
      inafog9 @Tom Elliott
      last edited by

      @Tom-Elliott Thanks everyone for your help. After the last dns changes didn’t work I set the dns back to what we normally use. I’m able to ping by name and the current install of fog is letting me download new kernels. I was never able to do that in the past.

      I’m still having the issue attempting to send inventory so I will try the trunk update.

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

        @inafog9 Well then I guess what going on is that queries to external DNS servers is NOT allowed! You need to use your internal DNS servers. Most probably those had some kind of issue (when you had trouble at first) which is now solved. Ask your colleges…

        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
        • I
          inafog9 @Tom Elliott
          last edited by

          @Tom-Elliott I started the trunk install and it failed at the end.

          0_1458829483438_upload-b955b911-765a-43cb-8957-7b5d9f7f97a4

          0_1458829602581_upload-649f11d2-7546-45e7-b342-f1765915843c

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @inafog9
            last edited by

            @inafog9 I suppose an address with two forward slashes won’t work. @Tom-Elliott

            /var/www/html/fog//management/reports/*

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            I 1 Reply Last reply Reply Quote 0
            • I
              inafog9 @Wayne Workman
              last edited by

              @Wayne-Workman that happens when I run ./installfog/sh Is this something with the install file?

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

                @inafog9 The slashes aren’t the problem at all.

                My guess is it thinks the data is in /var/www/html, which isn’t present on that system at the moment.

                That all said, there shouldn’t be any problem with that in trunk. What’s the output of

                svnversion from within the svn/trunk folder?

                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
                  inafog9 @Tom Elliott
                  last edited by

                  @Tom-Elliott 5113

                  0_1458831146875_upload-4b20f822-ee60-4ae1-9f6b-0d53347269a9

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

                    @inafog9 can you try to run sudo using sudo -i and try again? My guess is some of the commands aren’t available with full permissions because (and again I’m just guessing) you’re sudoed to root using simply sudo su.

                    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
                      inafog9 @Tom Elliott
                      last edited by

                      @Tom-Elliott I’m logged in as the root user. I tried the sudo -i then the install and it still fails on the backing up user reports.

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

                        @inafog9 Does the /var/www/html/fog/management/reports/ directory exist on your system?

                        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
                          inafog9 @Tom Elliott
                          last edited by

                          @Tom-Elliott yes
                          0_1458833225451_upload-fbd9aff7-fe1c-484a-9a7b-d74f8464b009

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

                            @inafog9 In the trunk folder, what’s it show for the backupReports() function in the file trunk/lib/common/functions.sh around lines 85 through 94?

                            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
                              inafog9 @Tom Elliott
                              last edited by

                              @Tom-Elliott 0_1458833548360_upload-555f3f51-524b-4521-a935-b71196f70e63

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

                                @inafog9 Can you update again and try again? I am not going to force this part to fail any more. I’m also writing the info to the error logs so we can get more info for this later on.

                                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
                                • I
                                  inafog9
                                  last edited by

                                  Sure, Do you want me to run the entire trunk upgrade again? Starting with downloading the svn?

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

                                    @inafog9 No, you should be able to just run svn up from the root of the trunk folder: /opt/fog/trunk (or wherever it’s located).

                                    Running svn up in the bin won’t update all the other folders below it.

                                    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
                                      inafog9 @Tom Elliott
                                      last edited by

                                      @Tom-Elliott I was able to get past the report section. Once it got to the database portion it said successful but lots of errors. I was not prompted to enter root password.

                                      pdate ID: 1 - 0
                                      
                                      Database Error:
                                      
                                      Access denied for user 'root'@'localhost' (using password: YES), Message: Check that database is running
                                      Database SQL:
                                      
                                      CREATE DATABASE fog
                                      Update ID: 1 - 1
                                      
                                      Database Error:
                                      
                                      Access denied for user 'root'@'localhost' (using password: YES), Message: Check that database is running
                                      Database SQL:
                                      
                                      CREATE TABLE `fog`.`groupMembers` ( `gmID` int(11) NOT NULL auto_increment, `gmHostID` int(11) NOT NULL, `gmGroupID` int(11) NOT NULL, PRIMARY KEY (`gmID`),
                                      KEY `new_index` (`gmHostID`),
                                      KEY `new_index1` (`gmGroupID`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1 ROW_FORMAT=DYNAMIC
                                      Update ID: 1 - 2
                                      
                                      Database Error:
                                      
                                      Access denied for user 'root'@'localhost' (using password: YES), Message: Check that database is running
                                      Database SQL:
                                      
                                      CREATE TABLE `fog`.`groups` ( `groupID` int(11) NOT NULL auto_increment, `groupName` varchar(50) NOT NULL, `groupDesc` longtext NOT NULL, `groupDateTime` datetime NOT NULL, `groupCreateBy` varchar(50) NOT NULL, `groupBuilding` int(11) NOT NULL, PRIMARY KEY (`groupID`),
                                      KEY `new_index` (`groupName`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1
                                      Update ID: 1 - 3
                                      
                                      Database Error:
                                      
                                      Access denied for user 'root'@'localhost' (using password: YES), Message: Check that database is running
                                      Database SQL:
                                      
                                      CREATE TABLE `fog`.`history` ( `hID` int(11) NOT NULL auto_increment, `hText` longtext NOT NULL, `hUser` varchar(200) NOT NULL, `hTime` datetime NOT NULL, `hIP` varchar(50) NOT NULL, PRIMARY KEY (`hID`) ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=latin1
                                      
                                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @inafog9
                                        last edited by Sebastian Roth

                                        @inafog9 Check your /opt/fog/.fogsettings file. Look for the snmysqlpass= field.

                                        If you don’t have a mysql password set, delete the contents of that line so it reads as snmysqlpass=''

                                        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 2 Replies Last reply Reply Quote 0
                                        • I
                                          inafog9 @Tom Elliott
                                          last edited by

                                          @Tom-Elliott I removed the password from the file but i’m still prompted to update the database and I get the same errors. I’m not sure if there was a password used.

                                          0_1458838284840_upload-984031d2-a232-4389-af5d-02efaea6ed57

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

                                            @inafog9 Can you connect to the database using the mysql command line client? mysql --user=root -p (for empty password just hit enter on password prompt)

                                            Don’t empty all the mysql settings in .fogsettings!!!

                                            ...
                                            snmysqluser='root'
                                            snmysqlpass=''
                                            snmysqlhost='127.0.0.1'
                                            ...
                                            

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

                                            193

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project