JDS Connection error

dmw3
Contributor III

Script running: JDS_Linux_Installer-9.0.run
[root@utasjdssby Downloads]# sh JDS_Linux_Installer-9.0.run Verifying archive integrity... All good.
Uncompressing JDS Installer..........
Starting the JDS Installation
Checking installation requirements...
Checking for a supported Linux OS...Red Hat Enterprise Linux Server 6.4 found
Checking for a 64-bit OS...OK
Passed all requirements checking!
Creating JDS directory structure
Installing apache...
Enabling ssl...
Installing security module...
Verifying archive integrity... All good.
Uncompressing JDS API Installer........
Starting JDS API Installation
Installing php...
Copying API files
grep: /etc/httpd/conf.d/ssl.conf: No such file or directory
Writing API RewriteRule...
sed: can't read /etc/httpd/conf.d/ssl.conf: No such file or directory
grep: /etc/httpd/conf.d/ssl.conf: No such file or directory
Disabling Idexes on API
sed: can't read /etc/httpd/conf.d/ssl.conf: No such file or directory
Restarting apache...
Finished deploying the JDS API application
##### Enter JDS and JSS information #####
JDS Hostname: utasjdssby.its.utas.edu.au
JSS URL: https://utasjss.its.utas.edu.au:8443/
JSS Username: csadmin JSS Password: Allow untrusted SSL certificate? (y/n): y

OSError - [Errno 2] No such file or directory

check /usr/local/jds/logs/jamf.log for more information.

Re-enter data and attempt to enroll again? (y/n):
-----------------------------------------------------------------------------
When trying to enroll a new JDS with a new JSS v9.0 both Redhat 6.4 VM's we are getting the following error in the jamf.log:

2013-08-30 10:54:26,251 INFO Creating configuration file for https://utasjss.its.utas.edu.au:8443/
2013-08-30 10:54:26,948 INFO Starting Enrollment
2013-08-30 10:54:28,468 INFO Invitation file not found. Getting invitation...
2013-08-30 10:54:28,553 ERROR An authentication error has occurred. 2013-08-30 10:56:46,247 INFO Creating configuration file for https://utasjss.its.utas.edu.au:8443/
2013-08-30 10:56:46,593 INFO Starting Enrollment
2013-08-30 10:56:46,666 INFO Invitation file not found. Getting invitation...
2013-08-30 10:56:46,725 INFO Checking JSS certificate
2013-08-30 10:56:46,760 INFO Generating key pairs
2013-08-30 10:56:47,007 INFO Enrolling...
2013-08-30 10:56:47,202 INFO Saving certificates
2013-08-30 10:56:47,487 INFO Installing JSS CA
2013-08-30 10:56:47,568 INFO Configuring apache
2013-08-30 10:56:47,568 ERROR [Errno 2] No such file or directory
Traceback (most recent call last): File "<string>", line 2069, in main File "<string>", line 228, in enroll File "<string>", line 283, in configure_server_name File "/usr/local/jenkins/workspace/jamfds-build-release/label/redhatqa.jamfsw.corp/build/pyi.linux2/jamfds/out00-PYZ.pyz/fileinput", line 253, in next File "/usr/local/jenkins/workspace/jamfds-build-release/label/redhatqa.jamfsw.corp/build/pyi.linux2/jamfds/out00-PYZ.pyz/fileinput", line 322, in readline
OSError: [Errno 2] No such file or directory

Documentation on the JDS is very little / almost non-existent.

Has anyone seen this error before and have a fix.

1 ACCEPTED SOLUTION

dmw3
Contributor III

Michael, found the answer to this. For some reason in a normal Redhat install the file ssl.conf is not created in conf.d as in the line in the JDS install:

grep: /etc/httpd/conf.d/ssl.conf: No such file or directory

If before we run the install we do a "sudo touch /etc/httpd/conf.d/ssl.conf" this will then allow the installer to continue.

View solution in original post

4 REPLIES 4

tdurdan
New Contributor

i am getting the same result.

tdurdan
New Contributor

finally had a chance to look into this further. I was testing with a VM that wasn't going to be a permanent install so i didn't bother subscribing to the RHN network. looks like that is mandatory for the JDS installer to install and configure apache and PHP. give that a shot and see if it works for you. You can always unsubscribe the VM from RHN subscription when you are done testing if it is not to be a permanent install.

dmw3
Contributor III

Michael, found the answer to this. For some reason in a normal Redhat install the file ssl.conf is not created in conf.d as in the line in the JDS install:

grep: /etc/httpd/conf.d/ssl.conf: No such file or directory

If before we run the install we do a "sudo touch /etc/httpd/conf.d/ssl.conf" this will then allow the installer to continue.

matt_jamison
Contributor

ssl.conf won't be created unless the mod_ssl package is installed.

yum install mod_ssl