cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail errors

mohammed abdul jaleel
Occasional Contributor

sendmail errors

when i am starting send mail service i am getting the following errors
#/sbin/init.d/sendmail start
/sbin/init.d/sendmail[115]: 1500: not found.
/sbin/init.d/sendmail[115]: 1500: not found.
/sbin/init.d/sendmail[115]: Glance: not found.
/sbin/init.d/sendmail[115]: -------------------------------------------------------------------------------: not found.
/sbin/init.d/sendmail[115]: CPU: not found.
/sbin/init.d/sendmail[115]: 2%: not found.
/sbin/init.d/sendmail[115]: 2%: not found.
/sbin/init.d/sendmail[115]: Disk: not found.
/sbin/init.d/sendmail[115]: 21%: not found.
/sbin/init.d/sendmail[115]: 9%: not found.
/sbin/init.d/sendmail[115]: Mem: not found.
/sbin/init.d/sendmail[115]: -------------------------------------------------------------------------------: not found.
/sbin/init.d/sendmail[115]: MEMORY: not found.
/sbin/init.d/sendmail[115]: Swap: not found.
/sbin/init.d/sendmail[115]: Event: not found.
/sbin/init.d/sendmail[115]: --------------------------------------------------------------------------------: not found.
/sbin/init.d/sendmail[115]: Page: not found.
/sbin/init.d/sendmail[115]: Page: not found.
/sbin/init.d/sendmail[115]: Page: not found.
/sbin/init.d/sendmail[115]: KB: not found.
/sbin/init.d/sendmail[115]: KB: not found.
/sbin/init.d/sendmail[115]: Reactivations: not found.
/sbin/init.d/sendmail[115]: Deactivations: not found.
/sbin/init.d/sendmail[115]: KB: not found.
/sbin/init.d/sendmail[115]: VM: not found.
/sbin/init.d/sendmail[115]: VM: not found.
/sbin/init.d/sendmail[115]: Total: not found.
/sbin/init.d/sendmail[115]: Active: not found.
/sbin/init.d/sendmail[115]: MemFS: not found.
/sbin/init.d/sendmail[115]: Page: not found.
/sbin/init.d/sendmail[115]: Data: not found.
/sbin/init.d/sendmail[115]: Refresh: not found.
/sbin/init.d/sendmail[115]: Glance: not found.
Starting sendmail [Done]
Unable to start sm-client

For more information see /var/adm/syslog/mail.log
HPUXTEST #Apr 10 08:50:09 HPUXTEST sm-mta[24594]: daemon MTA: problem creating SMTP socket
Apr 10 08:50:09 HPUXTEST sm-mta[24594]: NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting

and when i do ps -ef grep sendmail it is giving output as

#ps -ef | grep sendmail
root 25786 20095 1 08:54:12 pts/0 0:00 grep sendmail

please help me thanks.














5 REPLIES
Shibin_2
Honored Contributor

Re: sendmail errors

What is your sendmail.cf tells? Your configuration file is correct ?
Regards
Shibin
Steven Schweda
Honored Contributor

Re: sendmail errors

> /sbin/init.d/sendmail[115]: 1500: not found.
> [...]

Did you look at what's in
"/sbin/init.d/sendmail" (especially at line
115)?

From the looks of these error messages, I'd
guess that this start-up script has been
(badly) damaged. (But I can't see it from
here.) If it has been wrecked, have you any
back-ups, or another system with an undamaged
file with which you can compare this one?


> [...] sendmail.cf [...]

Not the first place I'd look.
Dennis Handly
Acclaimed Contributor

Re: sendmail errors

Typically this means you have a garbage file in /etc/rc.config.d/.

>Steven: Did you look at what's in /sbin/init.d/sendmail (line 115)?

Typically this is rc.config(4), which sources all of the /etc/rc.config.d/.
Bill Hassell
Honored Contributor

Re: sendmail errors

As mentioned, there is likely a junk file in /etc/rc.config.d/. Every file in that directory is usually sourced (run) when you run a start script in init.d.

This will show the most recently added/changed files in the rc.config.d directory:

ls -lart /etc/rc.config.d

The last files in the list are probably causing the errors. No junk files should ever be stored in this directory.


Bill Hassell, sysadmin
Bill Hassell
Honored Contributor

Re: sendmail errors

As a followup, if you reboot (with junk files), the system will have many, many error messages with many of the programs and application failing to start.


Bill Hassell, sysadmin