Netboot Issues

monosodium
Contributor

Hoping someone has some experience with this as I am getting sick of remaking Netboot Images to no avail. Essentially, I needed to make a new image after upgrading to Casper 9.2 from 8.7. Ever since then I have been unable to create a new image that works on my netboot server. At one point I had installed the JDS instance on my netboot server. I ended up removing it though, and am wondering if this process had an adverse affect on my apache config file...

I have tried both capturing the image with both Disk Utility and Composer. I have tried deleting the older images (temporarily), as well as numerous reboots and service restarts. The server hosting the netboot is a 10.7.5 server, it also houses the JSS. Here is the error log:

Dec 9 12:22:10 aaamacserver bootpd[42745]: BSDP INFORM [en0] 1,a8:20:66:4a:48:98 NetBoot135 arch=i386 sysid=iMac13,1
Dec 9 12:22:10 aaamacserver bootpd[42745]: NetBoot: [1,a8:20:66:4a:48:98] BSDP ACK[LIST] sent <Server IP> pktsize 334
Dec 9 12:22:10 aaamacserver bootpd[42745]: service time 0.000338 seconds
Dec 9 12:22:10 aaamacserver bootpd[42745]: BSDP INFORM [en0] 1,a8:20:66:4a:48:98 NetBoot135 arch=i386 sysid=iMac13,1
Dec 9 12:22:11 aaamacserver bootpd[42745]: replyfile /private/tftpboot/NetBoot/NetBootSP0/Helpdesk Netboot (10.8).nbi/i386/booter
Dec 9 12:22:11 aaamacserver bootpd[42745]: NetBoot: [1,a8:20:66:4a:48:98] BSDP ACK[SELECT] sent <Server IP> pktsize 473
Dec 9 12:22:11 aaamacserver bootpd[42745]: service time 0.781437 seconds
Dec 9 12:22:13 aaamacserver org.apache.httpd[2730]: httpd: Syntax error on line 684 of /private/etc/apache2/httpd.conf: Could not open configuration file /Library/JDS/conf/apache_aliases.conf: No such file or directory
Dec 9 12:22:13 aaamacserver com.apple.launchd[1] (org.apache.httpd[2730]): Exited with code: 1
Dec 9 12:22:13 aaamacserver com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
Dec 9 12:22:14 aaamacserver bootpd[42745]: service time 0.000022 seconds

I think the relevant error here is the "httpd: Syntax error on line 684 of /private/etc/apache2/httpd.conf: Could not open configuration file /Library/JDS/conf/apache_aliases.conf: No such file or directory". I am unsure what this means or how to fix it though.

Thanks for any help!

4 REPLIES 4

chris_kemp
Contributor III

I think you're probably right about the JDS installation screwing up the file.

I looked at one of my servers, and the httpd.conf file does not go past line 502. I wonder if the offending line is something that can just be removed - can you post the part of the httpd.conf file that contains that line, and some of the ones surrounding it?

winningham_2
Contributor

I see it in the log you have provided here and one gotcha I ran across was that I had a space in my image name and that was enough for the image not to mount.

Dec 9 12:22:11 aaamacserver bootpd[42745]: replyfile /private/tftpboot/NetBoot/NetBootSP0/Helpdesk Netboot (10.8).nbi/i386/booter

or I would suggest you try changing your image nbi directory to Helpdesk-Netboot-10.8.nbi or something to the like, and test again. It might help, but good luck anyway, if my own issue does not apply to you.

monosodium
Contributor

@chris.kemp][/url The 502 line is:

Include /Library/JDS/conf/apache_aliases.conf

I tried to delete this but am still having the same issue. Although I am no longer getting that error. Although in the System.log I am getting spammed hundreds of times with:

Syntax error on line 14 of /etc/apache2/sites/0000_aaamacserver.uoregon.edu_443_aaamacserver.uoregon.edu.conf:
aaamacserver.org.apache.httpd[22548]: SSLCACertificateFile:file '/Library/JDS/certs/jss_ca.pem' does not exist or is emtpy

Any thoughts?

monosodium
Contributor

Sorry, I meant line 684.