- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- start sendmail from /sbin/init.d
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
Discussions
Discussions
Forums
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
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
тАО05-03-2002 10:31 AM
тАО05-03-2002 10:31 AM
/sbin/init.d/sendmail start
it said that
start... user unknown
However, I can start sendmail from
/sbin/rc2.d/S540sendmail start
I know it is only a link, why the first case can not work?
What is the meaning of "user unknown"?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 10:51 AM
тАО05-03-2002 10:51 AM
Re: start sendmail from /sbin/init.d
/sbin/init.d/sendmail start and stopshwould woork.
What's the size and permissions of the sendmail file in /sbin/init.d
Should be
-r-xr-xr-x 1 bin bin 3607 Feb 24 1999 sendmail
One of my server has this.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 10:53 AM
тАО05-03-2002 10:53 AM
SolutionTry to rename the script /sbin/init.d/sendmail as /sbin/init.d/rc.sendmail and run the command
/sbin/init.d/rc.sendmail start
It may be because the script itself is having the name of a command "sendmail" which is contrary to the shell script naming convention.
It will work through the link as the link is having a different name. If you don't want to get this message, keep the name as rc.sendmail and change your links in /sbin/rc* .
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 10:56 AM
тАО05-03-2002 10:56 AM
Re: start sendmail from /sbin/init.d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 11:01 AM
тАО05-03-2002 11:01 AM
Re: start sendmail from /sbin/init.d
You should be having one more sendmail file in /usr/sbin. You are getting "usr unknown" actually from this file.
and ione in /usr/lib/sendmail should have link to /usr/sbin.
--USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 11:03 AM
тАО05-03-2002 11:03 AM
Re: start sendmail from /sbin/init.d
One more thing you can try apart from Sri's suggetion is get /sbin/init.d/sendmail file from other server with same Version of OS.
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 11:05 AM
тАО05-03-2002 11:05 AM
Re: start sendmail from /sbin/init.d
It works! But I did not get your point, what is the reason, can you give me more detais? Thanks! The point in coming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 11:08 AM
тАО05-03-2002 11:08 AM
Re: start sendmail from /sbin/init.d
Check the user and group for this file.
Try to set the owner and group as root:sys then see if it executes?
Thanks,
-pap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 11:17 AM
тАО05-03-2002 11:17 AM
Re: start sendmail from /sbin/init.d
Depending on how you issue the sendmail command and your path it is picking up the original sendmail daemon from /usr/sbin and running it as start as the destination user.
To make it sure, we renamed the script.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2002 11:50 AM
тАО05-03-2002 11:50 AM
Re: start sendmail from /sbin/init.d
The problem is I was sitting in /sbin/init.d, when I run sendmail, it run /usr/sbin/sendmail instead of /sbin/init.d/sendmail as I thought.
Changing name or copying from other servers both can work, they are good idea, thanks again.
Have a great weekend, all!