From: Ambati S. <am....@gm...> - 2009-11-30 13:15:59
|
Hi Sir, I have my comments as *Srini:* On Mon, Nov 30, 2009 at 4:45 PM, Buchan Milne <bg...@st...>wrote: > On Monday, 30 November 2009 09:40:31 Ambati Srinivas wrote: > > *Hi Guys, > > > > Please, Please help me out. > > > > I have installed Xymon 4.3.0-0.beta2 on Sun Solaris* *(SunOS bsma06 5.10 > > Generic_139555-08 sun4u sparc SUNW,Sun-Fire-480R), I had successful > > installation. I had installed Devmonn-0.3.0. and SNMP_Session-1.13 also > to > > monitor few network devices (Cisco Switches and routers). however when I > > grep for devmon no PID shows up as shown below: > > You didn't state that you had attempted to start it. If it does not start, > the > recommended route would be to look at the options it supports (by providing > the --help option). Specifically, -v or --debug may help. > ******************************************************** Srini: -bash-3.00# ./devmon -v [09-11-30@21:01:46] Forking to background process 17075 Attached debug file for review. ******************************************************** > > > -bash-3.00# ps -ef | grep devmon > > root 6849 3708 0 14:06:33 pts/1 0:00 grep devmon > > -bash-3.00# ps -ef | grep Devmon > > root 6858 3708 0 14:06:42 pts/1 0:00 grep Devmon > > -bash-3.00# ps -ef | grep DEVMON > > root 6897 3708 0 14:07:01 pts/1 0:00 grep DEVMON > > > > As shown in devmon.cfg > > # PIDFILE: Sets the full path to the Devmon process ID file. The > directory > > # containing this file should be read/writable by the user running the > > Devmon > > # process. (case sensitive) [DEFAULT: /var/run/devmon/devmon.pid] > > PIDFILE=/var/run/devmon/devmon.pid > > Does this directory exist, and is it writeable by the user devmon runs as? > If > not, it *should* log this to the log file, *if* it has permission to write > to > the log file. In 0.3.1-beta1 I think I fixed it to log to the console if it > could not open the log file ... I > ******************************************************** Srini: I dont see any directory /var/run/devmon/ devmon.pid I have listed please see for review: -bash-3.00# cd /var/run/ .inetd.uds kcfd_door rpc_door/ syslog.pid apache2/ metaset.468 sendmail.pid syslog_door daemon/ name_service_door smc898/ fpsdiagd_door nfs4_domain sshd.pid ipsecconf.lock picld_door sysevent_channels/ -bash-3.00# ******************************************************** > > > Please let me know what more details you may require. > > > > some info I am providing: I manually changed owner and group of files to > > root:root, earlier they were 501:501, which I didn't understand. > > It is your responsibility to ensure correct ownership of file extracted > from a > tarball. This is however another reason for me to consider providing a make > file just to provide an install target. > > > /usr/local/**devmo**n > > -bash-3.00$ ls -l > > total 86 > > -rw-r--r-- 1 root root 836 Nov 30 14:51 @!: > > -rw-r--r-- 1 root root 9001 Apr 3 2008 CHANGELOG > > -rw-r--r-- 1 root root 15122 Apr 3 2008 COPYING > > -rw-r--r-- 1 root root 4935 Apr 3 2008 README > > -rwxr-xr-x 1 root root 1153 Apr 3 2008 devmon > > -rw-r--r-- 1 root root 5999 Nov 30 14:08 devmon.cfg > > drwxr-xr-x 2 root root 512 Apr 3 2008 docs > > drwxr-xr-x 2 root root 512 Apr 3 2008 extras > > -rw-r--r-- 1 root root 119 Nov 30 15:01 hosts.db > > drwxr-xr-x 2 root root 512 Apr 3 2008 modules > > drwxr-xr-x 40 root root 1024 Apr 3 2008 templates > > -bash-3.00$ > > > > Thanks so much. > > It would help me if you could tell me what documentation you were > following, > so that I can improve it to address any areas that were not covered > ******************************************************** Srini: I am following http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/docs/INSTALLATION and which is same in /usr/local/devmon/docs/INSTALLATION in my server. When I run ./devmon no PIDs are spawned. ******************************************************** Thanks for all your help. Srini > sufficiently. > > Regards, > Buchan > |