Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: CMLOG Execution and configuration problem
From: Ritesh Sugandhi <ritesh.sugandhi@gmail.com>
To: tech-talk@aps.anl.gov
Date: Wed, 4 May 2011 18:46:22 +0200
Dear Sir,

I am seeking help for execution of CMLOG server and utilities. I am able to successfully compile CMLOG v2.1 utility on linux 64 bit ( on RHEL 5.5 ) plateform with kernal 2.6.x. I am facing problem to connect the client daemon to server. Client Deamon finds the server but gives error in connection to it. Am i making some configuration mistake.

I am seeking help from EPICS experts . I would also appriciate links to other useful documentation. I am currently using document supplied with the distribution.

Best Regards,

Ritesh Sugandhi


CMLOG Server Output

$ ./cmlogServer ../../cmlog.config

Wed May  4 18:23:55 2011: cmlogServer UDP port: 8900
Wed May  4 18:23:55 2011: Maximum client connections: 64
Wed May  4 18:23:55 2011: Maximum broswer connections: 16
Wed May  4 18:23:55 2011: Default directory: /tmp
Wed May  4 18:23:55 2011: Server database name: /home/sugandr/CMLOG/cmlog_%s
Wed May  4 18:23:55 2011: Server context database name: /home/sugandr/CMLOG/cmlogcxt_%s
Wed May  4 18:23:55 2011: Server tag table name: /home/sugandr/CMLOG/cmlogTagTable
Wed May  4 18:23:55 2011: Server database name changes every 1440 minitues
Wed May  4 18:23:55 2011: Server database page size is 4096
Wed May  4 18:23:55 2011: Current limit on number of opened files is 1024
Wed May  4 18:24:00 2011: New database Filename is /home/sugandr/CMLOG/cmlog_1304526240
Wed May  4 18:24:00 2011: New Context filename is /home/sugandr/CMLOG/cmlogcxt_1304526240
Wed May  4 18:24:00 2011: cmlog server opens udp listening port 8900
Wed May  4 18:24:00 2011: cmlog server opens client connection port 42287
Wed May  4 18:24:00 2011: cmlog server opens browser connection port 46639
Wed May  4 18:24:00 2011: cmlog server opens admin connection port 52655
Wed May  4 18:24:00 2011: Starting up cmlog server with cmlog protocol version 2.x........

Client Demon output

$ CMLOG_PORT=8900
$ ./cmlogClientD -s 8900 -u 42287 
cmlogClientD with cmlog protocol version 2.x
Find cmlog server running at port 42287 on localhost
Cannot connect to a cmlog server
Starting up cmlog client daemon....

 while when I run cmadmin utility , I am able to connect to server and able to remote shutdown it.

But I could not able to write to cmlog server using 
$cmlogMsg "hello"

Navigate by Date:
Prev: Generating loadable modules for Cexp Ralph Lange
Next: Re: Generating loadable modules for Cexp Till Straumann
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Generating loadable modules for Cexp Ernest L. Williams Jr.
Next: EPICS and Octave Andreas Balzer
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·