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

Scheduled tasks bug

Scheduled Pinned Locked Moved
FOG Problems
4
12
5.3k
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.
  • B
    Blackout Developer
    last edited by Dec 23, 2011, 12:30 AM

    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 Dec 23, 2011, 6:12 PM

      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 Dec 24, 2011, 8:29 PM

        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 Jan 2, 2012, 10:10 AM

          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 Jan 2, 2012, 10:30 AM

            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 Jan 2, 2012, 10:43 AM

              [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 Jan 2, 2012, 10:49 AM

                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 Jan 2, 2012, 11:44 AM

                  Alright!
                  I hope that it works now!

                  Greets Egbert

                  1 Reply Last reply Reply Quote 0
                  • L
                    Lysyan
                    last edited by Jan 2, 2012, 1:26 PM

                    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 Jan 2, 2012, 2:10 PM

                      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 Jan 3, 2012, 2:46 AM

                        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

                        249

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project