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

    Setting up and building UDPCast...Failed!

    Scheduled Pinned Locked Moved
    FOG Problems
    10
    93
    67.5k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Just information here:

      [code]sudo passwd fog[/code]

      The code above changes the user fog on the FOG server. You’re setting the password. This is the user and password FTP uses when sending the PXE File and the Images to the /images folder.

      The other “fog” user you’re referring to, if I’m understanding the information correctly, is the one you use to login to the FOG Web GUI with. This “fog” user is stored with the MYSQL Database. This is not your MYSQL_USERNAME or PASSWORD either. This is only for the FOG Web GUI login.

      The last “user/password” I had you set earlier in the /opt/fog/service/etc/config.php and /var/www/fog/commons/config.php files is the MYSQL Database username and password. MYSQL has it’s own authentication mechanisms as well. This should be the root user and password, though you could assign any name and password.

      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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
      • U
        Ubuntu_newby
        last edited by

        Yes, I know. I don’t think you understand me or what is going wrong on my FOG server.

        Ok. But what password I change. Nothing had changed in Fog. The only difference I see in FOG is this, after I set an upload task, is this:

        • With a wrong password:

        Unable to start task
        Unable to connect to tftp server.

        • With a correct password:

        Unable to start task
        Unable to upload file.

        So thhe FOG server is not able to start the task either if the FTP password is wrong or correct.

        Can you explain this?

        –

        Gr, Jos

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          Can you try setting up the task, and getting me some error logs directly after the task is created?

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • U
            Ubuntu_newby
            last edited by

            Where can I find these logs?

            –

            Gr, Jos

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              /var/log/apache2/error.log

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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
              • U
                Ubuntu_newby
                last edited by

                Here is a part of the logfile. I don’t know where it actually starts setting the task:

                [Tue Feb 11 14:33:03.633616 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.in$
                [Tue Feb 11 14:33:03.633734 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined index: noconfirm in /var/www/fog/management/includes/tasks.confi$
                [Tue Feb 11 14:33:03.633775 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined index: shutdown in /var/www/fog/management/includes/tasks.confir$
                [Tue Feb 11 14:33:03.634702 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined index: singlesched in /var/www/fog/management/includes/tasks.con$
                [Tue Feb 11 14:33:03.634745 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined index: cronsched in /var/www/fog/management/includes/tasks.confi$
                [Tue Feb 11 14:33:03.752033 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Warning: ftp_put(): OOPS: priv_sock_get_cmd in /var/www/fog/commons/functions.incl$
                [Tue Feb 11 14:33:03.757663 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined variable: id in /var/www/fog/management/includes/submenu.include$
                [Tue Feb 11 14:33:03.757710 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined variable: host in /var/www/fog/management/includes/submenu.inclu$
                [Tue Feb 11 14:33:03.757787 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined index: tasks in /var/www/fog/management/includes/submenu.include$
                [Tue Feb 11 14:33:03.757892 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined variable: output in /var/www/fog/management/includes/submenu.inc$
                [Tue Feb 11 14:33:03.757966 2014] [:error] [pid 2142] [client 192.168.1.72:55646] PHP Notice: Undefined property: FOGSubMenu::$notes in /var/www/fog/management/includes$

                –

                Gr, Jos

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Do you, by chance, have a firewall still turned on?

                  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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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
                  • U
                    Ubuntu_newby
                    last edited by

                    [quote=“Tom Elliott, post: 22776, member: 7271”]Do you, by chance, have a firewall still turned on?[/quote]

                    I don’t know. I have installed Ubuntu by default. Or do you mean on the Windows 7 machine?

                    –

                    Gr, Jos

                    1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      No, from the ubuntu machine.

                      Can you run the command:
                      [code]sudo ufw disable[/code]

                      Then restart the FOG server?

                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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
                      • U
                        Ubuntu_newby
                        last edited by

                        [quote=“Tom Elliott, post: 22782, member: 7271”]No, from the ubuntu machine.

                        Can you run the command:
                        [code]sudo ufw disable[/code]

                        Then restart the FOG server?[/quote]

                        Done! After restart the result is the same:

                        Unable to start task
                        Unable to upload file.

                        I send with this post an attachement of the error.log from reboot until the upload task. About 15:52 I started the upload task. Maybe you see more in this file. I wonder if you can find a solutionf for this problem, so I can finally make an image with FOG.

                        [url=“/_imported_xf_attachments/0/541_error.log.txt?:”]error.log.txt[/url]

                        –

                        Gr, Jos

                        1 Reply Last reply Reply Quote 0
                        • Jaymes DriverJ
                          Jaymes Driver Developer
                          last edited by

                          You could try :
                          [code]
                          chown -R fog:root /tftpboot[/code]

                          Could be a possibility that the rights aren’t correct on the folder.

                          WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                          1 Reply Last reply Reply Quote 0
                          • Tom ElliottT
                            Tom Elliott
                            last edited by

                            Man, I always forget that one part 🙂

                            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            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
                            • U
                              Ubuntu_newby
                              last edited by

                              [quote=“Jaymes Driver, post: 22829, member: 3582”]You could try :
                              [code]
                              chown -R fog:root /tftpboot[/code]

                              Could be a possibility that the rights aren’t correct on the folder.[/quote]

                              I have tried it, but still I have got the same answer:

                              Unable to start task
                              Unable to upload file.

                              If you want the errorlog, please let me know.

                              –

                              Gr, Jos

                              1 Reply Last reply Reply Quote 0
                              • Tom ElliottT
                                Tom Elliott
                                last edited by

                                can you try ftping using the fog user and password you set with passwd fog before?

                                [code]ftp <IP OF FOG SERVER>[/code]

                                Login with the Fog Username and password.

                                See that it successfully connects.

                                Then try to cd to /tftpboot/pxelinux.cfg
                                [code]cd /tftpboot/pxelinux.cfg[/code]

                                Then Try to create a file there, if it even lets you get that far.
                                [code]mkdir test[/code]

                                Does it allow you to create the folder?

                                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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                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
                                • U
                                  Ubuntu_newby
                                  last edited by

                                  [quote=“Tom Elliott, post: 22850, member: 7271”]can you try ftping using the fog user and password you set with passwd fog before?

                                  [code]ftp <IP OF FOG SERVER>[/code]

                                  Login with the Fog Username and password.

                                  See that it successfully connects.

                                  [/quote]

                                  Yes, no problem. Connection is made succesfully.

                                  [quote]

                                  Then try to cd to /tftpboot/pxelinux.cfg
                                  [code]cd /tftpboot/pxelinux.cfg[/code]

                                  Then Try to create a file there, if it even lets you get that far.

                                  [/quote]

                                  Yes, I can cd to /tftpboot/pxelinux.cfg and make a subdir:

                                  [code]sudo mkdir test[/code]

                                  and a file with:

                                  [code] sudo pico jostest.txt [/code]

                                  Does it allow you to create the folder?[/quote]

                                  Yes, with:

                                  [code] sudo mkdir test [/code]

                                  –

                                  Gr, Jos

                                  1 Reply Last reply Reply Quote 0
                                  • U
                                    Ubuntu_newby
                                    last edited by

                                    What strikes me is that the wake-up function of the Advance Actions actually doing something.I see here the message “Wake up packet sent to 1 computer(s).”

                                    If I shutdown the Windows 7 PC (not reboot). The Windows 7 PC will reboot instead of shutdown.

                                    Does this say something?

                                    –

                                    Gr, Jos

                                    1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      The wake up function will work because it doesn’t actually ftp any data to the fog server. It just sends a packet.

                                      When you’re running the command list I gave you above, I was hoping it would be done from the FTP system.

                                      Stay in FTP shell and cd to /tftpboot/pxelinux.cfg

                                      WHile in the FTP shell type
                                      mkdir test

                                      Then report results. I’m starting to think something is permissions based with the issues here.

                                      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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      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
                                      • U
                                        Ubuntu_newby
                                        last edited by

                                        Ok.

                                        In the FTP shell, I can cd to /tftpboot/pxelinux.cfg
                                        mkdir test, failed in the FTP shell.

                                        –

                                        Gr, Jos

                                        1 Reply Last reply Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott
                                          last edited by

                                          So that tells me that FTP is not working. From the main console can you chmod -R 777 /tftpboot and try creating task again?

                                          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          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
                                          • U
                                            Ubuntu_newby
                                            last edited by

                                            [quote=“Tom Elliott, post: 22871, member: 7271”]So that tells me that FTP is not working. From the main console can you chmod -R 777 /tftpboot and try creating task again?[/quote]

                                            Still the same:
                                            Unable to start task
                                            Unable to upload file.

                                            After “chmod -R 777 /tftpboot”

                                            In the FTP-shell it is possible to make a dir in /tftpboot but not in pxelinus.cfg

                                            –

                                            Gr, Jos

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post

                                            206

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project