• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
10.9k
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.
  • W
    Wayne Workman
    last edited by May 20, 2015, 12:04 PM

    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
    • T
      Tom Elliott
      last edited by May 20, 2015, 12:09 PM

      @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

      P 1 Reply Last reply May 20, 2015, 12:37 PM Reply Quote 0
      • P
        Polii123
        last edited by May 20, 2015, 12:12 PM

        Didn’t help either…

        1 Reply Last reply Reply Quote 0
        • P
          Polii123 @Tom Elliott
          last edited by May 20, 2015, 12:37 PM

          @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
          • T
            Tom Elliott
            last edited by May 20, 2015, 12:39 PM

            @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
            • P
              Polii123
              last edited by May 20, 2015, 12:49 PM

              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}');
              
              
              T 1 Reply Last reply May 20, 2015, 12:54 PM Reply Quote 0
              • T
                Tom Elliott @Polii123
                last edited by May 20, 2015, 12:54 PM

                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
                • P
                  Polii123
                  last edited by Polii123 May 20, 2015, 6:59 AM May 20, 2015, 12:59 PM

                  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?

                  C 1 Reply Last reply May 20, 2015, 1:01 PM Reply Quote 0
                  • C
                    ch3i Moderator @Polii123
                    last edited by May 20, 2015, 1:01 PM

                    @Polii123 said:

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

                    Maybe a ghost lol

                    P 1 Reply Last reply May 20, 2015, 1:03 PM Reply Quote 1
                    • P
                      Polii123 @ch3i
                      last edited by May 20, 2015, 1:03 PM

                      @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. 😂

                      T 1 Reply Last reply May 20, 2015, 1:05 PM Reply Quote 1
                      • T
                        Tom Elliott @Polii123
                        last edited by May 20, 2015, 1:05 PM

                        @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
                        • 2 / 2
                        2 / 2
                        • First post
                          21/22
                          Last post

                        227

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project