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

Stuck on "running post init scripts" when trying to boot into pxe client

Scheduled Pinned Locked Moved
Linux Problems
3
7
2.7k
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.
  • M
    mikegriffin
    last edited by Jan 23, 2018, 6:18 PM

    hello,

    I’ve been struggling with this issue for 4 days and I’m stuck. I’m trying to boot any system up into the FOG client and Its getting stuck when trying to run post init scripts. Where are the logs that can help me troubleshoot this? Or has anyone solved anything like this before? Any help is greatly appreciated.

    I have FOG running my DHCP server as well as TFTP etc.

    Side note: I’m running on 1.4.4 now but had the same issue on 1.4 RC as well which prompted the upgrade

    M W 2 Replies Last reply Jan 23, 2018, 6:20 PM Reply Quote 0
    • M
      mikegriffin @mikegriffin
      last edited by Jan 23, 2018, 6:20 PM

      @mikegriffin 0_1516731518564_MVIMG_20180123_131336.jpg

      1 Reply Last reply Reply Quote 0
      • W
        Wayne Workman @mikegriffin
        last edited by Wayne Workman Jan 23, 2018, 12:47 PM Jan 23, 2018, 6:46 PM

        @mikegriffin said in Stuck on “running post init scripts” when trying to boot into pxe client:

        Where are the logs that can help me troubleshoot this?

        If you want logging in your post-init or post-download scripts, you have to build that into them yourself. Simple things like echoing variables and echoing where you are would probably help you.

        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
        • M
          mikegriffin
          last edited by Sebastian Roth Jan 23, 2018, 3:17 PM Jan 23, 2018, 6:49 PM

          I made no post init scripts. I’m assuming this would be in /images/dev/postinitscripts/fog.postinit

          here are the contents:

          /images/dev/postinitscripts$ cat fog.postinit
          #!/bin/bash
          ## This file serves as a starting point to call your custom pre-imaging/post init loading scripts.
          ## <SCRIPTNAME> should be changed to the script you're planning to use.
          ## Syntax of post init scripts are
          #. ${postinitpath}<SCRIPTNAME>
          
          1 Reply Last reply Reply Quote 0
          • M
            mikegriffin
            last edited by Jan 23, 2018, 7:02 PM

            restarting the server fixed it. Oy.

            1 Reply Last reply Reply Quote 0
            • M
              mikegriffin
              last edited by Jan 23, 2018, 7:19 PM

              oh, and I had to +x the permissions on fog.postinit. It looks like FOG was unable to execute the empty script.

              1 Reply Last reply Reply Quote 0
              • G
                george1421 Moderator
                last edited by Jan 23, 2018, 9:26 PM

                So is this solved?

                With the postinit scripts messed up, deployment/capture will probably not happen. The postinit scripts are run first then tasking starts.

                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!

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

                162

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project