• 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.1k
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.
  • T
    Tom Elliott
    last edited by Feb 9, 2014, 5:18 PM

    Good point, I forgot about that little problem.

    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 9, 2014, 6:15 PM

      Thanks Kevin this helps a little bit further. I do see something else then a empty screen:
      [URL=‘http://www.noordlaarderbos.nl/linux/fog_task_management1.png’]http://www.noordlaarderbos.nl/linux/fog_task_management3.png[/URL]

      But, it still won’t create a task or upload an image, when i push the button: “Upload Image”.
      [url=“http://www.noordlaarderbos.nl/linux/fog_task_management4.png”]www.noordlaarderbos.nl/linux/fog_task_management4.png[/url]

      Gr, Jos

      –

      Gr, Jos

      1 Reply Last reply Reply Quote 0
      • U
        Ubuntu_newby
        last edited by Feb 9, 2014, 6:34 PM

        Under 'Other Information or “button ?” -> Log Viewer

        I see many messages like this:

        [02-09-14 6:27:52 pm] | [02-09-14 6:27:52 pm] Failed to connect to database server,
        will try again in next iteration.

        Could that be a problem?

        Gr, Jos

        –

        Gr, Jos

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

          The messages you’re seeing under “Log Viewer” from the Other Information ( ? ) button is reporting that the FOG Services (FOGMulticastManager, FOGImageReplicator, FOGScheduler) can’t connect to the database. If you setup a mysql password for the database during installation this is most likely why you’re seeing those particular errors. To fix that, you need to edit the /opt/fog/service/etc/config.php and make sure the MYSQL_PASSWORD field contains your database password. That should correct the “cannot connect to database server” error you’re seeing.

          The error that the deploy tasks from the task page is reporting still doesn’t make sense to me. You’re able to create tasks from the Host Management Page, but not the Task Page? Or you’re not able to create any tasks?

          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 9, 2014, 8:00 PM

            I have editted the /opt/fog/service/etc/config.php allready, so the MYSQL_PASSWORD field is correct.

            No, I’m not able to create any tasks. By the Host Managemant Page or by the Task Management Page, doesn’t make any difference.

            Gr, Jos

            –

            Gr, Jos

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

              I need more information to work off, than it’s not working.

              You’re absolutely sure that the password is correct? Can you actually connect to the database using the password you’ve entered?

              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 9, 2014, 8:37 PM

                When I change the MYSQL_PASSWORD field in /var/www/fog/commons/config.php is something else, I am Unable to connect to database, when I browse to my Fog-site. So it must be correct, right?

                I also checked password with the command:
                mysql -u root -p<password> fog -h localhost

                Here I got a mysql prompt. No errors.

                The only task, that seems to do anything is the ‘wake up computer’ task, but I can’t check this. Because my bios on the client (Windows 7) computer doesn’t have the wake-up function.

                If you need more information, please let me know.

                Gr, Jos

                –

                Gr, Jos

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

                  There are two config.php files.

                  The one in /var/www/fog/commons/config.php is correct as you are able to connect to your FOG Database. Your GUI is working perfectly. However, your /opt/fog/service/etc/config.php file controls the FOG Service files. These are what error’s you’re seeing in the ? ->Log Viewer area. Make sure the password is correct in this file. It may also require you to restart the FOG Services with:
                  [code]sudo service FOGMulticastManager restart; sudo service FOGScheduler restart; sudo service FOGImageReplicator restart[/code]

                  Things should work after this from the LOG Viewer. However, the service files that I’m describing is not likely to fix your Task generation issue.

                  The task is reporting that it is unable to upload the file to your tftp server.

                  The task generation happens by ftping the 01-XX-XX-XX-XX-XX-XX file to the fog server in the location /tftpboot/pxelinux.cfg/

                  The XX’s will be replaced with the system’s MAC address.

                  You should verify that the fog username and password are correct as you stated you’ve already done. Make sure these are what is set in the ( ? )->FOG_TFTP_USERNAME and FOG_TFTP_PASSWORD as well as the Storage Node’s Management Username and Password fields from Storage Management->All Storage Nodes->Your storage node

                  Next, on the FOG Server, make sure the NFS, VSFTP, and tftp services are running on the system. You can verify that they are running with:
                  [code]sudo service portmap restart
                  sudo service nfs-kernel-server restart
                  sudo service vsftpd restart
                  sudo service tftpd-hpa restart[/code]

                  Then try again. It’s about all I can think of without being able to remote into the system to actually take a look.

                  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:15 AM

                    I did run the commands above. All went OK, only:

                    “sudo service portmap restart” …Failed!

                    portmap: Unreconized service

                    When I run:

                    sudo apt-get install portmap

                    I get a system message: rpcbind is used instead of portmap.

                    I have noticed that a setting in /var/www/fog/commons/config.php was not right. The host and user of MYSQL was not correct.

                    Now I have changed this. I don’t see any connection error in de FOG logfile.

                    I also noticed that if I change the TFTP-password to an not correct password. This screen appears when I choose an upload task:

                    [url]http://www.noordlaarderbos.nl/linux/fog_task_management5.png[/url]

                    When I choose the correct password, I still get this:

                    [url]http://www.noordlaarderbos.nl/linux/fog_task_management4.png[/url]

                    If you want to remote control my system, please sent me a email. to: jcdv @ home.nl

                    Gr, Jos

                    –

                    Gr, Jos

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

                      So for the portmap issue, it sounds like ubuntu switched from portmap to rpc.

                      Can you try:
                      [code]sudo service rpcbind restart
                      sudo service nfs-kernel-server restart[/code]

                      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, 1:35 PM

                        I have tried it, same result.No errors btw.

                        My Ubuntu computer is not online all the time,only when I’m trying Fog or something else. The services are therefore (re-)started when booting the computer.

                        Gr, Jos

                        –

                        Gr, Jos

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jaymes Driver Developer
                          last edited by Feb 10, 2014, 3:45 PM

                          [quote=“Ubuntu_newby, post: 22668, member: 22075”]I have tried it, same result.No errors btw.

                          My Ubuntu computer is not online all the time,only when I’m trying Fog or something else. The services are therefore (re-)started when booting the computer.

                          Gr, Jos[/quote]

                          Be carful with your expectations there… There are some versions of Ubuntu that have problems with upstart jobs. Mainly the TFTP service being started before an ip address has been assigned to the machine.

                          What revision of Ubuntu did you use?

                          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, 4:19 PM

                            I use Ubuntu 13:10 desktop version on a PC.

                            People who use Linux always say that Linux is more stable than Windows. I’m starting to get my doubts. 😉

                            The same version of Ubuntu I installed also as a VM in VMWare Workstation on a laptop and sometimes twice a restart is needed because it freezes during startup. Start the second time, it starts up without any problems/freezes.

                            Gr, Jos

                            –

                            Gr, Jos

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jaymes Driver Developer
                              last edited by Feb 10, 2014, 4:22 PM

                              Don’t have doubts, Ubuntu has gone through a lot of changes from 10.04 on, they change the look and feel from Gnome to Unity and that messed a LOT of things up, since then it has been in “patch mode” (that’s what I call it when users have to solve their own problems because of changes made to an OS).

                              I just wanted to make sure you weren’t on a troublesome revision. 13.04 is stable enough of a release you shouldn’t have issues because of OS problems, so we can write that off, for now.

                              Normally, after I have figured out the issues with the fog installer, I nuke my fog install and run it again. You never know where it hung last, if is finished setting up the user properly, etc.

                              You can manually install the services and configure them, but I only recommend this for advanced comfortable users.

                              At this point (since there is nothing on the server), wipe it, fresh install Ubuntu, install FOG.

                              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 10, 2014, 4:26 PM

                                I agree.

                                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, 4:39 PM

                                  I am using Ubuntu now after some days using OpenSuse and CentOS. I was not happy with both linux-distributions. I have less trouble with Ubuntu.Ubuntu was more what I want to expect.

                                  I have installed FOG now for at least 3 times. If you count the failed installations, it can be a number 13 times!

                                  –

                                  Gr, Jos

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Jaymes Driver Developer
                                    last edited by Feb 10, 2014, 5:14 PM

                                    I understand you are frustrated, but trust me, if we can get a good clean install to work from, FOG will be your best friend.

                                    You did the right thing in choosing Ubuntu, i feel it is the best for user friendliness. I have set up servers on CentOS with a fair share of problems, and OpenSuse is pretty much impossible at the moment (the pieces are there to an extent but they don’t work together, and every time I get close I crash my VM -.-).

                                    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, 5:46 PM

                                      [quote=“Jaymes Driver, post: 22706, member: 3582”]I understand you are frustrated, but trust me, if we can get a good clean install to work from, FOG will be your best friend.

                                      You did the right thing in choosing Ubuntu, i feel it is the best for user friendliness. I have set up servers on CentOS with a fair share of problems, and OpenSuse is pretty much impossible at the moment (the pieces are there to an extent but they don’t work together, and every time I get close I crash my VM -.-).[/quote]

                                      Well frustrated… That’s not too bad. I for one am happy with Ubuntu.

                                      I follow a course on Linux, with a book with a DVD of OpenSUSE. I was tired of it quickly. After 15 years as a Windows administrator, I want to know some more Linux.

                                      I put in any case with Ubuntu and it will work with FOG. Geukkig I get good help in this forum.

                                      But to keep up with the Subject Do you have any good ideas?

                                      –

                                      Gr, Jos

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Jaymes Driver Developer
                                        last edited by Feb 10, 2014, 5:51 PM

                                        Maybe I misunderstood, your last post only touched base on how many times you installed FOG, there weren’t any issues posted.

                                        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, 6:17 PM

                                          The installation of Fog went correct and I can start it up in the browser.

                                          But I am still having problems to start a task:
                                          [url]http://www.noordlaarderbos.nl/linux/fog_task_management4.png[/url]
                                          The password for mysql and TFTP seems to be correct.
                                          In the logviewer of Fog, I see this:
                                          [02-10-14 1:54:27 pm] * [02-10-14 1:54:27 pm] Checking if I am the group manager.
                                          [02-10-14 1:54:27 pm] * [02-10-14 1:54:27 pm] I am the group manager.
                                          [02-10-14 1:54:37 pm] * [02-10-14 1:54:37 pm] Checking if I am the group manager.
                                          So can you help me further?

                                          –

                                          Gr, Jos

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

                                          196

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project