| Author | 
		  Message
		 | 
		
		  | ramnagab | 
		  
		    
			  
				 Posted: Thu Dec 16, 2004 7:26 am    Post subject: changing machine name | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 14 Sep 2004 Posts: 46
  
  | 
		  
		    
			  
				Hi 
 
 
  I changed my machine name . DB2 failed to start and the configuration manager and the broker too .
 
 
How can I recover that  ?
 
 
Thanks | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | moorej_gl | 
		  
		    
			  
				 Posted: Thu Dec 16, 2004 7:59 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 01 Dec 2003 Posts: 35 Location: Madison, WI 
  | 
		  
		    
			  
				| What are your DB2 errors?  Without DB2 running, the broker & config mgr won't run - so that's a good place to start. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ramnagab | 
		  
		    
			  
				 Posted: Thu Dec 16, 2004 8:16 am    Post subject: DB2 errors | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 14 Sep 2004 Posts: 46
  
  | 
		  
		    
			  
				this is the error which I got when started the control center for DB2
 
 
 
CLI0647E  Error allocating DB2 environment handle, rc=-1.
 
 
Explanation: 
 
 
 This message is for your information only.  
 
 
User Response: 
 
 
 No action is required. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Dec 16, 2004 8:20 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				What do you see in your Event Viewer when DB2 tried to start up? _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ramnagab | 
		  
		    
			  
				 Posted: Thu Dec 16, 2004 1:05 pm    Post subject: DB2 error | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 14 Sep 2004 Posts: 46
  
  | 
		  
		    
			  
				Hi 
 
 
   I get the following errror in the event viewer when I start the database 
 
 
 
Description:
 
db2start : SQL6031N  Error in the db2nodes.cfg file at line number "1".  Reason code "10". | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | EddieA | 
		  
		    
			  
				 Posted: Thu Dec 16, 2004 1:49 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles 
  | 
		  
		    
			  
				Been there, done that.       Had to re-install DB2 and re-build the databases.     
 
 
The DB2 Configuration keeps track of the machine name.  Changing it screws things up.  you "might" get away with editing the db2nodes.cfg file.  But the name might be stored in other files (and/or Registry) as well.
 
 
Cheers, _________________ Eddie Atherton
 
IBM Certified Solution Developer - WebSphere Message Broker V6.1
 
IBM Certified Solution Developer - WebSphere Message Broker V7.0 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kirani | 
		  
		    
			  
				 Posted: Thu Dec 16, 2004 6:34 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Jedi Knight
 
 Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA 
  | 
		  
		    
			  
				I am just wondering if he would have a problem with Broker/Config mgr uuid. I thought the machine name/ip address is also a part of UUID?? _________________ Kiran
 
 
 
IBM Cert. Solution Designer & System Administrator - WBIMB V5
 
IBM Cert. Solutions Expert - WMQI
 
IBM Cert. Specialist - WMQI, MQSeries
 
IBM Cert. Developer - MQSeries
 
 
 | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | sieijish | 
		  
		    
			  
				 Posted: Fri Dec 17, 2004 2:18 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 29 Nov 2004 Posts: 67 Location: London 
  | 
		  
		    
			  
				Change the m/c name in db2nodes.cfg files located in <db2Root>/SQLLIB and <db2Root>/SQLLIB/DB2CTLSV
 
 
Then start db2. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |