Sendmail processes not running


 
Thread Tools Search this Thread
Operating Systems Solaris Sendmail processes not running
# 1  
Old 06-11-2014
Sendmail processes not running

Hi All!

I am trying to get
Code:
sendmail

to work but unsuccessfull...when I run
Code:
ps -ef | grep sendmail
    root 10578 10561   0 11:01:24 pts/1       0:00 grep sendmail

I do not see its processes
When I run the following commands:

Code:
bash-3.00# svcs sendmail
svcs: Pattern 'sendmail' doesn't match any instances
STATE          STIME    FMRI
bash-3.00# svcs -a| grep sendmail
bash-3.00# svcadm enable sendmail
svcadm: Pattern 'sendmail' doesn't match any instances
bash-3.00#

But on a working system:

Code:
 svcs -a| grep sendmail
online         Jul_14   svc:/network/sendmail-client:default
online         Jul_14   svc:/network/smtp:sendmail

and
Code:
 ps -ef | grep sendmail
    root    698      1   0   Jul 14 ?         129:33 /usr/lib/sendmail -bl -q15m
   smmsp    699      1   0   Jul 14 ?           5:42 /usr/lib/sendmail -Ac -q15m
    root  85276  85245   0 10:44:51 pts/18      0:00 grep sendmail

Please can you help?
# 2  
Old 06-11-2014
have you checked the logs. Try checking its status using:
Code:
/etd/init.d/sendmail status

# 3  
Old 06-11-2014
this is what I get
Code:
 /etd/init.d/sendmail status
bash: /etd/init.d/sendmail: No such file or directory

and the logs:
Code:
 tail /var/adm/messages
Jun 11 08:44:18 MHEMMONL02 Had[3270]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13073 (MHEMMONL01) Resource(SERVER) became OFFLINE unexpectedly on its own. Agent is restarting (attempt number 1 of 1) the resource.
Jun 11 09:36:04 MHEMMONL02 AgentFramework[3326]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13067 Thread(5) Agent is calling clean for resource(VisiNotify) because the resource became OFFLINE unexpectedly, on its own.
Jun 11 09:36:04 MHEMMONL02 Had[3270]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13067 (MHEMMONL02) Agent is calling clean for resource(VisiNotify) because the resource became OFFLINE unexpectedly, on its own.
Jun 11 09:36:05 MHEMMONL02 AgentFramework[3326]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13068 Thread(5) Resource(VisiNotify) - clean completed successfully.
Jun 11 09:36:05 MHEMMONL02 AgentFramework[3326]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13073 Thread(5) Resource(VisiNotify) became OFFLINE unexpectedly on its own. Agent is restarting (attempt number 1 of 3) the resource.
Jun 11 09:36:05 MHEMMONL02 Had[3270]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13073 (MHEMMONL02) Resource(VisiNotify) became OFFLINE unexpectedly on its own. Agent is restarting (attempt number 1 of 3) the resource.
Jun 11 09:49:21 MHEMMONL02 Had[3270]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13067 (MHEMMONL01) Agent is calling clean for resource(SERVER) because the resource became OFFLINE unexpectedly, on its own.
Jun 11 09:49:22 MHEMMONL02 Had[3270]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13073 (MHEMMONL01) Resource(SERVER) became OFFLINE unexpectedly on its own. Agent is restarting (attempt number 1 of 1) the resource.
Jun 11 11:02:25 MHEMMONL02 Had[3270]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13067 (MHEMMONL01) Agent is calling clean for resource(SERVER) because the resource became OFFLINE unexpectedly, on its own.
Jun 11 11:02:26 MHEMMONL02 Had[3270]: [ID 702911 daemon.notice] VCS ERROR V-16-1-13073 (MHEMMONL01) Resource(SERVER) became OFFLINE unexpectedly on its own. Agent is restarting (attempt number 1 of 1) the resource.

Code:
syslog

is empty, zero size but
Code:
syslog.0

and
Code:
 tail syslog.0
Jun 10 10:34:43 MHEMMONL02 sendmail[19870]: [ID 702911 mail.crit] My unqualified host name (MHEMMONL02) unknown; sleeping for retry
Jun 10 11:32:52 MHEMMONL02 sendmail[21320]: [ID 702911 mail.crit] My unqualified host name (MHEMMONL02) unknown; sleeping for retry
Jun 10 11:33:52 MHEMMONL02 sendmail[21320]: [ID 702911 mail.alert] unable to qualify my own domain name (MHEMMONL02) -- using short name
Jun 10 11:33:52 MHEMMONL02 sendmail[21320]: [ID 801593 mail.info] s5A9Xq4X021320: from=root, size=86, class=0, nrcpts=1, msgid=<201406100933.s5A9Xq4X021320@MHEMMONL02>, relay=root@localhost
Jun 10 11:33:52 MHEMMONL02 sendmail[21320]: [ID 801593 mail.info] s5A9Xq4X021320: to=fretagi@mcel.co.mz, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30086, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Jun 10 12:05:39 MHEMMONL02 sendmail[26027]: [ID 702911 mail.crit] My unqualified host name (MHEMMONL02) unknown; sleeping for retry
Jun 10 12:06:37 MHEMMONL02 sendmail[26855]: [ID 702911 mail.crit] My unqualified host name (MHEMMONL02) unknown; sleeping for retry
Jun 10 12:07:37 MHEMMONL02 sendmail[26855]: [ID 702911 mail.alert] unable to qualify my own domain name (MHEMMONL02) -- using short name
Jun 10 12:07:37 MHEMMONL02 sendmail[26855]: [ID 801593 mail.info] s5AA7bsP026855: from=root, size=4090, class=0, nrcpts=1, msgid=<201406101007.s5AA7bsP026855@MHEMMONL02>, relay=root@localhost
Jun 10 12:07:37 MHEMMONL02 sendmail[26855]: [ID 801593 mail.info] s5AA7bsP026855: to=fretagi@mcel.co.mz, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=34090, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

---------- Post updated at 11:31 AM ---------- Previous update was at 11:29 AM ----------

here another set of commands that I have runned:

Code:
 /etc/init.d/sendmail status
Usage: /etc/init.d/sendmail { start | stop | restart }
bash-3.00# /etc/init.d/sendmail start
svcadm: Pattern 'network/smtp:sendmail' doesn't match any instances
svcadm: Pattern 'network/sendmail-client:default' doesn't match any instances
bash-3.00#

# 4  
Old 06-11-2014
I guess you package is broken, as because:

Code:
svcs -a | grep sendmail

should throw a result.

Can you check any update available for sendmail.
# 5  
Old 06-11-2014
Hi

Sorry, but not very familiar with update packages... do I have to check internet?
# 6  
Old 06-11-2014
I'm also new to solaris. Try with this official link:
Installing and Updating Packages - Oracle Solaris Administration: Common Tasks
# 7  
Old 06-12-2014
Hi

I have 1 other server and it has the same problem, so does not seem to be a problem of broken sendmail.....

Any suggestions?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Many processes running at the same time

Hello everybody , I launched cron to execute a task every hour but the job takes more than hour that's why I'm getting more than 1000 cron processes running at the same time !!! My question is how to tell cron not to execute unless the job terminated in order to have only one process running .... (14 Replies)
Discussion started by: beautymind
14 Replies

2. Shell Programming and Scripting

Check Running Processes

I want to check how many processes are running with same names and get their respective counts. ps -ef|grep -Eo 'process1|process2|process3| '|sort -u | awk '{print $2": "$1}' Output would look like : $ ps -ef|grep -Eo 'process1|process2|process3| '|sort | uniq -c | awk '{print $2":... (8 Replies)
Discussion started by: simpltyansh
8 Replies

3. Linux

Running processes

Hi guys is it normal to have 5-10 cron/syslog processes running... in my case i got 10 cron process running. (4 Replies)
Discussion started by: batas
4 Replies

4. Solaris

Running processes on GZ/LZ

Hi guys just a question is it normal to see running process on a non-global zone in the global zone... processes such as cron. (3 Replies)
Discussion started by: batas
3 Replies

5. Shell Programming and Scripting

how to know the running processes.

Hi can anybody help me regarding this.. i want know the output of ps -ef with explanation. how can we know the running processess. this is the output of ps -elf F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 19 T root 0 0 0 0 SY ... (1 Reply)
Discussion started by: rajesh_pola
1 Replies

6. Solaris

Solaris 10 x86: Two sendmail processes, why?

Dear all, after allowing remote sendmail connections by setting the value of the local_only to 'false' ie #svccfg -s sendmail setprop config/local_only=false #svcadm refresh sendmail we have TWO sendmail processes called 'sendmail -Ac -q15m' and 'sendmail -bd -q15m'. For what reason I... (1 Reply)
Discussion started by: xunil321
1 Replies

7. Shell Programming and Scripting

Need help with running processes script

I'm doing a script with the Shell. I need that it only show the number of running processes. Ex: echo "There are `command` running processes" Thnx! Pd: Sorry the idiom. I'm spanish. (5 Replies)
Discussion started by: Ikebana
5 Replies

8. Shell Programming and Scripting

Need help with running processes script

I'm doing a script with the Shell. I need that it only show the number of running processes. Ex: echo "There are `command` running processes" Thnx! Pd: Sorry the idiom. I'm spanish. (2 Replies)
Discussion started by: Ikebana
2 Replies

9. Programming

getting certain info for all processes currently running

i am writing a utility that displays information about all the running processes in the /proc directory. I do not know how to get the following information for each of the processes in the /proc directory: -effective user id -effective user name -effective group id -effective group name... (3 Replies)
Discussion started by: Yifan_Guo
3 Replies

10. Shell Programming and Scripting

Running two processes in background

hi there, here's what i need in my korn-shell: ... begin korn-shell script ... nohup process_A.ksh ; nohup process_B.ksh & ... "other stuff" ... end lorn-shell script in plain english i want process A and process B to run in the background so that the script can continue doing... (6 Replies)
Discussion started by: jacob_gs
6 Replies
Login or Register to Ask a Question