- Community Home
- >
- Networking
- >
- IMC
- >
- IMC's not working, JSERVER stopped and don't start
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 12:51 AM
07-05-2019 12:51 AM
Hello everyone,
Today i have IMC (e605) which is installed on a VM with Windows Server 2012 R2.
I have to migrate this soft on another VM and the new one is on Windows 10
Since 2 days i'm trying to install the new version of IMC (e705) on the new VM but i have a problème to start it, the process JSERVER don't want to start so i can't use IMC on the new VM and access at the web portal.
For informations, i let IMC install the Microsoft SQL 2016 that it propose.
Have you an idea about this problem please ?
Thanks for your help !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 01:32 AM
07-05-2019 01:32 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
This sounds like the known issue with jserver startup. I've posted it before here, but here is an updated text:
ISSUE: Jserver process is permanently stopped/does not start after upgrade to E0703 completes successfully.
1) Open Windows CMD as Administrator and navigate to "iMC\client\bin"
2) Run the command: cacls jmx.password /P [admin group name]:F // replace [admin group name] with the non-English equivalent of the Administrators group depending on your OS language (see also https://www.microsoft.com/en-us/language/search )
3) Restart IMC via DMA and the "jserver" process should now start up successfully
- Note: If the "cacls" command is not found, you need to make sure that "Windows\system32" is part of your command-line %PATH%, as cacls is a Windows file system permission editing command.
- The end result should be the local Administrators group having Full Control over the jmx.password file. Do NOT add any additional permissions for more users/groups to the file, or the jserver issue will remain!
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 01:47 AM
07-05-2019 01:47 AM
Re: IMC's not working, JSERVER stopped and don't start
At first, thanks for your help.
I'll try this but what do you mean witch "admin group name" and what product did you choose for the language on the Microsoft Web Site ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 01:54 AM
07-05-2019 01:54 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
It depends on the language settings of your OS. For example, German-language OS uses the local Administrators group name "Administratoren" so the command would be: cacls jmx.password /P Administratoren:F
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 02:09 AM
07-05-2019 02:09 AM
Re: IMC's not working, JSERVER stopped and don't start
Unfortunately it was not work, the jserver doesn't start....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2019 02:44 AM - edited 07-05-2019 02:45 AM
07-05-2019 02:44 AM - edited 07-05-2019 02:45 AM
Re: IMC's not working, JSERVER stopped and don't start
Can you please try these steps to debug why it won't start?
- Edit $iMC\client\bin\startup.bat file.
- Locate the last line, change " JAVA_HOME \bin\javaw.exe" to " JAVA_HOME \bin\java.exe", then save it.
- Open a windows command line
- cd IMC\client\bin
- Save startup output to 1.txt: startup.bat >1.txt
- Share the output of $iMC\client\bin\1.txt after the startup fails, as well as any output from the CMD window
- Edit $iMC\client\bin\startup.bat file and return to " JAVA_HOME \bin\javaw.exe".
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2019 12:30 AM
07-10-2019 12:30 AM
Re: IMC's not working, JSERVER stopped and don't start
I did these instructions and this is what the command return :
C:\Program Files\iMC\client\bin>startup.bat>1.txt
OpenJDK 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
Error: Password file read access must be restricted: C:\Program Files\iMC\client\bin\..\bin\jmx.password
jdk.internal.agent.AgentConfigurationError
at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.checkPasswordFile(ConnectorBootstrap.java:590)
at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:436)
at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:447)
at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:599)
The file 1.txt which was created in the folder bin is empty.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 01:02 AM
07-11-2019 01:02 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
That's precisely the startup error that is mentioned above related to jmx.password. Could it be that your local Administrators group has been renamed?
It's likely this would also trigger the issue, as the command IMC runs on E0703 is the "cacls" command mentioned above, using "Administrators" as the group name.
If you are having trouble you could always check the local Users & Groups on the server, or run net localgroup | find "Adm" or similar to locate the Administrators group.
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 04:10 AM
07-11-2019 04:10 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
One more important bit I'd like to mention... I've seen some folks writing that they have issues despite running "the command correctly" when in fact they were running "icacls" instead of "cacls". Ignore the obsoletion message of cacls, it is not exactly the same as icacls and Engineering have stated that "cacls" must be used here. The same command using "icacls" may not work as expected.
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 04:41 AM - edited 07-11-2019 05:29 AM
07-11-2019 04:41 AM - edited 07-11-2019 05:29 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
I tried to start the service with the local administrator but the same happened.
For me in France, the admin group is named "Administrateurs" so i used the correct command "cacls", and not "icacls", like this :
cacls jmx.password /P Administrateurs:F then the command asked to me if i'm sure of my choice and i did "yes".
But it does not works neether... I wanted to see how works the last installation in E603 and i saw that i don't have the "jmx.password" file. Is it a new features with the nw version ?
I don't know what i can do to make the soft functional :')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 05:57 AM
07-11-2019 05:57 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
Can you please open Properties for the jmx.password file, and share a screenshot of the Security tab? If you are logged in with some user that is not in local Administrators group, this should show that you do not have read access to the file. Otherwise it shows all users/groups with permission to access the file.
The reason for the jmx.password issue is related to the OracleJDK to OpenJDK 11 backend migration in IMC. This resolved a long list of security issues, and one of them was related to the JMX console being accessible remotely without a password. To secure this and prevent the vulnerability, a jmx.password file must be added which has access restriced to only the local Administrators group. That's not something our developers decided, but the folks who worked on that for (Open)JDK.
See for example https://docs.oracle.com/javadb/10.10.1.2/adminguide/radminjmxenabledisable.html
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 06:09 AM
07-11-2019 06:09 AM
Re: IMC's not working, JSERVER stopped and don't start
There are the autorisations for administrators and users (my profile is in the administrator group)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 06:22 AM - edited 07-11-2019 06:23 AM
07-11-2019 06:22 AM - edited 07-11-2019 06:23 AM
SolutionHello,
Thanks for the screenshot. I see there are additional permissions in there. Please completely remove all user/group/system privileges on the file that you see on security tab, except for VDRLT622\Administrateurs, and then try starting up jserver again.
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2019 06:49 AM
07-11-2019 06:49 AM
Re: IMC's not working, JSERVER stopped and don't start
Hey,
It finally started ! It was just a problem of group of permissions...
I'd never guessed that i juste have to delete the uselesses groups will fix it
Thank you a lot for your help !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 03:50 AM
07-16-2019 03:50 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
I have the same problem, and all the options here already tried. Is there another way to solve the problem? In any case, I also get the error as above time when I rewrite the javaw.exe on java.exe.
"Error: Password file read access must be restricted: C:\Program Files\iMC\client\bin\..\bin\jmx.password
jdk.internal.agent.AgentConfigurationError"
Also i have correct the permissons on the jmx.password - but all this not work for me.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2019 04:07 AM
07-16-2019 04:07 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
Can you please post the same screenshot as above, showing your jmx.password "security" tab?
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2019 09:08 AM - edited 07-22-2019 09:17 AM
07-22-2019 09:08 AM - edited 07-22-2019 09:17 AM
Re: IMC's not working, JSERVER stopped and don't start
Hi Justin,
Same issue over here, ran the cacls command to change persission on that file, upon rebooting the server I noticed that the permissions still had another entry, this cannot be removed at all, you remove it and it comes back automatically, any further troubleshooting?
cant upload images for some reaon but the group is called ALL APPLICATION PACKAGES
Running your diag I get the following which suggests the file is still at fault "Error: Password file read access must be restricted"
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2019 11:14 AM
07-22-2019 11:14 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello,
The jserver workaround was proposed by Engineering using cacls, hence my recommendation. However I've noticed that it cannot overwrite the permissions that are inherited. After some experiences removing the permissions, it's actually not absolutely necessary to use cacls. Here are alternative steps that should be easier to implement and account for this...
I simulate the issue on English Windows with hostname IMC by opening "lusrmgr" (Local Users and Groups), and renaming the Administrators group to "RenamedAdmins". This will trigger the issue if I install IMC afterwards.
To fix it:
1) Open Properties > Security on the IMC\client\bin\jmx.password file
2) Notice that there are probably 4 different permissions shown - click the icon to get Administrator permissions if you cannot see or edit the permissions. ALL APPLICATION PACKAGES, SYSTEM, Users and RenamedAdmins (this will be different based on the name of your local Administrators group). These are the inherited permissions that cause issues.
3) Click on Advanced, then click on Disable inheritance and select Convert inherited permissions into explicit permissions on this object (selecting the other option will remove all permissions, including your own, so don't use that). Your Advanced Security Settings should now look similar to this:
4) Remove all permissions, except the second one on the list above (the permissions for the local Administrators group, called IMC\RenamedAdmins in my case), like so:
5) Click on Apply to save it, and close the Properties. Start IMC again, and jserver process should now start up successfully.
Hope that helps.
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2019 11:40 PM
07-22-2019 11:40 PM
Re: IMC's not working, JSERVER stopped and don't start
Hello, I am sorry that I will contact you only now?
Here is the screenshot ....
The Group "Alle Anwendungspakete" can not be removed.
This is always newly created
Best regards, Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2019 12:15 AM
07-23-2019 12:15 AM
Re: IMC's not working, JSERVER stopped and don't start
Hi,
Also in french language, the solution to only keep Administrators (Administrateurs in french) group ACL worked for me too. I only said one thing, without java, life would not be so funny...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2019 12:23 AM
07-23-2019 12:23 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello HirnerStefan
When you are on this window, go in the "Advanced" setting at the bottom of this page.
Then disable the "inheritance" at the bottom again.
When you try to do that, a message with 2 choices will appear, take the first one.
Now you can validate and i think you could delete the autorisation and just keep the administrator group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2019 02:15 AM
07-23-2019 02:15 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello Justin
I removed inheritance and clicked the convert to explicit option when presented, I still cannot remove the group "ALL APPLICATION PACKAGES"
And I still cant start JServer process from DMA
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2019 03:11 AM
07-23-2019 03:11 AM
Re: IMC's not working, JSERVER stopped and don't start
Hello Matt and all,
Is it possible that you are not the owner of the file and therefore can't remove it? I can't see the owner in the Security context screenshot.
Please have a look at this doc (rather old but should still be relevant) from Oracle on securing jmx.password in Windows:
https://docs.oracle.com/javase/8/docs/technotes/guides/management/security-windows.html
Another possibility is that Group Policy is somehow interfering with the permissions, if you are in an AD Domain. See for example the steps mentioned here:
In that case, you could test assigning the system to a temporary OU that blocks GPO inheritance and try again after updating the policy on the server.
Justin
Working @ HPE
![Accept or Kudo](/html/assets/hpe_banner_SME_signature.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2019 02:47 PM
07-23-2019 02:47 PM
Re: IMC's not working, JSERVER stopped and don't start
Would you know where any log files are put when jserver fails to start? I'm also having this problem trying to set up a trial of IMC.
I'm running on an english OS without the administrator's group renamed, so I never did try the command, but looking at the permissions, I also seem to be having the "ALL APPLICATION PACKAGES" permission come back on. This may still be my problem but I would also like to know if my log files would show me anything different, and I don't know where to find them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2019 04:58 AM
07-24-2019 04:58 AM
Re: IMC's not working, JSERVER stopped and don't start
Thank. It helped.