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

    database created problem

    Scheduled Pinned Locked Moved Solved
    Linux Problems
    3
    13
    798
    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.
    • george1421G
      george1421 Moderator @lsdingo
      last edited by george1421

      @lsdingo said in database created problem:

      centos 6.10

      Are you SURE its 6.10? If so that’s not supported by FOG as well as Red Hat. One might hope that you are using 7.x over 6.x.

      Please run this command cat /etc/redhat-release and post the results.

      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!

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

        @lsdingo While George is absolutely right about the version information you might want to try to fix your database. Seems like it got somehow corrupted when doing an upgrade. Run mysql_upgrade -uroot -p and if that doesn’t help try mysql_upgrade --force -uroot -p (ref)

        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
        • L
          lsdingo
          last edited by

          Hey I actually tried installing it on a different machine (Ubuntu 16.04) this time
          which obviously works better but I’m still having what I believe issues that related to the database (not really sure though)

          I get: db cant open /etc/target
          and also could not find partitions /bin/fog.upload

          fogproject1.PNG fogproject2.PNG

          also some /var/log/syslog from the fog server:
          fogproject3.PNG

          I’ve checked in google and saw that just changing the path in the configuration files should maybe do it but none said which conf file I should edit.
          could you please advise ?
          fond regards,
          Tal

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

            @lsdingo said in database created problem:

            I get: db cant open /etc/target

            This is just a warning, not an error!

            and also could not find partitions /bin/fog.upload

            From my point of view this is not pointing to a database error. It means that FOG cannot find your disk in the client machine. Create a new upload task but check the box for debug. Boot the client and when you get to the shell type lsblk -> take a picture and post here.

            Which version of FOG did you install???

            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

            L 1 Reply Last reply Reply Quote 0
            • L
              lsdingo @Sebastian Roth
              last edited by

              @Sebastian-Roth Hey,
              how would I check which version I have? I installed the latest stable version.
              also I don’t have the option for debugging

              shrugs

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

                @lsdingo Log into the web UI and you’ll see the version number in the bottom right corner. On the other hand, if you see a light blue colored cloud on the FOG web UI login screen that would mean you have FOG 1.2.0 which is very very old.

                Anyhow, all the version had the debug option. See here:
                Untitled.png

                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

                L 1 Reply Last reply Reply Quote 0
                • L
                  lsdingo @Sebastian Roth
                  last edited by

                  @Sebastian-Roth
                  its Version 1.5.5
                  and I don’t have these options. I went to fog settings and expended all.
                  I ticked ‘TASKING ADV DEBUG ENABLED’ but I think this is not it.
                  e3da2a63-fb3f-4ab0-8cf1-7dd39d2b52ae-image.png

                  please advise mate
                  regards

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

                    @lsdingo The setting is when you create a new task!

                    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

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      lsdingo @Sebastian Roth
                      last edited by

                      @Sebastian-Roth Okay, managed to find it
                      e6400a07-57dd-439c-9027-6e1ed3db23a0-image.png

                      1ce7e1fa-4813-4431-a6a9-e67404364707-image.png

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

                        @lsdingo Well, there is your answer. There are no partitions on this disk. There is nothing FOG can upload/capture.

                        Should an OS be installed on this (VM) disk? From my point of view it’s not!

                        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

                        176

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project