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

    Database Schema Installer / Updater not working

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    svn3427 update database
    5
    22
    11.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.
    • J
      Joe Schmitt Senior Developer
      last edited by Joe Schmitt

      @Polii123 Are you sure SQL is running?

      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.

      1 Reply Last reply Reply Quote 0
      • Polii123P
        Polii123
        last edited by

        Yes, i can connect to the database fine with phpmyadmin.

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

          Could you try re-installing MySQL / MariaDB (don’t know which one you have).

          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/

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

            @Polii123 said:

            php_network_getaddresses: getaddrinfo failed: Name or service not known

            Also, what changed? Did you update the OS or system?

            This particular error is not something I coded or anything. It seems to be coming from either (or both) apache/PHP.

            http://albertech.net/2011/05/fix-php_network_getaddresses-getaddrinfo-failed-name-or-service-not-known/

            That’s a link I found pertaining to the first part of the error you’re seeing.

            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

            Polii123P 1 Reply Last reply Reply Quote 0
            • Polii123P
              Polii123
              last edited by

              Didn’t help either…

              1 Reply Last reply Reply Quote 0
              • Polii123P
                Polii123 @Tom Elliott
                last edited by

                @Tom-Elliott

                Din’t saw your post, yeah i found that link too. Nslookup works, i restarted apache, restarted the hole server.

                The only change i made was update to the latest SVN…

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

                  @Polii123 said:

                  @Tom-Elliott

                  Din’t saw your post, yeah i found that link too. Nslookup works, i restarted apache, restarted the hole server.

                  The only change i made was update to the latest SVN…

                  Does your /etc/hosts file have the proper host? What host is the Config.class.php file looking for?

                  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
                  • Polii123P
                    Polii123
                    last edited by

                    hosts

                    127.0.0.1	localhost
                    127.0.1.1	Fogagh02.gibwintra.ch	Fogagh02
                    

                    /var/www/fog/lib/fog/config.calss.php

                    ('DATABASE_HOST',		'{localhost}');
                    
                    
                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @Polii123
                      last edited by

                      Do me a favor and remove the curly braces from the database host line.
                      @Polii123 said:

                      hosts

                      127.0.0.1	localhost
                      127.0.1.1	Fogagh02.gibwintra.ch	Fogagh02
                      

                      /var/www/fog/lib/fog/config.calss.php

                      ('DATABASE_HOST',		'{localhost}');
                      
                      

                      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
                      • Polii123P
                        Polii123
                        last edited by Polii123

                        intresting…

                        Access denied for user '{root}'@'localhost' (using password: YES), Message: Check that database is running
                        

                        I also removed the curly braces from the username and password line, and my server works!

                        But how did they come into my config.class.php file?

                        ch3iC 1 Reply Last reply Reply Quote 0
                        • ch3iC
                          ch3i Moderator @Polii123
                          last edited by

                          @Polii123 said:

                          But how did they come into my config.class.php file?

                          Maybe a ghost lol

                          Polii123P 1 Reply Last reply Reply Quote 1
                          • Polii123P
                            Polii123 @ch3i
                            last edited by

                            @ch3i said:

                            @Polii123 said:

                            But how did they come into my config.class.php file?

                            Maybe a ghost lol

                            F*****g ghots 😡 I think Tom has to code some ghostbusters, so things like that won’t happen again. 😂

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

                              @Polii123 said:

                              @ch3i said:

                              @Polii123 said:

                              But how did they come into my config.class.php file?

                              Maybe a ghost lol

                              F*****g ghots 😡 I think Tom has to code some ghostbusters, so things like that won’t happen again. 😂

                              3430 should not allow the brackets at all. I don’t know why it did it to begin with, but worse things have happened I suppose?

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

                              177

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project