FOG Project

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

    The task is not started

    FOG Problems
    6
    15
    6363
    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
      giammy last edited by

      Hi all,

      I have a new FOG installation: it has 1 host configured: the host correctly
      boots from FOG tftpboot.

      From the fog WebUI I correctly see my host as green (I imagine it means that
      host server can ping my client).

      When I go to Host management, list hosts, click on my host,
      go in basic action an click on Upload (I want upload an host image)
      I’m shown a page with title “Task management” and a white page.
      If I go to task management, active task, no tasks are shown.

      Obviously, if I reboot my host, it just boots with pxe, no image upload.

      I think the task is not activated: how can I find the reason?
      any log file to look at?

      thanks
      giammy

      1 Reply Last reply Reply Quote 0
      • mpmackenna
        mpmackenna last edited by

        Awesome, thanks!

        1 Reply Last reply Reply Quote 0
        • C
          chad-bisd Moderator last edited by

          I’m pretty sure when the next version of FOG comes out, this will be fixed because it’s a pretty big code rewrite. For now, just change the code and replace the calls to the functions that are using referenced variables. There are several posts showing what to change and out. I think what you’re looking for is &$tmp


          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

          1 Reply Last reply Reply Quote 0
          • mpmackenna
            mpmackenna last edited by

            This is still an issue. When will PHP 5.4 be supported? What is the best way to force Debian 7 to run PHP 5.3 instead of 5.4?

            1 Reply Last reply Reply Quote 0
            • G
              Glyn last edited by

              Glad you got it working & good to know that PHP5.4 isn’t supported yet. I assume it will be in the next release.

              1 Reply Last reply Reply Quote 0
              • G
                giammy last edited by

                Hi,

                I found out the problem: it was the PHP version.

                I install fog letting the installer to download all it needs, but the first installation
                was debian testing, which install php5.4, which is NOT compatible with FOG.

                I reinstalled all the PC with a debian 6.04 (the last stable), which comes with
                php 5.3 and everything go up and works!

                thanks for the help
                giammy

                1 Reply Last reply Reply Quote 0
                • G
                  Glyn last edited by

                  When I set up FOG I let the installer download & install the packages that it required, did you do this?

                  1 Reply Last reply Reply Quote 0
                  • G
                    giammy last edited by

                    hi,

                    I agree: there a problem in my installation ad I get a blank page, not the one yuo attached!
                    I’m trying to find out ehich is the problem 🙂

                    bye
                    giammy

                    1 Reply Last reply Reply Quote 0
                    • G
                      Glyn last edited by

                      You should be seeing a similar page to the one attached.
                      If not there could be a problem with you FOG install.

                      [url=“/_imported_xf_attachments/0/106_Clipboard01.jpg?:”]Clipboard01.jpg[/url]

                      1 Reply Last reply Reply Quote 0
                      • G
                        giammy last edited by

                        hi,

                        looking at the webserver logs, when I click on “Upload Image”
                        (and got a blank page) I see various errors.

                        Can this problem be caused by a wrong php version?
                        i installed debian testing netinstall, and run the fog
                        installation script which installed the needed software.

                        The php version I have now is php5 5.4.0-3.

                        Can this be a problem?
                        Is there a php reccomended version?

                        thanks
                        giammy

                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: sub in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: uname in /var/www/fog/management/includes/processlogin.include.php on line 17, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Notice: Undefined index: confirm in /var/www/fog/management/includes/tasks.include.php on line 5, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]
                        [Wed May 02 07:56:13 2012] [error] [client 147.162.35.15] PHP Fatal error: Call-time pass-by-reference has been removed in /var/www/fog/management/includes/tasks.confirm.include.php on line 754, referer: [url]http://147.162.35.219/fog/management/index.php?node=host&sub=edit&tab=tasks&id=3[/url]

                        1 Reply Last reply Reply Quote 0
                        • G
                          gaurav last edited by

                          Hey hiii, i have also same problem that you are facing…
                          I also attached its screenshot in this link thread, check this:
                          [url]http://fogproject.org/forum/threads/fog-image-uplaoding-not-starting.702/[/url]

                          1 Reply Last reply Reply Quote 0
                          • G
                            giammy last edited by

                            hi,

                            in storage management, all storage nodes, default member, I have:

                            Management Username fog
                            Management Password mypass

                            I must I I do not have a very clear understanding of the use of this password:
                            from what I understand, the linux box has 1 user and 1 mypass to access
                            both via ssh and ftp: the linux box needs to have other access types?

                            thanks
                            giammy

                            [FONT=Ubuntu][COLOR=#333333][/COLOR][/FONT]

                            1 Reply Last reply Reply Quote 0
                            • S
                              ssx4life last edited by

                              If you haven’t yet, make sure you click on the storage nodes icon in the web ui (at the main ui page) and go update the password there.

                              1 Reply Last reply Reply Quote 0
                              • G
                                giammy last edited by

                                hi,

                                and thanks for the reply!

                                I’m working on a Debian GNU/Linux wheezy/sid
                                root@foggy:# uname -a
                                Linux foggy 3.2.0-2-amd64 #1 SMP Sun Apr 15 16:47:38 UTC 2012 x86_64 GNU/Linux

                                I installed on the vanilla debian (netinstall) the fog_0.32.tar.gz package.

                                The configuration I used is:

                                Distro: Ubuntu
                                Installation Type: Normal Server
                                Server IP Address: x.x.35.223
                                DHCP router Address: x.x.35.225
                                DHCP DNS Address: x.x.35.1
                                Interface: eth0
                                Using FOG DHCP: 0
                                Internationalization: 0

                                I have a single machine with web UI, tftp and storage, while DNS and DHCP
                                are on different machines.

                                The fox machine has 1 user fog with password mypass,
                                and I can connect to it via ssh or ftp.

                                I setted mypass in the database as:

                                sudo mysql -p’password’
                                use fog;
                                UPDATE users SET uPass = MD5(‘mypass’) WHERE uName = ‘fog’;
                                exit;

                                in the file /var/www/fog/commons/config.php I have:

                                define( “TFTP_FTP_USERNAME”, “fog” );
                                define( “TFTP_FTP_PASSWORD”, “mypass” );
                                …
                                define( “STORAGE_FTP_USERNAME”, “fog” );
                                define( “STORAGE_FTP_PASSWORD”, “mypass” );

                                define( “MYSQL_HOST”, “localhost” );
                                define( “MYSQL_DATABASE”, “fog” );
                                define( “MYSQL_USERNAME”, “root” );
                                define( “MYSQL_PASSWORD”, “mypass” );

                                I think I setted all the password to mypass.

                                in the web UI -> Fog Settings, I see, as password:

                                FOG Storage Nodes
                                FOG_STORAGENODE_MYSQLUSERfogstorage
                                FOG_STORAGENODE_MYSQLPASSmypass

                                TFTP server
                                FOG_TFTP_FTP_USERNAMEfog
                                FOG_TFTP_FTP_PASSWORDmypass

                                Am I missing other passwords?

                                Have you gone through and updated your TFTP password and default storage password after you installed FOG?

                                I can correctly access to TFTP (no password), and ftp (using mypass).

                                The default storage password how cam be setted? where is used?

                                thanks again
                                giammy

                                1 Reply Last reply Reply Quote 0
                                • S
                                  ssx4life last edited by

                                  Have you gone through and updated your TFTP password and default storage password after you installed FOG?

                                  What OS flavor are you running FOG on.

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

                                  171
                                  Online

                                  10.2k
                                  Users

                                  16.3k
                                  Topics

                                  149.9k
                                  Posts

                                  Copyright © 2012-2020 FOG Project