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

Setting up and building UDPCast...Failed!

Scheduled Pinned Locked Moved
FOG Problems
10
93
67.7k
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.
  • J
    Jaymes Driver Developer
    last edited by Feb 10, 2014, 8:14 PM

    When you set up Ubuntu did you create a user named FOG?

    Are you able to Register the machine as a Host in the Web GUI? (sorry silly question just want to verify)

    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
    • U
      Ubuntu_newby
      last edited by Feb 10, 2014, 8:36 PM

      [quote=“Tom Elliott, post: 22717, member: 7271”]The log viewer messages are correct. That means the FOG Services are actually working now.

      The upload issue worries me. You’re certain you can ftp to your fog server using the fog user and fog password?[/quote]

      On the Windows 7 machine I tried to make an connection with FileZilla with <ip address> port: 22 and then the fogusername + password. That was okay, I could make a connect to the Ubuntu machine.

      In an earlier stage I changed:
      Something like this password to my fogusername + password. I hope that was correct?
      define( “STORAGE_FTP_PASSWORD”, “98244f89651eaa2d2c84bd794ab9f60a” );

      This evening Fog crashed and I had to install it again. Now it up and running again. With the same results, when I set the upload-task:

      Unable to start task
      Unable to upload file

      –

      Gr, Jos

      1 Reply Last reply Reply Quote 0
      • U
        Ubuntu_newby
        last edited by Feb 10, 2014, 8:37 PM

        [quote=“Jaymes Driver, post: 22724, member: 3582”]When you set up Ubuntu did you create a user named FOG?[/quote]

        I can’t remeber when I created a user named FOG.

        [quote="JAre you able to Register the machine as a Host in the Web GUI? (sorry silly question just want to verify)[/quote]

        What do you exactly?

        –

        Gr, Jos

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 10, 2014, 9:20 PM

          [quote=“Ubuntu_newby, post: 22727, member: 22075”]On the Windows 7 machine I tried to make an connection with FileZilla with <ip address> port: 22 and then the fogusername + password. That was okay, I could make a connect to the Ubuntu machine.

          In an earlier stage I changed:
          Something like this password to my fogusername + password. I hope that was correct?
          define( “STORAGE_FTP_PASSWORD”, “98244f89651eaa2d2c84bd794ab9f60a” );

          This evening Fog crashed and I had to install it again. Now it up and running again. With the same results, when I set the upload-task:

          Unable to start task
          Unable to upload file[/quote]

          While the fog FTP user is setup during install time I don’t think the password is correct which is why you’re seeing problems. You need to set the fog users password yourself with[code]sudo passwd fog[/code]. Then set the password in the GUI under both storage management and fog settings. Also, for future reference, port 22 is for ssh. Ports 20 and 21 are for FTP.

          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 Feb 10, 2014, 9:52 PM

            [quote=“Tom Elliott, post: 22731, member: 7271”]While the fog FTP user is setup during install time I don’t think the password is correct which is why you’re seeing problems. You need to set the fog users password yourself with[code]sudo passwd fog[/code]. Then set the password in the GUI under both storage management and fog settings. Also, for future reference, port 22 is for ssh. Ports 20 and 21 are for FTP.[/quote]

            I remember it did this allready some days ago. Still the same result… (Unable to start task / Unable to upload file)

            Do I set the password with this code to FTP, TFTP en MYSQL at the same time?

            [code]sudo passwd fog[/code]

            I wonder if it ever will start a task. I’m now several days working on it with the passwords and I do not get much further.

            –

            Gr, Jos

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Feb 10, 2014, 9:56 PM

              No just the storage node user and password and you fog settings tftpboot user and password. Nothing with either of the configuration files needs to be touched for this.

              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
              • T
                Tom Elliott
                last edited by Feb 11, 2014, 12:30 PM

                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 Feb 11, 2014, 12:56 PM

                  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
                  • T
                    Tom Elliott
                    last edited by Feb 11, 2014, 12:58 PM

                    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 Feb 11, 2014, 1:00 PM

                      Where can I find these logs?

                      –

                      Gr, Jos

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Feb 11, 2014, 1:07 PM

                        /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 Feb 11, 2014, 1:36 PM

                          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
                          • T
                            Tom Elliott
                            last edited by Feb 11, 2014, 1:46 PM

                            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 Feb 11, 2014, 1:59 PM

                              [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
                              • T
                                Tom Elliott
                                last edited by Feb 11, 2014, 2:05 PM

                                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 Feb 11, 2014, 3:01 PM

                                  [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
                                  • J
                                    Jaymes Driver Developer
                                    last edited by Feb 11, 2014, 5:48 PM

                                    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
                                    • T
                                      Tom Elliott
                                      last edited by Feb 11, 2014, 7:22 PM

                                      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 Feb 11, 2014, 7:23 PM

                                        [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
                                        • T
                                          Tom Elliott
                                          last edited by Feb 11, 2014, 7:25 PM

                                          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
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 4 / 5
                                          4 / 5
                                          • First post
                                            61/93
                                            Last post

                                          235

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project