Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Python error during OAG Instalation

anderruizMar 3 2016 — edited Mar 3 2016

My installation is failing with this error

Error running managedomain for the Node Manager:

Generating domain private key and certificate...

Generating private key...

Generating CSR for key...

Traceback (most recent call last):

  File

"/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/managedomain.py", line

351, in <module>

    mdoption.processOption(parser, options)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/mdoption.py",

line 94, in processOption

    processMenuOption(False, interpreter, options, None, paramRetriever,

apiManager)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/mdoption.py",

line 94, in processOption

    processMenuOption(False, interpreter, options, None, paramRetriever,

apiManager)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/mdoption.py",

line 145, in processMenuOption

    HostManager(apiManager, options.debug).create(firstNM, localNodeManagerName,

connectionParams, certMgmtParams, None, objMetricsParams)

Press [Enter] to continue:

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/mdhost.py", line

76, in create

    nmCreator._create(localNodeManagerName, localhostConnectionParams,

certMgmtParams, upgradeTopologyParams, localNodeManagerGroupName)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/mdhost.py", line

76, in create

    nmCreator._create(localNodeManagerName, localhostConnectionParams,

certMgmtParams, upgradeTopologyParams, localNodeManagerGroupName)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/mdhost.py", line

405, in _create

    domainHandler = self._initializeCertMgmt(certMgmtParams)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/mdhost.py", line

514, in _initializeCertMgmt

    domainHandler = self.generateDomainCert(certMgmtParams.domainDname,

certMgmtParams.domainPassphrase, certMgmtParams.signCertAlg)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/mdhost.py", line

169, in generateDomainCert

    domainHandler.makeNewCert(domainDname, alg=signAlg)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/cert.py", line

460, in makeNewCert

    (certFilename, signerCertFilename) = openssl.signCertificate(csrFilename,

"%s/domaincert.pem" % self.certPath, None, "%s/domainkey.pem" %

self.privateCertPath, alg, domainPassphrase=self.domainPassphrase)

Press [Enter] to continue:

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/openssl.py",

line 126, in signCertificate

    passphraseFilename =

self.writePassphraseTxt(os.path.dirname(signerKeyFilename), domainPassphrase)

  File "/opt/appint/OAG-11.1.2.4.0/apigateway/system/lib/jython/openssl.py",

line 70, in writePassphraseTxt

    os.chmod(passphraseFilename, stat.S_IREAD | stat.S_IWRITE)

OSError: [Errno 20000] Unknown error: 20000:

'/opt/appint/OAG-11.1.2.4.0/apigateway/groups/certs/private/6a79c4dc-545f-4b6a-a8

38-30231e61b446.txt'

Press [Enter] to continue:

Error starting the API Gateway:

Error: Group or instance is invalid

usage: startinstance [[-n instance-name -g group-name [instance-args]] |

[directory-location [instance-args]] | [-h]]

There are currently no Gateway Server instances installed on this machine

Possible [instance-args] are as follows:-

Error: File

/opt/appint/OAG-11.1.2.4.0/apigateway/groups/topologylinks/DESAGroup-DESAGateway/

conf/service.xml does not exist

usage: startinstance [[-n instance-name -g group-name [instance-args]] |

[directory-location [instance-args]] | [-h]]

There are currently no Gateway Server instances installed on this machine

Possible [instance-args] are as follows:-

no config file specified

Software Version 7.4.0-2015-07-28 rev. 732a7d4

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2016
Added on Mar 3 2016
0 comments
956 views