• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
28.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.
  • I
    inafog9 @Tom Elliott
    last edited by Mar 24, 2016, 4:51 PM

    @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 Mar 24, 2016, 4:56 PM

      @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 Mar 24, 2016, 5:05 PM Reply Quote 0
      • I
        inafog9 @Sebastian Roth
        last edited by Mar 24, 2016, 5:05 PM

        @Sebastian-Roth I had to use my root password to access.

        1 Reply Last reply Reply Quote 0
        • I
          inafog9 @Tom Elliott
          last edited by Mar 24, 2016, 5:51 PM

          @Tom-Elliott I was looking for an answer and I noticed I do not have /var/www/fog/lib/fog/Config.class.php. Could that be my issue?

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sebastian Roth Mar 24, 2016, 12:07 PM Mar 24, 2016, 6:06 PM

            @inafog9 Please show us what you see from those two commands: ls -al /var/www and ls /var/www/fog/lib/fog

            In FOG trunk all the filenames are lower case so it might be: /var/www/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

            I 1 Reply Last reply Mar 24, 2016, 6:10 PM Reply Quote 0
            • I
              inafog9 @Sebastian Roth
              last edited by Mar 24, 2016, 6:10 PM

              @Sebastian-Roth
              0_1458842903915_upload-da9bda2e-08f1-4d9d-807a-8ccb60d0f094
              0_1458842999429_upload-d16d5623-1b54-426b-8061-bdd8660cca80
              0_1458843012214_upload-dc47371a-2dab-4e3f-b842-1dfbb943d112
              0_1458843028405_upload-2dbbc414-3aec-4c86-a450-4f8b65f74d34
              0_1458843042881_upload-f705e889-631a-4ba4-b0ba-16c01fa166d5

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Sebastian Roth Mar 24, 2016, 12:34 PM Mar 24, 2016, 6:33 PM

                Well there is old and new installation mixed up now… ls -al /var/www/html/fog/lib/fog/config.class.php

                And better change the ownership of the new www files: chown -R www-data:www-data /var/www/html

                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 Mar 24, 2016, 6:41 PM Reply Quote 0
                • I
                  inafog9 @Sebastian Roth
                  last edited by Mar 24, 2016, 6:41 PM

                  @Sebastian-Roth I ran both commands but I’m still not able to get past the Database Schema Installer / Updater.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by Mar 24, 2016, 7:00 PM

                    Check the credentials 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

                    I 1 Reply Last reply Mar 24, 2016, 7:10 PM Reply Quote 0
                    • I
                      inafog9 @Sebastian Roth
                      last edited by Mar 24, 2016, 7:10 PM

                      @Sebastian-Roth What should I be looking for?

                      0_1458846510256_upload-e2f17cd3-8016-4252-a679-1133633e6b3f

                      T 1 Reply Last reply Mar 24, 2016, 7:11 PM Reply Quote 0
                      • T
                        Tom Elliott @inafog9
                        last edited by Mar 24, 2016, 7:11 PM

                        @inafog9 in the Config file remove the password from the database_password line

                        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 Mar 24, 2016, 7:15 PM Reply Quote 0
                        • I
                          inafog9 @Tom Elliott
                          last edited by inafog9 Mar 24, 2016, 1:17 PM Mar 24, 2016, 7:15 PM

                          @Tom-Elliott I removed the password from config.class.php but that did not work. Should I also remove the password from .fogsettings?

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Sebastian Roth Mar 24, 2016, 1:56 PM Mar 24, 2016, 7:55 PM

                            So I guess there was a password set in your database from FOG 1.0.1… too bad that the “old” Config.class.php (upper case ‘C’) file is not where it should be.

                            You need to somehow find out your DB credentials. Try connecting using the command line client:

                            mysql --user=root -p
                            Enter password:
                            ...
                            mysql --user=fog -p
                            Enter password:
                            ...
                            

                            Try different passwords (as well empty by just hitting ENTER on the password prompt) till you find the correct login credentials! As well try the password from your last screenshot (maybe with user ‘fog’).

                            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 Mar 24, 2016, 7:59 PM Reply Quote 0
                            • I
                              inafog9 @Sebastian Roth
                              last edited by Mar 24, 2016, 7:59 PM

                              @Sebastian-Roth I know the password. I have tried to enter it into the .fogsettings several times and I still get the same error when logging into fog

                              0_1458849462592_upload-adc0b8e4-9a18-41cc-bc75-2101c4a402f5

                              1 Reply Last reply Reply Quote 0
                              • T
                                Tom Elliott
                                last edited by Mar 24, 2016, 10:49 PM

                                We were able to get the stuff figured out. YAY!

                                The connection is now operational. FOG Interface displays properly.

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

                                180

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project