Probably a stupid question, but can the remote read the file?
On Fri, 2019-05-31 at 02:01 -0700, theirman wrote:
>
> Hello,
> I come back to this error that persists on my server. In the
> meantime, I changed my payara version to 5.192 and my jdk to zulu-jdk
> 11.0.3
>
> As Eduard suggested, I gave up the --savemasterpassword=true option
> and chose the --passwordfile option for each order but this does not
> solve my problem.
>
> Does anyone see any other reason why this shouldn't work?
>
>
>
> bash-4.2$ ${PAYARA_DIR}/bin/asadmin --user=${ADMIN_USER} --
> passwordfile=${PASSWORD_FILE} start-deployment-group gr oup-
> production
> > bash-4.2$ ${PAYARA_DIR}/bin/asadmin --user=${ADMIN_USER} --
> > passwordfile=${PASSWORD_FILE} start-deployment-group gr oup-
> > production
> >
> > remote failure: instance-production-1: Could not start instance
> > instance-production-1 on node localhost-production (localhost).
> >
> > Command failed on node localhost-production (localhost): CLI801
> > Instance is already synchronized
> > Enter master password (3) attempt(s) remain)>IOException reading
> > password.
> > Command start-local-instance failed.
> >
> > The Master Password is required to start the domain. No console,
> > no prompting possible. You should either create the domain with --
> > savemasterpassword=true or provide a password file with the --
> > passwordfile option.
> >
> > To complete this operation run the following command locally on
> > host localhost from the Payara Server install location
> > /data/apps/payara/appserver:
> >
> > lib/nadmin start-local-instance --node localhost-production --
> > sync normal instance-production-1
> >
> > The command start-instance failed for: instance-production-1
> > Command start-deployment-group failed.
> >
> > PS: I encounter this same error from the admin webconsole if I try
> > to start one of my instances or if I try to start my group
> >
> >
> > Later, I tried to reset the default password (changeit)
> > Strangely, without changing anything other than the master-pass,
> > everything is OK
> > bash-4.2$ ${PAYARA_DIR}/bin/asadmin --user=${ADMIN_USER} --
> > passwordfile=${PASSWORD_FILE} start-deployment-group gr oup-
> > production
> > Command start-deployment-group executed successfully.
> >
> > Again :
> > I stop the execution of the domain
> > I modify my file passwordFile such as
> > AS_ADMIN_MASTERPASSWORD=//NimC8LS6ScdH//
> > I modify the value of the masterpass by taking care to use the
> > option --savemasterpassword=true
> > I restart the execution of my domain
> > I'm trying to start the deployment group and ...
> > bash-4.2$ ${PAYARA_DIR}/bin/asadmin --user=${ADMIN_USER} --
> > passwordfile=${PASSWORD_FILE} start-deployment-group gr oup-
> > production
> > remote failure: instance-production-1: Could not start instance
> > instance-production-1 on node localhost-production (localhost).
> >
> > Command failed on node localhost-production (localhost): Enter
> > master password (3) attempt(s) remain)>IOException reading
> > password.
> > Command start-local-instance failed.
> >
> > The Master Password is required to start the domain. No console,
> > no prompting possible. You should either create the domain with --
> > savemasterpassword=true or provide a password file with the --
> > passwordfile option.
> >
> > To complete this operation run the following command locally on
> > host localhost from the Payara Server install location
> > /data/apps/payara/appserver:
> >
> > lib/nadmin start-local-instance --node localhost-production --
> > sync normal instance-production-1
> >
> > The command start-instance failed for: instance-production-1
> > Command start-deployment-group failed.
> >
> > Any idea ?
> > Where is physically stored the masterpass when using --
> > savemasterpassword=true ?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Payara Forum" group.
> To unsubscribe from this group and stop receiving emails from it,
>
https://groups.google.com/d/msgid/payara-forum/7752c825-d038-4f82-9f79-b120136801c5%40googlegroups.com