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

    Fog - Host is in a tasking - DB cleanup

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    242
    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.
    • M
      mesaman0182
      last edited by mesaman0182

      I am trying to associate an image to a group and I get an error saying “There is a host in a tasking” but I currently do not have any tasks running. I’ve read a forum post that says I need to perform a database cleanup of SQL. I see the commands but I have no idea how to get into the CLI for SQL. I left the database password blank. Can someone help me out? I’m not a Linux guru by any means. I don’t have a GUI with this particular Ubuntu (wishing I wouldn’t have done that now).

      I tried the first step: mysql -D fog - I get an Access denied message. Fog-MYSQLAccessDenied.JPG

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @mesaman0182 You can find the login credentials for the database in /var/www/html/fog/lib/fog/config.class.php. Use those and run mysql -u username -p to open a connection to the local database. Instead of username put in what you find in the config file. It’s usually fogmaster for FOG 1.5.8/newer and root for older installs.

        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

        146

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project