- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Sendmail
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
тАО08-21-2003 04:07 PM
тАО08-21-2003 04:07 PM
I was asked to stop sendmail (redhat 7.2)
I tried sendmail stop , wouldn't work
I ended up with kill -9 with the pid.
How do I restart without rebooting ????
Thanks in advanve!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 04:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 04:30 PM
тАО08-21-2003 04:30 PM
Re: Sendmail
/etc/init.d/sendmail start
should do the job for you...
Procedure for stopping and starting sendmail is no different to any other process..
Tip: If your machine seems to hang for a few minutes while loading sendmail( after the starting sendmail: message is printed), the machine's hostname cannot be resolved. To fix this, add the machines I.P address and hostname to the /etc/hosts file. This behaviour can occur as the X server attempts to start.
Hopes this helps.
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 04:53 PM
тАО08-21-2003 04:53 PM
Re: Sendmail
Will restart with one command.
As noted earlier
service sendmail stop to stop it.
The service command works on all Linux daemons.
If you want to stop DNS,
service named stop
Just wanted to make sure you understood that service is an all encompassing, useful command. So much so, that I ported it to HP-UX.
SEP
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
тАО08-21-2003 05:22 PM
тАО08-21-2003 05:22 PM
Re: Sendmail
Sometimes it's just amazing how such a simple idea makes things so much easier..
The 'service' command (an 11 line script originally) was implemented way-back in RH6.0 (or possibly .1, can't recall), but it was broken at that point. Didn't get fixed properly until 7.0.
go figure.. ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 05:38 PM
тАО08-21-2003 05:38 PM
Re: Sendmail
what do you mean by porting it to HP-UX? I tried doing a man on service and I got a smack in the mouth by the console saying
"No manual entry for service."
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 05:47 PM
тАО08-21-2003 05:47 PM
Re: Sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 05:59 PM
тАО08-21-2003 05:59 PM
Re: Sendmail
Most Unicies have a central directory structure where the start/stop routines live, which are usually symbolically linked to the /etc/rc#.d/ structures for the start up/shut down routnies.
In RedHat, they used to be /etc/rc.d/init.d, but have moevd to /etc/init.d (although they are sym-linked together), and for SCO Open Server 5.0.5+ and Solaris 8 (not sure about other versions) it's the same (/etc/init.d).
Using the same method that /usr/sbin/service uses in RedHat (actually you could probably copy it without any issue) you can easily port the function to any other unix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2003 06:06 PM
тАО08-21-2003 06:06 PM
Re: Sendmail
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf0fc5dc05a7ad711abdc0090277a778c,00.html
It is not an official HP script, just makes it easier for my brain to switch back and forth from Linux to HP and back.
You copy it to the path, make sure its owned by root and that nobody else can execute it and the service command is on HP-UX.
It checks that the service in question is a valid script in /sbin/init.d/
Let me know if you need any help with it.
SEP
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
тАО08-21-2003 06:46 PM
тАО08-21-2003 06:46 PM
Re: Sendmail
you guys rock... Thank you...
This forum rocks....
Alex...