- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sendmail cannot start properly.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 01:26 AM
01-14-2003 01:26 AM
Recently, i faced these problem. I get this in my /etc/rc.log,
------------------------------------------
start_msg... User unknown /dead.letter... cannot open: Permission denied
Output from "/sbin/rc2.d/S540sendmail start":
----------------------------
start... User unknown
/dead.letter... cannot open: Permission denied
"/sbin/rc2.d/S540sendmail start" FAILED
-------------------------------------------
If i start it from the shell,
sakura/#>/sbin/init.d/sendmail start
start... User unknown
It will stuck there. If i leave it there, i can still sendmail from another session.
Any idea ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 01:47 AM
01-14-2003 01:47 AM
Re: Sendmail cannot start properly.
Make sure that the permission for
/dead.letter is okay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 01:52 AM
01-14-2003 01:52 AM
Re: Sendmail cannot start properly.
Pls check /sbin/rc2.d/S540sendmail file ownership and permisions, thes must be:
lrwxr-xr-x 1 root root 21 May 26 2002 S540sendmail -> /sbin/init.d/sendmail
Also certify these conditions to the file /sbin/init.d/sendmail, these must be:
-r-xr-xr-x 1 bin bin 3670 Apr 26 2000 /sbin/init.d/sendmail
And verify SENDMAIL_SERVER value in /etc/rc.config.d/mailservs file, for automatic start up in boot proccess must be 1.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 01:58 AM
01-14-2003 01:58 AM
Re: Sendmail cannot start properly.
in this case sendmail treats the "start" as a user to whom it tries to send a mail instead interpreting it as start message. Please check that the startup script and also sendmail binary have right permissions and ownerships
lrwxr-xr-x 1 root sys 21 Jun 8 1996 /sbin/rc2.d/S540sendma
il -> /sbin/init.d/sendmail
-r-xr-xr-x 1 bin bin 3830 Jun 7 1996 /sbin/init.d/sendmail
-r-sr-sr-t 1 root mail 344064 Jun 7 1996 /usr/sbin/sendmail
The sizes may vary depending on the sendmail patch which is installed.
Regards,
Birgit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 02:02 AM
01-14-2003 02:02 AM
Re: Sendmail cannot start properly.
#>/sbin/init.d/sendmail start
start... User unknown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 02:07 AM
01-14-2003 02:07 AM
Re: Sendmail cannot start properly.
as Birgit wrote already, check the permissions of the sendmail binary. It should be suid / sgid root.mail ...
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 02:16 AM
01-14-2003 02:16 AM
Re: Sendmail cannot start properly.
ll /sbin/init.d/sendmail
lrwxrwxrwx 1 root sys 18 Aug 28 13:29 /sbin/init.d/sendmail -/usr/sbin/sendmail
ll /usr/sbin/sendmail
-r-sr-sr-t 1 root mail 409600 Jan 14 13:19 /usr/sbin/sendmail
I notice that my /sbin/init.d/sendmail is just a link file only which is quite different from you guys.
My sendmail version is
#what /usr/sbin/sendmail |grep version version.c 8.8.6.1 (Berkeley) 6/14/97 (PHNE_17190)
Rgds,
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 02:20 AM
01-14-2003 02:20 AM
Re: Sendmail cannot start properly.
Regards,
Birgit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 02:29 AM
01-14-2003 02:29 AM
Solutionremove the link and either copy /sbin/init.d/sendmail from another system or reinstall the patch or install more current sendmail patch. But remove the link /sbin/init.d/sendmail first!
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 02:30 AM
01-14-2003 02:30 AM
Re: Sendmail cannot start properly.
How should i correct it? Even if i start manually from the shell from the binary ,
#/usr/sbin/sendmail start
start... User unknown
It is still the same.
Rgds
Randy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 02:47 AM
01-14-2003 02:47 AM
Re: Sendmail cannot start properly.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 03:13 AM
01-14-2003 03:13 AM
Re: Sendmail cannot start properly.
/usr/sbin/sendmail -bd -q30m.
This command is invoking in starting sendmail's script (/sbin/init.d/sendmail). If sendmail started successfully check /sbin/init.d/sendmail for errors as it was described in above discussion. Symlink /sbin/rc2.d/S540sendmail must be linked to /sbin/init.d/sendmail and /sbin/init.d/sendmail is a _script_, NOT a link !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 03:43 AM
01-14-2003 03:43 AM
Re: Sendmail cannot start properly.
- copying from other system
- reinstalling sendmail patch PHNE_17190
- install more current sendmail patch
/sbin/init.d/sendmail is usually a script which is run at startup with the option 'start'. Since on your system this is a direct link to /usr/sbin/sendmail at startup the sendmail *binary* is run with option start and therefore treats start us 'username'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 03:49 AM
01-14-2003 03:49 AM
Re: Sendmail cannot start properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 04:33 AM
01-14-2003 04:33 AM
Re: Sendmail cannot start properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 04:39 AM
01-14-2003 04:39 AM
Re: Sendmail cannot start properly.
I don't think this will help since /sbin/init.d/sendmail is not a script but a link:
$ ll /sbin/init.d/sendmail
lrwxrwxrwx 1 root sys 18 Aug 28 13:29 /sbin/init.d/sendmail -/usr/sbin/sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 04:40 AM
01-14-2003 04:40 AM
Re: Sendmail cannot start properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 05:55 AM
01-14-2003 05:55 AM
Re: Sendmail cannot start properly.
$ /sbin/init.d/sendmail start
or
$ /usr/sbin/sendmail start
since the first one is a symbolic link to the second one ....
Regards,
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 07:51 AM
01-14-2003 07:51 AM
Re: Sendmail cannot start properly.
/etc/aliases file.
It needs specific users authorized pointing to unix accounts. I know there are better ways to do this, but this is how I did it.
inv@investmenttool.com: invester
inq@investmenttool.com: invester
webmast@investmenttool.com: invester
here is a script to build the hash databases.
#!/bin/sh
# A script designed to rebuild all relavent mail databases after a con
# change.
#
#
newaliases
cd /etc/mail
makemap -r -v hash access.db < access
makemap -r -v hash domaintable.db < domaintable
makemap -r -v hash genericstable.db < genericstable
makemap -r -v hash mailertable.db < mailertable
makemap -r -v hash virtusertable.db < virtusertable
cp /etc/sendmail.cf /root
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
echo "You need to edit the sendmail.cf file for localhost et al"
sleep 3
vi /etc/sendmail.cf
/etc/init.d/sendmail restart
You need to update the Dj$w.... parameter if your mail server can't figure out your domain name from your hostname, at least on Linux.
I have lots more on this, having screwed everything up possible with this configuration.
Understand that to get mail onto aol's system, dns names must be validated, otherwise they reject the mail with a nasty message. It gets better, yahoo accepts the mail but won't deliver it.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2003 05:40 PM
01-14-2003 05:40 PM
Re: Sendmail cannot start properly.
Good morning !With all the inputs, I managed to solve my problem. The main issue is that /sbin/init.d/sendmail should be a script not a link. I copied these file from somewhere.
It may not be the correct version but i can be bear with it right now.
Thanks for all the good suggestions !
Rgds
Randy