Hi Guys, Not sure if this issue is a facter one or not, but thought i might post here to see if anyone else has had the same issue. When executing facter command on remote ssh server, i am getting tput errors. However when running any other command on this same remote ssh server, the tput errors do not occur. [user@server1 ~]$ ssh server2 ''facter hostname'' tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified server2 If i run facter locally on the remote server, there are no tput errors. [user@server2 ~]$ facter hostname server2 In googling the errors, there are a lot of recommendations to check profile scripts, etc, but the errors only occur with facter via ssh, not any other commands and i can''t see any references to tput in the profile scripts? Does anyone have any ideas as to what could be causing this issue and how to fix? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
No one has seen this issue before? On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote:> Hi Guys, > > Not sure if this issue is a facter one or not, but thought i might > post here to see if anyone else has had the same issue. > > When executing facter command on remote ssh server, i am getting tput > errors. However when running any other command on this same remote ssh > server, the tput errors do not occur. > > [user@server1 ~]$ ssh server2 ''facter hostname'' > tput: No value for $TERM and no -T specified > tput: No value for $TERM and no -T specified > tput: No value for $TERM and no -T specified > tput: No value for $TERM and no -T specified > server2 > > If i run facter locally on the remote server, there are no tput > errors. > > [user@server2 ~]$ facter hostname > server2 > > In googling the errors, there are a lot of recommendations to check > profile scripts, etc, but the errors only occur with facter via ssh, > not any other commands and i can''t see any references to tput in the > profile scripts? > > Does anyone have any ideas as to what could be causing this issue and > how to fix?-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, Haven''t tested but what does ssh -t server2 .... give you? Cheers Den On 24/06/2011, at 7:51, josbal <joshua.baldock@gmail.com> wrote:> No one has seen this issue before? > > On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote: >> Hi Guys, >> >> Not sure if this issue is a facter one or not, but thought i might >> post here to see if anyone else has had the same issue. >> >> When executing facter command on remote ssh server, i am getting tput >> errors. However when running any other command on this same remote ssh >> server, the tput errors do not occur. >> >> [user@server1 ~]$ ssh server2 ''facter hostname'' >> tput: No value for $TERM and no -T specified >> tput: No value for $TERM and no -T specified >> tput: No value for $TERM and no -T specified >> tput: No value for $TERM and no -T specified >> server2 >> >> If i run facter locally on the remote server, there are no tput >> errors. >> >> [user@server2 ~]$ facter hostname >> server2 >> >> In googling the errors, there are a lot of recommendations to check >> profile scripts, etc, but the errors only occur with facter via ssh, >> not any other commands and i can''t see any references to tput in the >> profile scripts? >> >> Does anyone have any ideas as to what could be causing this issue and >> how to fix? > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
I just tested this on a VM, and it ran fine. What platform is the server you''re ssh-ing to? On Thu, Jun 23, 2011 at 2:51 PM, josbal <joshua.baldock@gmail.com> wrote:> No one has seen this issue before? > > On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote: > > Hi Guys, > > > > Not sure if this issue is a facter one or not, but thought i might > > post here to see if anyone else has had the same issue. > > > > When executing facter command on remote ssh server, i am getting tput > > errors. However when running any other command on this same remote ssh > > server, the tput errors do not occur. > > > > [user@server1 ~]$ ssh server2 ''facter hostname'' > > tput: No value for $TERM and no -T specified > > tput: No value for $TERM and no -T specified > > tput: No value for $TERM and no -T specified > > tput: No value for $TERM and no -T specified > > server2 > > > > If i run facter locally on the remote server, there are no tput > > errors. > > > > [user@server2 ~]$ facter hostname > > server2 > > > > In googling the errors, there are a lot of recommendations to check > > profile scripts, etc, but the errors only occur with facter via ssh, > > not any other commands and i can''t see any references to tput in the > > profile scripts? > > > > Does anyone have any ideas as to what could be causing this issue and > > how to fix? > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi Den, ssh -t seems to not produce the tput errors. But how come these tput errors are only presented when running facter command, and no others? Cheers, Josh On Jun 24, 8:17 am, Denmat <tu2bg...@gmail.com> wrote:> Hi, > Haven''t tested but what does ssh -t server2 .... give you? > > Cheers > Den > > On 24/06/2011, at 7:51, josbal <joshua.bald...@gmail.com> wrote: > > > > > > > > > No one has seen this issue before? > > > On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote: > >> Hi Guys, > > >> Not sure if this issue is a facter one or not, but thought i might > >> post here to see if anyone else has had the same issue. > > >> When executing facter command on remote ssh server, i am getting tput > >> errors. However when running any other command on this same remote ssh > >> server, the tput errors do not occur. > > >> [user@server1 ~]$ ssh server2 ''facter hostname'' > >> tput: No value for $TERM and no -T specified > >> tput: No value for $TERM and no -T specified > >> tput: No value for $TERM and no -T specified > >> tput: No value for $TERM and no -T specified > >> server2 > > >> If i run facter locally on the remote server, there are no tput > >> errors. > > >> [user@server2 ~]$ facter hostname > >> server2 > > >> In googling the errors, there are a lot of recommendations to check > >> profile scripts, etc, but the errors only occur with facter via ssh, > >> not any other commands and i can''t see any references to tput in the > >> profile scripts? > > >> Does anyone have any ideas as to what could be causing this issue and > >> how to fix? > > > -- > > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Sounds like a bug with facter handling headless running where a TTY is not allocated (thus the error about $TERM not being set). -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 23, 2011 at 7:56 PM, josbal <joshua.baldock@gmail.com> wrote:> Hi Den, > > ssh -t seems to not produce the tput errors. > > But how come these tput errors are only presented when running facter > command, and no others? > > Cheers, > Josh > > On Jun 24, 8:17 am, Denmat <tu2bg...@gmail.com> wrote: > > Hi, > > Haven''t tested but what does ssh -t server2 .... give you? > > > > Cheers > > Den > > > > On 24/06/2011, at 7:51, josbal <joshua.bald...@gmail.com> wrote: > > > > > > > > > > > > > > > > > No one has seen this issue before? > > > > > On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote: > > >> Hi Guys, > > > > >> Not sure if this issue is a facter one or not, but thought i might > > >> post here to see if anyone else has had the same issue. > > > > >> When executing facter command on remote ssh server, i am getting tput > > >> errors. However when running any other command on this same remote ssh > > >> server, the tput errors do not occur. > > > > >> [user@server1 ~]$ ssh server2 ''facter hostname'' > > >> tput: No value for $TERM and no -T specified > > >> tput: No value for $TERM and no -T specified > > >> tput: No value for $TERM and no -T specified > > >> tput: No value for $TERM and no -T specified > > >> server2 > > > > >> If i run facter locally on the remote server, there are no tput > > >> errors. > > > > >> [user@server2 ~]$ facter hostname > > >> server2 > > > > >> In googling the errors, there are a lot of recommendations to check > > >> profile scripts, etc, but the errors only occur with facter via ssh, > > >> not any other commands and i can''t see any references to tput in the > > >> profile scripts? > > > > >> Does anyone have any ideas as to what could be causing this issue and > > >> how to fix? > > > > > -- > > > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > > > To post to this group, send email to puppet-users@googlegroups.com. > > > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > > > For more options, visit this group athttp:// > groups.google.com/group/puppet-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
What version of facter? I''m not producing the error from 1.5.0 through 1.5.9 (did not have to pass -t). Thanks, Nan On Thu, Jun 23, 2011 at 8:03 PM, Nathan Clemons <nathan@livemocha.com> wrote:> Sounds like a bug with facter handling headless running where a TTY is not > allocated (thus the error about $TERM not being set). > -- > Nathan Clemons > http://www.livemocha.com > The worlds largest online language learning community > > > On Thu, Jun 23, 2011 at 7:56 PM, josbal <joshua.baldock@gmail.com> wrote: >> >> Hi Den, >> >> ssh -t seems to not produce the tput errors. >> >> But how come these tput errors are only presented when running facter >> command, and no others? >> >> Cheers, >> Josh >> >> On Jun 24, 8:17 am, Denmat <tu2bg...@gmail.com> wrote: >> > Hi, >> > Haven''t tested but what does ssh -t server2 .... give you? >> > >> > Cheers >> > Den >> > >> > On 24/06/2011, at 7:51, josbal <joshua.bald...@gmail.com> wrote: >> > >> > >> > >> > >> > >> > >> > >> > > No one has seen this issue before? >> > >> > > On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote: >> > >> Hi Guys, >> > >> > >> Not sure if this issue is a facter one or not, but thought i might >> > >> post here to see if anyone else has had the same issue. >> > >> > >> When executing facter command on remote ssh server, i am getting tput >> > >> errors. However when running any other command on this same remote >> > >> ssh >> > >> server, the tput errors do not occur. >> > >> > >> [user@server1 ~]$ ssh server2 ''facter hostname'' >> > >> tput: No value for $TERM and no -T specified >> > >> tput: No value for $TERM and no -T specified >> > >> tput: No value for $TERM and no -T specified >> > >> tput: No value for $TERM and no -T specified >> > >> server2 >> > >> > >> If i run facter locally on the remote server, there are no tput >> > >> errors. >> > >> > >> [user@server2 ~]$ facter hostname >> > >> server2 >> > >> > >> In googling the errors, there are a lot of recommendations to check >> > >> profile scripts, etc, but the errors only occur with facter via ssh, >> > >> not any other commands and i can''t see any references to tput in the >> > >> profile scripts? >> > >> > >> Does anyone have any ideas as to what could be causing this issue and >> > >> how to fix? >> > >> > > -- >> > > You received this message because you are subscribed to the Google >> > > Groups "Puppet Users" group. >> > > To post to this group, send email to puppet-users@googlegroups.com. >> > > To unsubscribe from this group, send email to >> > > puppet-users+unsubscribe@googlegroups.com. >> > > For more options, visit this group >> > > athttp://groups.google.com/group/puppet-users?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Yeah thats what i was thinking Nathan, but wasn''t sure if it was just me. Nan we are running facter 1.5.9 on RHEL 5.3 servers. On Jun 24, 2:34 pm, Nan Liu <n...@puppetlabs.com> wrote:> What version of facter? I''m not producing the error from 1.5.0 through > 1.5.9 (did not have to pass -t). > > Thanks, > > Nan > > > > > > > > On Thu, Jun 23, 2011 at 8:03 PM, Nathan Clemons <nat...@livemocha.com> wrote: > > Sounds like a bug with facter handling headless running where a TTY is not > > allocated (thus the error about $TERM not being set). > > -- > > Nathan Clemons > >http://www.livemocha.com > > The worlds largest online language learning community > > > On Thu, Jun 23, 2011 at 7:56 PM, josbal <joshua.bald...@gmail.com> wrote: > > >> Hi Den, > > >> ssh -t seems to not produce the tput errors. > > >> But how come these tput errors are only presented when running facter > >> command, and no others? > > >> Cheers, > >> Josh > > >> On Jun 24, 8:17 am, Denmat <tu2bg...@gmail.com> wrote: > >> > Hi, > >> > Haven''t tested but what does ssh -t server2 .... give you? > > >> > Cheers > >> > Den > > >> > On 24/06/2011, at 7:51, josbal <joshua.bald...@gmail.com> wrote: > > >> > > No one has seen this issue before? > > >> > > On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote: > >> > >> Hi Guys, > > >> > >> Not sure if this issue is a facter one or not, but thought i might > >> > >> post here to see if anyone else has had the same issue. > > >> > >> When executing facter command on remote ssh server, i am getting tput > >> > >> errors. However when running any other command on this same remote > >> > >> ssh > >> > >> server, the tput errors do not occur. > > >> > >> [user@server1 ~]$ ssh server2 ''facter hostname'' > >> > >> tput: No value for $TERM and no -T specified > >> > >> tput: No value for $TERM and no -T specified > >> > >> tput: No value for $TERM and no -T specified > >> > >> tput: No value for $TERM and no -T specified > >> > >> server2 > > >> > >> If i run facter locally on the remote server, there are no tput > >> > >> errors. > > >> > >> [user@server2 ~]$ facter hostname > >> > >> server2 > > >> > >> In googling the errors, there are a lot of recommendations to check > >> > >> profile scripts, etc, but the errors only occur with facter via ssh, > >> > >> not any other commands and i can''t see any references to tput in the > >> > >> profile scripts? > > >> > >> Does anyone have any ideas as to what could be causing this issue and > >> > >> how to fix? > > >> > > -- > >> > > You received this message because you are subscribed to the Google > >> > > Groups "Puppet Users" group. > >> > > To post to this group, send email to puppet-users@googlegroups.com. > >> > > To unsubscribe from this group, send email to > >> > > puppet-users+unsubscribe@googlegroups.com. > >> > > For more options, visit this group > >> > > athttp://groups.google.com/group/puppet-users?hl=en. > > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "Puppet Users" group. > >> To post to this group, send email to puppet-users@googlegroups.com. > >> To unsubscribe from this group, send email to > >> puppet-users+unsubscribe@googlegroups.com. > >> For more options, visit this group at > >>http://groups.google.com/group/puppet-users?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi Adrien, Both client and server of the ssh connection are running RHEL5.3. Both has facter 1.5.9 installed. Is there something i may be able to modify in facter to stop error occuring? On Jun 24, 8:17 am, Adrien Thebo <adr...@puppetlabs.com> wrote:> I just tested this on a VM, and it ran fine. What platform is the server > you''re ssh-ing to? > > > > > > > > On Thu, Jun 23, 2011 at 2:51 PM, josbal <joshua.bald...@gmail.com> wrote: > > No one has seen this issue before? > > > On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote: > > > Hi Guys, > > > > Not sure if this issue is a facter one or not, but thought i might > > > post here to see if anyone else has had the same issue. > > > > When executing facter command on remote ssh server, i am getting tput > > > errors. However when running any other command on this same remote ssh > > > server, the tput errors do not occur. > > > > [user@server1 ~]$ ssh server2 ''facter hostname'' > > > tput: No value for $TERM and no -T specified > > > tput: No value for $TERM and no -T specified > > > tput: No value for $TERM and no -T specified > > > tput: No value for $TERM and no -T specified > > > server2 > > > > If i run facter locally on the remote server, there are no tput > > > errors. > > > > [user@server2 ~]$ facter hostname > > > server2 > > > > In googling the errors, there are a lot of recommendations to check > > > profile scripts, etc, but the errors only occur with facter via ssh, > > > not any other commands and i can''t see any references to tput in the > > > profile scripts? > > > > Does anyone have any ideas as to what could be causing this issue and > > > how to fix? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi Adrien, Both client and server of the ssh connection are running RHEL5.3. Both has facter 1.5.9 installed. Is there something i may be able to modify in facter to stop error occuring? On Jun 24, 8:17 am, Adrien Thebo <adr...@puppetlabs.com> wrote:> I just tested this on a VM, and it ran fine. What platform is the server > you''re ssh-ing to? > > > > > > > > On Thu, Jun 23, 2011 at 2:51 PM, josbal <joshua.bald...@gmail.com> wrote: > > No one has seen this issue before? > > > On Jun 23, 3:08 pm, josbal <joshua.bald...@gmail.com> wrote: > > > Hi Guys, > > > > Not sure if this issue is a facter one or not, but thought i might > > > post here to see if anyone else has had the same issue. > > > > When executing facter command on remote ssh server, i am getting tput > > > errors. However when running any other command on this same remote ssh > > > server, the tput errors do not occur. > > > > [user@server1 ~]$ ssh server2 ''facter hostname'' > > > tput: No value for $TERM and no -T specified > > > tput: No value for $TERM and no -T specified > > > tput: No value for $TERM and no -T specified > > > tput: No value for $TERM and no -T specified > > > server2 > > > > If i run facter locally on the remote server, there are no tput > > > errors. > > > > [user@server2 ~]$ facter hostname > > > server2 > > > > In googling the errors, there are a lot of recommendations to check > > > profile scripts, etc, but the errors only occur with facter via ssh, > > > not any other commands and i can''t see any references to tput in the > > > profile scripts? > > > > Does anyone have any ideas as to what could be causing this issue and > > > how to fix? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscribe@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.