Weird Computer Issue

Matt
Valued Contributor

So I'm on a roll today!!! I have a computer that I always run into issues with. It seems to be getting policies and MCX's fine but when you recon it you get an error message:

There was an error submitting the computer to the JSS. Here is what the JSS reported back:

<?xml version="1.0" encoding="UTF-8"?>
<jamfServlet version="8.1" server="Apache Tomcat/6.0.32">
<institution>Fox Networks Group</institution>
<epoch>1306271567</epoch>

<response>Bad username or password</response>

<sessionLastError></sessionLastError>
</jamfServlet>

I checked out the com.jamfsoftware.jamf.plist and it was all FUBAR'd. I fixed it manually but I am still receiving the error above. Very strange!!!!!!

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

12 REPLIES 12

stevewood
Honored Contributor II
Honored Contributor II

Anytime I've seen that with Recon I remove the framework and then Recon the
On Tue, May 24, 2011 at 4:18 PM, Matthew Lee <Matt.Lee at fox.com> wrote:
machine.

jamf removeFramework

Once that is complete, run Recon against the machine and it should get added
back in with the correct info.

Steve Wood
Director of IT
swood at integer.com

The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475

Matt
Valued Contributor

Been there done that!!!! Ill try again though.

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

Matt
Valued Contributor

I did a delete framework and removed it from the JSS, verified that all the accounts and everything was enabled. I am still getting a bad user name and password error when I recon or use a quickadd. Im getting frustrated with OSX today!

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

talkingmoose
Moderator
Moderator

Just a side note to your situation:
On 5/24/11 4:18 PM, "Matthew Lee" <Matt.Lee at fox.com> wrote:

I also use Casper's MCX capabilities to manage this, Casper Remote and
Casper Admin .plist files as well. Beats having to always specify my
server and other preferences the first time I launch the application.

--

William Smith
Technical Analyst
Merrill Communications LLC
(651) 632-1492

golbiga
Contributor III
Contributor III

William,

Do you mind sharing a screenshot of those mcx settings from your jss?

Thanks
Allen

Matt
Valued Contributor

![external image link](attachments/72ae0f242ec345068def876a275c9333)
--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

tlarkin
Honored Contributor

Delete the username and password in the JSS as well under that machine's info. Most likely the database in the jSS does not match the machine locally, which is the problem.

Matt
Valued Contributor

I deleted the user record. I've deleted everything. I think its time to just reimage the machine. Now I have another machine doing the same thing. I wonder if its a bug.

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

talkingmoose
Moderator
Moderator

Do you mind sharing a screenshot of those mcx settings from your jss?
On 5/24/11 6:23 PM, "GolbigA at mskcc.org<mailto:GolbigA at mskcc.org>" <GolbigA at mskcc.org<mailto:GolbigA at mskcc.org>> wrote:

Not at all! If you see improvements then let me know.

I have these four MCX settings for my Casper 7.31 setup:

![external image link](attachments/5cf1c3a26b364f55a9ef40922031f369)

The com.jamfsoftware.jamf preference file, I believe, is for those background processes that initiate their own connections to the JSS. Those would be daily inventory updates, hourly policy updates, etc. It's located in /Library/Preferences

The com.jamfsoftware.jss preference file is for Casper Remote and Casper Admin to know how to connect to the JSS. It's a user level file located in ~/Library/Preferences. I have these preferences set to "User Level At Every Login" because I need the ability to change them on my own machines for testing purposes.

Earlier versions of Casper actually stored the server settings in com.jamfsoftware.admin or com.jamfsoftware.casperremote. Somewhere around 7.3 or 7.3.1 the server settings were centralized to com.jamfsoftware.jss. I wasn't really paying attention at the time so I'm not sure when.

--

William Smith
Technical Analyst
Merrill Communications LLC
(651) 632-1492

Matt
Valued Contributor

That is super cool. I think I may do this. Though I am scared of MCX's after all the drama I've had with them.

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

Matt
Valued Contributor

I made the 2 preferences for system level com.jamfsoftware.jamf.

Does 8.1 not include the other file?

--
Matt Lee
FNG Sr. IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group
matthew.lee at fox.com<mailto:matthew.lee at fox.com>

Need Help? Call the Help Desk at (310) 969-HELP (ext 24357) or online at http://itteam<http://itteam/>
Help Desk Hours: Mon-Fri, 6AM-6PM PST

talkingmoose
Moderator
Moderator

I'm not running 8.1 here so I can't say if the file names are the same. Be
On 5/25/11 12:21 PM, "Matthew Lee" <Matt.Lee at fox.com> wrote:
sure you're looking in the correct locations.

com.jamfsoftware.jamf is in /Library/Preferences

com.jamfsoftware.jss is in ~/Library/Preferences

--

William Smith
Technical Analyst
Merrill Communications LLC
(651) 632-1492