[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

console-bin: forwarding level too deep!

emma.shepherd emma.shepherd@diamond.ac.uk
Fri, 19 Aug 2011 13:58:13 GMT


Hi there,

I've been setting up conserver on a number of Suze Linux machines, connecting to local telnet ports.  It normally works just fine, but I've got one machine that's stubbornly refusing to work.  It appears to start up without any errors but I get the following error when I run console:

console-bin: forwarding level too deep!

Here's my configuration file:

#####################################################################
trusted dec040;
}

### set the defaults for all the consoles
# these get applied before anything else
default * {
# timestamps every 1 line with activity and break logging
timestamp 1lab;
master dec040;
motd "^Ec. to quit (Press Ctrl+e then c then .)";
rw *;
}

### define terminal server specifics
default cyclades { type host; }

console BL07I-EA-DET-02 { 
  include cyclades;
  host localhost;
  port 7006; 
  logfile /dls/i07/epics/logs/BL07I-EA-DET-02/console.log;
  options autoreinit;
  options reinitoncc;
  }
#####################################################################

And here's the output when I run conserver with -D:

dec040:~> conserver -D -v -p 2371 -C /tmp/conserverConfig.cf 
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8071610 created string #1
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8071678 created string #2
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8071690 created string #3
[Fri Aug 19 14:42:45 2011] conserver (4833): conserver.com version 8.1.17
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80720b8 created string #4
[Fri Aug 19 14:42:45 2011] conserver (4833): started as `det' by `det'
[Fri Aug 19 14:42:45 2011] conserver (4833): warning: running as a non-root user - any shadow password usage will most likely fail!
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/main.c:1397] main(): bind address set to `0.0.0.0'
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:2263] ProbeInterfaces(): ifc_len==64 max_count==2
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:2318] ProbeInterfaces(): name=lo addr=127.0.0.1
[Fri Aug 19 14:42:45 2011] conserver (4833): INFO: interface address 127.0.0.1 (lo)
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:2318] ProbeInterfaces(): name=eth2 addr=172.23.107.205
[Fri Aug 19 14:42:45 2011] conserver (4833): INFO: interface address 172.23.107.205 (eth2)
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8071438 created string #5
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8071450 created string #6
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8071468 created string #7
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8071480 created string #8
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8071498 created string #9
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80714b0 created string #10
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80714c8 created string #11
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80714e0 created string #12
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80714f8 created string #13
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8072380 created string #14
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:2923] ReadCfg(): got keyword 'access' [/tmp/conserverConfig.cf:1]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:4004] AccessBegin(*) [/tmp/conserverConfig.cf:2]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80723f8 created string #15
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'trusted' [/tmp/conserverConfig.cf:2]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:4358] AccessItemTrusted(dec040) [/tmp/conserverConfig.cf:3]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:4029] AccessEnd() [/tmp/conserverConfig.cf:3]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:2923] ReadCfg(): got keyword 'default' [/tmp/conserverConfig.cf:4]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:800] DefaultBegin(*) [/tmp/conserverConfig.cf: 8]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'timestamp' [/tmp/conserverConfig.cf:8]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:2309] DefaultItemTimestamp(1lab) [/tmp/conserverConfig.cf:10]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:2268] ProcessTimestamp(): mark spec of `1' parsed: factor=-1, value=-1, activity=1, bactivity=1
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'master' [/tmp/conserverConfig.cf:10]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:1641] DefaultItemMaster(dec040) [/tmp/conserverConfig.cf:11]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'motd' [/tmp/conserverConfig.cf:11]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:1597] DefaultItemMOTD(^Ec. to quit (Press Ctrl+e then c then .)) [/tmp/conserverConfig.cf:12]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'rw' [/tmp/conserverConfig.cf:12]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:2160] DefaultItemRw(*) [/tmp/conserverConfig.cf:13]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:2118] ProcessRoRw(*) [/tmp/conserverConfig.cf:13]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:827] DefaultEnd() [/tmp/conserverConfig.cf:13]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:2923] ReadCfg(): got keyword 'default' [/tmp/conserverConfig.cf:14]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:800] DefaultBegin(cyclades) [/tmp/conserverConfig.cf: 17]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'type' [/tmp/conserverConfig.cf:17]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:2352] DefaultItemType(host) [/tmp/conserverConfig.cf:17]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:827] DefaultEnd() [/tmp/conserverConfig.cf:17]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:2923] ReadCfg(): got keyword 'console' [/tmp/conserverConfig.cf:17]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:2371] ConsoleBegin(BL07I-EA-DET-02) [/tmp/conserverConfig.cf:19]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'include' [/tmp/conserverConfig.cf:19]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:3643] ConsoleItemInclude(cyclades) [/tmp/conserverConfig.cf:20]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'host' [/tmp/conserverConfig.cf:20]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:3619] ConsoleItemHost(localhost) [/tmp/conserverConfig.cf:21]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'port' [/tmp/conserverConfig.cf:21]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:3751] ConsoleItemPort(7006) [/tmp/conserverConfig.cf:22]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'logfile' [/tmp/conserverConfig.cf:22]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:3655] ConsoleItemLogfile(/dls/i07/epics/logs/BL07I-EA-DET-02/console.log) [/tmp/conserverConfig.cf:23]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'options' [/tmp/conserverConfig.cf:23]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:3727] ConsoleItemOptions(autoreinit) [/tmp/conserverConfig.cf:24]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:3006] got keyword 'options' [/tmp/conserverConfig.cf:24]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:3727] ConsoleItemOptions(reinitoncc) [/tmp/conserverConfig.cf:25]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:2440] ConsoleEnd() [/tmp/conserverConfig.cf:25]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:240] BreakDestroy() [/tmp/conserverConfig.cf:26]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:434] GroupDestroy() [/tmp/conserverConfig.cf:26]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:871] DefaultDestroy() [/tmp/conserverConfig.cf:26]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:3102] ConsoleDestroy() [/tmp/conserverConfig.cf:26]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8072738 created string #16
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:2652] [BL07I-EA-DET-02] remote on dec040
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:4075] AccessDestroy() [/tmp/conserverConfig.cf:26]
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:4113] AccessDestroy(): adding ACL `*'
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:329] DestroyString(): 0x80723f8 string destroyed (count==15)
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/readcfg.c:4519] ConfigDestroy() [/tmp/conserverConfig.cf:26]
[Fri Aug 19 14:42:45 2011] conserver (4833): INFO: access type `t' for `dec040'
[Fri Aug 19 14:42:45 2011] conserver (4833): INFO: peer server on `dec040'
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80723f8 created string #16
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x8072c08 created string #17
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80728b0 created string #18
[Fri Aug 19 14:42:45 2011] conserver (4833): DEBUG: [/dls_sw/prod/tools/RHEL5/src/conserver-8.1.17/conserver/cutil.c:355] AllocString(): 0x80728c8 created string #19
[Fri Aug 19 14:42:45 2011] conserver (4833): ERROR: Master(): can't write pid to /var/run/conserver.pid: Permission denied


The 'INFO: peer server' message stands out to me as being different to the other configurations which work - I have no idea what this means though? 

Any help would be much appreciated!

Thanks,
Emma


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom