include error
list Robert P McGraw
I am running hobbit 4.2 on SunOS zorn.math.purdue.edu 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R I was using m4 to build my bb-hosts file and so decided to move to the bb-hosts include tag. I made the changes and I am now getting WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-workstations ', line was:include /local/hobbit/server/etc/bb-hosts-workstations WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-sunrays ', line was:include /local/hobbit/server/etc/bb-hosts-sunrays WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-workstations ', line was:include /local/hobbit/server/etc/bb-hosts-workstations WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-sunrays ', line was:include /local/hobbit/server/etc/bb-hosts-sunrays These are my include lines in bb-hosts ##R##-zorn->[81] ##> grep include bb-hosts include /local/hobbit/server/etc/bb-hosts-workstations include /local/hobbit/server/etc/bb-hosts-sunrays ##R##-zorn->[82] ##> ls -al bb-hosts* -rw-r--r-- 1 bb bb 4262 Jun 11 11:03 bb-hosts -rw-r--r-- 1 bb bb 7972 Jun 11 10:59 bb-hosts-sunrays -rw-r--r-- 1 bb bb 5390 Jun 11 10:59 bb-hosts-workstations Can anyone see what I am getting the error? What am I over looking? Thanks Robert Robert P. McGraw, Jr. Manager, Computer System EMAIL: user-33cf07af04dd@xymon.invalid Purdue University ROOM: MATH-807 Department of Mathematics PHONE: (XXX) XXX-XXXX XXX N. University Street West Lafayette, IN XXXXX-XXXX
list Ralph Mitchell
On Wed, Jun 11, 2008 at 10:14 AM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid>
▸
wrote:
I am running hobbit 4.2 on SunOS zorn.math.purdue.edu 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R I was using m4 to build my bb-hosts file and so decided to move to the bb-hosts include tag. I made the changes and I am now getting WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-workstations ', line was:include /local/hobbit/server/etc/bb-hosts-workstations WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-sunrays ', line was:include /local/hobbit/server/etc/bb-hosts-sunrays WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-workstations ', line was:include /local/hobbit/server/etc/bb-hosts-workstations WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-sunrays ', line was:include /local/hobbit/server/etc/bb-hosts-sunrays
Could there be a space or other odd character (carriage return?) at the end
of each include line?? The error message shows the pathname in quotes with
a space before the closing quote...
Ralph Mitchell
list Larry Barber
If you used the default install locations, the files are in /usr/local/... Thanks, Larry Barber On Wed, Jun 11, 2008 at 10:32 AM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>
▸
wrote:
On Wed, Jun 11, 2008 at 10:14 AM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid> wrote:I am running hobbit 4.2 on SunOS zorn.math.purdue.edu 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-280R I was using m4 to build my bb-hosts file and so decided to move to the bb-hosts include tag. I made the changes and I am now getting WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-workstations ', line was:include /local/hobbit/server/etc/bb-hosts-workstations WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-sunrays ', line was:include /local/hobbit/server/etc/bb-hosts-sunrays WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-workstations ', line was:include /local/hobbit/server/etc/bb-hosts-workstations WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-sunrays ', line was:include /local/hobbit/server/etc/bb-hosts-sunraysCould there be a space or other odd character (carriage return?) at the end of each include line?? The error message shows the pathname in quotes with a space before the closing quote... Ralph Mitchell
list Robert P McGraw
I am sorry to say this was the problem. I had seen this and vi'ed the file to remove the spaces at the end of the line. I guess in doing other things I did not commit the change and then just overlooked this in the error messages. Thanks for your help and getting me past the trees. Robert
▸
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: Wednesday, June 11, 2008 11:32 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] include error
On Wed, Jun 11, 2008 at 10:14 AM, McGraw, Robert P <user-33cf07af04dd@xymon.invalid>
wrote:
I am running hobbit 4.2 on SunOS zorn.math.purdue.edu 5.10 Generic_120011-14
sun4u sparc SUNW,Sun-Fire-280R
I was using m4 to build my bb-hosts file and so decided to move to the
bb-hosts include tag.
I made the changes and I am now getting
WARNING: Cannot open include file
'/local/hobbit/server/etc/bb-hosts-workstations ', line was:include
/local/hobbit/server/etc/bb-hosts-workstations
WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-sunrays
', line was:include /local/hobbit/server/etc/bb-hosts-sunrays
WARNING: Cannot open include file
'/local/hobbit/server/etc/bb-hosts-workstations ', line was:include
/local/hobbit/server/etc/bb-hosts-workstations
WARNING: Cannot open include file '/local/hobbit/server/etc/bb-hosts-sunrays
', line was:include /local/hobbit/server/etc/bb-hosts-sunrays
Could there be a space or other odd character (carriage return?) at the end
of each include line?? The error message shows the pathname in quotes with
a space before the closing quote...
Ralph Mitchell