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

    Just upgraded to 1.2.0 and iPXE gives operation not permitted

    Scheduled Pinned Locked Moved
    FOG Problems
    6
    23
    13.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.
    • T
      Tim.Trageser
      last edited by

      We have been using FOG for imaging and wanted to explore the other things it can do. We also were having issues with Dell Optiplex 9020’s failing to upload images.

      Runing Ubuntu 10.04
      Was working fine other than Optiplex 9020 on version .32
      Now any system we try to boot into FOG gives the PXE Operation not permitted.

      I have looked through the forums all morning and did find [url]http://fogproject.org/forum/threads/stuck-at-boot-php-operation-not-permitted.10706/[/url] but the solution in it did not resolve the issue.

      Any help would be great!!!

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        At which state exactly do you see “Operation not permitted”? Please take a picture for us! AFAIK this error can happen at several stages and would mean something different depending on when it happens.

        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
          Tim.Trageser
          last edited by

          [IMG]http://i847.photobucket.com/albums/ab34/Rehendril/20150327_144218_zpsoyfoqsaq.jpg[/IMG]

          The DHCP server is set to use ipxe.kpxe, not sure if the /default.ipxe means that it is not picking that up from the DHCP server or not. We have DHCP running on the same system as FOG.

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            what do you see if you go to [url]http://172.25.100.80/fog/service/ipxe/boot.php[/url] in a web browser?

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • T
              Tim.Trageser
              last edited by

              When I go there I get permission denied. I did see this in the thread I mentioned in my original post and ran the two commands below, but I guess I forgot to check after running them.

              sudo chown -R www-data:www-data /var/www/fog
              sudo chown -R fog:www-data /var/www/fog/service/ipxe

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

                Is there a firewall? 10.04 is very old.

                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
                  Tim.Trageser
                  last edited by

                  No there is no firewall. 10.04 is what it was set up on previous to me getting here and taking it over.
                  The system is self contained, it cannot reach the outside world nor any other part of the company network, so they did not put a Firewall in.

                  1 Reply Last reply Reply Quote 0
                  • JunkhackerJ
                    Junkhacker Developer
                    last edited by

                    lets get a copy of your install log

                    signature:
                    Junkhacker
                    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      Maybe just double check to be sure? See if this command will run:
                      [CODE]sudo ufw status verbose[/CODE]

                      And, if that works, you could do something similar to turn the firewall off (if it’s on):
                      [CODE]sudo ufw disable[/CODE]

                      If those commands don’t work, you can use the iptables command:
                      [CODE]sudo iptables -L[/CODE]

                      Resources used:
                      [url]http://www.howtogeek.com/115116/how-to-configure-ubuntus-built-in-firewall/[/url]
                      [url]https://help.ubuntu.com/community/IptablesHowTo[/url]

                      #LetsMakeScripts

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tim.Trageser
                        last edited by

                        Here is the install log.

                        I will try the commands Wayne suggested.

                        [url=“/_imported_xf_attachments/1/1819_foginstall.txt?:”]foginstall.txt[/url]

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tim.Trageser
                          last edited by

                          The first command came back “disabled”, so I skipped the second command.

                          The third command gave me some output but I still get the Permission denied on the url from earlier and the same error when trying to boot the system to image it.

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

                            What version of ph do you have?

                            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
                              Tim.Trageser
                              last edited by

                              I am not sure and niether is the other Tech in the office. How can I check? Sorry I am newer to Linux.

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                [CODE]php -v[/CODE]

                                Resource used:
                                [url]http://serverfault.com/questions/296156/how-to-check-my-php-and-mysql-version-on-ubuntu-vps[/url]

                                #LetsMakeScripts

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tim.Trageser
                                  last edited by

                                  PHP version 5.3.2
                                  mysql 5.1.7

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by

                                    Anything in the apache log files?? See Tom’s signature on where to find those. And please check apache’s access.log too! See if this files is really being requested.

                                    Do you use this webserver for other things too (virtual host setup) or is only FOG installed on this system??

                                    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
                                      Tim.Trageser
                                      last edited by

                                      We only use it for FOG. Since it is completely on it’s own network I will look at the apache logs on Monday when I get back into the office. I doesn’t connect to the internet at all.

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tim.Trageser
                                        last edited by

                                        Attached is snippets from the apache error and access logs. I don’t see any activity from Friday March 27th, which is when we did the upgrade. I am thinking maybe the issue is with the networking setup on the machine? Do you guys have any ideas? I was thinking about just backing up our data, upgrading to a newer distro (that you guys have listed as stable) and redoing the install of the latest FOG version.

                                        [url=“/_imported_xf_attachments/1/1832_Apache Logs.txt?:”]Apache Logs.txt[/url]

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by

                                          Please don’t reinstall yet. We better find out what’s wrong and then you can still decide. Better to learn and know what was wrong than having a clean new install working but no idea about why (well, at least that’s how I see things).

                                          From what I can see in the error.log I am pretty sure it’s access rights on that file. Not sure how that could happen… Please post the output of the following command run on the FOG server:
                                          [CODE]sudo ls -alZ /var/www/fog/service/ipxe[/CODE]

                                          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
                                            Tim.Trageser
                                            last edited by

                                            Here is the output:

                                            [EMAIL]root@fog-server[/EMAIL]:~# sudo ls -al /var/www/fog/service/ipxe
                                            total 34188
                                            drwx------ 2 fog www-data 4096 2015-03-26 11:54 .
                                            drwx------ 3 www-data www-data 4096 2015-03-26 11:54 …
                                            -rwxr-xr-x 1 fog www-data 1105 2015-03-26 11:54 advanced.php
                                            -rwxr-xr-x 1 fog www-data 44908 2015-03-26 11:54 bg.png
                                            -rwxr-xr-x 1 fog www-data 756 2015-03-26 11:54 boot.php
                                            -rwxr-xr-x 1 fog www-data 6169392 2015-03-26 11:54 bzImage
                                            -rwxr-xr-x 1 fog www-data 6170512 2015-03-26 11:54 bzImage32
                                            -rwxr-xr-x 1 fog www-data 234697 2015-03-26 11:54 grub.exe
                                            -rwxr-xr-x 1 fog www-data 9577456 2015-03-26 11:54 init_32.xz
                                            -rwxr-xr-x 1 fog www-data 10914208 2015-03-26 11:54 init.xz
                                            -rwxr-xr-x 1 fog www-data 25340 2015-03-26 11:54 memdisk
                                            -rwxr-xr-x 1 fog www-data 1839104 2015-03-26 11:54 memtest.bin

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

                                            182

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project