From: Buchan M. <bg...@st...> - 2008-08-27 15:53:25
|
On Wednesday 27 August 2008 09:11:34 Naudit007 wrote: > Hello guys, > I have a issue with devmon. > I have migrated my server devmon 7.10 to 8.04 I'm not aware of any versions other than 0.2.x and 0.3.x being available. > Since this last update, devmon don't work : ( > > I have reinstall Devmon (tar.gz) + SNMP_Session-1.12.tar.gz ; but without > succes > > and when I execute this command : > > root@serverhobbit# ../../bin/bbcmd > 2008-08-27 08:58:26 Using default environment file > /home/hobbit/server/etc/hobbitserver.cfg > sh-3.2# ./devmon -f -p -vvvvvvvvvvvvv > Use of uninitialized value in scalar chomp at > /home/users/hobbit/application/server/ext/devmon/modules/dm_config.pm line > 272. You don't provide the version of devmon you are using, but it would seem that you haven't configured the pidfile value in devmon.cfg, or the pid file configured there contains something it shouldn't, or similar. The code before line 272 in current source does some checks on the pid file, and I can't think off-hand what could cause this error (without logging something about it). > Use of uninitialized value in kill at > /home/users/hobbit/application/server/ext/devmon/modules/dm_config.pm line > 276. > [08-08-27@08:58:48] Devmon already running, quitting. > > > But these commands work very well : > > ./devmon --readbbhosts -vvv > ./devmon --readbbhosts -vvvvvvvv --debug > > Do you have any idea for help to solve my issue ? Check what you have for pidfile in devmon.cfg, and investigate the file itself ... Regards, Buchan |