How to make smtp:sendmail online from maintenance mode?


 
Thread Tools Search this Thread
Operating Systems Solaris How to make smtp:sendmail online from maintenance mode?
# 8  
Old 11-12-2012
Code:
451 4.0.0 /etc/mail/sendmail.cf: line 80: fileclass: cannot open '/etc/mail/loca
l-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 572: fileclass: cannot open '/etc/mail/tru
sted-users': World writable directory

Here is your problem. Try chmod o-w /etc/mail and try starting the service again.

Last edited by bartus11; 11-12-2012 at 11:17 AM.. Reason: corrected command
# 9  
Old 11-12-2012
hi bartus11,

I did the same as you mentioned but no luck Smilie.
# 10  
Old 11-12-2012
Post output of: tail -20 /var/svc/log/network-smtp:sendmail.log
# 11  
Old 11-13-2012
Please, check output from command:
Code:
root@testserver # ls -ld /
root@testserver # ls -ld /etc
root@testserver # ls -ld /etc/mail

Permissions for these directories should be:
Code:
root@testserver # ls -ld /
drwxr-xr-x  26 root     root         512 lis  8 10:34 /
root@testserver # ls -ld /etc
drwxr-xr-x  88 root     sys         4608 lis  7 11:54 /etc
root@testserver # ls -ld /etc/mail
drwxr-xr-x   3 root     mail         512 lip 10  2009 /etc/mail

It they are different, you should change them, and then clear maintenance state and restart sendmail service like it was shown in previous posts.
Code:
root@testserver # chmod 755 /
root@testserver # chmod 755 /etc
root@testserver # chmod 755 /etc/mail

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Maintenance mode

i booted into maintenance mode boot -- -s from the console I got the Root password for system maintenance (control-d to bypass) I did control -d and then logged in it told me that I was booting into boot -s but after I did a control -d and logged in who -r shows ... (9 Replies)
Discussion started by: goya
9 Replies

2. AIX

How to put VIOS in Maintenance mode?

Hi this may be a easy question to answer but thanks in advance. So I was able to download the VIOS media from IBM and currently I am burning it to a cd/dvd right now. The steps I've collected so far are from the net. can you please confirm and add on to the steps if there are any steps... (0 Replies)
Discussion started by: Adnans2k
0 Replies

3. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

4. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

5. Solaris

Helpme !! ssh service in maintenance mode

Hi Guys, Virtual Machine - Solaris 10 ssh service is in maintenance mode, when i tried to disable it it got disabled but when i enabling it ( svcadm enable ssh) it is coming in maintenance mode...... Pls help (10 Replies)
Discussion started by: saurabh84g
10 Replies

6. Solaris

Samba service in maintenance mode ???

I have a Solaris 10 SunFire v880 machine and I'm having trouble with Samba. Samba has worked on this machine but since the machine has been re-booted Samba has not worked. Machine details are: cat /etc/release Solaris 10 10/08 s10s_u6wos_07b SPARC Copyright 2008... (2 Replies)
Discussion started by: KenLynch
2 Replies

7. Solaris

Process in maintenance mode, why?

Hi, I have installed Hudson on a Solaris 11 server, using the installation instructions available at Paul Oswald: Hudson Solaris SMF Manifest. When I perform svcs -l hudson, I get: fmri svc:/application/hudson:default name Hudson Continuous Build Server enabled true... (4 Replies)
Discussion started by: JVerstry
4 Replies

8. Solaris

FTP is in maintenance mode always

Hello All, On solaris 10 server i could see the FTP service is in maintenance mode always :mad: Could some assist? svcs -xv svc:/network/nfs/nlockmgr:default (NFS lock manager) State: maintenance since Tue 28 Jul 2009 11:47:55 AM BST Reason: Restarting too quickly. See: Sun... (5 Replies)
Discussion started by: bullz26
5 Replies

9. Solaris

Machine is booting to maintenance mode.

I had a power failure the other day and when my relatively new Solaris 10 machine rebooted it is thrown into maintenance mode. I've found the following lines in the /var/adm/messages file, I'm assuming this is the root cause of the problem. However, I don't have the slightest idea on how to... (9 Replies)
Discussion started by: cheetobandito
9 Replies

10. HP-UX

Maintenance mode boot(MMB) and recovery

hi, i figured why i need to boot in MMB,some of which are missing or corrupt LABEL (LIF labeL ,i guess) on the boot disk. To explicitly corrupt this entry i think a simple dd will work. ok let me elaborate this issue: i need to check this functionality. so i have one LVM boot disk and one... (0 Replies)
Discussion started by: mxms755
0 Replies
Login or Register to Ask a Question