• 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.
  • 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
                        • U
                          Ubuntu_newby
                          last edited by Feb 11, 2014, 7:40 PM

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

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

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

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

                                  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 Feb 12, 2014, 8:14 AM

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

                                      Can you give a couple of outputs here:

                                      From the terminal type:
                                      [code]ls -lh /tftpboot[/code]

                                      Then give the output here. It should look something along the lines of:
                                      [code]drwxr-xr-x 1 fog root 25 Nov 28 10:16 /tftpboot[/code]

                                      Then cd into the /tftpboot and run
                                      [code]ls -lh[/code]
                                      Print the results here.

                                      It should look something like:
                                      [code]total 174K
                                      -rw-r–r-- 1 fog root 828 Jul 30 2013 boot.txt
                                      drwxr-xr-x 6 fog root 4.0K Nov 30 08:17 fog
                                      -rw-r–r-- 1 fog root 17K Feb 11 19:08 pxelinux.0
                                      drwxr-xr-x 2 fog root 4.0K Feb 11 22:22 pxelinux.cfg
                                      drwxr-xr-x 3 fog root 4.0K Jul 30 2013 tftpboot
                                      -rw-r–r-- 1 fog root 145K Feb 11 19:08 vesamenu.c32[/code]

                                      I just need to see if there’s a sticky bit set and verify the permissions.

                                      If you truely did perform the:
                                      [code]chmod -R 777 /tftpboot
                                      chown -R fog:root /tftpboot[/code]

                                      All items should have permissions similar to: {d or -}rwxrwxrwx with owner of fog and group owner of root.

                                      This definitely is a permissions issue, but if you did perform the commands we’ve suggested, there shouldn’t be any permissions issues, unless there’s an immutable flag on the folders or somebody’s changed the umask settings.

                                      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 12, 2014, 4:16 PM

                                        Here is my output again after
                                        chmod -R 777 /tftpboot
                                        chown -R fog:root /tftpboot

                                        jos@leeuwerik:~$ ls -lh /tftpboot
                                        totaal 216K
                                        -rwxrwxrwx 1 fog root 828 feb 10 21:04 boot.txt
                                        drwxrwxrwx 5 fog root 4,0K feb 5 22:49 fog
                                        -rwxrwxrwx 1 fog root 25K feb 10 21:04 memdisk
                                        -rwxrwxrwx 1 fog root 17K feb 10 21:04 pxelinux.0
                                        drwxrwxrwx 3 fog root 4,0K feb 11 20:32 pxelinux.cfg
                                        drwxrwxrwx 2 fog root 4,0K feb 11 22:24 test
                                        drwxrwxrwx 2 fog root 4,0K feb 5 22:49 tftpboot
                                        -rwxrwxrwx 1 fog root 145K feb 10 21:04 vesamenu.c32
                                        jos@leeuwerik:~$ cd /tftpboot
                                        jos@leeuwerik:/tftpboot$ ls -lh
                                        totaal 216K
                                        -rwxrwxrwx 1 fog root 828 feb 10 21:04 boot.txt
                                        drwxrwxrwx 5 fog root 4,0K feb 5 22:49 fog
                                        -rwxrwxrwx 1 fog root 25K feb 10 21:04 memdisk
                                        -rwxrwxrwx 1 fog root 17K feb 10 21:04 pxelinux.0
                                        drwxrwxrwx 3 fog root 4,0K feb 11 20:32 pxelinux.cfg
                                        drwxrwxrwx 2 fog root 4,0K feb 11 22:24 test
                                        drwxrwxrwx 2 fog root 4,0K feb 5 22:49 tftpboot
                                        -rwxrwxrwx 1 fog root 145K feb 10 21:04 vesamenu.c32

                                        FOG says again:
                                        Unable to start task
                                        Unable to upload file.

                                        –

                                        Gr, Jos

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

                                          Have a look at this site for understanding:
                                          [url]http://chemdroid.net/en/ubuntu/23-vsftpd-500-oops-priv-sock-get-cmd[/url]

                                          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
                                            73/93
                                            Last post

                                          192

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project