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

    Stuck at /boot.php... operation not permitted

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    9
    3.9k
    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
      TCM
      last edited by

      First thanks to everyone who has posted and helped me get this far thru the .32 to 1.0.1 upgrade!
      I just upgraded fog .32 on Ubuntu 12.04 server to fog 1.0.1 today, fog .32 was working fine before the upgrade.
      Upgrade seem to go smooth, updated schema, changed the DHCP settings and went thru multiple ipxe kernels to get to this point.
      Stuck at [URL=‘http://xx.xxx.xx.xxx/fog/services/ipxe/boot.php’]Http://xx.xxx.xx.xxx/fog/services/ipxe/boot.php[/URL]… Operation not permitted.
      Could not boot: Operation not permitted.
      Booting an HP ProDesk 400
      [IMG]http://i1296.photobucket.com/albums/ag9/tmorgan28/IMG_2034_zps1880f189.jpg[/IMG]
      Seems it’s kicking out just before loading bzimage. I have looked everywhere and have not found this exact problem.

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

        It seems like there’s an error on the boot.php
        What do you get if you go to the link:

        [url]http://10.170.0.224/fog/service/ipxe/boot.php?mac=a0:48:1c:ac:f5:f6[/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
        • T
          TCM
          last edited by

          [SIZE=6][B][FONT=Times New Roman][COLOR=#000000]Forbidden[/COLOR][/FONT][/B][/SIZE]

          [SIZE=6][B][FONT=Times New Roman][COLOR=#000000]You don’t have permission to access /fog/service/ipxe/boot.php on this server.[/COLOR][/FONT][/B][/SIZE]

          [COLOR=#000000][/COLOR]
          [SIZE=4][FONT=Times New Roman][COLOR=#000000]Apache/2.2.22 (Ubuntu) Server at 10.170.0.224 Port 80[/COLOR][/FONT][/SIZE]

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

            Perhaps this is your issue?

            Is your documentroot /var/www or /var/www/html?

            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
              TCM
              last edited by

              Did I mention I’m new to linux and fog too. The fog directory is located in /var/www/ if that’s what your asking.

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

                Try these commands:
                [code]sudo chown -R www-data:www-data /var/www/fog
                sudo chown -R fog:www-data /var/www/fog/service/ipxe/[/code]

                Restart apache services.
                [code]sudo service apache restart[/code]

                What does the link show you this time?
                [url]http://10.170.0.224/fog/service/ipxe/boot.php?mac=a0:48:1c:ac:f5:f6[/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
                • T
                  TCM
                  last edited by

                  I got the permissions changed and got it to boot to the menu, done a full inventory and tried deploying an image. After it reboots to load the image, it kicks out with “Invalid Operating System ID (0)!” “Rebooting in 1 minute” There use to be a question during inventory and a space in Host management for OS Type, But I can’t locate it in Host Management anymore? So it just keeps rebooting.

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

                    The OS is now with the Image. Go to your GUI, select Image Management, choose the image you created, and set the OS there.

                    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
                      TCM
                      last edited by

                      Found it, works correctly now. Thanks for all the Help!

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

                      251

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project