advertisement

Article:
  Learning the Terminal in Jaguar, Part 3
Subject:   Thanks - and a question!
Date:   2003-03-30 03:41:30
From:   macmartin
Thanks for the third part of this excellent article, which helped me a lot to get into the Terminal.


I think there is a little mistake in the section about the weekly script.
Isnīt name of the script 500.weekly</> instead of 500.daily?


There are some questions left about sendmail:
In the /var/log/mail.log I get this output at boot time and every time sendmail is started manually.

Mar 30 11:12:31 saturn sendmail[411]: File descriptors missing on startup: stdin, stdout, stderr; Bad file descriptor
Mar 30 11:12:31 saturn sendmail[411]: gethostbyaddr(192.168.100.10) failed: 3
Mar 30 11:12:31 saturn sendmail[412]: starting daemon (8.12.7): SMTP+queueing@01:00:00
Mar 30 11:12:31 saturn sendmail[414]: File descriptors missing on startup: stdin, stdout, stderr; Bad file descriptor
Mar 30 11:12:31 saturn sendmail[415]: starting daemon (8.12.7): queueing@01:00:00


The "File descriptors missing on startup: stdin, stdout, stderr; Bad file descriptor" problem is asked by hundreds of (BSD- and Linux-) users across the internet.
I have read that this error is somehow related to the cron utility, but I couldnīt find a solution yet.


Question 1: What causes this error output?
How can the "Bad file descriptor get fixed?


The "gethostbyaddr(192.168.100.10) failed: 3 only shows up, when Iīm connected to a local Network via NIC.


Question 2: I guess this is because I have not configured DNS yet.
Is that right ?
Is there a trick to fix this similar to the DontBlamSendmail-thing ?
Where can I find a tutorial to set up DNS via Command Line?


Any help would be appreciated gladly.
Thanks again
.