[log in to unmask] wrote:
>
> We are currently using SENDMAIL to send emails from our batch jobs.
> Periodically my jobs will receive an error:
>
> /etc/sendmail.cf: line 0: cannot open: file /etc/sendmail.cf changed
> after open
> /etc/sendmail.cf: line 0: cannot open: File changed after open
>
> I turned on debugging and received the following:
>
> File changed after opening:
> ? uid = 1/1
> ? gid = 0/-905688884
> ?/etc/sendmail.cf: line 0: cannot open: file /etc/sendmail.cf changed
> after open
> ?/etc/sendmail.cf: line 0: cannot open: File changed after open
> :EOJ
>
> Can anyone explain what would cause this problem?
This is very weird, and possibly bug-like.
Uid 1 is MANAGER.SYS, and gid 0 I think means no group ownership has been
assigned. The 0 shouldn't suddenly be turning negative.
Here's what the ownership of /etc/sendmail.cf looks like on my machine:
nomad:/BIXBY/PUB$ ls -l /etc/sendmail.cf
-rw-r--r-- 1 SERVER.SENDMAIL SENDMAIL 28130 Aug 4 16:23 /etc/sendmail.cf
Log on as MANAGER.SYS and do a "chown SERVER.SENDMAIL:SENDMAIL
/etc/sendmail.cf" so your machine will be the same.
- Mark B.