Question
· Jan 1, 2023

Cannot login to Test version of Cache 2017.2.2.865.0 installed my Personal laptop

Hi,

I have a test version of Cache installed on my laptop, but I cannot get logged into the database.  I think my ID may be locked due to too many password failure attempts.  I have not changed the Admin password or SuperUser password.  Does anyone know what the default password would be for the Admin and/or SuperUser Id's?  Or if someone knows how I can get in and unlock/reset my password, it would be much appreciated??

Thanks,

Larry Cardinal

Happy New Year to all

Product version: Caché 2017.1
$ZV: 2017.2.2.865.0
Discussion (6)1
Log in or sign up to continue

If on Windows :
 

Start Windows Powershell (Admin)

C:\ cd /intersystems\cache\bin (the directory where you installed caché)
C:\Intersystems\cache\bin> ./ccontrol all  (this should open a text file with the instances you have, note the name of your instance, it is 'cache' in my example)

    Instance          Version ID        Port   Directory
    -------------     ----------        ----   ---------                   
up  cache             2018.1.2.309.0    1972   c:\intersystems\cache

If Caché is not down :
C:\Intersystems\cache\bin> ./ccontrol stop cache

To start Caché in emergency mode :
C:\Intersystems\cache\bin> ./ccontrol start cache /EmergencyId=tempuser,temppw (in my case, i got Win Defender warnings, accepted access)

Verify Caché is running :
C:\Intersystems\cache\bin> ./ccontrol all

Launch Caché management portal, login with tempuser and temppw, go to System Admin -> Users (might have to login again with temp credentials)
Change pw for your user(s).

Restart Caché

*NOTE: If I run the Start Cache from the menu, it starts just fine.

Followed all commands above.  When I run the ccontol start trycache /EmergencyID line, I get the following errors in the ccnsole.log;

*** Recovery started at Thu Jan 05 00:36:40 2023
     Current default directory: c:\intersystems\trycache\mgr
     Log file directory: c:\intersystems\trycache\mgr\
     WIJ file spec: c:\intersystems\trycache\mgr\CACHE.WIJ
Recovering local (c:\intersystems\trycache\mgr\CACHE.WIJ) image journal file...
Starting WIJ recovery for 'c:\intersystems\trycache\mgr\CACHE.WIJ'.
  0 blocks pending in this WIJ.
Exiting with status 3 (Success)
01/05/23-00:36:42:678 (12820) 0 Automatically configuring buffers
01/05/23-00:36:42:681 (12820) 2 Failed to allocate 609MB shared memory: 432MB global buffers, 35MB routine buffers
01/05/23-00:36:42:681 (12820) 1 Failed to allocate 554MB shared memory: 378MB global buffers, 35MB routine buffers
01/05/23-00:36:42:682 (12820) 1 Failed to allocate 498MB shared memory: 324MB global buffers, 35MB routine buffers
01/05/23-00:36:42:682 (12820) 1 Failed to allocate 442MB shared memory: 270MB global buffers, 35MB routine buffers
01/05/23-00:36:42:683 (12820) 1 Failed to allocate 386MB shared memory: 216MB global buffers, 35MB routine buffers
01/05/23-00:36:42:683 (12820) 1 Failed to allocate 330MB shared memory: 162MB global buffers, 35MB routine buffers
01/05/23-00:36:42:684 (12820) 1 Failed to allocate 275MB shared memory: 108MB global buffers, 35MB routine buffers
01/05/23-00:36:42:684 (12820) 1 Failed to allocate 219MB shared memory: 54MB global buffers, 35MB routine buffers
01/05/23-00:36:42:684 (12820) 1 Failed to allocate 108MB shared memory: 1MB global buffers, 26MB routine buffers
01/05/23-00:36:42:685 (12820) 2 Unable to allocate shared memory minimum of 108MB
01/05/23-00:36:48:658 ( 8756) 3 cctrl.dll (error during startup):(289) Cache failed to start.  Cache Control Process terminated abnormally (exit code = 0).
 

Hi Larry,
Can yo start from the command prompt without emergency mode (ccontrol start trycache) ?
If yes, the help mentions that emergency mode is not using the control service, did your control service have specific rights ?

Btw, did you try the default password for SuperUser or Admin. (https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...)

ccontrol start <instance name> [<full path and file name of .cpf file>]

                        Starts Caché instance <instance name>, optionally using the specified .cpf file.

                        If a new .cpf file is specified, it becomes the default startup .cpf file.     

 

            Note:   An optional /EmergencyId=Username,Password can be used

                        to start Caché in emergency mode.  When the EmergencyUserId

argument is supplied, the system starts up in emergency mode in which

only the baseline databases are mounted and access to Caché is governed

by Caché login using that username and password.  Emergency mode is supplied

to give access in the event that privileged users are not available or their password

is forgotten.  Emergency startup is only available from an administrator account.


When Caché is started in emergency mode, the Caché control service is not used.  

This means that if you log out of Windows, all the Caché processes will immediately exit.