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

    Scheduled tasks bug

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    12
    5.2k
    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.
    • L
      Lysyan
      last edited by

      Hi,
      first: the new forum is amazing. Minimal 'n cool,
      well done!

      About the problem: I can schedule tasks for groups and they run smoothly, the only
      issue is that in the ‘scheduled tasks page’ I cannot see table or listed task. So no way
      to cancel or view the status of these…
      thanks for the help!

      A.

      1 Reply Last reply Reply Quote 0
      • B
        Blackout Developer
        last edited by

        This is a known bug with Schedule Group Tasks in 0.32. This issue will be fixed in 0.33.

        Thank you for reporting. Please report any other bugs you find.

        1 Reply Last reply Reply Quote 0
        • S
          sam-white
          last edited by

          I mentioned this in the old forums. You can use MySQL Workbench or phpmyadmin to view and remove those tasks.

          1 Reply Last reply Reply Quote 0
          • B
            Blackout Developer
            last edited by

            PHPMyAdmin can be ran directly from your FOG server.
            [code]apt-get install phpmyadmin[/code]
            Then access it at
            [code]http://fog/phpmyadmin/[/code]
            Use your FOG MySQL Username and Password

            1 Reply Last reply Reply Quote 0
            • L
              Lysyan
              last edited by

              thanks!

              I tried but using fog user and passw it says:
              [QUOTE]#1045 Cannot log in to the MySQL server[/QUOTE]

              EDIT: yes, I just set the config file to allow NOPASSWORD login

              1 Reply Last reply Reply Quote 0
              • E
                Egbert Verhage
                last edited by

                Check of you username and password of you mysql datebase is correct!
                Edit [I]/opt/fog/service/etc/config.php [/I]and /var/www/html/fog/commons/config.php
                Or maybe the mysql server don’t allow to connect from extern host. Set in you mysql config the bind addres on 0.0.0.0.
                And in the config above set the host to you IP of the server(Of the local network).

                (Sorry, English is not very well)

                1 Reply Last reply Reply Quote 0
                • L
                  Lysyan
                  last edited by

                  [quote=“Egbert Verhage, post: 314, member: 67”]Check of you username and password of you mysql datebase is correct!
                  Edit [I]/opt/fog/service/etc/config.php [/I]and /var/www/html/fog/commons/config.php
                  Or maybe the mysql server don’t allow to connect from extern host. Set in you mysql config the bind addres on 0.0.0.0.
                  And in the config above set the host to you IP of the server(Of the local network).

                  (Sorry, English is not very well)[/quote]
                  thanks for you reply!

                  in /commons/config.php I got this:

                  [PHP]define( “DB_USERNAME”, MYSQL_USERNAME );
                  define( “DB_PASSWORD”, MYSQL_PASSWORD );[/PHP]
                  As everyone the credentials to login in fog GUI are ‘fog’ and ‘password’. And DB has
                  no passw.

                  PS: I’m trying to connect from the local machine, that runs
                  fog too.

                  1 Reply Last reply Reply Quote 0
                  • L
                    Lysyan
                    last edited by

                    okey okey you can strap and laugh me in face 😄

                    I used ‘root’ in the phpmyadmin GUI and it let me in…

                    1 Reply Last reply Reply Quote 0
                    • E
                      Egbert Verhage
                      last edited by

                      Alright!
                      I hope that it works now!

                      Greets Egbert

                      1 Reply Last reply Reply Quote 0
                      • L
                        Lysyan
                        last edited by

                        yes, now I can login into phpmyadmin and play with the DB.
                        I had a failed Multicast session who kept running. Now I drop it from
                        MulticastSession table but it keeps run when I turn on one of the machines.

                        Then I checked ScheduledTasks table and all the others but there are no tracks of this query. Also
                        I rebooted the machine running FOG but no luck

                        😞

                        1 Reply Last reply Reply Quote 0
                        • E
                          Egbert Verhage
                          last edited by

                          I got the same problem. Look at this[URL=‘http://www.fogproject.org/wiki/index.php?title=Multicasting’] http://www.fogproject.org/wiki/index.php?title=Multicasting.[/URL]
                          But I dont try Scheduled Tasks, becose ware I don’t have the time for it.
                          What I said before, try this.
                          [quote=“Egbert Verhage, post: 314, member: 67”]Check of you username and password of you mysql datebase is correct!
                          Edit [I]/opt/fog/service/etc/config.php [/I]and /var/www/html/fog/commons/config.php
                          Or maybe the mysql server don’t allow to connect from extern host. Set in you mysql config the bind addres on 0.0.0.0.
                          And in the config above set the host to you IP of the server(Of the local network).[/quote]
                          The multicast is trying to connect to the mysql server but it won’t becose the mysql server don’t accept it.

                          (If you are from The Netherlands, I have here a manual whit the problem of multicast)

                          1 Reply Last reply Reply Quote 0
                          • B
                            Blackout Developer
                            last edited by

                            The scheduled task will be in the ‘scheduledTasks’ table.

                            Look for ‘stIsGroup’ = 1 and ‘stGroupHostID’ = to the Host or Group ID

                            Latest rows will have the largest ‘stID’

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            156

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project