Install Router and Message Processor on node

Not applicable

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px} span.s1 {font-variant-ligatures: no-common-ligatures}

[root@node1 ~]# /opt/apigee/apigee-setup/bin/setup.sh -p rmp -f /opt/configFile

INFO: running setup as root

INFO: changing log location to /tmp/setup-root.log

Using defaults from /opt/configFile

/opt/apigee/apigee-lib/apigee-lib.sh: line 940: $'\342\200\213HOSTIP=10.3.4.47': command not found

/opt/apigee/apigee-lib/apigee-lib.sh: line 942: EaK#w+3HWq: command not found

/opt/apigee/apigee-lib/apigee-lib.sh: line 956: Jw2!JBLL: command not found

Service setup edge-router

Loaded plugins: priorities, update-motd, upgrade-helper

22 packages excluded due to repository priority protections

No packages marked for update

/opt/apigee/apigee-lib/apigee-lib.sh: line 940: $'\342\200\213HOSTIP=10.3.4.47': command not found

/opt/apigee/apigee-lib/apigee-lib.sh: line 942: EaK#w+3HWq: command not found

/opt/apigee/apigee-lib/apigee-lib.sh: line 947: d36?buC: Permission denied

/opt/apigee/apigee-lib/apigee-lib.sh: line 956: Jw2!JBLL: command not found

Checking for required variables

Checking required variable ZK_CLIENT_HOSTS...OK

Checking required variable REGION...OK

Checking for optional variables

Found optional variable MP_POD...OK

updated property conf_zookeeper_connection.string in file /opt/apigee/token/application/router.properties

updated property conf_system_region in file /opt/apigee/token/application/router.properties

updated property conf_system_pod in file /opt/apigee/token/application/router.properties

adding logrotate cron entry

apigee-configutil: edge-router: # OK

apigee-service: edge-router: edge-router is not running

apigee-configutil: edge-router: # OK

apigee-service: edge-router: Not running (NO_LOCKFILE)

apigee-service: edge-router: status=2, continuing

apigee-service: edge-router: Not running (DEAD)

apigee-service: edge-router: status=3, continuing

apigee-service: edge-router: Not running (DEAD)

apigee-service: edge-router: edge-router is dead

Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 3

log from edge-router.log

apigee-configutil: edge-router: # OK

# in pid 2475, pgrp=2379 -> 2475

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/apigee/kernel/MicroKernel : Unsupported major.minor version 52.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:803)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)

at java.net.URLClassLoader.access$100(URLClassLoader.java:64)

at java.net.URLClassLoader$1.run(URLClassLoader.java:354)

at java.net.URLClassLoader$1.run(URLClassLoader.java:348)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:347)

at java.lang.ClassLoader.loadClass(ClassLoader.java:425)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

Solved Solved
0 7 798
1 ACCEPTED SOLUTION

Not applicable

Hi @Madhu , Looks like its a problem with the java version. what java version is instlled?

Check this http://docs.apigee.com/private-cloud/latest/installation-requirements#java for more info and other pre-requisites.

View solution in original post

7 REPLIES 7

Not applicable

Hi @Madhu , Looks like its a problem with the java version. what java version is instlled?

Check this http://docs.apigee.com/private-cloud/latest/installation-requirements#java for more info and other pre-requisites.

@Madhu please make sure to complete not just the Java prerequisite but all other recommended.

During bootstrapping, Edge (4.16.XX and 4.17.XX) will install Java if you don't specify otherwise. By default it will be Open JDK.

srraorams
Participant II

I get the below error :
Found optional variable MP_POD...OK Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1
Could some one please help

Please check the setup log you can find more. May be some parameter in configuration file or any dependency missing.

If all look good, then reinstall bootstrap

Thanks Priyadarshi , how ever it is failing with below error :
Checking for router on 127.0.0.1 port 8081 ............................................................. router failed to answer on 127.0.0.1 port 8081.

I had updated the port time out value to 300 , but it still fails

Not applicable

this is a known issue. In the past I faced this many times. There would be a couple of reasons.

1. need to check the port is busy. if there is anything else running on the same port please stop that process and try.

2. if any webproxy is on, then it searches the port on the internet and doesn't get a response. In that case also you see this issue. Here you need to make webproxy off, stop all the processes and install again.