[zenoss-users] server rename, mysql fails in zenoss

Chet Luther cluther at zenoss.com
Wed Jan 2 09:24:04 EST 2008


> I just renamed by server and rebooted, and now _some_ parts of zenoss
> complain about the mysql socket:
>
> ... snipped ...
> OperationalError: (2002, "Can't connect to local MySQL server through
> socket '/var/run/mysqld/mysqld.sock' (2)")
>
> Everything but zenactions and zentrap seem to be able to connect. The
> GUI appears to be working normally, too.
>
> When I restart mysql, I see this, indicating that some parts of zenoss
> can connect:
> mysqld[4941]: 071231 11:58:46 [Warning] /usr/sbin/mysqld: Forcing
> close of thread 1  user: 'zenoss'

Have you enabled persistent caches for these daemons? I've seen old  
database handles get stored in the persistent cache which cause  
problems like these. If you have .zec files for either of these two  
daemons in the $ZENHOME/var directory I would suggest removing them  
then starting the daemons again.



More information about the zenoss-users mailing list