Re: output from cron ssh to VMS?
- From: Stephen Hoffman <Hoff@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Mar 2007 14:39:02 -0400
The Invisible Fire That Works In Public wrote:
I would like to run a program on a VMS system under cron control on a
Linux system. This works (usually) as intended, except that I cannot
capture the standard output of the program.
"Pseudo-terminal will not be allocated because stdin is not a terminal"
This is an error arising from an interaction of Linux and cron and ssh. Based on what I see in your message and what I find on the 'net, this does not involve OpenVMS.
I'd suggest you might want to try this same sequence on another box, and that you might want to ask this question in a Linux newsgroup.
Based on what I find, it's a pretty common problem. ssh and cron don't seem to like each other. Usual recommendations are -f, -n and -t, IIRC. See <http://www.oreilly.com/catalog/sshtdg2/chapter/ch11.pdf>, which has some references.
For cron, I'd expect the no-password path through ssh need be working end-to-end, too. There's no password prompting available in cron.
I might well ask why ssh is used to grab the time off a remote system, or if there is something other than SHOW TIME that is the actual target. There are far easier ways to deal with system time, such as setting up the OpenVMS box to use NTP. All of which implies you're up to something else here.
--
www.HoffmanLabs.com
Services for OpenVMS
.
- Follow-Ups:
- Re: output from cron ssh to VMS?
- From: Hoary Hairy Hoax
- Re: output from cron ssh to VMS?
- References:
- output from cron ssh to VMS?
- From: The Invisible Fire That Works In Public
- output from cron ssh to VMS?
- Prev by Date: Re: AMD's well may be running dry
- Next by Date: Re: AMD's well may be running dry
- Previous by thread: Re: output from cron ssh to VMS?
- Next by thread: Re: output from cron ssh to VMS?
- Index(es):
Relevant Pages
|
|