Anonymous_User Absent Member.
Absent Member.
447 views

Server migration - Embeded DB service not starting

Hi,

I just migrate my ZCM server x86 to x64 but after restoring the internal
Sybase DB, service could not start.

What should I look for ?

Thanks.

Labels (2)
0 Likes
6 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Server migration - Embeded DB service not starting

Hi,

I think I found... changed DB path in DB conf file.



"Normand Hudon" a écrit dans le message de groupe de discussion :
Ek4Jw.4852$Yv2.387@novprvlin0913.provo.novell.com...

Hi,

I just migrate my ZCM server x86 to x64 but after restoring the internal
Sybase DB, service could not start.

What should I look for ?

Thanks.

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Server migration - Embeded DB service not starting

Hi,

After restoring Zone backup and CA backup, if I try to access ZCC, I have the message:

Page cannot be displayed. Can I restore zone files manually from copying those files from the old server to the new server ? I tried to edit the server.xml file but the file is completely different from the one on the x86 server so I took a backup of the x64 server file and copy the one from the old server and it didn't changed anything.

Here's what I have on the x64 server.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html -->
<!-- Define a non-SSL HTTP/1.1 Connector on port 80 -->
<Connector port="80" protocol="HTTP/1.1" maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To use gzip compression you could set the following properties :

compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml"
-->
<!-- Note : The ciphers attribute is specified below to strengthen SSL security (see bug# 325859) -->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!-- Note : The ciphers attribute is specified below to strengthen SSL security (see bug# 325859) -->
<!-- Define a SSL HTTP/1.1 Connector on port 443 -->
<Connector port="443" maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" protocol="HTTP/1.1" SSLEnabled="true" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="C:/Program Files/Novell/ZENworks/conf/security/server.keystore" keystorePass="3b2392ec7498fa075f7577338a1242f6" keyAlias="tomcat" maxPostSize="0" ciphers="SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_RC4_128_MD5,TLS_RSA_WITH_RC4_128_SHA" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="443" URIEncoding="UTF-8" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- The request dumper valve dumps useful debugging information about
the request and response data received and sent by Tomcat.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
</Host>
<Valve className="com.novell.zenworks.tomcat.ZENRequestValve" />
</Engine>
</Service>
</Server>


Anyone can help me ?





"Normand Hudon" a écrit dans le message de groupe de discussion : Ek4Jw.4852$Yv2.387@novprvlin0913.provo.novell.com...

Hi,

I just migrate my ZCM server x86 to x64 but after restoring the internal
Sybase DB, service could not start.

What should I look for ?

Thanks.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Server migration - Embeded DB service not starting

Hi,

In the ZMAN log file, I have this if I try to restore the zone backup again:

[DBOGAGE] [15-03-02 17:52:34] [] [ZMan] [1] [] [Command: zenserver-restore C:\Temp\Backup\Zone.bak ] [] []
[DBOGAGE] [15-03-02 17:52:47] [] [ZMan] [1] [] [Erreur :Une erreur interne sest produite. Reportez-vous au journal zman pour un suivi complet des piles.] [] []
[DBOGAGE] [15-03-02 17:52:47] [] [CommandRunner] [1] [] [java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.novell.zenworks.zman.CommandRunner.execute(CommandRunner.java:94)
at com.novell.zenworks.zman.ZMan.executeRunner(ZMan.java:327)
at com.novell.zenworks.zman.ZMan.runCommand(ZMan.java:530)
at com.novell.zenworks.zman.ZMan.main(ZMan.java:464)
at com.novell.zenworks.zman.ZManExecutor.execute(ZManExecutor.java:101)
at com.novell.zenworks.zman.ZManExecutor.main(ZManExecutor.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.novell.zenworks.zman.ZManLoader.loadZMan(ZManLoader.java:59)
at com.novell.zenworks.zman.ZManLoader.main(ZManLoader.java:143)
Caused by: com.novell.zenworks.zman.exceptions.ZManException: java.rmi.ConnectException: Connection refused: connect
at com.novell.zenworks.zman.exceptions.ZManExceptionHandler.handleException(ZManExceptionHandler.java:235)
at com.novell.zenworks.zman.exceptions.ZManExceptionHandler.handleException(ZManExceptionHandler.java:68)
at com.novell.zenworks.zman.commands.ZENServerHandler.restoreZENServer(ZENServerHandler.java:166)
... 16 more
Caused by: java.rmi.ConnectException: Connection refused: connect
at com.novell.soa.ws.portable.ApplicationException.mapToRemote(ApplicationException.java:207)
at com.novell.zenworks.datamodel.services.soap.CoreAdminServiceBinding_Stub.isSuperUserLoggedIn(CoreAdminServiceBinding_Stub.java:828)
at com.novell.zenworks.zman.commands.ZENServerHandler.restoreZENServer(ZENServerHandler.java:156)
... 16 more
] [] []
[DBOGAGE] [15-03-02 17:52:47] [] [ZMan] [1] [] [Command failed (partially or totally)] [] []
[DBOGAGE] [15-03-02 17:52:47] [] [ZMan] [1] [] [Command completed in 13543 ms] [] []
[DBOGAGE] [15-03-02 17:52:47] [] [ZMan] [1] [] [ERROR Code: 11] [] []




"Normand Hudon" <nhudon@noreply.ca> a écrit dans le message de groupe de discussion : SX4Jw.4854$Yv2.226@novprvlin0913.provo.novell.com...
Hi,

After restoring Zone backup and CA backup, if I try to access ZCC, I have the message:

Page cannot be displayed. Can I restore zone files manually from copying those files from the old server to the new server ? I tried to edit the server.xml file but the file is completely different from the one on the x86 server so I took a backup of the x64 server file and copy the one from the old server and it didn't changed anything.

Here's what I have on the x64 server.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html -->
<!-- Define a non-SSL HTTP/1.1 Connector on port 80 -->
<Connector port="80" protocol="HTTP/1.1" maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To use gzip compression you could set the following properties :

compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml"
-->
<!-- Note : The ciphers attribute is specified below to strengthen SSL security (see bug# 325859) -->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!-- Note : The ciphers attribute is specified below to strengthen SSL security (see bug# 325859) -->
<!-- Define a SSL HTTP/1.1 Connector on port 443 -->
<Connector port="443" maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" protocol="HTTP/1.1" SSLEnabled="true" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="C:/Program Files/Novell/ZENworks/conf/security/server.keystore" keystorePass="3b2392ec7498fa075f7577338a1242f6" keyAlias="tomcat" maxPostSize="0" ciphers="SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_RC4_128_MD5,TLS_RSA_WITH_RC4_128_SHA" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="443" URIEncoding="UTF-8" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- The request dumper valve dumps useful debugging information about
the request and response data received and sent by Tomcat.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
</Host>
<Valve className="com.novell.zenworks.tomcat.ZENRequestValve" />
</Engine>
</Service>
</Server>


Anyone can help me ?





"Normand Hudon" a écrit dans le message de groupe de discussion : Ek4Jw.4852$Yv2.387@novprvlin0913.provo.novell.com...

Hi,

I just migrate my ZCM server x86 to x64 but after restoring the internal
Sybase DB, service could not start.

What should I look for ?

Thanks.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Server migration - Embeded DB service not starting

Hi,

Forgot to specify that I changed the path from the keystorefile to C:\Program Files (x86)...


"Normand Hudon" <nhudon@noreply.ca> a écrit dans le message de groupe de discussion : SX4Jw.4854$Yv2.226@novprvlin0913.provo.novell.com...
Hi,

After restoring Zone backup and CA backup, if I try to access ZCC, I have the message:

Page cannot be displayed. Can I restore zone files manually from copying those files from the old server to the new server ? I tried to edit the server.xml file but the file is completely different from the one on the x86 server so I took a backup of the x64 server file and copy the one from the old server and it didn't changed anything.

Here's what I have on the x64 server.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html -->
<!-- Define a non-SSL HTTP/1.1 Connector on port 80 -->
<Connector port="80" protocol="HTTP/1.1" maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To use gzip compression you could set the following properties :

compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml"
-->
<!-- Note : The ciphers attribute is specified below to strengthen SSL security (see bug# 325859) -->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!-- Note : The ciphers attribute is specified below to strengthen SSL security (see bug# 325859) -->
<!-- Define a SSL HTTP/1.1 Connector on port 443 -->
<Connector port="443" maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" protocol="HTTP/1.1" SSLEnabled="true" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="C:/Program Files/Novell/ZENworks/conf/security/server.keystore" keystorePass="3b2392ec7498fa075f7577338a1242f6" keyAlias="tomcat" maxPostSize="0" ciphers="SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_RC4_128_MD5,TLS_RSA_WITH_RC4_128_SHA" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="443" URIEncoding="UTF-8" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- The request dumper valve dumps useful debugging information about
the request and response data received and sent by Tomcat.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
</Host>
<Valve className="com.novell.zenworks.tomcat.ZENRequestValve" />
</Engine>
</Service>
</Server>


Anyone can help me ?





"Normand Hudon" a écrit dans le message de groupe de discussion : Ek4Jw.4852$Yv2.387@novprvlin0913.provo.novell.com...

Hi,

I just migrate my ZCM server x86 to x64 but after restoring the internal
Sybase DB, service could not start.

What should I look for ?

Thanks.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Server migration - Embeded DB service not starting

Hi,

Also had to change serverConfig.xml file path.


"Normand Hudon" <nhudon@noreply.ca> a écrit dans le message de groupe de discussion : Ia6Jw.4858$Yv2.940@novprvlin0913.provo.novell.com...
Hi,

Forgot to specify that I changed the path from the keystorefile to C:\Program Files (x86)...


"Normand Hudon" <nhudon@noreply.ca> a écrit dans le message de groupe de discussion : SX4Jw.4854$Yv2.226@novprvlin0913.provo.novell.com...
Hi,

After restoring Zone backup and CA backup, if I try to access ZCC, I have the message:

Page cannot be displayed. Can I restore zone files manually from copying those files from the old server to the new server ? I tried to edit the server.xml file but the file is completely different from the one on the x86 server so I took a backup of the x64 server file and copy the one from the old server and it didn't changed anything.

Here's what I have on the x64 server.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
<!-- Global JNDI resources
Documentation at /docs/jndi-resources-howto.html
-->
<GlobalNamingResources>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users
-->
<Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" />
</GlobalNamingResources>
<!-- A "Service" is a collection of one or more "Connectors" that share
a single "Container" Note: A "Service" is not itself a "Container",
so you may not define subcomponents such as "Valves" at this level.
Documentation at /docs/config/service.html
-->
<Service name="Catalina">
<!-- A "Connector" represents an endpoint by which requests are received
and responses are returned. Documentation at :
Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
Java AJP Connector: /docs/config/ajp.html
APR (HTTP/AJP) Connector: /docs/apr.html -->
<!-- Define a non-SSL HTTP/1.1 Connector on port 80 -->
<Connector port="80" protocol="HTTP/1.1" maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
<!-- Note : To use gzip compression you could set the following properties :

compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml"
-->
<!-- Note : The ciphers attribute is specified below to strengthen SSL security (see bug# 325859) -->
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!-- Note : The ciphers attribute is specified below to strengthen SSL security (see bug# 325859) -->
<!-- Define a SSL HTTP/1.1 Connector on port 443 -->
<Connector port="443" maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25" maxSpareThreads="75" protocol="HTTP/1.1" SSLEnabled="true" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="C:/Program Files/Novell/ZENworks/conf/security/server.keystore" keystorePass="3b2392ec7498fa075f7577338a1242f6" keyAlias="tomcat" maxPostSize="0" ciphers="SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_RC4_128_MD5,TLS_RSA_WITH_RC4_128_SHA" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="443" URIEncoding="UTF-8" />
<!-- An Engine represents the entry point (within Catalina) that processes
every request. The Engine implementation for Tomcat stand alone
analyzes the HTTP headers included with the request, and passes them
on to the appropriate Host (virtual host).
Documentation at /docs/config/engine.html -->
<Engine name="Catalina" defaultHost="localhost">
<!--For clustering, please take a look at documentation at:
/docs/cluster-howto.html (simple how to)
/docs/config/cluster.html (reference documentation) -->
<!--
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
-->
<!-- The request dumper valve dumps useful debugging information about
the request and response data received and sent by Tomcat.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.RequestDumperValve"/>
-->
<!-- This Realm uses the UserDatabase configured in the global JNDI
resources under the key "UserDatabase". Any edits
that are performed against this UserDatabase are immediately
available for use by the Realm. -->
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
<!-- Define the default virtual host
Note: XML Schema validation will not work with Xerces 2.2.
-->
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
-->
</Host>
<Valve className="com.novell.zenworks.tomcat.ZENRequestValve" />
</Engine>
</Service>
</Server>


Anyone can help me ?





"Normand Hudon" a écrit dans le message de groupe de discussion : Ek4Jw.4852$Yv2.387@novprvlin0913.provo.novell.com...

Hi,

I just migrate my ZCM server x86 to x64 but after restoring the internal
Sybase DB, service could not start.

What should I look for ?

Thanks.
0 Likes
nop19832 Absent Member.
Absent Member.

Re: Server migration - Embeded DB service not starting

Normand Hudon wrote:

> Hi,
>
> Also had to change serverConfig.xml file path.
>
>
> "Normand Hudon" <nhudon@noreply.ca> a écrit dans le message de groupe
> de discussion : Ia6Jw.4858$Yv2.940@novprvlin0913.provo.novell.com...
> Hi,
>
> Forgot to specify that I changed the path from the keystorefile to
> C:\Program Files (x86)...
>
>
> "Normand Hudon" <nhudon@noreply.ca> a écrit dans le message de groupe
> de discussion : SX4Jw.4854$Yv2.226@novprvlin0913.provo.novell.com...
> Hi,
>
> After restoring Zone backup and CA backup, if I try to access ZCC, I
> have the message:
>
> Page cannot be displayed. Can I restore zone files manually from
> copying those files from the old server to the new server ? I tried
> to edit the server.xml file but the file is completely different from
> the one on the x86 server so I took a backup of the x64 server file
> and copy the one from the old server and it didn't changed anything.
>
> Here's what I have on the x64 server.xml file:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Note: A "Server" is not itself a "Container", so you may not
> define subcomponents such as "Valves" at this level.
> Documentation at /docs/config/server.html
> -->
> <Server port="8005" shutdown="SHUTDOWN">
> <!--APR library loader. Documentation at /docs/apr.html -->
> <Listener className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on" /> <!--Initialize Jasper prior to webapps are
> loaded. Documentation at /docs/jasper-howto.html --> <Listener
> className="org.apache.catalina.core.JasperListener" /> <!-- Prevent
> memory leaks due to use of particular java/javax APIs--> <Listener
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener"
> /> <!-- JMX Support for the Tomcat server. Documentation at
> /docs/non-existent.html --> <Listener
> className="org.apache.catalina.mbeans.ServerLifecycleListener" />
> <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
> " /> <!-- Global JNDI resources Documentation at
> /docs/jndi-resources-howto.html --> <GlobalNamingResources>
> <!-- Editable user database that can also be used by
> UserDatabaseRealm to authenticate users -->
> <Resource name="UserDatabase" auth="Container"
> type="org.apache.catalina.UserDatabase" description="User database
> that can be updated and saved"
> factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
> pathname="conf/tomcat-users.xml" /> </GlobalNamingResources> <!--
> A "Service" is a collection of one or more "Connectors" that share
> a single "Container" Note: A "Service" is not itself a "Container",
> so you may not define subcomponents such as "Valves" at this level.
> Documentation at /docs/config/service.html --> <Service
> name="Catalina"> <!-- A "Connector" represents an endpoint by
> which requests are received and responses are returned.
> Documentation at : Java HTTP Connector:
> /docs/config/http.html (blocking & non-blocking) Java AJP
> Connector: /docs/config/ajp.html APR (HTTP/AJP) Connector:
> /docs/apr.html --> <!-- Define a non-SSL HTTP/1.1 Connector on
> port 80 --> <Connector port="80" protocol="HTTP/1.1"
> maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25"
> maxSpareThreads="75" enableLookups="false" redirectPort="443"
> acceptCount="100" connectionTimeout="20000"
> disableUploadTimeout="true" /> <!-- Note : To use gzip
> compression you could set the following properties :
> compression="on" compressionMinSize="2048"
> noCompressionUserAgents="gozilla, traviata"
> compressableMimeType="text/html,text/xml" --> <!-- Note : The
> ciphers attribute is specified below to strengthen SSL security (see
> bug# 325859) --> <!-- Define a SSL HTTP/1.1 Connector on port
> 8443 This connector uses the JSSE configuration, when using
> APR, the connector should be using the OpenSSL style
> configuration described in the APR documentation -->
> <!-- Note : The ciphers attribute is specified below to strengthen
> SSL security (see bug# 325859) --> <!-- Define a SSL HTTP/1.1
> Connector on port 443 --> <Connector port="443"
> maxHttpHeaderSize="8192" maxThreads="200" minSpareThreads="25"
> maxSpareThreads="75" protocol="HTTP/1.1" SSLEnabled="true"
> enableLookups="false" disableUploadTimeout="true" acceptCount="100"
> scheme="https" secure="true" clientAuth="false" sslProtocol="TLS"
> keystoreFile="C:/Program
> Files/Novell/ZENworks/conf/security/server.keystore"
> keystorePass="3b2392ec7498fa075f7577338a1242f6" keyAlias="tomcat"
> maxPostSize="0"
> ciphers="SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA,SSL_RSA_WITH_3DES_EDE_CBC_S
> HA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,TLS_DHE_RSA_WITH_
> 3DES_EDE_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_3DES_ED
> E_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_RC4_128_MD5,TLS_RS
> A_WITH_RC4_128_SHA" /> <!-- Define an AJP 1.3 Connector on port
> 8009 --> <Connector port="8009" protocol="AJP/1.3"
> redirectPort="443" URIEncoding="UTF-8" /> <!-- An Engine
> represents the entry point (within Catalina) that processes
> every request. The Engine implementation for Tomcat stand alone
> analyzes the HTTP headers included with the request, and passes them
> on to the appropriate Host (virtual host). Documentation at
> /docs/config/engine.html --> <Engine name="Catalina"
> defaultHost="localhost"> <!--For clustering, please take a look
> at documentation at: /docs/cluster-howto.html (simple how
> to) /docs/config/cluster.html (reference documentation) -->
> <!-- <Cluster
> className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> -->
> <!-- The request dumper valve dumps useful debugging information
> about the request and response data received and sent by
> Tomcat. Documentation at: /docs/config/valve.html -->
> <!-- <Valve
> className="org.apache.catalina.valves.RequestDumperValve"/> -->
> <!-- This Realm uses the UserDatabase configured in the global JNDI
> resources under the key "UserDatabase". Any edits that
> are performed against this UserDatabase are immediately
> available for use by the Realm. --> <Realm
> className="org.apache.catalina.realm.UserDatabaseRealm"
> resourceName="UserDatabase" /> <!-- Define the default virtual
> host Note: XML Schema validation will not work with Xerces
> 2.2. --> <Host name="localhost" appBase="webapps"
> unpackWARs="true" autoDeploy="true" xmlValidation="false"
> xmlNamespaceAware="false"> <!-- SingleSignOn valve, share
> authentication between web applications Documentation
> at: /docs/config/valve.html --> <!-- <Valve
> className="org.apache.catalina.authenticator.SingleSignOn" />
> --> <!-- Access log processes all example.
> Documentation at: /docs/config/valve.html --> <!--
> <Valve className="org.apache.catalina.valves.AccessLogValve"
> directory="logs" prefix="localhost_access_log."
> suffix=".txt" pattern="common" resolveHosts="false"/> -->
> </Host> <Valve
> className="com.novell.zenworks.tomcat.ZENRequestValve" />
> </Engine> </Service> </Server>
>
>
> Anyone can help me ?
>
>
>
>
>
> "Normand Hudon" a écrit dans le message de groupe de discussion :
> Ek4Jw.4852$Yv2.387@novprvlin0913.provo.novell.com...
>
> Hi,
>
> I just migrate my ZCM server x86 to x64 but after restoring the
> internal Sybase DB, service could not start.
>
> What should I look for ?
>
> Thanks.


So you've got it working now?

--
Niels
I have always liked... Cowabunga!

If you find this post helpful, please show your appreciation by clicking
on the star below.
A member must be logged in before s/he can assign reputation points.

-- Niels I have always liked... Cowabunga! If you find this post helpful, please show your appreciation by clicking on the star below. A member must be logged in before s/he can assign reputation points.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.