Reset netinstall service

Hi!
I have a mac mini server running DHCP / DNS / Netinstall and for some reason after a power outage I can't netboot machines anymore. I can see the images offered by the server and I can see the server and client negotiating the connection but after being offered images, and selecting one noting happens. No spinning globe, and the client just boots from local drive instead. I'm using this to reimage computers with Netrestore. I set up a virtual machine just to test if there is something else wron on the network, DHCP and such, but the virtual server was able to reimage a computer just fine!
So is there a good way to reset the Netinstall service and presumably tftp/bootpd to get it working again WITHOUT having to reinstall the entire server? OS X server has the habit to recreate config files if needed/missing with other services if I remember correctly...
Any help on this is much appreciated!
/Hasse

Here's a script you can run on the server that will dump some basic configuration state:
#!/bin/sh
# netboot_service_states.sh
# Copyright © 2012 Apple Inc. All rights reserved.
httpNetBootPath="/Library/Server/Web/Data/Sites/Default/NetBoot"
nfsExportsPath="/etc/exports"
tftpNetBootPath="/private/tftpboot/NetBoot"
serviceDataPath="/Library/Server/NetInstall"
savedClientsPath="${serviceDataPath}/ClientData"
savedImagesPath="${serviceDataPath}/ImageData"
# Dump state pertaining to the bootp service
isRunning=`sudo launchctl list | grep bootpd`
serviceState="enabled"
if [ "${isRunning}" == "" ]; then
          serviceState="disabled"
fi
echo "bootp service is ${serviceState}\n"
# Dump state pertaining to the TFTP service
isRunning=`sudo launchctl list | grep tftp`
serviceState="enabled"
if [ "${isRunning}" == "" ]; then
          serviceState="disabled"
fi
echo "TFTP service is ${serviceState}"
echo "TFTP Service data folder"
if [ -d "${tftpNetBootPath}" ]; then
          ls -lsa "${tftpNetBootPath}"
fi
# Dump state pertaining to the HTTP service
echo "\nHTTP service data folder"
if [ -d "${httpNetBootPath}" ]; then
          ls -lsa "${httpNetBootPath}"
          # http is configured, lets test it
          for aFile in "${httpNetBootPath}"/*; do
                    imageDir=`basename ${aFile}`
                    curlOutput=`curl -Is http://localhost/NetBoot/${imageDir} | grep localhost`
                    echo "HTTP Status - "${curlOutput}
          done
fi
# Dump state pertaining to the NFS service
echo ""
nfsd status
if [ -e "${nfsExportsPath}" ]; then
          echo "Contents of ${nfsExportsPath} is:"
          cat "${nfsExportsPath}"
fi
# Dump state pertaining to the re-promotion data cache
if [ -e "${savedClientsPath}" ]; then
          echo "\nSaved client share points"
          cat "${savedClientsPath}"
fi
if [ -e "${savedImagesPath}" ]; then
          echo "\nSaved image share points"
          cat "${savedImagesPath}"
fi
Validating tftp is also pretty straightforward. Do the following from a client (italicised text is response). If you receive data, tftp is working.
$ tftp <your_server>
tftp> verbose
Verbose mode on.
tftp> get NetBoot/NetBootSP0/<a_served_image>.nbi/i386/booter
getting from <your_server>:NetBoot/NetBootSP0/<a_served_image>.nbi/i386/booter to booter
Received 313526 bytes in 2.6 seconds 964695 bits/sec

Similar Messages

  • Under reset subscriber services on the iPad, how do I learn the passcode when I never set one?

    Under reset subscriber services on the iPad, how do I learn the passcode when I never set one?

    Assuming that you have created a user pin? As its that.

  • UCCX 8.0(2) reset Unified Serviceability password

    Hello,
    I'm running UCCX 8.0(2) in HA.   It appears that my username and passwords to get me access to the Unified Serviceability (not UCCX Serviceability) pages are out of synch.   I can get into the primary fine but the secondary gives me "Access Denied"   I do not want to reset the platform or appadmin usernames or passwords.   What is the correct command to do this via CLI?
    Thanks,
    Glenn

    Hi Glenn,
    The above screenshot will give you an idea of what users are available and their respective user roles.
    In order to reset unified serviceability password you have to reset the application administrator user role.
    Below document lists the commands that you need to use, pg 2-4
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_5/configuration/guide/uccx85rtmt.pdf
    "In case you forget the Application User credentials, use the CLI commands “utils
    reset_application_ui_administrator_name” and “utils
    reset_application_ui_administrator_password” to reset the credentials. For more information about
    these CLI commands, see the “Gathering Configuration Information for Installation” section of the
    Installation Guide for Cisco Unified Contact Center Express and Cisco Unified IP IVR available here:
    http://www.cisco.com/en/US/products/sw/custcosw/ps1846/prod_installation_guides_list.html"
    Hope this helps.
    Shirish.

  • FIM Password Reset Client Service error 1053 when starting service - what is the minimum permissions set?

    Hi,
    I've installed Password Reset Client Service on a machine with locked down GPO settings. Now, service, running under NETWORK_SERVICE account doesn't start (Service Control Manager reports error 1053 after waiting 30 seconds for the service to respond during
    start).
    If I change service account to some other account (i.e. domain account), service runs fine and I am able to reset password successfully, so there is no issues with password reset infrastructure, firewall, etc..). Problem is only with NETWORK SERVICE not
    having enough permission to do its job.
    Unfortunately, there is no event log entries in neither of relevant event logs (Application, Security, System, Forefront Identity Manager) that would provide additional information on why service doesn't start. ProcessMonitor tracing revealed only, that
    service cannot access some of the registry entries. After granting permissions, service still refuses to start.
    What I'd like to know is there a list of permissions, configuration entries, that NETWORK SERVICE needs in order to run normally?
    If that is not available, does anybody have any idea, how to find out what is preventing NETWORK SERVICE account from running that service?
    Thank you and best regards,
    P

    Fatih,
    The above often solves it because this disabled CRL checking for the account running the service. As the service is the network service, it has no scope off of the box, so the machine account is typically used and many shops have policies in place that prevent
    this. If the above entry doesn't help, try using your account as the service account. If that works, then its probably a syntax problem with above entry. If it fails with your account too then its most likely not CRL checking.  There is
    a registry key that can be configured that could assist:
    [HKEY_LOCAL_MACHINE \System \CurrentControlSet \Control]
    ServicesPipeTimeout = 30000
    Try setting this to another value higher than 30000. This value is milliseconds. I would also look at network capture and verify if we are indeed attempting to go to the Internet during service startup.

  • Resetting launch services doesn't stop multiple apps in 'open with'

    Well, I followed Dr. Smoke's advice on Resetting Launch Services but it made no difference. I still have the same multiple copies of a single application appearing in the Open With menu for a given document. What happens when what should work doesn't?

    You could try Mark Douma's Applescript for using lsregister to rebuild the LaunchServices. I put a copy up here:
    http://homepage.mac.com/francines/.Public/RebuildLaunchService.zip
    It evidently REALLY rebuilds things, and requires a restart.
    Francine
    Francine
    Schwieder

  • Reset sync services in Yosemite

    how can I reset sync services in Yosemite?

    It's best to describe the problem in as much relevant detail as possible, rather than what you think is causing it or how you think it should be solved.

  • Have to keep resetting the service number

    I have got a new i phone 4s and my old i phone 3 number was transfered over to my micro sim in store, the problem I am having is ever day I have to reset the service number as it keep going back to a pay monthly one and im on pay as you go. is there any ideas on what to do

    If there is, I haven't found it. Every couple of days I toggle the setting off and on to get it to work again and it lasts for two or three more days, then I repeat the process. I have reset all settings and restored my iPad and I still can't get to work reliably.

  • TS1702 My TomTom does not work following the upgrade to IOS 6.0 - I am getting poor GPS reception on my iPhone 3 using my TomTom car kit ( worked fine prior to upgrade!). I have tried to reset Location Services with no luck! - Help...

    My TomTom does not work following the upgrade to IOS 6.0 - I am getting poor GPS reception on my iPhone 3 using my TomTom car kit ( worked fine prior to upgrade!). I have tried to reset Location Services with no luck! - Help...

    Aa2009 wrote:
    he could have a 3gs but doesn't state 3g or 3gs
    Look at his tag line  

  • NetInstall service error

    My NetInstall service errors out each time I start it. This is the error message I get:
    To resume normal operation, I would have to remove this service. I'm looking to re-image a computer lab, but would really like to get as much use out of this service. I'm on Mac OS X Server 10.5.8

    alright I managed to solve my problem. I didnt realize the ***.nbi had to be placed Library/NetBoot/NetBootSP0
    I made the mistake of making the .nbi folder a sub folder and not the parent. So now I can see the image in the Images tab.
    thanks for the help.

  • Reset the Service entry sheet deletion flag.

    Dear all,
    How to Reset the Deletion flag for the service entry sheet.(To remove the deletion flag)
    Thanks,
    Cherry

    Dear Cherry,
    I am afraid I must confirm that the system is working as designed in
    this case.
    It is not possible to cancel the deletion indicator once it has been
    set in a Service Entry Sheet. None of the two currently available
    transactions to maintain Service Entry Sheets support this functionality
    (this is, the deletion indicator cannot be reset via ML81 or ML81N: None
    of the two transactions allow this).
    We had got the similar issue from the other customers and developers replied that:
        "The service entry sheet is an accounting document, and once you
         delete it, can no be undelete it."
    Best Regards,
    Arminda Jack

  • How do I reset Sync Services on my Macbook air

    How do I reset the Sync Services on the Macbook Air please.

    It's best to describe the problem in as much relevant detail as possible, rather than what you think is causing it or how you think it should be solved.

  • My fascinate, decided it was going to reset, lose service, and tell me it is 2004.. help?

    Around 1:30 am, I was texting, and all of a sudden, my fascinate resets itself. Once I get this crap phone working, I see that I no longer have service. Then, I check the time. It says "7:03 pm. Friday, December 31st, 2004"... What on EARTH happened? I have tried turning it off and taking the battery out, and nothing,
    Another issue I have been having is getting it to charge. When I plug it in, it doesn't charge, So I have to hold it just right, or set it up just right, so that it can charge so I can hear the alarm in the morning.
    PLEASE HELP ASAP!!

    it would be nice if you shared the fix with others who are having the same problem...like me, for instance!

  • Reseting internet service account

    Hi, I'm Jamil, i'm using blackberry curve 8900. Have purchased this phone almost new (used for around two weeks). I've been using it for around 3 month and cannot access blackberry internet service. The reason is that previous owner has already openned an account and I do not have the username and password. Is there any way to reset said account so I can create mine?
    Solved!
    Go to Solution.

    Hi and Welcome to the Forums!
    You have troubles ahead, I am afraid. See this matrix for the steps that must be conducted by buyer and seller:
    http://www.blackberry.com/btsc/microsites/search.d​o?cmd=displayKC&docType=kc&externalId=KB05099&slic​...
    The seller must conduct the seller steps. If you cannot reach that person, then you will have to try and convince the prior owners carrier to release the PIN from the BIS account so that your carrier can create a BIS account for you. It will be difficult...most carriers will not do this without release from that prior owner (since they must suspect the device to be stolen rather than sold). But I've heard some lucky stories. I hope you become one of them.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Resetting Launch Services

    Hi
    When I try to open a document with the 'open with' menu, multiple copies of a single application appear in the 'Open With menu'. I have reset the launch services using Cocktail, but days later, the same problem reoccurs. Any Idea what is causing the problem and how I can prevent this from reoccurring?
    Phil B

    Do you perhaps have multiple copies of those apps on your drive(s) or Partitions?

  • Not booting up/Need reset SMC/"Service battery" sign.. culprit ?

    Trying to figure out if "Service Battery" is the cause of sometimes the comp not booting up (needing to do SMC reset) even though battery metter shows it charged ?

    Battery Health and battery charge are different things. You can have a battery with 50% health and 100% charge, but the 100% charge is 50% of the battery's original capacity.
    It is very unlikely that the bootup problem has anything to do with the battery.

Maybe you are looking for

  • Report for CS15 tcode with multiple material nos. in selection screen.

    I want to develop a report for cs15 but with multiple materials. Like in cs15 we enter the material and its plant, then click on multi level check box and get the output. But cs15 works only for a single material. I want to develop a report in which

  • Exporting out of Pages to PDF results in large files

    I frequently have to post files for my students to download in PDF. Many of these things are worksheets or outlines that have no pictures on them whatsoever. I've noticed recently that older things that I have exported from MS Word on the PC were sig

  • OC4J 9.0.4 stand alone + JDK 1.4.2

    Hi, I'm upgrading my web applications from OC4J (1.0.2.2) to OC4J 9.0.4. Also, upgrading from JDK1.3.1 to JDK 1.4.2. I have installed OC4J 9.0.4 stand alone version on my Windows 2000 machine and I have a couple of questions: 1. I didn't find any JDK

  • Querying a "chronologically ordered table"

    Hi, I'm not very familiar with joining tables ... My problem is: Given two tables A / B with essentially these columns (ballast omitted): A.ID number (pk) A.BEGIN date B.ID number (pk) B.FK_A number references A ( ID ) B.END date B.DATA ... (the ID's

  • Hide Status Bar

    I have a personal domain name from godaddy. I enabled masking and forwarding so that my .mac created pages can be accessed via my personal domain name. That works fine. Here's where the problem is: When I'm at my personal domain name website and hove