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

    Can't logon to FOG website; database errors

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    4
    1.6k
    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.
    • G
      Greg Martin
      last edited by

      Okay, I have two issues that I’m not sure how to get resolved. I had FOG setup on another server, but the space was limited so I’ve been working on getting it to work on another machine. I’m using Ubuntu 12.04 Server to install FOG onto.

      1. In my PXE menu, when I goto inventory a machine I get an error message stating "unknown database ‘fog’ "
      2. The web gui just says “It Works, but there is no content added”.

      If someone could help me on this I would appreciate it.

      Thanks,
      Greg

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

        When entering your website, go to:

        [url]http://<FOGIPADDRESS>/fog[/url]

        Then you should be redirected to FOG Management

        Make sure your configuration file in:
        /var/www/fog/commons/config.php (UBUNTU BASED)
        /var/www/html/fog/commons/config.php (REDHAT BASED)

        Have your SQL information pointing to the right area. From the sounds of it though, you’re database hasn’t been created yet as you haven’t initialized yet because you haven’t been pointing to the right website.

        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
        • G
          Greg Martin
          last edited by

          Now, if every issue I had in life could be that simple I would be set! Thanks for the help! Both issues are resolved.

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

            Lol if only. Glad to be of help.

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

            253

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project