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

APIPA, domain joining, PXE operation not permitted

Scheduled Pinned Locked Moved
FOG Problems
2
7
2.6k
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.
  • S
    Seb
    last edited by Aug 12, 2014, 12:20 PM

    Hey guys,

    First off i have to apologise for the range of issues and huge wall of text approaching.
    Really sorry :oops:

    I was on ver 1.0.1 and when PCs booted up, they could not log in because they had been put onto the 169 range, however imaging worked and named themselves correctly.
    I have upgraded to 1.2.0 and the APIPA issue was resolved, however now when i image a PC they no longer join the domain and rename themselves to something random such as - “TBO193753-1123” or similar (TBO being the first few letters of our domain.)

    I have looked into the ad settings within fog config and made sure that username only has the username within and is not in the format of domain\user. The AD account has not changed, same password, permissions and it’s not expired.

    I think that when i built these images last year they [U]may[/U] have been joined to the domain when i uploaded the image, is this where i am going wrong. Has the procedure changed? The images have worked fine when on versions below 1.2.0
    Do i have to rebuild all my images? 😞

    My second issue is that when i was looking at this last night, my server suddenly died with a memory error.
    I have since fixed the issue, however after i got the server back online the clients get the following error during iPXE boot.

    [url]http://ip.address/fog/service/ipxe/boot.php[/url]… operation not permitted ([url]http://ipxe.org/410c613c[/url])
    Could not boot: Operation not permitted ([url]http://ipxe.org/410c613c[/url])
    PXE-M0F : Exiting PXE ROM

    I have followed this thread here with no luck - [url]http://fogproject.org/forum/threads/stuck-at-boot-php-operation-not-permitted.10706/[/url]

    Thank you guys in advance, love ya

    Seb

    1 Reply Last reply Reply Quote 0
    • S
      Seb
      last edited by Aug 12, 2014, 1:37 PM

      In regards to domain joining, i did check the individual host AD setting and it all looked fine. It pulled across successfully from fog config

      1 Reply Last reply Reply Quote 0
      • J
        Junkhacker Developer
        last edited by Aug 12, 2014, 2:32 PM

        [SIZE=3][FONT=arial]nothing changed in fog betweeen 1.0.1 and 1.2.0 that would affect APIPA[/FONT][/SIZE]
        [SIZE=3][FONT=arial]fog never names anything randomly, it give hosts the names they are registered with in the database. if a name is not specifically granted, the mac address is used as the name.[/FONT][/SIZE]
        [FONT=arial][SIZE=3]the procedure has not changed for AD username/password format[/SIZE][/FONT]
        [FONT=arial][SIZE=3]we do not recommend using an image from a computer that has been joined to a domain. but, i will admit that i have done it and had no problems. [/SIZE][/FONT]
        [FONT=arial][SIZE=3]that ipxe error is a http 403 error. what do you see if you go to that address in a browser?[/SIZE][/FONT]

        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
        • S
          Seb
          last edited by Aug 13, 2014, 7:26 AM

          [COLOR=#000000][FONT=arial][SIZE=3]Hey, cheers for the reply.[/SIZE][/FONT][/COLOR]
          [LIST]
          [][COLOR=#000000][FONT=arial][SIZE=3]On version 1.0.1 (i think,) we had the issue with APIPA whenever i put option 67 in DHCP for it to find a real file, such as unidionly.kpxe. I used to change it to something like ‘unidionly.kpxeeee’ and it wouldn’t mess with IPs. Not an issue now anyway though. :)[/SIZE][/FONT][/COLOR]
          [
          ][COLOR=#000000][FONT=arial][SIZE=3]I’m almost 100% certain that it was giving names out in the format above, i’ll be able to double check when i get it back up.[/SIZE][/FONT][/COLOR]
          [*][COLOR=#000000][FONT=arial][SIZE=3]So am i right in putting :[/SIZE][/FONT][/COLOR]
          [CODE]FOG_AD_DEFAULT_DOMAINNAME : “Domain”
          FOG_AD_DEFAULT_OU : OU=Workstations,DC=“DOMAIN”,DC=net
          FOG_AD_DEFAULT_USER : “user”
          FOG_AD_DEFAULT_PASSWORD : fogcrypt’d passsword[/CODE]
          [COLOR=#000000][FONT=arial][SIZE=3]

          Because with versions below 1.0.0 in the user field I had domain\user[/SIZE][/FONT][/COLOR]
          [][COLOR=#000000][FONT=arial][SIZE=3] I will try and create one new image and see if that changes anything[/SIZE][/FONT][/COLOR]
          [
          ][COLOR=#000000][COLOR=#000000][FONT=arial][SIZE=3]If i go to the address in a browser i get [/SIZE][/FONT][/COLOR][/COLOR]
          [CODE]ForbiddenYou don’t have permission to access /fog/service/ipxe/boot.php on this server.
          Apache/2.2.22 (Ubuntu) Server at IP Port 80[/CODE]
          [/LIST]
          [COLOR=#000000][FONT=arial][SIZE=3]Have permissions been messed up on the var/www/fog/service/ipxe folders?[/SIZE][/FONT][/COLOR]

          [B]EDIT[/B]
          I have tried to reset permissions using
          [CODE]sudo chown -R www-data:www-data /var/www/fog
          sudo chown -R fog:www-data /var/www/fog/service/ipxe/[/CODE]

          and then [CODE]sudo service apache2 restart[/CODE]

          with still no luck, when i restart apache services i am prompted with this…
          [CODE]Restarting web server apache2
          apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
          … waiting apache2:
          Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName[/CODE]

          1 Reply Last reply Reply Quote 0
          • S
            Seb
            last edited by Aug 13, 2014, 10:49 AM

            OK, I have sorted the 403 error now.
            I edited /ect/apache2/apache2.conf, adding a new line at the bottom with
            [CODE]ServerName localhost[/CODE]
            And restarted the services with no errors

            I’m now going to look at my domain joining and naming issue.

            [B]EDIT[/B]

            Just imaged two PCs, in the fog log on C both get this error

            [CODE]HostnameChanger Domain Error! (‘Unknown Error’ Code: 2)[/CODE]

            [SIZE=3][FONT=arial]There was a typo in [COLOR=#555555]FOG_AD_DEFAULT_OU - this must be the issue[/COLOR][/FONT][/SIZE]
            [COLOR=#555555][FONT=Ubuntu][SIZE=3][FONT=arial]I’m a frickin idiot[/FONT][/SIZE] 😕 [/FONT][/COLOR]

            1 Reply Last reply Reply Quote 0
            • J
              Junkhacker Developer
              last edited by Aug 13, 2014, 1:28 PM

              so all of your problems are resolved?

              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
              • S
                Seb
                last edited by Aug 13, 2014, 1:37 PM

                Yes, all sorted 😉

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

                154

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project