


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Special:Contributions/Hsivakum&amp;feed=atom&amp;limit=50&amp;target=Hsivakum&amp;year=&amp;month=</id>
		<title>DocWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Special:Contributions/Hsivakum&amp;feed=atom&amp;limit=50&amp;target=Hsivakum&amp;year=&amp;month="/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Special:Contributions/Hsivakum"/>
		<updated>2013-05-24T05:21:35Z</updated>
		<subtitle>From DocWiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Troubleshooting_Configuration_Update</id>
		<title>Troubleshooting Configuration Update</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Troubleshooting_Configuration_Update"/>
				<updated>2011-06-13T06:48:16Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* Config job fails for commands like &amp;quot;show run&amp;quot;, &amp;quot;tclsh&amp;quot; etc */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To troubleshoot a configuration update, see the following sections:&lt;br /&gt;
&lt;br /&gt;
==Config update failed==&lt;br /&gt;
'''Symptom: '''   &lt;br /&gt;
&lt;br /&gt;
The Device configuration update fails. &lt;br /&gt;
&lt;br /&gt;
'''Solution: '''   &lt;br /&gt;
&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Check the following on the Cisco Configuration Engine: &lt;br /&gt;
&lt;br /&gt;
a.  Make sure that the Event ID and Config ID match with what is defined on the device. &lt;br /&gt;
&lt;br /&gt;
b.  Make sure that the object status for the device in Cisco Configuration Engine is green. Green indicates that the Cisco Configuration Engine and the device are connected. &lt;br /&gt;
&lt;br /&gt;
To verify that TibGate is up and running, enter the following command:&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/init.d/EvtGateway status &lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/init.d/EvtGatewayCrypto status &lt;br /&gt;
&lt;br /&gt;
Note  If encryption is enabled, the TibGate ports begin with even numbers that begin from 11014. If encryption is not enabled, the TibGate ports begin with odd numbers that begin from 11013. Each TibGate port can support a maximum of 500 devices. You specify the number of the TibGates during the Cisco Configuration Engine Setup program. Make sure that the number of devices on each TibGate port does not exceed the maximum. For details, see the &amp;quot;Scalability Among Event Gateway Ports&amp;quot; chapter in the Cisco Configuration Engine Installation and Configuration Guide, 3.5. &lt;br /&gt;
&lt;br /&gt;
d.  If the authentication feature is enabled in the Cisco Configuration Engine, make sure that the device password (cns password &amp;lt;password string&amp;gt;) that is defined in the Cisco Configuration Engine user interface, matches with what is defined on the device. Otherwise, use the resync device command to reset the CNS password. &lt;br /&gt;
&lt;br /&gt;
To use the resync command from the Cisco Configuration Engine user interface, do the following: &lt;br /&gt;
&lt;br /&gt;
a.  Go to Devices &amp;gt; Resync Device. The Resync Device page appears with a Groups list. &lt;br /&gt;
&lt;br /&gt;
b.  From the Groups list, choose the group that contains the device you want to resynchronize. Then click the icon for the device. &lt;br /&gt;
&lt;br /&gt;
c.  In the confirmation window, click Ok. &lt;br /&gt;
&lt;br /&gt;
e.  Make sure that the downloading configuration semantics and syntax for the device are correct. &lt;br /&gt;
&lt;br /&gt;
If the device in the Cisco Configuration Engine was initially set as None, then deleted, and then re-created as an agent-enabled device, you must rename the Config ID and Event ID on both the device and the Cisco Configuration Engine user interface. &lt;br /&gt;
&lt;br /&gt;
g.  If during the Cisco Configuration Engine setup, a port other than the default port 80 is configured for HTTP, make sure that the same port number is also configured on the device. &lt;br /&gt;
&lt;br /&gt;
Step 2  &lt;br /&gt;
&lt;br /&gt;
Check the following on the device: &lt;br /&gt;
&lt;br /&gt;
a.  Make sure that the following Event ID string is defined:cns id string &amp;lt;id string&amp;gt; cns id string &amp;lt;id string&amp;gt; event &lt;br /&gt;
The default value of the &amp;lt;id string&amp;gt; is the hostname of the device. This ID must be the same as the Config ID defined in the Cisco Configuration Engine host. &lt;br /&gt;
&lt;br /&gt;
b.  To verify that the Cisco Configuration Engine hostname or IP address is specified to receive events, enter the following command:cns event &amp;lt;configengine hostname&amp;gt; 11011 keepalive 30 10 &lt;br /&gt;
 &lt;br /&gt;
Note  Make sure that the TibGate port of this device is correct. The TibGate port must match the port that is defined in the Cisco Configuration Engine. &lt;br /&gt;
&lt;br /&gt;
c.  If the authentication feature is enabled in the Cisco Configuration Engine, make sure that the device password (cns password &amp;lt;password string&amp;gt;) matches what is defined in the Cisco Configuration Engine user interface. &lt;br /&gt;
 &lt;br /&gt;
Note  You cannot see the password setting after you configure it on the router, nor can you edit the password in Cisco Configuration Engine. Therefore, you must reset the password. To reset the password, use the Resync Device feature in the Cisco Configuration Engine. &lt;br /&gt;
&lt;br /&gt;
d.  During the Cisco Configuration Engine setup, if a port other than the default port 80 is configured for HTTP, make sure that the same port number is also configured on the device. To configure the http port on the device, enter the following command:cns config partial &amp;lt;CE hostname&amp;gt; &amp;lt;http port&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Step 3   If you have tried all the preceding steps and the device configuration update still fails, enable the debugging tools. &lt;br /&gt;
&lt;br /&gt;
• In the Cisco Configuration Engine host, do the following: &lt;br /&gt;
&lt;br /&gt;
– To start event listener, enter the following commands:cd $CISCO_CE_INSTALL_ROOT/CSCOcnsie/tools./cns-listen &amp;quot;cisco.&amp;gt;&amp;quot; &lt;br /&gt;
&lt;br /&gt;
– Check the cfgsrv log file. This file is located at: /var/log/CNSCE/cfgsrv/cfgsrv.log. &lt;br /&gt;
&lt;br /&gt;
• In the device, use the debug cns config all command to enable debugging. Analyze the output to verify that the device is set up correctly with proper connectivity. &lt;br /&gt;
&lt;br /&gt;
Step 4  Rerun the scenario, check the event traffic and the information from the device, capture the data, and then contact the Cisco TAC for assistance. &lt;br /&gt;
&lt;br /&gt;
==Config job stuck  or The configuration update is stuck in queue after data migration.==&lt;br /&gt;
&lt;br /&gt;
'''Symptom : '''&lt;br /&gt;
&lt;br /&gt;
The configuration update is stuck in queue after data migration. &lt;br /&gt;
'''&lt;br /&gt;
Solution : '''&lt;br /&gt;
&lt;br /&gt;
After data migration from release 2.0 to 3.5, the OpenLDAP schema is transferred to a new host. To reuse the existing OpenLDAP schema for the new host, make sure that the country code and the company code information on the new host matches what is defined on the old host. &lt;br /&gt;
&lt;br /&gt;
Note  The country code and the company code in the OpenLDAP schema are case sensitive. &lt;br /&gt;
&lt;br /&gt;
Step 1  To reinitialize the system, enter the following command:/opt/ConfigEngine/CSCOcnsie/reinitialize &lt;br /&gt;
&lt;br /&gt;
Step 2  To run data migration again, enter the following command:/opt/ConfigEngine/CSCOcnsie/bin/datamigrate &lt;br /&gt;
&lt;br /&gt;
Step 3  To run the Setup program again, enter the following command:/opt/ConfigEngine/CSCOcnsie/setup &lt;br /&gt;
&lt;br /&gt;
Note  Make sure that you run the Setup program in bash shell. If the shell is not in bash, press ctrl-c to exit. Configure your shell in bash, and then rerun the Setup program. &lt;br /&gt;
&lt;br /&gt;
Step 4  When entering the Setup parameters, make sure that the country code and the company code information for the new host matches what is defined on the old host. &lt;br /&gt;
 &lt;br /&gt;
For detailed information about the parameters in the Setup program, see the Cisco Configuration Engine Administration Guide.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The configuration update is stuck in the queue after data backup and restore.==&lt;br /&gt;
'''Problem : '''  &lt;br /&gt;
&lt;br /&gt;
The configuration update is stuck in the queue after data backup and restore. &lt;br /&gt;
'''&lt;br /&gt;
Solution :  ''' &lt;br /&gt;
&lt;br /&gt;
When you back up data and restore it, the OpenLDAP schema is transferred to a new host. To reuse the existing OpenLDAP schema for the new host, make sure that the country code and the company code information on the new host matches what is defined on the old host.&lt;br /&gt;
&lt;br /&gt;
Note  The country code and the company code in the OpenLDAP schema are case sensitive. &lt;br /&gt;
&lt;br /&gt;
Step 1  To reinitialize the system, enter the following command:/opt/ConfigEngine/CSCOcnsie/reinitialize &lt;br /&gt;
&lt;br /&gt;
Step 2  To run data restore again, enter the following command:/opt/ConfigEngine/CSCOcnsie/bin/datarestore &lt;br /&gt;
&lt;br /&gt;
Step 3  To run the Setup program again, enter the following command:/opt/ConfigEngine/CSCOcnsie/setup &lt;br /&gt;
&lt;br /&gt;
Note  Make sure that you run the Setup program in bash shell. If the shell is not in bash, press ctrl-c to exit. Configure your shell in bash, and then rerun the Setup program. &lt;br /&gt;
&lt;br /&gt;
Step 4  When entering the Setup parameters, make sure that the country code and the company code information for the new host matches what is defined on the old host. &lt;br /&gt;
 &lt;br /&gt;
For detailed information about the parameters in the Setup program, see the Cisco Configuration Engine Administration Guide. &lt;br /&gt;
&lt;br /&gt;
==CNS-Enabled Device Unable to Connect with CCE==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': A device is created in the Cisco Configuration Engine user interface but the device indicator displays a red status.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': The red status indicates that the device is unable to connect with Cisco Configuration Engine or it is still trying to connect. A connection delay might occur due to the device setting of the backoff timer. After the time has expired, the indicator does not turn to green, follow the steps given below.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. Make sure that the Event ID and Config ID match with what is defined on the device.&lt;br /&gt;
&lt;br /&gt;
 Do the following from the Cisco Configuration Engine user interface:&lt;br /&gt;
&lt;br /&gt;
a. Choose '''Devices''' &amp;gt; '''Edit Device'''. The Edit Device page appears with a Groups list.&lt;br /&gt;
&lt;br /&gt;
b. From the Groups list, choose the group that contains the device, then click the icon for the device.&lt;br /&gt;
&lt;br /&gt;
c. From the left pane, choose Edit Information. The Enter Device Information page appears.&lt;br /&gt;
&lt;br /&gt;
d. Click Next. The Select Group Membership page appears.&lt;br /&gt;
&lt;br /&gt;
e. Click Next. The Device IDs page appears.&lt;br /&gt;
&lt;br /&gt;
f. Verify that the Event ID and Config IP match with what is defined on the router.&lt;br /&gt;
&lt;br /&gt;
2. Make sure that the device type is Agent Enabled Device. From the Cisco Configuration Engine user interface, do the following:&lt;br /&gt;
&lt;br /&gt;
a. Choose '''Devices'''&amp;gt;'''Edit Device'''. The Edit Device page appears with a Groups list.&lt;br /&gt;
&lt;br /&gt;
b. From the Groups list, choose the group that contains the device. Then click the icon for the device.&lt;br /&gt;
&lt;br /&gt;
c. From the left pane, choose Edit Information. The Enter Device Information page appears.&lt;br /&gt;
&lt;br /&gt;
d .Verify that the device type is Agent Enabled Device.&lt;br /&gt;
&lt;br /&gt;
3. Ping or telnet to the device to verify that the device is reachable from Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
4. From the Cisco Configuration Engine server, make sure that TibGate, httpd, and the Java process are up.&lt;br /&gt;
&lt;br /&gt;
* To verify that all TibGates are up, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''/etc/rc.d/init.d/EvtGateway status'''&lt;br /&gt;
   '''/etc/rc.d/init.d/EvtGateway status'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': For information about TibGate event gateway ports, see the “Scalability Among Event Gateway Ports” chapter in the Cisco Configuration Engine Installation and Configuration Guide, 3.5.&lt;br /&gt;
&lt;br /&gt;
* To verify that httpd is up, enter the following command:&lt;br /&gt;
&lt;br /&gt;
     ''''httpd status'''&lt;br /&gt;
&lt;br /&gt;
* To verify that the Java process is up, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''ps –ef | grep –i java | grep ConfigEngine''''&lt;br /&gt;
&lt;br /&gt;
5. Check the following on the device:&lt;br /&gt;
&lt;br /&gt;
a. Make sure that the following Event ID string is defined:&lt;br /&gt;
&lt;br /&gt;
    cns id string &amp;lt;id string&amp;gt;&lt;br /&gt;
    cns id string &amp;lt;id string&amp;gt; event&lt;br /&gt;
&lt;br /&gt;
The default value of the &amp;lt;id string&amp;gt; is the hostname of the device. This ID must be the same as the Config ID defined in the Cisco Configuration Engine host.&lt;br /&gt;
&lt;br /&gt;
b. To verify that the Cisco Configuration Engine hostname or IP address is specified to receive the events, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    ''''cns event &amp;lt;configengine hostname or ip address&amp;gt; keepalive 30 10'''&lt;br /&gt;
&lt;br /&gt;
c. To verify that the Cisco Configuration Engine hostname or IP address is reachable from the device, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''ping &amp;lt;configengine hostname or ip address&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
d. If you are unable to reach the device through the ping command, use the '''ip host''' command to configure the device:&lt;br /&gt;
&lt;br /&gt;
    '''ip host &amp;lt;hostname&amp;gt; &amp;lt;ip address&amp;gt;'''&lt;br /&gt;
    '''ip host &amp;lt;hostname.domainame&amp;gt; &amp;lt;ip address&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
e.(Optional) To resolve hostnames, set up the DNS on the device by entering the following command:&lt;br /&gt;
&lt;br /&gt;
    '''ip name-server &amp;lt;ip address of DNS&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
6. If the device status changes from green to red after Cisco Configuration Engine set up, follow the steps in “Device Status” section.&lt;br /&gt;
&lt;br /&gt;
==CNS-Enabled Device Configuration Update Failed==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The Device configuration update fails.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur for one of the following reasons:&lt;br /&gt;
&lt;br /&gt;
* Invalid commands in the configuration template&lt;br /&gt;
* Device is not online (RED)&lt;br /&gt;
&lt;br /&gt;
'''Solution''':  To resolve this problem, follow these steps:&lt;br /&gt;
&lt;br /&gt;
If the device appears RED (offline), go to Step 2 and 3 to make the device GREEN (online) before proceeding with step 1.&lt;br /&gt;
&lt;br /&gt;
a. In the Cisco Configuration Engine host, start the event listener and enter the following commands:&lt;br /&gt;
&lt;br /&gt;
     '''cd $CISCO_CE_INSTALL_ROOT/CSCOcnsie/tools'''&lt;br /&gt;
     '''./cns-listen ?cisco.&amp;gt;?'''&lt;br /&gt;
&lt;br /&gt;
Check the cfgsrv log file. This file is located at: /var/log/CNSCE/cfgsrv/cfgsrv.log.&lt;br /&gt;
In the device, use the '''debug cns all''' command to enable debugging. If debug messages displays the CNS_INVALID_CLI_CMD as shown below, the config template might contain invalid commands. Apply those commands one by one on the router to find which command failed and remove or fix them from the template.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
85E1E440: 7572653E 3C696465 6E746966 6965723E ure&amp;gt;&amp;lt;identifier&amp;gt;&lt;br /&gt;
85E1E450: 31323635 38333937 32393339 32313C2F 12658397293921&amp;lt;/&lt;br /&gt;
85E1E460: 6964656E 74696669 65723E3C 636F6E66 identifier&amp;gt;&amp;lt;conf&lt;br /&gt;
85E1E470: 69672D69 643E4643 48313333 39543032 ig-id&amp;gt;myDevice&lt;br /&gt;
85E1E480: 383C2F63 6F6E6669 672D6964 3E3C6572 &amp;lt;/config-id&amp;gt;&amp;lt;er&lt;br /&gt;
85E1E490: 726F722D 696E666F 3E3C6C69 6E652D6E ror-info&amp;gt;&amp;lt;line-n&lt;br /&gt;
85E1E4A0: 756D6265 723E3930 3C2F6C69 6E652D6E umber&amp;gt;90&amp;lt;/line-n&lt;br /&gt;
85E1E4B0: 756D6265 723E3C65 72726F72 2D6D6573 umber&amp;gt;&amp;lt;error-mes&lt;br /&gt;
85E1E4C0: 73616765 3E434E53 5F494E56 414C4944 sage&amp;gt;CNS_INVALID&lt;br /&gt;
85E1E4D0: 5F434C49 5F434D44 3C2F6572 726F722D _CLI_CMD&amp;lt;/error-&lt;br /&gt;
85E1E4E0: 6D657373 6167653E 3C2F6572 726F722D message&amp;gt;&amp;lt;/error-&lt;br /&gt;
85E1E4F0: 696E666F 3E3C2F63 6F6E6669 672D6661 info&amp;gt;&amp;lt;/config-fa&lt;br /&gt;
85E1E500: 696C7572 653E ilure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Check the following on the Cisco Configuration Engine:&lt;br /&gt;
&lt;br /&gt;
a. Make sure that the Event ID and Config ID match with what is defined on the device.&lt;br /&gt;
&lt;br /&gt;
b. Make sure that the object status for the device in Cisco Configuration Engine is green. Green indicates that the Cisco Configuration Engine and the device are connected.&lt;br /&gt;
&lt;br /&gt;
c. To verify that TibGate is up and running, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''/etc/rc.d/init.d/EvtGateway status'''&lt;br /&gt;
    '''/etc/rc.d/init.d/EvtGateway status'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': If encryption is enabled, the TibGate ports begin with even numbers that begin from 11012. If encryption is not enabled, the TibGate ports begin with odd numbers that begin from 11011. Each TibGate port can support a maximum of 500 devices. You specify the number of the TibGates during the Cisco Configuration Engine set up program. Make sure that the number of devices on each TibGate port does not exceed the maximum. &lt;br /&gt;
&lt;br /&gt;
For details, see the “Scalability Among Event Gateway Ports” chapter in the Cisco Configuration Engine Installation and Configuration Guide, 3.5.&lt;br /&gt;
&lt;br /&gt;
d. If the authentication feature is enabled in the Cisco Configuration Engine, make sure that the device password (cns password &amp;lt;password string&amp;gt;) that is defined in the Cisco Configuration Engine user interface, matches with what is defined on the device. Otherwise, use the resync device command to reset the CNS password.&lt;br /&gt;
&lt;br /&gt;
To use the resync command from the Cisco Configuration Engine user interface, do the following:&lt;br /&gt;
&lt;br /&gt;
a. Go to Devices &amp;gt; Resync Device. The Resync Device page appears with a Groups list.&lt;br /&gt;
&lt;br /&gt;
b. From the Groups list, choose the group that contains the device you want to resynchronize. Then click the icon for the device.&lt;br /&gt;
&lt;br /&gt;
c. In the confirmation window, click '''Ok'''.&lt;br /&gt;
&lt;br /&gt;
e. Make sure that the downloading configuration semantics and syntax for the device are correct.&lt;br /&gt;
&lt;br /&gt;
f. If the device in the Cisco Configuration Engine was initially set as '''None''', then deleted, and then re-created as an agent-enabled device, you must rename the Config ID and Event ID on both the device and the Cisco Configuration Engine user interface.&lt;br /&gt;
&lt;br /&gt;
g. During the Cisco Configuration Engine set up, if a port other than the default port 80 is configured for HTTP, make sure that the same port number is also configured on the device.&lt;br /&gt;
&lt;br /&gt;
3. Check the following on the device:&lt;br /&gt;
&lt;br /&gt;
a. Make sure that the following Event ID string is defined:&lt;br /&gt;
&lt;br /&gt;
      cns id string &amp;lt;id string&amp;gt;&lt;br /&gt;
      cns id string &amp;lt;id string&amp;gt; event&lt;br /&gt;
&lt;br /&gt;
The default value of the &amp;lt;id string&amp;gt; is the hostname of the device. This ID must be the same as the Config ID defined in the Cisco Configuration Engine host.&lt;br /&gt;
&lt;br /&gt;
b. To verify that the Cisco Configuration Engine hostname or IP address is specified to receive events, enter the following command:&lt;br /&gt;
&lt;br /&gt;
     '''cns event &amp;lt;configengine hostname or ip address&amp;gt; keepalive 30 10'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': Make sure that the TibGate port of this device is correct. The TibGate port must match the port that is defined in the Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
c. If the authentication feature is enabled in the Cisco Configuration Engine, make sure that the device password (cns password &amp;lt;password string&amp;gt;) matches what is defined in the Cisco Configuration Engine user interface.&lt;br /&gt;
&lt;br /&gt;
'''Note''': You cannot see the password setting after you configure it on the router, nor can you edit the password in Cisco Configuration Engine. Therefore, you must reset the password. To reset the password, use the Resync Device feature in the Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
d. During the Cisco Configuration Engine set up, if a port other than the default port 80 is configured for HTTP, make sure that the same port number is also configured on the device. To configure the http port on the device, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''cns config partial &amp;lt;CE hostname&amp;gt; &amp;lt;http port&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
4. If you have tried all the preceding steps and the device configuration update still fails, enable the debugging tools.&lt;br /&gt;
&lt;br /&gt;
* In the Cisco Configuration Engine host, start the event listener by enter the following commands:&lt;br /&gt;
&lt;br /&gt;
    '''cd $CISCO_CE_INSTALL_ROOT/CSCOcnsie/tools'''&lt;br /&gt;
    '''./cns-listen “cisco.&amp;gt;”'''&lt;br /&gt;
&lt;br /&gt;
* Check the cfgsrv log file. This file is located at: /var/log/CNSCE/cfgsrv/cfgsrv.log.&lt;br /&gt;
&lt;br /&gt;
* In the device, use the debug '''cns config all''' command to enable debugging. Analyze the output to verify that the device is set up correctly with proper connectivity.&lt;br /&gt;
&lt;br /&gt;
5. Re-run the scenario, check the event traffic and the information from the device, capture the data, and then contact the Cisco TAC for assistance.&lt;br /&gt;
&lt;br /&gt;
==Configuration Update Stuck in Queue After Data Migration==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The configuration update is stuck in queue after data migration.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur if you did not enter the correct country code and company code information during the set up program.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': After data migration from release 3.0 to 3.5, the OpenLDAP schema is transferred to a new host. To reuse the existing OpenLDAP schema for the new host, make sure that the country code and the company code information on the new host matches with what is defined on the old host. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. To reinitialize the system, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''/opt/ConfigEngine/CSCOcnsie/reinitialize'''&lt;br /&gt;
&lt;br /&gt;
2. To run data migration again, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''/opt/ConfigEngine/CSCOcnsie/bin/datamigrate'''&lt;br /&gt;
&lt;br /&gt;
3. To run the set up program again, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''opt/ConfigEngine/CSCOcnsie/setup'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': Make sure that you run the set up program in bash shell. If the shell is not in bash, press ctrl-c to exit. Configure your shell in bash, and then re-run the set up program.&lt;br /&gt;
&lt;br /&gt;
4. When entering the set up parameters, make sure that the country code and the company code information for the new host matches with what is defined on the old host.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The country code and the company code in the OpenLDAP schema are case sensitive.&lt;br /&gt;
&lt;br /&gt;
For detailed information about the parameters in the set up program, see the Cisco Configuration Engine Administration Guide.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Choose operational mode of system. 0=internal directory mode,&lt;br /&gt;
1=external directory mode. [0]&lt;br /&gt;
Enter country code: us&lt;br /&gt;
Enter company code: cisco&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuration Update Stuck in Queue After Data Backup and Restore==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The configuration update is stuck in the queue after data backup and restore.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur if you did not enter the correct country code and company code information during the set up program.&lt;br /&gt;
&lt;br /&gt;
''''Solution''': When you back up data and restore it, the OpenLDAP schema is transferred to a new host. To re-use the existing OpenLDAP schema for the new host, make sure that the country code and the company code information on the new host matches with what is defined on the old host. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. To reinitialize the system, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''/opt/ConfigEngine/CSCOcnsie/reinitialize'''&lt;br /&gt;
&lt;br /&gt;
2. To run data restore again, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''/opt/ConfigEngine/CSCOcnsie/bin/datarestore'''&lt;br /&gt;
&lt;br /&gt;
3. To run the set up program again, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''/opt/ConfigEngine/CSCOcnsie/setup'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': Make sure that you run the set up program in bash shell. If the shell is not in bash, press ctrl-c to exit. Configure your shell in bash, and then re-run the set up program.&lt;br /&gt;
&lt;br /&gt;
4. When entering the set up parameters, make sure that the country code and the company code information for the new host matches with what is defined on the old host.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The country code and the company code in the OpenLDAP schema are case sensitive.&lt;br /&gt;
&lt;br /&gt;
For detailed information about the parameters in the set up program, see the Cisco Configuration Engine Administration Guide.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Example&lt;br /&gt;
&lt;br /&gt;
Choose operational mode of system. 0=internal directory mode,&lt;br /&gt;
1=external directory mode. [0]&lt;br /&gt;
Enter country code: us&lt;br /&gt;
Enter company code: cisco&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;br /&gt;
&lt;br /&gt;
==Config job failed with parser error==&lt;br /&gt;
'''Problem :  ''' &lt;br /&gt;
&lt;br /&gt;
The configuration update job failed with “%CNS-3-XML_SEMANTIC: CNS_FW_XML_PARSE_ERROR” &lt;br /&gt;
&lt;br /&gt;
'''Solution :  '''&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Identify which CLI in the configuration job template caused the error &lt;br /&gt;
&lt;br /&gt;
Step 2  Type that CLI directly on the device config terminal and see whether the CLI is support.&lt;br /&gt;
&lt;br /&gt;
Step 3  If the CLI results an error, it means the CLI is not supported or has problem in the IOS version that the customer is using, report the problem to cns-ios-sw mailer. If the CLI has no problem in executing on the device, report to cs-ce mailer for further debug.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Config job fails for commands like &amp;quot;show run&amp;quot;, &amp;quot;tclsh&amp;quot; etc==&lt;br /&gt;
'''Problem :  ''' &lt;br /&gt;
&lt;br /&gt;
The configuration update job fails for execution commands like &amp;quot;show run&amp;quot;, &amp;quot;tclsh&amp;quot; etc and respond back with error messages like &amp;quot;CNS_FW_XML_PARSE_ERROR”, &amp;quot;AUTHORIZATION_FAILURE&amp;quot; etc. The debug of CNS will show errors like &amp;quot;Received malformed or errant xml&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
'''Solution :  '''&lt;br /&gt;
To commands like &amp;quot;show run&amp;quot;, &amp;quot;tclsh&amp;quot; are execution commands in the device and are not configurations. These commands cannot be directly executed on the configuration terminal and so should not be pushed as part of configuration update which acts only on configuration. Verify the execution of commands used in configuration update on the configuration terminal of the device.&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Troubleshooting_Configuration_Update</id>
		<title>Troubleshooting Configuration Update</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Troubleshooting_Configuration_Update"/>
				<updated>2011-06-13T05:28:31Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To troubleshoot a configuration update, see the following sections:&lt;br /&gt;
&lt;br /&gt;
==Config update failed==&lt;br /&gt;
'''Symptom: '''   &lt;br /&gt;
&lt;br /&gt;
The Device configuration update fails. &lt;br /&gt;
&lt;br /&gt;
'''Solution: '''   &lt;br /&gt;
&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Check the following on the Cisco Configuration Engine: &lt;br /&gt;
&lt;br /&gt;
a.  Make sure that the Event ID and Config ID match with what is defined on the device. &lt;br /&gt;
&lt;br /&gt;
b.  Make sure that the object status for the device in Cisco Configuration Engine is green. Green indicates that the Cisco Configuration Engine and the device are connected. &lt;br /&gt;
&lt;br /&gt;
To verify that TibGate is up and running, enter the following command:&lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/init.d/EvtGateway status &lt;br /&gt;
&lt;br /&gt;
/etc/rc.d/init.d/EvtGatewayCrypto status &lt;br /&gt;
&lt;br /&gt;
Note  If encryption is enabled, the TibGate ports begin with even numbers that begin from 11014. If encryption is not enabled, the TibGate ports begin with odd numbers that begin from 11013. Each TibGate port can support a maximum of 500 devices. You specify the number of the TibGates during the Cisco Configuration Engine Setup program. Make sure that the number of devices on each TibGate port does not exceed the maximum. For details, see the &amp;quot;Scalability Among Event Gateway Ports&amp;quot; chapter in the Cisco Configuration Engine Installation and Configuration Guide, 3.5. &lt;br /&gt;
&lt;br /&gt;
d.  If the authentication feature is enabled in the Cisco Configuration Engine, make sure that the device password (cns password &amp;lt;password string&amp;gt;) that is defined in the Cisco Configuration Engine user interface, matches with what is defined on the device. Otherwise, use the resync device command to reset the CNS password. &lt;br /&gt;
&lt;br /&gt;
To use the resync command from the Cisco Configuration Engine user interface, do the following: &lt;br /&gt;
&lt;br /&gt;
a.  Go to Devices &amp;gt; Resync Device. The Resync Device page appears with a Groups list. &lt;br /&gt;
&lt;br /&gt;
b.  From the Groups list, choose the group that contains the device you want to resynchronize. Then click the icon for the device. &lt;br /&gt;
&lt;br /&gt;
c.  In the confirmation window, click Ok. &lt;br /&gt;
&lt;br /&gt;
e.  Make sure that the downloading configuration semantics and syntax for the device are correct. &lt;br /&gt;
&lt;br /&gt;
If the device in the Cisco Configuration Engine was initially set as None, then deleted, and then re-created as an agent-enabled device, you must rename the Config ID and Event ID on both the device and the Cisco Configuration Engine user interface. &lt;br /&gt;
&lt;br /&gt;
g.  If during the Cisco Configuration Engine setup, a port other than the default port 80 is configured for HTTP, make sure that the same port number is also configured on the device. &lt;br /&gt;
&lt;br /&gt;
Step 2  &lt;br /&gt;
&lt;br /&gt;
Check the following on the device: &lt;br /&gt;
&lt;br /&gt;
a.  Make sure that the following Event ID string is defined:cns id string &amp;lt;id string&amp;gt; cns id string &amp;lt;id string&amp;gt; event &lt;br /&gt;
The default value of the &amp;lt;id string&amp;gt; is the hostname of the device. This ID must be the same as the Config ID defined in the Cisco Configuration Engine host. &lt;br /&gt;
&lt;br /&gt;
b.  To verify that the Cisco Configuration Engine hostname or IP address is specified to receive events, enter the following command:cns event &amp;lt;configengine hostname&amp;gt; 11011 keepalive 30 10 &lt;br /&gt;
 &lt;br /&gt;
Note  Make sure that the TibGate port of this device is correct. The TibGate port must match the port that is defined in the Cisco Configuration Engine. &lt;br /&gt;
&lt;br /&gt;
c.  If the authentication feature is enabled in the Cisco Configuration Engine, make sure that the device password (cns password &amp;lt;password string&amp;gt;) matches what is defined in the Cisco Configuration Engine user interface. &lt;br /&gt;
 &lt;br /&gt;
Note  You cannot see the password setting after you configure it on the router, nor can you edit the password in Cisco Configuration Engine. Therefore, you must reset the password. To reset the password, use the Resync Device feature in the Cisco Configuration Engine. &lt;br /&gt;
&lt;br /&gt;
d.  During the Cisco Configuration Engine setup, if a port other than the default port 80 is configured for HTTP, make sure that the same port number is also configured on the device. To configure the http port on the device, enter the following command:cns config partial &amp;lt;CE hostname&amp;gt; &amp;lt;http port&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Step 3   If you have tried all the preceding steps and the device configuration update still fails, enable the debugging tools. &lt;br /&gt;
&lt;br /&gt;
• In the Cisco Configuration Engine host, do the following: &lt;br /&gt;
&lt;br /&gt;
– To start event listener, enter the following commands:cd $CISCO_CE_INSTALL_ROOT/CSCOcnsie/tools./cns-listen &amp;quot;cisco.&amp;gt;&amp;quot; &lt;br /&gt;
&lt;br /&gt;
– Check the cfgsrv log file. This file is located at: /var/log/CNSCE/cfgsrv/cfgsrv.log. &lt;br /&gt;
&lt;br /&gt;
• In the device, use the debug cns config all command to enable debugging. Analyze the output to verify that the device is set up correctly with proper connectivity. &lt;br /&gt;
&lt;br /&gt;
Step 4  Rerun the scenario, check the event traffic and the information from the device, capture the data, and then contact the Cisco TAC for assistance. &lt;br /&gt;
&lt;br /&gt;
==Config job stuck  or The configuration update is stuck in queue after data migration.==&lt;br /&gt;
&lt;br /&gt;
'''Symptom : '''&lt;br /&gt;
&lt;br /&gt;
The configuration update is stuck in queue after data migration. &lt;br /&gt;
'''&lt;br /&gt;
Solution : '''&lt;br /&gt;
&lt;br /&gt;
After data migration from release 2.0 to 3.5, the OpenLDAP schema is transferred to a new host. To reuse the existing OpenLDAP schema for the new host, make sure that the country code and the company code information on the new host matches what is defined on the old host. &lt;br /&gt;
&lt;br /&gt;
Note  The country code and the company code in the OpenLDAP schema are case sensitive. &lt;br /&gt;
&lt;br /&gt;
Step 1  To reinitialize the system, enter the following command:/opt/ConfigEngine/CSCOcnsie/reinitialize &lt;br /&gt;
&lt;br /&gt;
Step 2  To run data migration again, enter the following command:/opt/ConfigEngine/CSCOcnsie/bin/datamigrate &lt;br /&gt;
&lt;br /&gt;
Step 3  To run the Setup program again, enter the following command:/opt/ConfigEngine/CSCOcnsie/setup &lt;br /&gt;
&lt;br /&gt;
Note  Make sure that you run the Setup program in bash shell. If the shell is not in bash, press ctrl-c to exit. Configure your shell in bash, and then rerun the Setup program. &lt;br /&gt;
&lt;br /&gt;
Step 4  When entering the Setup parameters, make sure that the country code and the company code information for the new host matches what is defined on the old host. &lt;br /&gt;
 &lt;br /&gt;
For detailed information about the parameters in the Setup program, see the Cisco Configuration Engine Administration Guide.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==The configuration update is stuck in the queue after data backup and restore.==&lt;br /&gt;
'''Problem : '''  &lt;br /&gt;
&lt;br /&gt;
The configuration update is stuck in the queue after data backup and restore. &lt;br /&gt;
'''&lt;br /&gt;
Solution :  ''' &lt;br /&gt;
&lt;br /&gt;
When you back up data and restore it, the OpenLDAP schema is transferred to a new host. To reuse the existing OpenLDAP schema for the new host, make sure that the country code and the company code information on the new host matches what is defined on the old host.&lt;br /&gt;
&lt;br /&gt;
Note  The country code and the company code in the OpenLDAP schema are case sensitive. &lt;br /&gt;
&lt;br /&gt;
Step 1  To reinitialize the system, enter the following command:/opt/ConfigEngine/CSCOcnsie/reinitialize &lt;br /&gt;
&lt;br /&gt;
Step 2  To run data restore again, enter the following command:/opt/ConfigEngine/CSCOcnsie/bin/datarestore &lt;br /&gt;
&lt;br /&gt;
Step 3  To run the Setup program again, enter the following command:/opt/ConfigEngine/CSCOcnsie/setup &lt;br /&gt;
&lt;br /&gt;
Note  Make sure that you run the Setup program in bash shell. If the shell is not in bash, press ctrl-c to exit. Configure your shell in bash, and then rerun the Setup program. &lt;br /&gt;
&lt;br /&gt;
Step 4  When entering the Setup parameters, make sure that the country code and the company code information for the new host matches what is defined on the old host. &lt;br /&gt;
 &lt;br /&gt;
For detailed information about the parameters in the Setup program, see the Cisco Configuration Engine Administration Guide. &lt;br /&gt;
&lt;br /&gt;
==CNS-Enabled Device Unable to Connect with CCE==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': A device is created in the Cisco Configuration Engine user interface but the device indicator displays a red status.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': The red status indicates that the device is unable to connect with Cisco Configuration Engine or it is still trying to connect. A connection delay might occur due to the device setting of the backoff timer. After the time has expired, the indicator does not turn to green, follow the steps given below.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. Make sure that the Event ID and Config ID match with what is defined on the device.&lt;br /&gt;
&lt;br /&gt;
 Do the following from the Cisco Configuration Engine user interface:&lt;br /&gt;
&lt;br /&gt;
a. Choose '''Devices''' &amp;gt; '''Edit Device'''. The Edit Device page appears with a Groups list.&lt;br /&gt;
&lt;br /&gt;
b. From the Groups list, choose the group that contains the device, then click the icon for the device.&lt;br /&gt;
&lt;br /&gt;
c. From the left pane, choose Edit Information. The Enter Device Information page appears.&lt;br /&gt;
&lt;br /&gt;
d. Click Next. The Select Group Membership page appears.&lt;br /&gt;
&lt;br /&gt;
e. Click Next. The Device IDs page appears.&lt;br /&gt;
&lt;br /&gt;
f. Verify that the Event ID and Config IP match with what is defined on the router.&lt;br /&gt;
&lt;br /&gt;
2. Make sure that the device type is Agent Enabled Device. From the Cisco Configuration Engine user interface, do the following:&lt;br /&gt;
&lt;br /&gt;
a. Choose '''Devices'''&amp;gt;'''Edit Device'''. The Edit Device page appears with a Groups list.&lt;br /&gt;
&lt;br /&gt;
b. From the Groups list, choose the group that contains the device. Then click the icon for the device.&lt;br /&gt;
&lt;br /&gt;
c. From the left pane, choose Edit Information. The Enter Device Information page appears.&lt;br /&gt;
&lt;br /&gt;
d .Verify that the device type is Agent Enabled Device.&lt;br /&gt;
&lt;br /&gt;
3. Ping or telnet to the device to verify that the device is reachable from Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
4. From the Cisco Configuration Engine server, make sure that TibGate, httpd, and the Java process are up.&lt;br /&gt;
&lt;br /&gt;
* To verify that all TibGates are up, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''/etc/rc.d/init.d/EvtGateway status'''&lt;br /&gt;
   '''/etc/rc.d/init.d/EvtGateway status'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': For information about TibGate event gateway ports, see the “Scalability Among Event Gateway Ports” chapter in the Cisco Configuration Engine Installation and Configuration Guide, 3.5.&lt;br /&gt;
&lt;br /&gt;
* To verify that httpd is up, enter the following command:&lt;br /&gt;
&lt;br /&gt;
     ''''httpd status'''&lt;br /&gt;
&lt;br /&gt;
* To verify that the Java process is up, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''ps –ef | grep –i java | grep ConfigEngine''''&lt;br /&gt;
&lt;br /&gt;
5. Check the following on the device:&lt;br /&gt;
&lt;br /&gt;
a. Make sure that the following Event ID string is defined:&lt;br /&gt;
&lt;br /&gt;
    cns id string &amp;lt;id string&amp;gt;&lt;br /&gt;
    cns id string &amp;lt;id string&amp;gt; event&lt;br /&gt;
&lt;br /&gt;
The default value of the &amp;lt;id string&amp;gt; is the hostname of the device. This ID must be the same as the Config ID defined in the Cisco Configuration Engine host.&lt;br /&gt;
&lt;br /&gt;
b. To verify that the Cisco Configuration Engine hostname or IP address is specified to receive the events, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    ''''cns event &amp;lt;configengine hostname or ip address&amp;gt; keepalive 30 10'''&lt;br /&gt;
&lt;br /&gt;
c. To verify that the Cisco Configuration Engine hostname or IP address is reachable from the device, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''ping &amp;lt;configengine hostname or ip address&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
d. If you are unable to reach the device through the ping command, use the '''ip host''' command to configure the device:&lt;br /&gt;
&lt;br /&gt;
    '''ip host &amp;lt;hostname&amp;gt; &amp;lt;ip address&amp;gt;'''&lt;br /&gt;
    '''ip host &amp;lt;hostname.domainame&amp;gt; &amp;lt;ip address&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
e.(Optional) To resolve hostnames, set up the DNS on the device by entering the following command:&lt;br /&gt;
&lt;br /&gt;
    '''ip name-server &amp;lt;ip address of DNS&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
6. If the device status changes from green to red after Cisco Configuration Engine set up, follow the steps in “Device Status” section.&lt;br /&gt;
&lt;br /&gt;
==CNS-Enabled Device Configuration Update Failed==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The Device configuration update fails.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur for one of the following reasons:&lt;br /&gt;
&lt;br /&gt;
* Invalid commands in the configuration template&lt;br /&gt;
* Device is not online (RED)&lt;br /&gt;
&lt;br /&gt;
'''Solution''':  To resolve this problem, follow these steps:&lt;br /&gt;
&lt;br /&gt;
If the device appears RED (offline), go to Step 2 and 3 to make the device GREEN (online) before proceeding with step 1.&lt;br /&gt;
&lt;br /&gt;
a. In the Cisco Configuration Engine host, start the event listener and enter the following commands:&lt;br /&gt;
&lt;br /&gt;
     '''cd $CISCO_CE_INSTALL_ROOT/CSCOcnsie/tools'''&lt;br /&gt;
     '''./cns-listen ?cisco.&amp;gt;?'''&lt;br /&gt;
&lt;br /&gt;
Check the cfgsrv log file. This file is located at: /var/log/CNSCE/cfgsrv/cfgsrv.log.&lt;br /&gt;
In the device, use the '''debug cns all''' command to enable debugging. If debug messages displays the CNS_INVALID_CLI_CMD as shown below, the config template might contain invalid commands. Apply those commands one by one on the router to find which command failed and remove or fix them from the template.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
85E1E440: 7572653E 3C696465 6E746966 6965723E ure&amp;gt;&amp;lt;identifier&amp;gt;&lt;br /&gt;
85E1E450: 31323635 38333937 32393339 32313C2F 12658397293921&amp;lt;/&lt;br /&gt;
85E1E460: 6964656E 74696669 65723E3C 636F6E66 identifier&amp;gt;&amp;lt;conf&lt;br /&gt;
85E1E470: 69672D69 643E4643 48313333 39543032 ig-id&amp;gt;myDevice&lt;br /&gt;
85E1E480: 383C2F63 6F6E6669 672D6964 3E3C6572 &amp;lt;/config-id&amp;gt;&amp;lt;er&lt;br /&gt;
85E1E490: 726F722D 696E666F 3E3C6C69 6E652D6E ror-info&amp;gt;&amp;lt;line-n&lt;br /&gt;
85E1E4A0: 756D6265 723E3930 3C2F6C69 6E652D6E umber&amp;gt;90&amp;lt;/line-n&lt;br /&gt;
85E1E4B0: 756D6265 723E3C65 72726F72 2D6D6573 umber&amp;gt;&amp;lt;error-mes&lt;br /&gt;
85E1E4C0: 73616765 3E434E53 5F494E56 414C4944 sage&amp;gt;CNS_INVALID&lt;br /&gt;
85E1E4D0: 5F434C49 5F434D44 3C2F6572 726F722D _CLI_CMD&amp;lt;/error-&lt;br /&gt;
85E1E4E0: 6D657373 6167653E 3C2F6572 726F722D message&amp;gt;&amp;lt;/error-&lt;br /&gt;
85E1E4F0: 696E666F 3E3C2F63 6F6E6669 672D6661 info&amp;gt;&amp;lt;/config-fa&lt;br /&gt;
85E1E500: 696C7572 653E ilure&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Check the following on the Cisco Configuration Engine:&lt;br /&gt;
&lt;br /&gt;
a. Make sure that the Event ID and Config ID match with what is defined on the device.&lt;br /&gt;
&lt;br /&gt;
b. Make sure that the object status for the device in Cisco Configuration Engine is green. Green indicates that the Cisco Configuration Engine and the device are connected.&lt;br /&gt;
&lt;br /&gt;
c. To verify that TibGate is up and running, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''/etc/rc.d/init.d/EvtGateway status'''&lt;br /&gt;
    '''/etc/rc.d/init.d/EvtGateway status'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': If encryption is enabled, the TibGate ports begin with even numbers that begin from 11012. If encryption is not enabled, the TibGate ports begin with odd numbers that begin from 11011. Each TibGate port can support a maximum of 500 devices. You specify the number of the TibGates during the Cisco Configuration Engine set up program. Make sure that the number of devices on each TibGate port does not exceed the maximum. &lt;br /&gt;
&lt;br /&gt;
For details, see the “Scalability Among Event Gateway Ports” chapter in the Cisco Configuration Engine Installation and Configuration Guide, 3.5.&lt;br /&gt;
&lt;br /&gt;
d. If the authentication feature is enabled in the Cisco Configuration Engine, make sure that the device password (cns password &amp;lt;password string&amp;gt;) that is defined in the Cisco Configuration Engine user interface, matches with what is defined on the device. Otherwise, use the resync device command to reset the CNS password.&lt;br /&gt;
&lt;br /&gt;
To use the resync command from the Cisco Configuration Engine user interface, do the following:&lt;br /&gt;
&lt;br /&gt;
a. Go to Devices &amp;gt; Resync Device. The Resync Device page appears with a Groups list.&lt;br /&gt;
&lt;br /&gt;
b. From the Groups list, choose the group that contains the device you want to resynchronize. Then click the icon for the device.&lt;br /&gt;
&lt;br /&gt;
c. In the confirmation window, click '''Ok'''.&lt;br /&gt;
&lt;br /&gt;
e. Make sure that the downloading configuration semantics and syntax for the device are correct.&lt;br /&gt;
&lt;br /&gt;
f. If the device in the Cisco Configuration Engine was initially set as '''None''', then deleted, and then re-created as an agent-enabled device, you must rename the Config ID and Event ID on both the device and the Cisco Configuration Engine user interface.&lt;br /&gt;
&lt;br /&gt;
g. During the Cisco Configuration Engine set up, if a port other than the default port 80 is configured for HTTP, make sure that the same port number is also configured on the device.&lt;br /&gt;
&lt;br /&gt;
3. Check the following on the device:&lt;br /&gt;
&lt;br /&gt;
a. Make sure that the following Event ID string is defined:&lt;br /&gt;
&lt;br /&gt;
      cns id string &amp;lt;id string&amp;gt;&lt;br /&gt;
      cns id string &amp;lt;id string&amp;gt; event&lt;br /&gt;
&lt;br /&gt;
The default value of the &amp;lt;id string&amp;gt; is the hostname of the device. This ID must be the same as the Config ID defined in the Cisco Configuration Engine host.&lt;br /&gt;
&lt;br /&gt;
b. To verify that the Cisco Configuration Engine hostname or IP address is specified to receive events, enter the following command:&lt;br /&gt;
&lt;br /&gt;
     '''cns event &amp;lt;configengine hostname or ip address&amp;gt; keepalive 30 10'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': Make sure that the TibGate port of this device is correct. The TibGate port must match the port that is defined in the Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
c. If the authentication feature is enabled in the Cisco Configuration Engine, make sure that the device password (cns password &amp;lt;password string&amp;gt;) matches what is defined in the Cisco Configuration Engine user interface.&lt;br /&gt;
&lt;br /&gt;
'''Note''': You cannot see the password setting after you configure it on the router, nor can you edit the password in Cisco Configuration Engine. Therefore, you must reset the password. To reset the password, use the Resync Device feature in the Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
d. During the Cisco Configuration Engine set up, if a port other than the default port 80 is configured for HTTP, make sure that the same port number is also configured on the device. To configure the http port on the device, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''cns config partial &amp;lt;CE hostname&amp;gt; &amp;lt;http port&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
4. If you have tried all the preceding steps and the device configuration update still fails, enable the debugging tools.&lt;br /&gt;
&lt;br /&gt;
* In the Cisco Configuration Engine host, start the event listener by enter the following commands:&lt;br /&gt;
&lt;br /&gt;
    '''cd $CISCO_CE_INSTALL_ROOT/CSCOcnsie/tools'''&lt;br /&gt;
    '''./cns-listen “cisco.&amp;gt;”'''&lt;br /&gt;
&lt;br /&gt;
* Check the cfgsrv log file. This file is located at: /var/log/CNSCE/cfgsrv/cfgsrv.log.&lt;br /&gt;
&lt;br /&gt;
* In the device, use the debug '''cns config all''' command to enable debugging. Analyze the output to verify that the device is set up correctly with proper connectivity.&lt;br /&gt;
&lt;br /&gt;
5. Re-run the scenario, check the event traffic and the information from the device, capture the data, and then contact the Cisco TAC for assistance.&lt;br /&gt;
&lt;br /&gt;
==Configuration Update Stuck in Queue After Data Migration==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The configuration update is stuck in queue after data migration.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur if you did not enter the correct country code and company code information during the set up program.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': After data migration from release 3.0 to 3.5, the OpenLDAP schema is transferred to a new host. To reuse the existing OpenLDAP schema for the new host, make sure that the country code and the company code information on the new host matches with what is defined on the old host. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. To reinitialize the system, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''/opt/ConfigEngine/CSCOcnsie/reinitialize'''&lt;br /&gt;
&lt;br /&gt;
2. To run data migration again, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''/opt/ConfigEngine/CSCOcnsie/bin/datamigrate'''&lt;br /&gt;
&lt;br /&gt;
3. To run the set up program again, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''opt/ConfigEngine/CSCOcnsie/setup'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': Make sure that you run the set up program in bash shell. If the shell is not in bash, press ctrl-c to exit. Configure your shell in bash, and then re-run the set up program.&lt;br /&gt;
&lt;br /&gt;
4. When entering the set up parameters, make sure that the country code and the company code information for the new host matches with what is defined on the old host.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The country code and the company code in the OpenLDAP schema are case sensitive.&lt;br /&gt;
&lt;br /&gt;
For detailed information about the parameters in the set up program, see the Cisco Configuration Engine Administration Guide.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Choose operational mode of system. 0=internal directory mode,&lt;br /&gt;
1=external directory mode. [0]&lt;br /&gt;
Enter country code: us&lt;br /&gt;
Enter company code: cisco&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Configuration Update Stuck in Queue After Data Backup and Restore==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The configuration update is stuck in the queue after data backup and restore.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur if you did not enter the correct country code and company code information during the set up program.&lt;br /&gt;
&lt;br /&gt;
''''Solution''': When you back up data and restore it, the OpenLDAP schema is transferred to a new host. To re-use the existing OpenLDAP schema for the new host, make sure that the country code and the company code information on the new host matches with what is defined on the old host. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. To reinitialize the system, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''/opt/ConfigEngine/CSCOcnsie/reinitialize'''&lt;br /&gt;
&lt;br /&gt;
2. To run data restore again, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''/opt/ConfigEngine/CSCOcnsie/bin/datarestore'''&lt;br /&gt;
&lt;br /&gt;
3. To run the set up program again, enter the following command:&lt;br /&gt;
&lt;br /&gt;
    '''/opt/ConfigEngine/CSCOcnsie/setup'''&lt;br /&gt;
&lt;br /&gt;
'''Note''': Make sure that you run the set up program in bash shell. If the shell is not in bash, press ctrl-c to exit. Configure your shell in bash, and then re-run the set up program.&lt;br /&gt;
&lt;br /&gt;
4. When entering the set up parameters, make sure that the country code and the company code information for the new host matches with what is defined on the old host.&lt;br /&gt;
&lt;br /&gt;
'''Note''': The country code and the company code in the OpenLDAP schema are case sensitive.&lt;br /&gt;
&lt;br /&gt;
For detailed information about the parameters in the set up program, see the Cisco Configuration Engine Administration Guide.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Example&lt;br /&gt;
&lt;br /&gt;
Choose operational mode of system. 0=internal directory mode,&lt;br /&gt;
1=external directory mode. [0]&lt;br /&gt;
Enter country code: us&lt;br /&gt;
Enter company code: cisco&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;br /&gt;
&lt;br /&gt;
==Config job failed with parser error==&lt;br /&gt;
'''Problem :  ''' &lt;br /&gt;
&lt;br /&gt;
The configuration update job failed with “%CNS-3-XML_SEMANTIC: CNS_FW_XML_PARSE_ERROR” &lt;br /&gt;
&lt;br /&gt;
'''Solution :  '''&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Identify which CLI in the configuration job template caused the error &lt;br /&gt;
&lt;br /&gt;
Step 2  Type that CLI directly on the device config terminal and see whether the CLI is support.&lt;br /&gt;
&lt;br /&gt;
Step 3  If the CLI results an error, it means the CLI is not supported or has problem in the IOS version that the customer is using, report the problem to cns-ios-sw mailer. If the CLI has no problem in executing on the device, report to cs-ce mailer for further debug.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Config job fails for commands like &amp;quot;show run&amp;quot;, &amp;quot;tclsh&amp;quot; etc==&lt;br /&gt;
'''Problem :  ''' &lt;br /&gt;
&lt;br /&gt;
The configuration update job fails for execution commands like &amp;quot;show run&amp;quot;, &amp;quot;tclsh&amp;quot; etc and respond back with error messages like &amp;quot;CNS_FW_XML_PARSE_ERROR”, &amp;quot;AUTHORIZATION_FAILURE&amp;quot; etc. &lt;br /&gt;
&lt;br /&gt;
'''Solution :  '''&lt;br /&gt;
To commands like &amp;quot;show run&amp;quot;, &amp;quot;tclsh&amp;quot; are execution commands in the device and are not configurations. These commands cannot be directly executed on the configuration terminal and so should not be pushed as part of configuration update which acts only on configuration. Verify the execution of commands used in configuration update on the configuration terminal of the device.&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting</id>
		<title>Cisco Configuration Engine -- Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting"/>
				<updated>2011-05-31T05:02:36Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* Contents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Cisco Configuration Engine is a network management software that acts as a configuration service for automating the deployment, management, and upgrading of network devices and services. Each Configuration Engine manages a group of Cisco devices (switches and routers) and the services that they deliver, storing their configurations and delivering them as needed. The Cisco Configuration Engine automates initial configurations and configuration updates by generating device-specific configuration changes, sending them to the device, executing the configuration change, and logging the results.&lt;br /&gt;
&lt;br /&gt;
==Contents==&lt;br /&gt;
&lt;br /&gt;
This document contains troubleshooting information for the Cisco Configuration Engine. It contains the following sections:&lt;br /&gt;
* [[Cisco Configuration Engine -- Troubleshooting Installation Checks]]&lt;br /&gt;
* [[Troubleshooting Cisco Configuration Engine Installation]]&lt;br /&gt;
* [[Troubleshooting_Logging_and_Connection_Issues|Troubleshooting Logging and Connection Issues]]&lt;br /&gt;
*[[Troubleshooting_the_Open_Lightweight_Directory_Access_Protocol_and_the_Berkeley_Data_Base|Troubleshooting the Open Lightweight Directory Access Protocol and the Berkeley Data Base]]&lt;br /&gt;
* [[Troubleshooting_the_Cisco_Configuration_Engine_Services|Troubleshooting the Cisco Configuration Engine Services]]&lt;br /&gt;
* [[Troubleshooting_the_General|Troubleshooting the Cisco Configuration Engine Services for General issues]]&lt;br /&gt;
* [[Troubleshooting_the_Web_Services|Troubleshooting the Web Services]]&lt;br /&gt;
* [[Troubleshooting_the_Initial_Configuration|Troubleshooting the Initial Configuration]]&lt;br /&gt;
* [[Troubleshooting_Configuration_Update|Troubleshooting Configuration Update]]&lt;br /&gt;
* [[Troubleshooting_an_Image_Update|Troubleshooting an Image Update]]&lt;br /&gt;
* [[Troubleshooting_IMGW|Troubleshooting IMGW]]&lt;br /&gt;
* [[Troubleshooting_the_Router|Troubleshooting the Router]]&lt;br /&gt;
* [[ASA_Configuration_Troubleshooting|ASA Configuration/Image/ASDM image upgrade Troubleshooting]]&lt;br /&gt;
* [[General_Troubleshooting|General Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This is not an administration manual. For comprehensive information about administering the Cisco Configuration Engine, see the Cisco Configuration Engine Administration Guide at ''http://www.cisco.com/en/US/docs/net_mgmt/configuration_engine/3.5/administration/guide/CE_ag.html''.&lt;br /&gt;
&lt;br /&gt;
==Checking the Version Number==&lt;br /&gt;
&lt;br /&gt;
To check the version number of the Cisco Configuration Engine software, do one of the following: &lt;br /&gt;
*Start the Cisco Configuration Engine application, and look for the version number in the displayed login screen. &lt;br /&gt;
*Use the version command. This command is located in the '''cd $CISCO_CE_INSTALL_ROOT/CSCOcnsie/bin''' directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting_Installation_Checks</id>
		<title>Cisco Configuration Engine -- Troubleshooting Installation Checks</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting_Installation_Checks"/>
				<updated>2011-05-31T04:48:34Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* Root User Check */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Troubleshooting Installation Checks==&lt;br /&gt;
&lt;br /&gt;
This section describes the installation checks performed by ce_install.sh and ce_check.sh scripts. To troubleshoot by using the installation checks script, see the following sections:&lt;br /&gt;
&lt;br /&gt;
==Root User and System Check==&lt;br /&gt;
 &lt;br /&gt;
If the user trying to install or run the check install script is not a root user, the following error message is displayed:&lt;br /&gt;
&lt;br /&gt;
  Reading XML file ./installRule.linux5.xml &lt;br /&gt;
  check Root user.......... &lt;br /&gt;
  Error!!! Only user &amp;quot;root&amp;quot; can run check script! &lt;br /&gt;
  The root user option should be used to install the Cisco CE.&lt;br /&gt;
  Check for OS, CPU, RAM, and Disk space&lt;br /&gt;
 &lt;br /&gt;
The install and check install script validates the OS, CPU speed, RAM, and disk space usage to ensure that the configuration requirements are sufficient to install the Cisco Configuration Engine. The example below shows that the minimum RAM requirement is not meet within Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
   System Requirement Check :&lt;br /&gt;
   check OS.......... ok&lt;br /&gt;
   check CPU.......... ok&lt;br /&gt;
   check Ram.......... Error the machine has only 515536 Kbytes memory.&lt;br /&gt;
   Minimum requirement: 2000000 Kbytes.&lt;br /&gt;
   check Disk Space '/var/tmp'.......... ok &lt;br /&gt;
   Check the system requirements and provide the proper &lt;br /&gt;
   configuration to install the    Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
==Checks for dependent and CE Packages==&lt;br /&gt;
&lt;br /&gt;
The install and check install scripts will check if any of the Cisco Configuration Engine packages are already installed and displays the warning message as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   Below lists  package(s) which should not exist before CE 3.5.3 install.&lt;br /&gt;
   Please remove them before running CE 3.5.3 installation script. &lt;br /&gt;
   &lt;br /&gt;
   ...... package: SUNJava2-SDK, existing version: 1.6.0_05-0 &lt;br /&gt;
   ...... package: mod_jk2, existing version: 2.0.4-4jpp_4rh &lt;br /&gt;
   ...... package: CSCOcnscfgs, existing version: 1.4-0 &lt;br /&gt;
   ...... package: ACE, existing version: 5.6.0-0 &lt;br /&gt;
   ...... package: CSCOadmincommon, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOcnscommon, existing version: 1.4-0 &lt;br /&gt;
   ...... package: CSCOcnses, existing version: 1.9-0 &lt;br /&gt;
   ...... package: CSCOcnsnsm, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOcnsimgs, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOcnspki, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOdat, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOemail, existing version: 1.0-0 &lt;br /&gt;
   ...... package: CSCOencryption, existing version: 1.4-1 &lt;br /&gt;
   ...... package: CSCOGroupAdmin, existing version: 1.5-1 &lt;br /&gt;
   ...... package: CSCOimgw, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOImgwConfig, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOImgwDeviceServer, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOnsmAdmin, existing version: 1.0-0 &lt;br /&gt;
   ...... package: CSCOsrvr, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOTools, existing version: 1.2-0 &lt;br /&gt;
   ...... package: CSCOudiAdmin, existing version: 1.0-0 &lt;br /&gt;
   ...... package: xerces-c, existing version: 2.8-0&lt;br /&gt;
&lt;br /&gt;
Uninstall the Cisco CE properly and then try to install or run the install check script.&lt;br /&gt;
&lt;br /&gt;
==Check for Dependent OS Packages==&lt;br /&gt;
 &lt;br /&gt;
The Cisco Configuration Engine install and check install script will check for the OS dependent packages and display error messages if the required packages are not installed.&lt;br /&gt;
&lt;br /&gt;
  Below lists package(s) which should be shared between CE and other projects. It is now detected that these component(s) are not installed or of &lt;br /&gt;
  different version from that required by Configuration Engine. Please remove the inappropriate packages and install required packages before re-running&lt;br /&gt;
  Configuration Engine installation script. &lt;br /&gt;
  &lt;br /&gt;
   ...... package: httpd, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
   ...... package: httpd-suexec, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
   ...... package: mod_ssl, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
  &lt;br /&gt;
  Install the three missing package mentioned above from your Operating System distribution mentioned below.&lt;br /&gt;
  Red Hat Enterprise Linux AS release 4 (Nahant Update 6)&lt;br /&gt;
&lt;br /&gt;
The customer should install the required packages from the Red Hat Distribution Media or RPM Package Manager like 'yum'.&lt;br /&gt;
&lt;br /&gt;
The check install script will check for the OS package being installed on the system. &lt;br /&gt;
&lt;br /&gt;
  Package 'httpd'is shared... &lt;br /&gt;
  /bin/rpm -V httpd&lt;br /&gt;
  S.5....T c /etc/rc.d/init.d/httpd&lt;br /&gt;
  ..?.....   /usr/sbin/suexec&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0 &lt;br /&gt;
  Following command failed: see ./checkError.log for details&lt;br /&gt;
  /bin/rpm -V httpd&lt;br /&gt;
  Warning package httpd is not properly installed&lt;br /&gt;
  Run the command '/bin/rpm -V httpd' to see the issues&lt;br /&gt;
&lt;br /&gt;
Verify the error to see if the configurations are changed and reinstall the packages accordingly.&lt;br /&gt;
&lt;br /&gt;
==Check for OS Dependent Package Files Missing==&lt;br /&gt;
&lt;br /&gt;
The check install script will check for  any missing files from the OS package that is installed on the system.&lt;br /&gt;
&lt;br /&gt;
  Package 'mod_ssl'is shared... &lt;br /&gt;
  /bin/rpm -V mod_ssl&lt;br /&gt;
  S.5....T c /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0 &lt;br /&gt;
  Following command failed: see ./checkError.log for details&lt;br /&gt;
  /bin/rpm -V mod_ssl&lt;br /&gt;
  Warning package mod_ssl is not properly installed&lt;br /&gt;
  Run the command '/bin/rpm -V mod_ssl' to see the issues&lt;br /&gt;
  Error file or directory /usr/lib/httpd/modules/mod_ssl.so doesn't exist&lt;br /&gt;
  Please re-install the mod_ssl from your Operating System distribution mentioned below.&lt;br /&gt;
  Red Hat Enterprise Linux Server release 5.2 (Tikanga)&lt;br /&gt;
  Reinstall the package properly from the OS distribution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting_Installation_Checks</id>
		<title>Cisco Configuration Engine -- Troubleshooting Installation Checks</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting_Installation_Checks"/>
				<updated>2011-05-31T04:48:01Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* Checks for dependent and CE Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Troubleshooting Installation Checks==&lt;br /&gt;
&lt;br /&gt;
This section describes the installation checks performed by ce_install.sh and ce_check.sh scripts. To troubleshoot by using the installation checks script, see the following sections:&lt;br /&gt;
&lt;br /&gt;
==Root User Check==&lt;br /&gt;
 &lt;br /&gt;
If the user trying to install or run the check install script is not a root user, the following error message is displayed:&lt;br /&gt;
&lt;br /&gt;
  Reading XML file ./installRule.linux5.xml &lt;br /&gt;
  check Root user.......... &lt;br /&gt;
  Error!!! Only user &amp;quot;root&amp;quot; can run check script! &lt;br /&gt;
  The root user option should be used to install the Cisco CE.&lt;br /&gt;
  Check for OS, CPU, RAM, and Disk space&lt;br /&gt;
 &lt;br /&gt;
The install and check install script validates the OS, CPU speed, RAM, and disk space usage to ensure that the configuration requirements are sufficient to install the Cisco Configuration Engine. The example below shows that the minimum RAM requirement is not meet within Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
   System Requirement Check :&lt;br /&gt;
   check OS.......... ok&lt;br /&gt;
   check CPU.......... ok&lt;br /&gt;
   check Ram.......... Error the machine has only 515536 Kbytes memory.&lt;br /&gt;
   Minimum requirement: 2000000 Kbytes.&lt;br /&gt;
   check Disk Space '/var/tmp'.......... ok &lt;br /&gt;
   Check the system requirements and provide the proper &lt;br /&gt;
   configuration to install the    Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
==Checks for dependent and CE Packages==&lt;br /&gt;
&lt;br /&gt;
The install and check install scripts will check if any of the Cisco Configuration Engine packages are already installed and displays the warning message as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   Below lists  package(s) which should not exist before CE 3.5.3 install.&lt;br /&gt;
   Please remove them before running CE 3.5.3 installation script. &lt;br /&gt;
   &lt;br /&gt;
   ...... package: SUNJava2-SDK, existing version: 1.6.0_05-0 &lt;br /&gt;
   ...... package: mod_jk2, existing version: 2.0.4-4jpp_4rh &lt;br /&gt;
   ...... package: CSCOcnscfgs, existing version: 1.4-0 &lt;br /&gt;
   ...... package: ACE, existing version: 5.6.0-0 &lt;br /&gt;
   ...... package: CSCOadmincommon, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOcnscommon, existing version: 1.4-0 &lt;br /&gt;
   ...... package: CSCOcnses, existing version: 1.9-0 &lt;br /&gt;
   ...... package: CSCOcnsnsm, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOcnsimgs, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOcnspki, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOdat, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOemail, existing version: 1.0-0 &lt;br /&gt;
   ...... package: CSCOencryption, existing version: 1.4-1 &lt;br /&gt;
   ...... package: CSCOGroupAdmin, existing version: 1.5-1 &lt;br /&gt;
   ...... package: CSCOimgw, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOImgwConfig, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOImgwDeviceServer, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOnsmAdmin, existing version: 1.0-0 &lt;br /&gt;
   ...... package: CSCOsrvr, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOTools, existing version: 1.2-0 &lt;br /&gt;
   ...... package: CSCOudiAdmin, existing version: 1.0-0 &lt;br /&gt;
   ...... package: xerces-c, existing version: 2.8-0&lt;br /&gt;
&lt;br /&gt;
Uninstall the Cisco CE properly and then try to install or run the install check script.&lt;br /&gt;
&lt;br /&gt;
==Check for Dependent OS Packages==&lt;br /&gt;
 &lt;br /&gt;
The Cisco Configuration Engine install and check install script will check for the OS dependent packages and display error messages if the required packages are not installed.&lt;br /&gt;
&lt;br /&gt;
  Below lists package(s) which should be shared between CE and other projects. It is now detected that these component(s) are not installed or of &lt;br /&gt;
  different version from that required by Configuration Engine. Please remove the inappropriate packages and install required packages before re-running&lt;br /&gt;
  Configuration Engine installation script. &lt;br /&gt;
  &lt;br /&gt;
   ...... package: httpd, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
   ...... package: httpd-suexec, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
   ...... package: mod_ssl, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
  &lt;br /&gt;
  Install the three missing package mentioned above from your Operating System distribution mentioned below.&lt;br /&gt;
  Red Hat Enterprise Linux AS release 4 (Nahant Update 6)&lt;br /&gt;
&lt;br /&gt;
The customer should install the required packages from the Red Hat Distribution Media or RPM Package Manager like 'yum'.&lt;br /&gt;
&lt;br /&gt;
The check install script will check for the OS package being installed on the system. &lt;br /&gt;
&lt;br /&gt;
  Package 'httpd'is shared... &lt;br /&gt;
  /bin/rpm -V httpd&lt;br /&gt;
  S.5....T c /etc/rc.d/init.d/httpd&lt;br /&gt;
  ..?.....   /usr/sbin/suexec&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0 &lt;br /&gt;
  Following command failed: see ./checkError.log for details&lt;br /&gt;
  /bin/rpm -V httpd&lt;br /&gt;
  Warning package httpd is not properly installed&lt;br /&gt;
  Run the command '/bin/rpm -V httpd' to see the issues&lt;br /&gt;
&lt;br /&gt;
Verify the error to see if the configurations are changed and reinstall the packages accordingly.&lt;br /&gt;
&lt;br /&gt;
==Check for OS Dependent Package Files Missing==&lt;br /&gt;
&lt;br /&gt;
The check install script will check for  any missing files from the OS package that is installed on the system.&lt;br /&gt;
&lt;br /&gt;
  Package 'mod_ssl'is shared... &lt;br /&gt;
  /bin/rpm -V mod_ssl&lt;br /&gt;
  S.5....T c /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0 &lt;br /&gt;
  Following command failed: see ./checkError.log for details&lt;br /&gt;
  /bin/rpm -V mod_ssl&lt;br /&gt;
  Warning package mod_ssl is not properly installed&lt;br /&gt;
  Run the command '/bin/rpm -V mod_ssl' to see the issues&lt;br /&gt;
  Error file or directory /usr/lib/httpd/modules/mod_ssl.so doesn't exist&lt;br /&gt;
  Please re-install the mod_ssl from your Operating System distribution mentioned below.&lt;br /&gt;
  Red Hat Enterprise Linux Server release 5.2 (Tikanga)&lt;br /&gt;
  Reinstall the package properly from the OS distribution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting_Installation_Checks</id>
		<title>Cisco Configuration Engine -- Troubleshooting Installation Checks</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting_Installation_Checks"/>
				<updated>2011-05-31T04:47:15Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* Check for Dependent OS Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Troubleshooting Installation Checks==&lt;br /&gt;
&lt;br /&gt;
This section describes the installation checks performed by ce_install.sh and ce_check.sh scripts. To troubleshoot by using the installation checks script, see the following sections:&lt;br /&gt;
&lt;br /&gt;
==Root User Check==&lt;br /&gt;
 &lt;br /&gt;
If the user trying to install or run the check install script is not a root user, the following error message is displayed:&lt;br /&gt;
&lt;br /&gt;
  Reading XML file ./installRule.linux5.xml &lt;br /&gt;
  check Root user.......... &lt;br /&gt;
  Error!!! Only user &amp;quot;root&amp;quot; can run check script! &lt;br /&gt;
  The root user option should be used to install the Cisco CE.&lt;br /&gt;
  Check for OS, CPU, RAM, and Disk space&lt;br /&gt;
 &lt;br /&gt;
The install and check install script validates the OS, CPU speed, RAM, and disk space usage to ensure that the configuration requirements are sufficient to install the Cisco Configuration Engine. The example below shows that the minimum RAM requirement is not meet within Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
   System Requirement Check :&lt;br /&gt;
   check OS.......... ok&lt;br /&gt;
   check CPU.......... ok&lt;br /&gt;
   check Ram.......... Error the machine has only 515536 Kbytes memory.&lt;br /&gt;
   Minimum requirement: 2000000 Kbytes.&lt;br /&gt;
   check Disk Space '/var/tmp'.......... ok &lt;br /&gt;
   Check the system requirements and provide the proper &lt;br /&gt;
   configuration to install the    Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
==Checks for dependent and CE Packages==&lt;br /&gt;
&lt;br /&gt;
The install and check install scripts will check if any of the Cisco Configuration Engine packages are already installed and displays the warning message as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   Below lists  package(s) which should not exist before CE 3.5.3 install.&lt;br /&gt;
   Please remove them before running CE 3.5.3 installation script. &lt;br /&gt;
&lt;br /&gt;
   ...... package: SUNJava2-SDK, existing version: 1.6.0_05-0 &lt;br /&gt;
   ...... package: mod_jk2, existing version: 2.0.4-4jpp_4rh &lt;br /&gt;
   ...... package: CSCOcnscfgs, existing version: 1.4-0 &lt;br /&gt;
   ...... package: ACE, existing version: 5.6.0-0 &lt;br /&gt;
   ...... package: CSCOadmincommon, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOcnscommon, existing version: 1.4-0 &lt;br /&gt;
   ...... package: CSCOcnses, existing version: 1.9-0 &lt;br /&gt;
   ...... package: CSCOcnsnsm, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOcnsimgs, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOcnspki, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOdat, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOemail, existing version: 1.0-0 &lt;br /&gt;
   ...... package: CSCOencryption, existing version: 1.4-1 &lt;br /&gt;
   ...... package: CSCOGroupAdmin, existing version: 1.5-1 &lt;br /&gt;
   ...... package: CSCOimgw, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOImgwConfig, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOImgwDeviceServer, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOnsmAdmin, existing version: 1.0-0 &lt;br /&gt;
   ...... package: CSCOsrvr, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOTools, existing version: 1.2-0 &lt;br /&gt;
   ...... package: CSCOudiAdmin, existing version: 1.0-0 &lt;br /&gt;
   ...... package: xerces-c, existing version: 2.8-0&lt;br /&gt;
&lt;br /&gt;
Uninstall the Cisco CE properly and then try to install or run the install check script.&lt;br /&gt;
&lt;br /&gt;
==Check for Dependent OS Packages==&lt;br /&gt;
 &lt;br /&gt;
The Cisco Configuration Engine install and check install script will check for the OS dependent packages and display error messages if the required packages are not installed.&lt;br /&gt;
&lt;br /&gt;
  Below lists package(s) which should be shared between CE and other projects. It is now detected that these component(s) are not installed or of &lt;br /&gt;
  different version from that required by Configuration Engine. Please remove the inappropriate packages and install required packages before re-running&lt;br /&gt;
  Configuration Engine installation script. &lt;br /&gt;
  &lt;br /&gt;
   ...... package: httpd, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
   ...... package: httpd-suexec, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
   ...... package: mod_ssl, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
  &lt;br /&gt;
  Install the three missing package mentioned above from your Operating System distribution mentioned below.&lt;br /&gt;
  Red Hat Enterprise Linux AS release 4 (Nahant Update 6)&lt;br /&gt;
&lt;br /&gt;
The customer should install the required packages from the Red Hat Distribution Media or RPM Package Manager like 'yum'.&lt;br /&gt;
&lt;br /&gt;
The check install script will check for the OS package being installed on the system. &lt;br /&gt;
&lt;br /&gt;
  Package 'httpd'is shared... &lt;br /&gt;
  /bin/rpm -V httpd&lt;br /&gt;
  S.5....T c /etc/rc.d/init.d/httpd&lt;br /&gt;
  ..?.....   /usr/sbin/suexec&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0 &lt;br /&gt;
  Following command failed: see ./checkError.log for details&lt;br /&gt;
  /bin/rpm -V httpd&lt;br /&gt;
  Warning package httpd is not properly installed&lt;br /&gt;
  Run the command '/bin/rpm -V httpd' to see the issues&lt;br /&gt;
&lt;br /&gt;
Verify the error to see if the configurations are changed and reinstall the packages accordingly.&lt;br /&gt;
&lt;br /&gt;
==Check for OS Dependent Package Files Missing==&lt;br /&gt;
&lt;br /&gt;
The check install script will check for  any missing files from the OS package that is installed on the system.&lt;br /&gt;
&lt;br /&gt;
  Package 'mod_ssl'is shared... &lt;br /&gt;
  /bin/rpm -V mod_ssl&lt;br /&gt;
  S.5....T c /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0 &lt;br /&gt;
  Following command failed: see ./checkError.log for details&lt;br /&gt;
  /bin/rpm -V mod_ssl&lt;br /&gt;
  Warning package mod_ssl is not properly installed&lt;br /&gt;
  Run the command '/bin/rpm -V mod_ssl' to see the issues&lt;br /&gt;
  Error file or directory /usr/lib/httpd/modules/mod_ssl.so doesn't exist&lt;br /&gt;
  Please re-install the mod_ssl from your Operating System distribution mentioned below.&lt;br /&gt;
  Red Hat Enterprise Linux Server release 5.2 (Tikanga)&lt;br /&gt;
  Reinstall the package properly from the OS distribution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting_Installation_Checks</id>
		<title>Cisco Configuration Engine -- Troubleshooting Installation Checks</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting_Installation_Checks"/>
				<updated>2011-05-31T04:44:56Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* Check for Dependent OS Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Troubleshooting Installation Checks==&lt;br /&gt;
&lt;br /&gt;
This section describes the installation checks performed by ce_install.sh and ce_check.sh scripts. To troubleshoot by using the installation checks script, see the following sections:&lt;br /&gt;
&lt;br /&gt;
==Root User Check==&lt;br /&gt;
 &lt;br /&gt;
If the user trying to install or run the check install script is not a root user, the following error message is displayed:&lt;br /&gt;
&lt;br /&gt;
  Reading XML file ./installRule.linux5.xml &lt;br /&gt;
  check Root user.......... &lt;br /&gt;
  Error!!! Only user &amp;quot;root&amp;quot; can run check script! &lt;br /&gt;
  The root user option should be used to install the Cisco CE.&lt;br /&gt;
  Check for OS, CPU, RAM, and Disk space&lt;br /&gt;
 &lt;br /&gt;
The install and check install script validates the OS, CPU speed, RAM, and disk space usage to ensure that the configuration requirements are sufficient to install the Cisco Configuration Engine. The example below shows that the minimum RAM requirement is not meet within Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
   System Requirement Check :&lt;br /&gt;
   check OS.......... ok&lt;br /&gt;
   check CPU.......... ok&lt;br /&gt;
   check Ram.......... Error the machine has only 515536 Kbytes memory.&lt;br /&gt;
   Minimum requirement: 2000000 Kbytes.&lt;br /&gt;
   check Disk Space '/var/tmp'.......... ok &lt;br /&gt;
   Check the system requirements and provide the proper &lt;br /&gt;
   configuration to install the    Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
==Checks for dependent and CE Packages==&lt;br /&gt;
&lt;br /&gt;
The install and check install scripts will check if any of the Cisco Configuration Engine packages are already installed and displays the warning message as shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   Below lists  package(s) which should not exist before CE 3.5.3 install.&lt;br /&gt;
   Please remove them before running CE 3.5.3 installation script. &lt;br /&gt;
&lt;br /&gt;
   ...... package: SUNJava2-SDK, existing version: 1.6.0_05-0 &lt;br /&gt;
   ...... package: mod_jk2, existing version: 2.0.4-4jpp_4rh &lt;br /&gt;
   ...... package: CSCOcnscfgs, existing version: 1.4-0 &lt;br /&gt;
   ...... package: ACE, existing version: 5.6.0-0 &lt;br /&gt;
   ...... package: CSCOadmincommon, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOcnscommon, existing version: 1.4-0 &lt;br /&gt;
   ...... package: CSCOcnses, existing version: 1.9-0 &lt;br /&gt;
   ...... package: CSCOcnsnsm, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOcnsimgs, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOcnspki, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOdat, existing version: 1.3-0 &lt;br /&gt;
   ...... package: CSCOemail, existing version: 1.0-0 &lt;br /&gt;
   ...... package: CSCOencryption, existing version: 1.4-1 &lt;br /&gt;
   ...... package: CSCOGroupAdmin, existing version: 1.5-1 &lt;br /&gt;
   ...... package: CSCOimgw, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOImgwConfig, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOImgwDeviceServer, existing version: 1.4-0.0 &lt;br /&gt;
   ...... package: CSCOnsmAdmin, existing version: 1.0-0 &lt;br /&gt;
   ...... package: CSCOsrvr, existing version: 1.5-0 &lt;br /&gt;
   ...... package: CSCOTools, existing version: 1.2-0 &lt;br /&gt;
   ...... package: CSCOudiAdmin, existing version: 1.0-0 &lt;br /&gt;
   ...... package: xerces-c, existing version: 2.8-0&lt;br /&gt;
&lt;br /&gt;
Uninstall the Cisco CE properly and then try to install or run the install check script.&lt;br /&gt;
&lt;br /&gt;
==Check for Dependent OS Packages==&lt;br /&gt;
 &lt;br /&gt;
The Cisco Configuration Engine install and check install script will check for the OS dependent packages and display error messages if the required packages are not installed.&lt;br /&gt;
&lt;br /&gt;
  Below lists package(s) which should be shared between CE and other projects. It is now detected that these component(s) are not installed or of &lt;br /&gt;
  different version from that required by Configuration Engine. Please remove the inappropriate packages and install required packages before re-running&lt;br /&gt;
  Configuration Engine installation script. &lt;br /&gt;
  &lt;br /&gt;
   ...... package: httpd, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
   ...... package: httpd-suexec, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
   ...... package: mod_ssl, existing version: not installed &lt;br /&gt;
   ...... expected version: 2.0.52&lt;br /&gt;
  &lt;br /&gt;
  Install the three missing package mentioned above from your Operating System distribution mentioned below.&lt;br /&gt;
  Red Hat Enterprise Linux AS release 4 (Nahant Update 6)&lt;br /&gt;
&lt;br /&gt;
Install the required software from the distribution supported by the customer.&lt;br /&gt;
&lt;br /&gt;
The check install script will check for the OS package being installed on the system. &lt;br /&gt;
&lt;br /&gt;
  Package 'httpd'is shared... &lt;br /&gt;
  /bin/rpm -V httpd&lt;br /&gt;
  S.5....T c /etc/rc.d/init.d/httpd&lt;br /&gt;
  ..?.....   /usr/sbin/suexec&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0 &lt;br /&gt;
  Following command failed: see ./checkError.log for details&lt;br /&gt;
  /bin/rpm -V httpd&lt;br /&gt;
  Warning package httpd is not properly installed&lt;br /&gt;
  Run the command '/bin/rpm -V httpd' to see the issues&lt;br /&gt;
&lt;br /&gt;
Verify the error to see if the configurations are changed and reinstall the packages accordingly.&lt;br /&gt;
&lt;br /&gt;
==Check for OS Dependent Package Files Missing==&lt;br /&gt;
&lt;br /&gt;
The check install script will check for  any missing files from the OS package that is installed on the system.&lt;br /&gt;
&lt;br /&gt;
  Package 'mod_ssl'is shared... &lt;br /&gt;
  /bin/rpm -V mod_ssl&lt;br /&gt;
  S.5....T c /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0 &lt;br /&gt;
  Following command failed: see ./checkError.log for details&lt;br /&gt;
  /bin/rpm -V mod_ssl&lt;br /&gt;
  Warning package mod_ssl is not properly installed&lt;br /&gt;
  Run the command '/bin/rpm -V mod_ssl' to see the issues&lt;br /&gt;
  Error file or directory /usr/lib/httpd/modules/mod_ssl.so doesn't exist&lt;br /&gt;
  Please re-install the mod_ssl from your Operating System distribution mentioned below.&lt;br /&gt;
  Red Hat Enterprise Linux Server release 5.2 (Tikanga)&lt;br /&gt;
  Reinstall the package properly from the OS distribution.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Troubleshooting_Cisco_Configuration_Engine_Installation</id>
		<title>Troubleshooting Cisco Configuration Engine Installation</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Troubleshooting_Cisco_Configuration_Engine_Installation"/>
				<updated>2011-05-30T04:58:59Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* Setup fails in start of httpd for wrong elfclass */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='gethostbyaddr()' error==&lt;br /&gt;
&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
Installation aborted with error message “Hostname value retrieval by system calls 'gethostbyaddr()' and command 'hostname' have different values returned. Please correct it also make sure 'ifconfig' is set in your PATH before installing Config Engine 3.5”&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Make sure the hostnames configured in /etc/hosts, /etc/sysconfig/network and/or DNS server are consistent with what’s returned by “hostname –s” command.&lt;br /&gt;
&lt;br /&gt;
Step 2 Make sure the ifconfig command is in the $PATH environment variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Can’t reinstall CE==&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
If a install shell is accidentally closed, reinstall is not allowed.&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  use ce_uninstall –force to uninstall any partially installed packages and rerun ce_install.sh again. &lt;br /&gt;
&lt;br /&gt;
Note: If the user typed ^Z to suspend the install process in the background, they need to either resume the install process or kill the install process.&lt;br /&gt;
&lt;br /&gt;
==Setup fails in start of httpd with library errors==&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
While setting up of Cisco Configuration Engine version 3.5.2 or lower on Red Hat Enterprise Linux Version 5,the setup fails with appliance-setup.log showing httpd start error as mentioned below.&lt;br /&gt;
&lt;br /&gt;
   Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
The problem is due to missing Red Hat packages on the Red Hat Enterprise Linux.&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Use ce_uninstall to uninstall all installed packages.&lt;br /&gt;
&lt;br /&gt;
Step 2  Install the &amp;quot;postgresql-libs&amp;quot; and &amp;quot;mailcap&amp;quot; rpm for the Red Hat Enterprise Linux Distribution.&lt;br /&gt;
&lt;br /&gt;
Step 3  Rerun the ce_install.sh again to install Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
Step 4  Launch a new root user Session and enter into a new bash shell.&lt;br /&gt;
&lt;br /&gt;
Step 5  Execute the setup.sh command on the bash shell.&lt;br /&gt;
&lt;br /&gt;
==Setup or Resetup of Cisco Configuration Engine fails ==&lt;br /&gt;
'''Symptom:'''&lt;br /&gt;
&lt;br /&gt;
The setup/resetup fails with appliance-setup.log showing httpd failure and java not found errors as mentioned below.&lt;br /&gt;
&lt;br /&gt;
  /etc/rc.d/init.d/httpd start &lt;br /&gt;
  Checking if the following ports have been cleared:8009 8005 Starting tomcat...Waiting for tomcat to initialize...&lt;br /&gt;
  Starting httpd: FAILED&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0&lt;br /&gt;
&lt;br /&gt;
  Deploying config web services ...&lt;br /&gt;
  /opt/ConfigEngine/CSCOcnsie/bin/deploy.config.websvc [-wsdl] &lt;br /&gt;
  ./adminclient.sh: line 18: java: command not found&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
The problem is due to non execution of a new bash shell to source the environment variables added by Cisco Configuration Engine.&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Launch a new root user Session and enter into a new bash shell.&lt;br /&gt;
&lt;br /&gt;
Step 2  Execute the setup.sh command on the new bash shell created.&lt;br /&gt;
&lt;br /&gt;
==Setup fails in start of httpd for wrong ELF class==&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
While setting up of Cisco Configuration Engine on Red Hat Enterprise Linux the setup fails with appliance-setup.log showing httpd start error as mentioned below.&lt;br /&gt;
&lt;br /&gt;
   Starting httpd: httpd: Syntax error on line 1383 of /opt/ConfigEngine/CSCOcnsie/httpd/conf/httpd.conf: &lt;br /&gt;
   Syntax error on line 10 of /opt/ConfigEngine/tomcat/conf/mod_jk-ce.conf: Cannot load /opt/ConfigEngine/CSCOcnsie/httpd/modules/mod_jk.so &lt;br /&gt;
   into server: /opt/ConfigEngine/CSCOcnsie/httpd/modules/mod_jk.so: wrong ELF class: ELFCLASS32 &lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
The problem is due to installation of Cisco Configuration Engine on 64 bit architecture(x86_64). Cisco Configuration Engine is supported only on 32 bit architecture(i386). Install the correct version of Red Hat Enterprise Linux before installing Configuration Engine.&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Troubleshooting_Cisco_Configuration_Engine_Installation</id>
		<title>Troubleshooting Cisco Configuration Engine Installation</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Troubleshooting_Cisco_Configuration_Engine_Installation"/>
				<updated>2011-05-30T04:53:33Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='gethostbyaddr()' error==&lt;br /&gt;
&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
Installation aborted with error message “Hostname value retrieval by system calls 'gethostbyaddr()' and command 'hostname' have different values returned. Please correct it also make sure 'ifconfig' is set in your PATH before installing Config Engine 3.5”&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Make sure the hostnames configured in /etc/hosts, /etc/sysconfig/network and/or DNS server are consistent with what’s returned by “hostname –s” command.&lt;br /&gt;
&lt;br /&gt;
Step 2 Make sure the ifconfig command is in the $PATH environment variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Can’t reinstall CE==&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
If a install shell is accidentally closed, reinstall is not allowed.&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  use ce_uninstall –force to uninstall any partially installed packages and rerun ce_install.sh again. &lt;br /&gt;
&lt;br /&gt;
Note: If the user typed ^Z to suspend the install process in the background, they need to either resume the install process or kill the install process.&lt;br /&gt;
&lt;br /&gt;
==Setup fails in start of httpd with library errors==&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
While setting up of Cisco Configuration Engine version 3.5.2 or lower on Red Hat Enterprise Linux Version 5,the setup fails with appliance-setup.log showing httpd start error as mentioned below.&lt;br /&gt;
&lt;br /&gt;
   Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
The problem is due to missing Red Hat packages on the Red Hat Enterprise Linux.&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Use ce_uninstall to uninstall all installed packages.&lt;br /&gt;
&lt;br /&gt;
Step 2  Install the &amp;quot;postgresql-libs&amp;quot; and &amp;quot;mailcap&amp;quot; rpm for the Red Hat Enterprise Linux Distribution.&lt;br /&gt;
&lt;br /&gt;
Step 3  Rerun the ce_install.sh again to install Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
Step 4  Launch a new root user Session and enter into a new bash shell.&lt;br /&gt;
&lt;br /&gt;
Step 5  Execute the setup.sh command on the bash shell.&lt;br /&gt;
&lt;br /&gt;
==Setup or Resetup of Cisco Configuration Engine fails ==&lt;br /&gt;
'''Symptom:'''&lt;br /&gt;
&lt;br /&gt;
The setup/resetup fails with appliance-setup.log showing httpd failure and java not found errors as mentioned below.&lt;br /&gt;
&lt;br /&gt;
  /etc/rc.d/init.d/httpd start &lt;br /&gt;
  Checking if the following ports have been cleared:8009 8005 Starting tomcat...Waiting for tomcat to initialize...&lt;br /&gt;
  Starting httpd: FAILED&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0&lt;br /&gt;
&lt;br /&gt;
  Deploying config web services ...&lt;br /&gt;
  /opt/ConfigEngine/CSCOcnsie/bin/deploy.config.websvc [-wsdl] &lt;br /&gt;
  ./adminclient.sh: line 18: java: command not found&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
The problem is due to non execution of a new bash shell to source the environment variables added by Cisco Configuration Engine.&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Launch a new root user Session and enter into a new bash shell.&lt;br /&gt;
&lt;br /&gt;
Step 2  Execute the setup.sh command on the new bash shell created.&lt;br /&gt;
&lt;br /&gt;
==Setup fails in start of httpd for wrong elfclass==&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
While setting up of Cisco Configuration Engine on Red Hat Enterprise Linux the setup fails with appliance-setup.log showing httpd start error as mentioned below.&lt;br /&gt;
&lt;br /&gt;
   Starting httpd: httpd: Syntax error on line 1383 of /opt/ConfigEngine/CSCOcnsie/httpd/conf/httpd.conf: &lt;br /&gt;
   Syntax error on line 10 of /opt/ConfigEngine/tomcat/conf/mod_jk-ce.conf: Cannot load /opt/ConfigEngine/CSCOcnsie/httpd/modules/mod_jk.so &lt;br /&gt;
   into server: /opt/ConfigEngine/CSCOcnsie/httpd/modules/mod_jk.so: wrong ELF class: ELFCLASS32 &lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
The problem is due to installation of Cisco Configuration Engine on 64 bit architecture(x86_64). Cisco Configuration Engine is supported only on 32 bit architecture(i386). Install the correct version of Red Hat Enterprise Linux before installing Configuration Engine.&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting</id>
		<title>Cisco Configuration Engine -- Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Cisco_Configuration_Engine_--_Troubleshooting"/>
				<updated>2011-05-25T06:48:21Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* Contents */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Cisco Configuration Engine is a network management software that acts as a configuration service for automating the deployment, management, and upgrading of network devices and services. Each Configuration Engine manages a group of Cisco devices (switches and routers) and the services that they deliver, storing their configurations and delivering them as needed. The Cisco Configuration Engine automates initial configurations and configuration updates by generating device-specific configuration changes, sending them to the device, executing the configuration change, and logging the results.&lt;br /&gt;
&lt;br /&gt;
==Contents==&lt;br /&gt;
&lt;br /&gt;
This document contains troubleshooting information for the Cisco Configuration Engine. It contains the following sections:&lt;br /&gt;
* [[Troubleshooting Cisco Configuration Engine Installation]]&lt;br /&gt;
* [[Troubleshooting_Logging_and_Connection_Issues|Troubleshooting Logging and Connection Issues]]&lt;br /&gt;
* [[Cisco Configuration Engine -- Troubleshooting Installation Checks]]&lt;br /&gt;
*[[Troubleshooting_the_Open_Lightweight_Directory_Access_Protocol_and_the_Berkeley_Data_Base|Troubleshooting the Open Lightweight Directory Access Protocol and the Berkeley Data Base]]&lt;br /&gt;
* [[Troubleshooting_the_Cisco_Configuration_Engine_Services|Troubleshooting the Cisco Configuration Engine Services]]&lt;br /&gt;
* [[Troubleshooting_the_General|Troubleshooting the Cisco Configuration Engine Services for General issues]]&lt;br /&gt;
* [[Troubleshooting_the_Web_Services|Troubleshooting the Web Services]]&lt;br /&gt;
* [[Troubleshooting_the_Initial_Configuration|Troubleshooting the Initial Configuration]]&lt;br /&gt;
* [[Troubleshooting_Configuration_Update|Troubleshooting Configuration Update]]&lt;br /&gt;
* [[Troubleshooting_an_Image_Update|Troubleshooting an Image Update]]&lt;br /&gt;
* [[Troubleshooting_IMGW|Troubleshooting IMGW]]&lt;br /&gt;
* [[Troubleshooting_the_Router|Troubleshooting the Router]]&lt;br /&gt;
* [[ASA_Configuration_Troubleshooting|ASA Configuration/Image/ASDM image upgrade Troubleshooting]]&lt;br /&gt;
* [[General_Troubleshooting|General Troubleshooting]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This is not an administration manual. For comprehensive information about administering the Cisco Configuration Engine, see the Cisco Configuration Engine Administration Guide at ''http://www.cisco.com/en/US/docs/net_mgmt/configuration_engine/3.5/administration/guide/CE_ag.html''.&lt;br /&gt;
&lt;br /&gt;
==Checking the Version Number==&lt;br /&gt;
&lt;br /&gt;
To check the version number of the Cisco Configuration Engine software, do one of the following: &lt;br /&gt;
*Start the Cisco Configuration Engine application, and look for the version number in the displayed login screen. &lt;br /&gt;
*Use the version command. This command is located in the '''cd $CISCO_CE_INSTALL_ROOT/CSCOcnsie/bin''' directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Troubleshooting_the_Open_Lightweight_Directory_Access_Protocol_and_the_Berkeley_Data_Base</id>
		<title>Troubleshooting the Open Lightweight Directory Access Protocol and the Berkeley Data Base</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Troubleshooting_the_Open_Lightweight_Directory_Access_Protocol_and_the_Berkeley_Data_Base"/>
				<updated>2011-05-19T11:03:54Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To troubleshoot Open Lightweight Directory Access Protocol (OpenLDAP) and Berkeley Data Base (BDB), see the following sections:&lt;br /&gt;
&lt;br /&gt;
==OpenLDAP Server Not Responding==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The OpenLDAP server is not responding.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem could occur if, after a system crash, power outage, or manual shutdown, the OpenLDAP sever did not shut down gracefully, which caused data corruption.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, stop the OpenLDAP server, and then recover the data. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. To stop the OpenLDAP server, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''/etc/init.d/NetAppOpenLDAP stop'''&lt;br /&gt;
&lt;br /&gt;
2. To recover the data, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''$CISCO_CE_INSTALL_ROOT/bdb/bin/db_recover -h''' &lt;br /&gt;
   '''$CISCO_CE_INSTALL_ROOT/openldap/var/openldap-data'''&lt;br /&gt;
&lt;br /&gt;
==BDB Using Excessive Disk Space==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The BDB is using excessive disk space.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': BDB creates transaction logs in the $CISCO_CE_INSTALL_ROOT/openldap/var/openldap-data file. If transaction logs are not purged, the BDB uses excessive disk space.&lt;br /&gt;
For information about disk space, see the “System Requirements” and “Understanding Disk Space Calculation” sections in the Cisco Configuration Engine Installation and Configuration Guide, 3.5.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. To verify whether dbpurge.sh is running as a cron job, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''crontab –l'''&lt;br /&gt;
&lt;br /&gt;
2. If '''crontab –l''' is not in the list, run the Setup program to add it.&lt;br /&gt;
&lt;br /&gt;
3. To manually purge BDB transaction logs, enter the following command:&lt;br /&gt;
&lt;br /&gt;
   '''$CISCO_CE_INSTALL_ROOT/CSCOcnsie/bin/dbpurge.sh'''&lt;br /&gt;
&lt;br /&gt;
==OpenLDAP Server throws error during setup of Configuration Engine on Solaris==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': During Setup of Solaris server the appliance-setup.log reports &amp;quot;javax.naming.NamingException: [LDAP: error code&amp;quot; as mentioned below&lt;br /&gt;
&lt;br /&gt;
   javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3005)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2753)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2667)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.&amp;lt;init&amp;gt;(LdapCtx.java:287)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)&lt;br /&gt;
   at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)&lt;br /&gt;
   at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)&lt;br /&gt;
   at javax.naming.InitialContext.init(InitialContext.java:223)&lt;br /&gt;
   at javax.naming.InitialContext.&amp;lt;init&amp;gt;(InitialContext.java:197)&lt;br /&gt;
   at javax.naming.directory.InitialDirContext.&amp;lt;init&amp;gt;(InitialDirContext.java:82)&lt;br /&gt;
   at com.cisco.cns.dat.DATConfigurator.loadConfigAppSettings(DATConfigurator.java:204)&lt;br /&gt;
   at com.cisco.cns.dat.DATConfigWrapper.main(DATConfigWrapper.java:60)&lt;br /&gt;
&lt;br /&gt;
   javax.naming.NamingException: [LDAP: error code 80 - internal error]; remaining name 'ou=config,ou=CNSApplications,ou=configengine,o=ica,c=se'&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3049)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:383)&lt;br /&gt;
   at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:340)&lt;br /&gt;
   at com.sun.jndi.toolkit.ctx.ComponentContext.p_bind(ComponentContext.java:596)&lt;br /&gt;
   at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContext.java:183)&lt;br /&gt;
   at com.sun.jndi.toolkit.ctx.PartialCompositeContext.bind(PartialCompositeContext.java:173)&lt;br /&gt;
   at javax.naming.InitialContext.bind(InitialContext.java:400)&lt;br /&gt;
   at com.cisco.cns.dat.DATConfigurator.loadConfigAppSettings(DATConfigurator.java:226)&lt;br /&gt;
   at com.cisco.cns.dat.DATConfigWrapper.main(DATConfigWrapper.java:60)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': The Solaris Server on which Cisco Configuration Engine is being is containing zones(containers).&lt;br /&gt;
&lt;br /&gt;
'''Solution''': Cisco Configuration Engine is certified on a Solaris Server with Zone. Please install Cisco Configuration Engine only on non zoned Solaris Server's.&lt;br /&gt;
&lt;br /&gt;
     [[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
     [[Category:Configuration Engine]]&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Troubleshooting_Cisco_Configuration_Engine_Installation</id>
		<title>Troubleshooting Cisco Configuration Engine Installation</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Troubleshooting_Cisco_Configuration_Engine_Installation"/>
				<updated>2011-05-19T10:47:08Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=='gethostbyaddr()' error==&lt;br /&gt;
&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
Installation aborted with error message “Hostname value retrieval by system calls 'gethostbyaddr()' and command 'hostname' have different values returned. Please correct it also make sure 'ifconfig' is set in your PATH before installing Config Engine 3.5”&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Make sure the hostnames configured in /etc/hosts, /etc/sysconfig/network and/or DNS server are consistent with what’s returned by “hostname –s” command.&lt;br /&gt;
&lt;br /&gt;
Step 2 Make sure the ifconfig command is in the $PATH environment variable&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Can’t reinstall CE==&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
If a install shell is accidentally closed, reinstall is not allowed.&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  use ce_uninstall –force to uninstall any partially installed packages and rerun ce_install.sh again. &lt;br /&gt;
&lt;br /&gt;
Note: If the user typed ^Z to suspend the install process in the background, they need to either resume the install process or kill the install process.&lt;br /&gt;
&lt;br /&gt;
==Setup fails in start of httpd==&lt;br /&gt;
'''Symptom:''' &lt;br /&gt;
&lt;br /&gt;
While setting up of Cisco Configuration Engine version 3.5.2 or lower on Red Hat Enterprise Linux Version 5,the setup fails with appliance-setup.log showing httpd start error as mentioned below.&lt;br /&gt;
&lt;br /&gt;
   Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
The problem is due to missing Red Hat packages on the Red Hat Enterprise Linux.&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Use ce_uninstall to uninstall all installed packages.&lt;br /&gt;
&lt;br /&gt;
Step 2  Install the &amp;quot;postgresql-libs&amp;quot; and &amp;quot;mailcap&amp;quot; rpm for the Red Hat Enterprise Linux Distribution.&lt;br /&gt;
&lt;br /&gt;
Step 3  Rerun the ce_install.sh again to install Cisco Configuration Engine.&lt;br /&gt;
&lt;br /&gt;
Step 4  Launch a new root user Session and enter into a new bash shell.&lt;br /&gt;
&lt;br /&gt;
Step 5  Execute the setup.sh command on the bash shell.&lt;br /&gt;
&lt;br /&gt;
==Setup or Resetup of Cisco Configuration Engine fails ==&lt;br /&gt;
'''Symptom:'''&lt;br /&gt;
&lt;br /&gt;
The setup/resetup fails with appliance-setup.log showing httpd failure and java not found errors as mentioned below.&lt;br /&gt;
&lt;br /&gt;
  /etc/rc.d/init.d/httpd start &lt;br /&gt;
  Checking if the following ports have been cleared:8009 8005 Starting tomcat...Waiting for tomcat to initialize...&lt;br /&gt;
  Starting httpd: FAILED&lt;br /&gt;
  system failed: 256 exit_value  = 1 signal_num  = 0 dumped_core = 0&lt;br /&gt;
&lt;br /&gt;
  Deploying config web services ...&lt;br /&gt;
  /opt/ConfigEngine/CSCOcnsie/bin/deploy.config.websvc [-wsdl] &lt;br /&gt;
  ./adminclient.sh: line 18: java: command not found&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Solution: '''&lt;br /&gt;
&lt;br /&gt;
The problem is due to non execution of a new bash shell to source the environment variables added by Cisco Configuration Engine.&lt;br /&gt;
To resolve this problem, follow these steps: &lt;br /&gt;
&lt;br /&gt;
Step 1  Launch a new root user Session and enter into a new bash shell.&lt;br /&gt;
&lt;br /&gt;
Step 2  Execute the setup.sh command on the new bash shell created.&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/wiki/Troubleshooting_Logging_and_Connection_Issues</id>
		<title>Troubleshooting Logging and Connection Issues</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/wiki/Troubleshooting_Logging_and_Connection_Issues"/>
				<updated>2011-05-18T09:50:00Z</updated>
		
		<summary type="html">&lt;p&gt;Hsivakum: /* System Login Problem */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To troubleshoot logging and connection issues, see the following sections:&lt;br /&gt;
==System Login Problem==&lt;br /&gt;
'''Problem''': You cannot log in to the system.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur for one of the following reasons:&lt;br /&gt;
* The Cisco Configuration Engine is installed on a Solaris Server containing zones. &lt;br /&gt;
* LDAP is corrupted&lt;br /&gt;
* You did not run the Setup program to create the initial system configuration &lt;br /&gt;
* You lost all of the user account passwords &lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, follow these steps:&lt;br /&gt;
&lt;br /&gt;
# Cisco Configuration Engine is not supported on a Solaris Server containing zones, Please install Cisco Configuration Engine on a Solaris platform without zones.&lt;br /&gt;
# If you did not run the Setup program, run the Setup program as described in the Cisco Configuration Engine Solaris Installation and Configuration Guide 3.5.&lt;br /&gt;
# If you do not know the passwords for the system user accounts, reconfigure the system to create a new user account.&lt;br /&gt;
# For corrupted LDAP issue, if you receive the following error messages:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    Server encountered the following error:&lt;br /&gt;
&lt;br /&gt;
    javax.naming.CommunicationException: 127.0.0.1:389 [Root exception is \&lt;br /&gt;
    java.net.ConnectException: Connection refused]&lt;br /&gt;
    at com.sun.jndi.ldap.Connection.&amp;lt;init&amp;gt;(Connection.java:207)&lt;br /&gt;
    at com.sun.jndi.ldap.LdapClient.&amp;lt;init&amp;gt;(LdapClient.java:118)&lt;br /&gt;
    at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1580)&lt;br /&gt;
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2616)&lt;br /&gt;
    at com.sun.jndi.ldap.LdapCtx.&amp;lt;init&amp;gt;(LdapCtx.java:287)&lt;br /&gt;
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart the database by providing the following commands:&lt;br /&gt;
&lt;br /&gt;
 '''$CISCO_CE_HOME/bin/ce_shutdown -all'''&lt;br /&gt;
 '''export'''&lt;br /&gt;
 '''LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CISCO_CE_INSTALL_ROOT/bdb/lib:$CISCO_CE_INSTALL_RO OT/unixodbc/lib'''&lt;br /&gt;
 '''$CISCO_CE_INSTALL_ROOT/bdb/bin/db_recover -h'''&lt;br /&gt;
 '''$CISCO_CE_INSTALL_ROOT/openldap/var/openldap-data'''&lt;br /&gt;
 '''$CISCO_CE_HOME/bin/ce_startup -all'''&lt;br /&gt;
&lt;br /&gt;
If you still cannot log in to the system, contact the Cisco Technical Assistance Center (TAC) for assistance.&lt;br /&gt;
&lt;br /&gt;
==System Cannot Connect to the Network==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': The system cannot connect to the network.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur for the following reasons:&lt;br /&gt;
&lt;br /&gt;
* The network cable is not connected to an Ethernet port&lt;br /&gt;
* The Ethernet interface is disabled or misconfigured&lt;br /&gt;
* The system is configured correctly, but the network is down or misconfigured&lt;br /&gt;
* The system is not configured correctly&lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. Verify that the network cable is connected to an Ethernet port and the link light is on. If the network cable is not connected, connect it. If the network cable is connected but the Link light is not on, check for these probable causes:&lt;br /&gt;
&lt;br /&gt;
   *  The network cable is faulty.&lt;br /&gt;
   *  The network cable is the wrong type (for example, a crossover&lt;br /&gt;
      type is used, instead of the required straight-through type)&lt;br /&gt;
   *  The port on the default gateway to which the system &lt;br /&gt;
      connects is down&lt;br /&gt;
&lt;br /&gt;
2. If you still cannot connect to the network, use the ping command to perform the following tests:&lt;br /&gt;
   * Try to connect to a well-known host on the network.&lt;br /&gt;
     A Domain Name System (DNS)server is a good target host&lt;br /&gt;
   * If the ping command can reach the well-known host,&lt;br /&gt;
     the system is connected to the network. If it cannot connect&lt;br /&gt;
     to the host, the problem is with the network configuration &lt;br /&gt;
     or the host. Contact your network administrator for assistance&lt;br /&gt;
   * If the ping command cannot reach the well-known host, try to &lt;br /&gt;
     reach another host on the same subnet as the system&lt;br /&gt;
   * If the ping command can reach a host on the same subnet,&lt;br /&gt;
     but cannot reach a host on a different subnet, the&lt;br /&gt;
     default gateway is probably down or misconfigured&lt;br /&gt;
&lt;br /&gt;
3. If the ping command cannot reach any hosts, use the '''ifconfig''' command to determine whether the Ethernet interface is disabled or misconfigured. If the Ethernet interface is disabled, enable it. If it is misconfigured, configure it correctly.&lt;br /&gt;
&lt;br /&gt;
4. If the interface is enabled and correctly configured but you still cannot connect to the network, ensure that all the network settings are configured correctly. Run the Set up program again by entering the set up command in the shell prompt.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' You cannot run the Set up program a second time by logging in as setup. For security reasons, the account is disabled after it is used once successfully.&lt;br /&gt;
&lt;br /&gt;
5. Contact your network administrator to verify that there are no conditions on the network that prevent the system from connecting to the network.&lt;br /&gt;
&lt;br /&gt;
6. If no conditions are preventing the system from connecting to the network, contact the Cisco TAC for assistance.&lt;br /&gt;
&lt;br /&gt;
==Cannot Connect to the System Using a Web Browser==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': You cannot connect to the system by entering its IP address in a web browser.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem can occur for the following reasons:&lt;br /&gt;
&lt;br /&gt;
* The system cannot connect to the network.&lt;br /&gt;
* Encryption is enabled (plain text is disabled).&lt;br /&gt;
* The HTTP service is not running.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, follow these steps:&lt;br /&gt;
&lt;br /&gt;
1. Make sure that the system can connect to the network. If it cannot connect to the network, see the “[[System Cannot Connect to the Network]]” section for possible resolution.&lt;br /&gt;
&lt;br /&gt;
2. Try to connect to the system by using a web browser.&lt;br /&gt;
&lt;br /&gt;
If encryption is enabled:&lt;br /&gt;
* Use '''https://…''' to connect&lt;br /&gt;
* Verify that the certificate is correct&lt;br /&gt;
&lt;br /&gt;
3. If you still cannot connect, stop and start the web server by entering the following commands:&lt;br /&gt;
&lt;br /&gt;
  '''$CISCO_CE_HOME/bin/ce_shutdown'''&lt;br /&gt;
  '''$CISCO_CE_HOME/bin/ce_startup'''&lt;br /&gt;
&lt;br /&gt;
If the LDAP directory contains thousands of devices, restart and wait for 20 minutes.&lt;br /&gt;
&lt;br /&gt;
4. Repeat Step 2.&lt;br /&gt;
&lt;br /&gt;
5. If you cannot connect, restart the system. If the LDAP directory contains thousands of devices, restart and wait for 20 minutes.&lt;br /&gt;
&lt;br /&gt;
6. If you still cannot connect to the system, contact the Cisco TAC for assistance.&lt;br /&gt;
&lt;br /&gt;
==Problems Connecting to the System with Secure Shell==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': When connecting to the system using Secure Shell (SSH), you can experience one of these problems:&lt;br /&gt;
&lt;br /&gt;
* You cannot connect to the system&lt;br /&gt;
* The system is extremely slow, even though it is connected to the network&lt;br /&gt;
* The system cannot correctly process requests from management applications&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': The system cannot obtain the DNS services from the network.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, follow these steps. Connect to the console if you cannot connect by using SSH.&lt;br /&gt;
&lt;br /&gt;
1. Do one of the following:&lt;br /&gt;
&lt;br /&gt;
* Set up the name servers properly by editing the ''/etc/resolv.conf'' file&lt;br /&gt;
* Re-execute Setu.&lt;br /&gt;
2. Verify that the system can obtain the DNS services from the network by entering the following command:&lt;br /&gt;
&lt;br /&gt;
'''host &amp;lt;dns-name&amp;gt;''' where &amp;lt;dns-name&amp;gt; is the DNS name of a host on the network that is registered in DNS. When you enter this command, it responds with the IP address of the host. If the system cannot resolve the DNS names to IP addresses, the DNS server is not working properly.&lt;br /&gt;
&lt;br /&gt;
3. Resolve the network DNS problem.&lt;br /&gt;
&lt;br /&gt;
4. If the system can resolve the DNS names to IP addresses but you still cannot connect to the system using SSH, contact the Cisco TAC for assistance.&lt;br /&gt;
&lt;br /&gt;
==Cannot Connect to the System Using Telnet==&lt;br /&gt;
&lt;br /&gt;
'''Problem''': You cannot connect to the system by using Telnet even though the system is connected to the network.&lt;br /&gt;
&lt;br /&gt;
'''Possible Cause''': This problem could occur if the Telnet service is disabled on the system.&lt;br /&gt;
&lt;br /&gt;
'''Solution''': To resolve this problem, use SSH to connect to the system.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration Engine Troubleshooting]]&lt;br /&gt;
[[Category:Configuration Engine]]&lt;/div&gt;</summary>
		<author><name>Hsivakum</name></author>	</entry>

	</feed>