Posted on 02-14-2014 11:13 AM
Has anyone else noticed an issue when uploading Shell scripts via Casper Admin using 9.23? Each time I try uploading one, Admin throws an "error 500" saying that it could not write to the Master Distribution Point, and after restarting Admin, it will show the scripts name but that it is missing. DMG and PKG files are working correctly.
Solved! Go to Solution.
Posted on 02-14-2014 11:55 AM
I suspect you're seeing a variation of the issue mentioned in this post:
https://jamfnation.jamfsoftware.com/discussion.html?id=9706
The workaround is to run the following two commands every time you restart the Tomcat instance, or the whole server, to recreate the temp directory:
mkdir -p /usr/local/jss/tomcat/temp/JSS
chown -R tomcat7:tomcat7 /usr/local/jss/tomcat/temp
This is for automatic RedHat installations. If your tomcat directory is in a different place, you may need to update the paths or the owner/group information.
Update: Script had an extra space. Removed.
Posted on 02-14-2014 11:55 AM
I suspect you're seeing a variation of the issue mentioned in this post:
https://jamfnation.jamfsoftware.com/discussion.html?id=9706
The workaround is to run the following two commands every time you restart the Tomcat instance, or the whole server, to recreate the temp directory:
mkdir -p /usr/local/jss/tomcat/temp/JSS
chown -R tomcat7:tomcat7 /usr/local/jss/tomcat/temp
This is for automatic RedHat installations. If your tomcat directory is in a different place, you may need to update the paths or the owner/group information.
Update: Script had an extra space. Removed.
Posted on 02-14-2014 12:06 PM
Yep, that was the fix. Thanks!
Posted on 02-15-2014 12:06 AM
Yep, i am getting this issue too, red hat jss on 9.23, just about to update to 9.24 hope this resolves the issue.
If not, will try your method.
Kamal