Quote Originally Posted by edmaa View Post
On 10-01-2019 6:44 PM, squadri wrote:
>
> edmaa;2493357 Wrote:
>> On 10-01-2019 7:46 AM, squadri wrote:
>>>
>>> Yes it�s a virtual machine with 8GB memory. It does not show errors

>> on
>>> installation. I noted seeing the messages �installing the access

>> Gateway
>>> � . But like you mentioned, will again reinstall with added memory

>> and
>>> check. How can I check if tomcat or other services/processes for

>> access
>>> Gateway are running or not?
>>>
>>>

>> 8 GB is more than sufficient. With 4GB the install works fine (obviously
>> not suited for production load tho). Can you check if you can see a file
>> called /tmp/novell_access_manager/configure_cluster_<date>.log and post
>> the output here? It should contain the output of the cluster creation
>> and if
>> there were any errors.
>>
>> --
>> Cheers,
>> Edward

>
> Hello Edward,
> As mentioned earlier, I once again installed NAM appliance ,this time
> with 12 GB RAM , the problem still appears to be the same. Here is the
> output of configure_cluster log copied from your mentioned path :
> -Creating clusters...
> Creating the Identity Server cluster...
> /opt/novell/java/bin/java -classpath
> "/opt/novell/nam/adminconsole/webapps/roma/WEB-INF/lib/*"
> com.volera.roma.app.handler.AutoConfigHandlerWrapp er configureIdpCluster
> nam.almabani.com.sa almabani.com.sa 192.168.1.25 192.168.1.25
> cn=admin,o=novell XXXXX
> Invoking IDP cluster creation URL :
> https://192.168.1.25:8443/nps/rest/c...nPassword=xxxx
> Response: 200
>
> Creating the Access Gateway cluster...
> /opt/novell/java/bin/java -classpath
> "/opt/novell/nam/adminconsole/webapps/roma/WEB-INF/lib/*"
> com.volera.roma.app.handler.AutoConfigHandlerWrapp er configureAGCluster
> nam.almabani.com.sa almabani.com.sa 192.168.1.25 192.168.1.25
> cn=admin,o=novell XXXXX ag-4A2FD1247EC91A6C
> Invoking Access Gateway cluster creation URL :
> https://192.168.1.25:8443/roma/autoc...2FD1247EC91A6C
> *Response code:302*
>
> Importing the default policies...
> /opt/novell/java/bin/java -classpath
> "/opt/novell/nam/adminconsole/webapps/roma/WEB-INF/lib/*"
> com.volera.roma.app.handler.AutoConfigHandlerWrapp er configurePolicies
> nam.almabani.com.sa almabani.com.sa 192.168.1.25 192.168.1.25
> cn=admin,o=novell XXXXX
> Invoking URL:
> https://192.168.1.25:8443/roma/autoc...erid=mastercdn
> Response code:200
>
> Enabling role based policies for the Identity Server cluster...
> /opt/novell/java/bin/java -classpath
> "/opt/novell/nam/adminconsole/webapps/roma/WEB-INF/lib/*"
> com.volera.roma.app.handler.AutoConfigHandlerWrapp er enableIDPRoles
> nam.almabani.com.sa almabani.com.sa 192.168.1.25 192.168.1.25
> cn=admin,o=novell XXXXX
> Invoking URL: http://tinyurl.com/y74q4wae
> Response code:200-
>
>
> Its noticed that Response code for creating Access Gateway cluster
> appears to be code:302 unlike others where it shows Response code:200 .
> Does that mean an error?? If yes, please guide how to fix it.
>
>

I'm also seeing a 302 response code here in my lab when it creates the AG cluster. Can you check if the ESP has actually started?

cat /opt/novell/nam/mag/logs/catalina.out



--
Cheers,
Edward
here is catalina.out output:

Jan 10, 2019 10:17:10 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlValidation' to 'false' did not find a matching property.
Jan 10, 2019 10:17:10 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlNamespaceAware' to 'false' did not find a matching property.
Jan 10, 2019 10:17:10 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib64:/opt/novell/eDirectory/lib64:/opt/novell/lib64
Jan 10, 2019 10:17:10 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-127.0.0.1-9009"]
Jan 10, 2019 10:17:10 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Jan 10, 2019 10:17:10 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 746 ms
Jan 10, 2019 10:17:10 AM org.apache.catalina.users.MemoryUserDatabase open
SEVERE: The specified user database [conf/tomcat-users.xml] could not be found
Jan 10, 2019 10:17:10 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 10, 2019 10:17:10 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat
Jan 10, 2019 10:17:10 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/novell/nam/mag/webapps/agm
Jan 10, 2019 10:17:10 AM org.apache.catalina.startup.SetContextPropertiesRu le begin
WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.
Jan 10, 2019 10:17:12 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
AMLoggingInit.<static initializer block>, configuring log4j, configPath=/etc/opt/novell/amlogging/config/log4j.xml
log4j:WARN Continuable parsing error 41 and column 17
log4j:WARN The content of element type "appender" must match "(errorHandler?,param*,rollingPolicy?,triggeringPo licy?,connectionSource?,layout?,filter*,appender-ref*)".
Creating ActiveMQ Connection...
Creating ActiveMQ Connection...
Confirm Queue: queue://AMLoggingMonitor-local-confirm
Consuming queue: AMLoggingMonitor-local-indicate
indicateSession: ActiveMQSession {id=ID:nam.almabani.com.sa-49433-1547104632563-0:0:3,started=false}
respondSession: ActiveMQSession {id=ID:nam.almabani.com.sa-49433-1547104632563-0:0:4,started=false}
log4j:WARN No such property [host] in com.novell.nacm.logging.audit.AMSyslogAppender.
log4j:WARN No such property [port] in com.novell.nacm.logging.audit.AMSyslogAppender.
log4j:WARN No such property [protocol] in com.novell.nacm.logging.audit.AMSyslogAppender.
log4j:WARN No such property [cacheenabled] in com.novell.nacm.logging.audit.AMSyslogAppender.
log4j:WARN No such property [cachedir] in com.novell.nacm.logging.audit.AMSyslogAppender.
log4j:WARN No such property [cachemaxfilesize] in com.novell.nacm.logging.audit.AMSyslogAppender.
initiateStartup() called.
initiateStartup(), CONFIGURATION FILE /opt/novell/nam/mag/webapps/agm/WEB-INF/config/current/config.xml NOT FOUND!!! Using factory defaults.
initateStartup(), Setting management IP as 192.168.1.25
initateStartup(), Setting device ID as ag-4A2FD1247EC91A6C
Creating ActiveMQ Connection...
Creating ActiveMQ Connection...
Confirm Queue: queue://GatewayManager-local-confirm
Consuming queue: GatewayManager-local-indicate
indicateSession: ActiveMQSession {id=ID:nam.almabani.com.sa-49433-1547104632563-0:1:3,started=false}
respondSession: ActiveMQSession {id=ID:nam.almabani.com.sa-49433-1547104632563-0:1:4,started=false}
log4j:WARN Continuable parsing error 41 and column 17
log4j:WARN The content of element type "appender" must match "(errorHandler?,param*,rollingPolicy?,triggeringPo licy?,connectionSource?,layout?,filter*,appender-ref*)".
[]
Starting to add global filter settings
High Volume Events initializaed
final custom extension string
done with global filter settings
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: ag-maga, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: ag, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: ag-lag, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: ag-mag, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: ag-mag, tomcat restart command is: /bin/bash -c "/etc/init.d/novell-mag restart"
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: idp-idp, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: idp-idp, tomcat restart command is: /bin/bash -c "/etc/init.d/novell-idp restart"
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: idp-esp, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: agent-agent, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: jccserver, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: system, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.JCCServiceType <init>
INFO: ar, tomcat restart command is: null
Jan 10, 2019 10:17:13 AM com.novell.jcc.client.JCCClientImpl <init>
INFO: Starting client 4A2FD1247EC91A6C of type ag
Jan 10, 2019 10:17:13 AM com.novell.jcc.client.JCCClientImpl$_B run
INFO: server connection thread started
Jan 10, 2019 10:17:13 AM com.novell.jcc.util.JCCSettings A
INFO: Current settings
rmiPort: 1197
localMgmtPort: 1443
localMgmtIP: 192.168.1.25
remoteMgmtPort: 8444
remoteMgmtIP: [192.168.1.25]
jccProxyPort: 2483
agProxyPort: 444
sslvpnProxyPort: 3423
healthFreq: 300
statsFreq: 300
remoteMgmtIPFreq: 3600
externTomcatDir: /opt/novell/nam/mag
secure: true

Jan 10, 2019 10:17:14 AM com.novell.jcc.client.JCCClientImpl$_B D
INFO: attempting to contact RMI server on 127.0.0.1:1197
Jan 10, 2019 10:17:15 AM com.novell.jcc.client.JCCClientImpl queueAlert
INFO: queuing alert: Severe: Failure in Audit, local syslog is offline. at Thu Jan 10 10:17:15 AST 2019 for ag-4A2FD1247EC91A6C
initiateStartup() completed
Jan 10, 2019 10:17:15 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /opt/novell/nam/mag/webapps/agm has finished in 5,405 ms
Jan 10, 2019 10:17:15 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/novell/nam/mag/webapps/nesp
Jan 10, 2019 10:17:15 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Context/Manager} Setting property 'saveOnRestart' to 'false' did not find a matching property.
log4j:ERROR No appender named [AMAuditSyslogAuditAppender] could be found.
Jan 10, 2019 10:17:23 AM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Jan 10, 2019 10:17:24 AM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: com.sun.metrop=/,type=WSEndpoint,name=/nesp-provider
Jan 10, 2019 10:17:25 AM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: com.sun.metrop=/,type=WSEndpoint,name=/nesp-SecurityTokenService-STS_Port
Jan 10, 2019 10:17:25 AM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: com.sun.metrop=/,type=WSEndpoint,name=/nesp-SecurityTokenService-STS_Port_saml
Jan 10, 2019 10:17:25 AM com.sun.xml.ws.server.MonitorBase createRoot
INFO: Metro monitoring rootname successfully set to: com.sun.metrop=/,type=WSEndpoint,name=/nesp-SecurityTokenService-STS_Port_active12
Jan 10, 2019 10:17:25 AM com.sun.xml.ws.transport.http.servlet.WSServletDel egate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
Jan 10, 2019 10:17:25 AM org.glassfish.jersey.servlet.init.JerseyServletCon tainerInitializer addServletWithApplication
SEVERE: Mapping conflict. A Servlet registration exists with same mapping as the Jersey servlet application, named net.microfocus.impersonation.service.v1.applicatio n.ImpersonationApplication, at the servlet mapping, /impersonation/*. The Jersey servlet is not deployed.
Jan 10, 2019 10:17:25 AM org.glassfish.jersey.servlet.init.JerseyServletCon tainerInitializer addServletWithApplication
INFO: Registering the Jersey servlet application, named net.microfocus.mobileaccess.service.v1.application .MobileAccessApplication, at the servlet mapping /mobileaccess/*, with the Application class of the same name.
Jan 10, 2019 10:17:25 AM org.glassfish.jersey.servlet.init.JerseyServletCon tainerInitializer addServletWithApplication
INFO: Registering the Jersey servlet application, named net.microfocus.basicsso.service.v1.application.Bas icSSOApplication, at the servlet mapping /basicsso/*, with the Application class of the same name.
Jan 10, 2019 10:17:25 AM org.glassfish.jersey.servlet.init.JerseyServletCon tainerInitializer addServletWithApplication
INFO: Registering the Jersey servlet application, named com.novell.nam.nidp.risk.RiskRESTApplication, at the servlet mapping /risk/*, with the Application class of the same name.
Jan 10, 2019 10:17:25 AM org.glassfish.jersey.servlet.init.JerseyServletCon tainerInitializer addServletWithApplication
INFO: Registering the Jersey servlet application, named com.novell.nidp.rest.NIDSRestApplication, at the servlet mapping /rest/*, with the Application class of the same name.
A critical error has occurred during startup. {0}Evaluation code has been disabled as of Fri, Nov 30, 2018.
Jan 10, 2019 10:17:25 AM com.sun.xml.ws.transport.http.servlet.WSServletCon textListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Jan 10, 2019 10:17:25 AM com.sun.xml.ws.transport.http.servlet.WSServletCon textListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Filter initialized! 'SameOriginFilter'
Filter initialized! 'ClusterRequestFilter'
Jan 10, 2019 10:17:26 AM org.glassfish.jersey.server.ApplicationHandler initialize
INFO: Initiating Jersey application, version Jersey: 2.10.1 2014-06-30 13:53:32...
Jan 10, 2019 10:17:26 AM com.novell.nam.nidp.oauth.core.TokenServiceImpl <init>
INFO: TokenServiceImpl created
Jan 10, 2019 10:17:26 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter OAuthApplicationJspMvcFilter
MultiException stack 1 of 3