I have installed Appian 17.3 and made the changes to the necessary configuration files as mentioned in the Installation guide in both Appian and Jboss.
I did the following and got error messages as mentioned below -
Issue No 1
Before starting the Appian engines, I executed the password.sh file in <APPIAN_HOME>/services/bin folder to set the Admin REST API password, but I am receiving this message
Exception thrown while attempting to retrieve process info for java process with main Class name ServiceManager.java.io.IOException: Cannot run program "jps": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) ~[?:1.8.0_111] at com.appian.komodo.util.process.ProcessUtils.runListProcess(ProcessUtils.java:54) ~[core-1.69.3.jar:1.69.3] at com.appian.komodo.util.process.ProcessUtils.getRunningJavaPids(ProcessUtils.java:113) ~[core-1.69.3.jar:1.69.3] at com.appian.komodo.util.process.ProcessUtils$getRunningJavaPids.callStatic(Unknown Source) ~[?:?] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:206) ~[groovy-all-2.4.6.jar:2.4.6] at com.appian.komodo.JavaProcessUtil.isJavaProcessRunning(JavaProcessUtil.groovy:30) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.PasswordScript$_runWithExitCode_closure1.doCall(PasswordScript.groovy:42) ~[komodo-1.69.3.jar:1.69.3] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) ~[groovy-all-2.4.6.jar:2.4.6] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294) ~[groovy-all-2.4.6.jar:2.4.6] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:42) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.BooleanReturningMethodInvoker.invoke(BooleanReturningMethodInvoker.java:51) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.BooleanClosureWrapper.call(BooleanClosureWrapper.java:53) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.DefaultGroovyMethods.findAll(DefaultGroovyMethods.java:4281) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.DefaultGroovyMethods.findAll(DefaultGroovyMethods.java:4153) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.DefaultGroovyMethods.findAll(DefaultGroovyMethods.java:4138) ~[groovy-all-2.4.6.jar:2.4.6] at com.appian.komodo.PasswordScript.runWithExitCode(PasswordScript.groovy:42) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.KomodoScript.executeNoExit(KomodoScript.groovy:108) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.KomodoScript.execute(KomodoScript.groovy:122) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.PasswordScript.main(PasswordScript.groovy:30) ~[komodo-1.69.3.jar:1.69.3]Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) ~[?:1.8.0_111] at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) ~[?:1.8.0_111] at java.lang.ProcessImpl.start(ProcessImpl.java:134) ~[?:1.8.0_111] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ~[?:1.8.0_111] ... 28 morePassword successfully changed!
Though it says "Password successfully changed", I see aforementioned error message. Can you help me understand, what the message indicates ?
Issue No 2
I tried to start the Appian engines as I received the message from password.sh that the Password was successfully changed by executing the command
./start.sh -p <password> -s all
but Appian engines failed to start. Here is the snippet of the error message I have received. I have also attached the log file which mentions the entire error.
waiting for process QuorumPeerMainprocess QuorumPeerMain not running after 10000 secondsUnable to start service QuorumPeerMainjava.util.concurrent.TimeoutException: Process QuorumPeerMain did not launch within 10000 ms at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_111] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_111] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_111] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_111] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247) ~[groovy-all-2.4.6.jar:2.4.6] at com.appian.komodo.translog.services.DistributedTransactionLogService$Trait$Helper.start(DistributedTransactionLogService.groovy:28) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.services.Zookeeper.start(Zookeeper.groovy) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.DistributedTransactionLog$_startService_closure2.doCall(DistributedTransactionLog.groovy:110) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.DistributedTransactionLog$_startService_closure2.call(DistributedTransactionLog.groovy) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.DistributedTransactionLog.retryableLaunch(DistributedTransactionLog.groovy:98) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.DistributedTransactionLog.startService(DistributedTransactionLog.groovy:108) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.DistributedTransactionLog.startTransactionLog(DistributedTransactionLog.groovy:131) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.DistributedTransactionLog.runWithExitCode(DistributedTransactionLog.groovy:151) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.KomodoScript.executeNoExit(KomodoScript.groovy:108) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.DistributedTransactionLog.start(DistributedTransactionLog.groovy:40) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.translog.DistributedTransactionLog$start.call(Unknown Source) ~[?:?] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133) ~[groovy-all-2.4.6.jar:2.4.6] at com.appian.komodo.StartKomodo.startDistributedTransactionLog(StartKomodo.groovy:108) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.StartKomodo.run(StartKomodo.groovy:68) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.KomodoScript.runWithExitCode(KomodoScript.groovy:88) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.KomodoScript.executeNoExit(KomodoScript.groovy:108) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.KomodoScript.execute(KomodoScript.groovy:122) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.StartKomodo.main(StartKomodo.groovy:49) ~[komodo-1.69.3.jar:1.69.3]Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain.java.io.IOException: Cannot run program "jps": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) ~[?:1.8.0_111] at com.appian.komodo.util.process.ProcessUtils.runListProcess(ProcessUtils.java:54) ~[core-1.69.3.jar:1.69.3] at com.appian.komodo.util.process.ProcessUtils.getRunningJavaPids(ProcessUtils.java:113) ~[core-1.69.3.jar:1.69.3] at com.appian.komodo.util.process.ProcessUtils$getRunningJavaPids.callStatic(Unknown Source) ~[?:?] at com.appian.komodo.JavaProcessUtil.isJavaProcessRunning(JavaProcessUtil.groovy:30) ~[komodo-1.69.3.jar:1.69.3] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) ~[groovy-all-2.4.6.jar:2.4.6] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:384) ~[groovy-all-2.4.6.jar:2.4.6] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166) ~[groovy-all-2.4.6.jar:2.4.6] at com.appian.komodo.JavaProcessUtil$_waitUntilJavaProcessExits_closure3.doCall(JavaProcessUtil.groovy:59) ~[komodo-1.69.3.jar:1.69.3] at com.appian.komodo.JavaProcessUtil$_waitUntilJavaProcessExits_closure3.doCall(JavaProcessUtil.groovy) ~[komodo-1.69.3.jar:1.69.3] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) ~[groovy-all-2.4.6.jar:2.4.6] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) ~[groovy-all-2.4.6.jar:2.4.6] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294) ~[groovy-all-2.4.6.jar:2.4.6] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021) ~[groovy-all-2.4.6.jar:2.4.6] at groovy.lang.Closure.call(Closure.java:426) ~[groovy-all-2.4.6.jar:2.4.6] at groovy.lang.Closure.call(Closure.java:420) ~[groovy-all-2.4.6.jar:2.4.6] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_111] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_111] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) ~[?:1.8.0_111] at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) ~[?:1.8.0_111] at java.lang.ProcessImpl.start(ProcessImpl.java:134) ~[?:1.8.0_111] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ~[?:1.8.0_111] ... 29 moreprocess QuorumPeerMain shutdownError running script: Unable to start transaction log.Service Zookeeper failed to startUnable to start distributed transaction log. Check the Kafka and Zookeeper logs for more information.com.appian.komodo.StartKomodo$TransactionLogNotStartedException: Unable to start transaction log.
Can someone help in understanding the errors and help resolve this error ?Logs.txt
Discussion posts and replies are publicly visible
I have followed what you mentioned , even path looks good. But still same error. I have reinstalled again, but still same error