On Nov 21, 2008, at 7:04 AM, zarxcky wrote: > After zenoss 2.3.0 installation, every zenoss process running > alright. But after restoring database from zenoss 2.2.4 into new > machine (running Ubuntu 8.0.4.1 64-bit machine), running zenmigrate > shows error as shown below. > > # zenmigrate > ... snipped ... > INFO:zen.migrate:Clearing heartbeats from devices that aren't > collectors. > ... snipped ... > File "/usr/local/zenoss/Products/ZenEvents/DbConnectionPool.py", > line 107, in _createConnection > raise MySQLConnectionError(str(e)) > Products.ZenEvents.Exceptions.MySQLConnectionError: (1044, "Access > denied for user 'zenoss'@'localhost' to database 'events2_24'")
zenmigrate along with everything else in Zenoss will be picking the database name up from the event manager configuration. Assuming your new database is named events2_30 you could run zendmd and enter the following to point it in the right direction. dmd.ZenEventManager.database = "events2_30" commit() CTRL-D to exit zendmd. Then you can re-run zenmigrate. _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
