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

    Call Trace??

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    36
    12.7k
    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.
    • N
      Nathan Blehi
      last edited by

      [quote=“Tom Elliott, post: 34328, member: 7271”]I don’t understand what you mean[/quote]

      When I try and log into the GUI, I get “unable to connect to database”

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

        When did you start having this problem

        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
        • N
          Nathan Blehi
          last edited by

          [quote=“Tom Elliott, post: 34330, member: 7271”]When did you start having this problem[/quote]

          Right after I updated to Ubuntu 12.04.

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

            Did you try restarting the MySQL server service

            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
            • JunkhackerJ
              Junkhacker Developer
              last edited by

              ok, tom’s on his way home and can’t answer at the moment. i’ll try to help you out here
              the “unable to connect to database” is typically either because the database is not running, or more commonly because the password is incorrect for the database.
              after you updated from 11.4 to 12.04, did you reboot?

              signature:
              Junkhacker
              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

              1 Reply Last reply Reply Quote 0
              • N
                Nathan Blehi
                last edited by

                [quote=“Junkhacker, post: 34333, member: 21583”]ok, tom’s on his way home and can’t answer at the moment. i’ll try to help you out here
                the “unable to connect to database” is typically either because the database is not running, or more commonly because the password is incorrect for the database.
                after you updated from 11.4 to 12.04, did you reboot?[/quote]

                I did reboot but to no luck. Sorry if I am being dumb. I am new to all of this.

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

                  It’s not being dumb it’s just you don’t know that’s why we ask the questions we us so we can try and get the answers you need

                  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
                  • JunkhackerJ
                    Junkhacker Developer
                    last edited by

                    it’s ok. just go ahead and update to 1.2 now, the fog installer will either fix the mysql problem, or it should be easy to fix afterward anyway.

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • N
                      Nathan Blehi
                      last edited by

                      [quote=“Junkhacker, post: 34336, member: 21583”]it’s ok. just go ahead and update to 1.2 now, the fog installer will either fix the mysql problem, or it should be easy to fix afterward anyway.[/quote]

                      Is there an easy way to update? I tried looking on the WIKI and found ways to install FOG but not update.

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

                        Simply download installer. if you’ve got a good prior installation it will just update what you’ve currently got

                        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
                        • N
                          Nathan Blehi
                          last edited by

                          [quote=“Tom Elliott, post: 34340, member: 7271”]Simply download installer. if you’ve got a good prior installation it will just update what you’ve currently got[/quote]
                          I get this error when I try to run the setup.

                          Archive: /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe
                          [/home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe]
                          End-of-central-directory signature not found. Either this file is not
                          a zipfile, or it constitutes one disk of a multi-part archive. In the
                          latter case the central directory and zipfile comment will be found on
                          the last disk(s) of this archive.
                          note: /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe may be a plain executable, not an archive
                          zipinfo: cannot find zipfile directory in one of /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe or
                          /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe.zip, and cannot find /home/mcasd-fogserver/Desktop/fog_1.2.0/FOG Service/bin/setup.exe.ZIP, period.

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

                            [code]cd /home/mcasd-fogserver/Desktop/fog_1.2.0/bin
                            sudo ./installfog.sh[/code]

                            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
                            • JunkhackerJ
                              Junkhacker Developer
                              last edited by

                              use this guide [url]http://www.fogproject.org/wiki/index.php/SVN[/url]
                              but use this address:
                              svn checkout svn://svn.code.sf.net/p/freeghost/code/trunk freeghost-code
                              instead of this address:
                              [url]https://svn.code.sf.net/p/freeghost/code/trunk[/url]

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                              1 Reply Last reply Reply Quote 0
                              • JunkhackerJ
                                Junkhacker Developer
                                last edited by

                                tom’s way works too. i just find svn easier

                                signature:
                                Junkhacker
                                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  Nathan Blehi
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • N
                                    Nathan Blehi
                                    last edited by

                                    [quote=“Tom Elliott, post: 34348, member: 7271”][code]cd /home/mcasd-fogserver/Desktop/fog_1.2.0/bin
                                    sudo ./installfog.sh[/code][/quote]

                                    When I visit my GUI, I get database schema installer/ updater prompted to Install/upgrade. When clicked I get a long list of errors.

                                    1 Reply Last reply Reply Quote 0
                                    • JunkhackerJ
                                      Junkhacker Developer
                                      last edited by

                                      ok, that means that you still have your database issue. do you know if the database had a password before you upgraded? it is likely that the password is incorrect in [FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php[/COLOR][/FONT]

                                      signature:
                                      Junkhacker
                                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        Nathan Blehi
                                        last edited by

                                        [quote=“Junkhacker, post: 34363, member: 21583”]ok, that means that you still have your database issue. do you know if the database had a password before you upgraded? it is likely that the password is incorrect in [FONT=arial][COLOR=#262626]/var/www/fog/lib/fog/Config.class.php[/COLOR][/FONT][/quote]

                                        When opened, Do I type my password in…?

                                        define(‘DATABASE_TYPE’, ‘mysql’); // mysql or oracle
                                        define(‘DATABASE_HOST’, ‘localhost’);
                                        define(‘DATABASE_NAME’, ‘fog’);
                                        define(‘DATABASE_USERNAME’, ‘root’);
                                        define(‘DATABASE_PASSWORD’, ’ ');

                                        1 Reply Last reply Reply Quote 0
                                        • JunkhackerJ
                                          Junkhacker Developer
                                          last edited by

                                          if you know what the root mysql user password is enter it between the empty quotes here
                                          define(‘DATABASE_PASSWORD’, ’ ');
                                          if you do not know what the password is, we will need to reset it

                                          signature:
                                          Junkhacker
                                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                          1 Reply Last reply Reply Quote 0
                                          • N
                                            Nathan Blehi
                                            last edited by

                                            [quote=“Junkhacker, post: 34366, member: 21583”]if you know what the root mysql user password is enter it between the empty quotes here
                                            define(‘DATABASE_PASSWORD’, ’ ');
                                            if you do not know what the password is, we will need to reset it[/quote]

                                            That’s what I thought, but when I type in what I think the password is, I can’t save it… Is that normal?

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

                                            152

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project