- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: crontab jobs
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
04-22-2002 01:47 AM
04-22-2002 01:47 AM
crontab jobs
I created a crontab file. After I run it, it caused an error:
"# Apr 22 05:45:00 D270 sendmail[14129]: unable to qualify my own domain name (D2
70) -- using short name"
What is it? Did I do something wrong?
Thanks for your help!
Best Regards
ajk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 01:53 AM
04-22-2002 01:53 AM
Re: crontab jobs
it's nothing about your crontable.
just vi /etc/hosts and add an alias .(hostname)
for example
172.20.5.11 test .test
it will solve the problem
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:00 AM
04-22-2002 02:00 AM
Re: crontab jobs
Also check you have configured in the hosts or DNS File for the fully qualified name.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:00 AM
04-22-2002 02:00 AM
Re: crontab jobs
or add the name with full domain in the hosts file to each entry needed.
1.2.3.4 test test.donain.x.x
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:02 AM
04-22-2002 02:02 AM
Re: crontab jobs
This is a 'sendmail' configuration issue, not a 'cron' problem.
If you are using DNS, make sure '/etc/resolv.conf' exists, and includes the line:
domain
for example:
domain your.com
If you are not using DNS, make sure '/etc/hosts' first line reads:
Lastly, set up the Dj$w macro in '/etc/mail/sendmail.cf' and change:
#Dj$w.Foo.com
to read:
Dj$w.
Then add
# /usr/sbin/sendmail stop
# /usr/sbin/sendmail start
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:06 AM
04-22-2002 02:06 AM
Re: crontab jobs
The error message "unable to qualify my own domain name" is most case is comming from application which need your domain host name for a server like.
Example :
IF your server is "server1", your organisation is "org1" and your country iso code is "fr"
THEN
Your domain host name will be "server1.org1.fr"
and you must put this string as an alias to the TCPIP address of your server "server1" in your /etc/hosts file.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:08 AM
04-22-2002 02:08 AM
Re: crontab jobs
example of your /etc/hosts file will be :
128.102.11.10 server1.org1.fr server1 #my server number one
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 02:52 AM
04-22-2002 02:52 AM
Re: crontab jobs
You have some problem with sendmail.
You can do
1) In /etc/hosts add an alias to Your server
2) # /sbin/initd/sendmail stop
Nagarathinam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 11:11 PM
04-22-2002 11:11 PM
Re: crontab jobs
I changed everything, but it is still happening the same. Please help. Thank you very much!
Best Regards
ajk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 11:26 PM
04-22-2002 11:26 PM
Re: crontab jobs
you need to know your domain name (nslookup D270).
Replace similar JRF's suggestion the dummy domain name Foo.COM with your domain name in sendmail.cf entry Dj$w.
The restart sendmail.
Hope this helps
Ruediger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 11:26 PM
04-22-2002 11:26 PM
Re: crontab jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 04:36 AM
04-23-2002 04:36 AM
Re: crontab jobs
Unlike shell, batch, and at, your environment is not set in the cronjob.
As a result maybe there's a variable not set like PATH?
Isn't LOGNAME supposed to be set?
You can set the environment within your program by "sourcing" it in.
#!bin/ksh
. /myhome/.profile
< my script text goes here >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 05:58 AM
04-23-2002 05:58 AM
Re: crontab jobs
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 07:56 AM
04-23-2002 07:56 AM
Re: crontab jobs
As it's run in background, then an email is sent to the crontab's owner.
and the mail command is using sendmail.cf to define headers of the mail.
2 ways to solve it :
1 - redirect output (stdout and stderr) of you cronjob to logfiles. Then you can check theses log files. sendmail is not used in this case.
2 - use the standard way (I.E. sendmail) then change Dj as described by others, and use the mail command (as crontab's owner) to see the outputs.
Once you will know what are theses outputs, you can redirect/manage them.
regards
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 08:39 PM
04-25-2002 08:39 PM
Re: crontab jobs
07 17 * * * sh /home/isdlun/abc.sh
This is my cron jobs, very simple. I did change the Dj$w to D270, but nothing changed. Please help! Thanks!
Best Regards
ajk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 09:17 PM
04-25-2002 09:17 PM
Re: crontab jobs
cat /home/isdlun/abc.sh
show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 11:01 PM
04-25-2002 11:01 PM
Re: crontab jobs
echo testing!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2002 11:28 PM
04-25-2002 11:28 PM
Re: crontab jobs
When exactly do you get the error? Is it at 10:15 / 17:07 everyday? Any idea what triggers off this error?