Operating System - HP-UX
1832505 Members
4638 Online
110043 Solutions
New Discussion

Error when cancelling print job

 
Steve Casino
Occasional Contributor

Error when cancelling print job

hello experts,

When I try to cancel a print job, i get the message below..I don't understand how they are connected. The job is removed but can anyone tell me why I'm getting these messages?

[root@xxxx:/var/spool/lp]
# cancel KPSHPLP1-407
request "KPSHPLP1-407" cancelled
/etc/mail/sendmail.cf: line 62: fileclass: cannot open /etc/mail/local-host-names: No such file or directory
/etc/mail/sendmail.cf: line 93: readcf: map arith: class arith not available
/etc/mail/sendmail.cf: line 225: DaemonPortOptions parameter "Name=MTA" unknown
/etc/mail/sendmail.cf: line 226: DaemonPortOptions parameter "Name=MSA" unknown
/etc/mail/sendmail.cf: line 226: DaemonPortOptions parameter "M=E" unknown
/etc/mail/sendmail.cf: line 421: readcf: unknown option name PidFile
3 REPLIES 3
Eric Antunes
Honored Contributor

Re: Error when cancelling print job

Hi Steve,

Check if /etc is writable (it shouldn't be)

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Kent Ostby
Honored Contributor

Re: Error when cancelling print job

Steve -- Looks like the /etc/mail/sendmail.cf file is having problems.

Maybe you could post that file here so people can take a look and see if we can spot the problem.

Best regards,

Oz
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Bill Hassell
Honored Contributor

Re: Error when cancelling print job

Sendmail is broken because of a bad /etc/mail/sendmail.cf file. The reason that mail is scheduled after a cancel is to notify the owner of a print job that their job was cancelled. You'll need to fix the sendmail.cf file to get rid of the message.


Bill Hassell, sysadmin