- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not a terminal message
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2000 08:38 AM
06-13-2000 08:38 AM
Not a terminal message
I have been running a job using crontab and I have noticed that the jobs are no longer running sucessfully, I am getting the following message in the elm.
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
/home/migrate/genrcsrep: COBDIR: Parameter not set.
Can anybody tell me what I need to do.
Thanking you.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2000 08:44 AM
06-13-2000 08:44 AM
Re: Not a terminal message
It appears that something has changed either the /etc/profile or the .profile for the user which has Cron Jobs running.
What you need to do is to edit either (or both) of these files and then update them so that they test to insure that any stty commands are occurring in an 'interactive session'.
The command that you can use to test this is the tty -s command. If there is a Terminal associated with the process that is calling the function, then the return status is 0 if the calling process does not have a terminal associated with it, then there is no need to excute the stty commands.
In the scripts which configre the environment, place the
if tty -s
then
< some sequence of commands >
fi
you'll need to try a few different locations, but I'm sure that you'll get the hang of it.
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2000 08:45 AM
06-13-2000 08:45 AM
Re: Not a terminal message
The message :
/home/migrate/genrcsrep: COBDIR: Parameter not set
Indicates that the environment variable COBDIR was not set whenever this process was run. You'll need to insure that the enviroment configuration scripts also get run for the cron process to be aware of the environment variable.
You could also indicate to your developers that this is an application problem, and they need to establish all required environment variable whenever they execute a cron job.
Hope that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2000 08:49 AM
06-13-2000 08:49 AM
Re: Not a terminal message
#Set up the terminal:
if [ "$TERM" = "" ]
then
eval ` tset -s -Q -m ':?hp' `
else
eval ` tset -s -Q `
fi
I hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2000 03:17 AM
06-15-2000 03:17 AM
Re: Not a terminal message
First try to run that script from your shell. If it is working properly from your shell but not run from crontab then you should check all the environment variable which was defined in your shell scripts. If it is working properly in your shell then just take all the variable of your shell script by env command & append all those variable in from of your script.
Hope it would work.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2000 09:25 AM
06-15-2000 09:25 AM
Re: Not a terminal message
Has this information helped you?
Do you need further assistance?