1819504 Members
3087 Online
109603 Solutions
New Discussion юеВ

starting mail daemon

 
khilari
Regular Advisor

starting mail daemon

Hi guys, well i have an E35. And it used to be a mail router. It was decommisioned for a while. Anyhow, i saw booting it and now it is kind of stuck at starting mail daemon clause.

There are no network cables attached to it, so what shoudl be done. Thanks
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: starting mail daemon

Shalom,

OS?

Probably.

vi /etc/rc.config.d/sendmail or mailservs

Change the first variable to 0

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: starting mail daemon

Hi:

Try pressing the control key plus a pipe character to break the startup that is hung.

To disable starting the 'sendmail' daemon, edit '/etc/rc.config.d/mailservs' and do:

SENDMAIL_SERVER=0

Regards!

...JRF...
Peter Godron
Honored Contributor

Re: starting mail daemon

If you are not going to use the machine as a mail server, I would go to single user mode and disable the startup script. At the moment the machine probably ties up with wating for a network response that never comes.
Bill Hassell
Honored Contributor

Re: starting mail daemon

You need to reboot the server and interrupt the boot process when you see the 10 second message. Then select the primary disk and interact with IPL/ISL. When the E35 finishes the initial load, you'll need to type in hpux -is (;0)/stand/vmunix to get into single user mode. This is ASSUMING you're running at least 10.01 or later. If this is a REALLY old OS, you may need to specify the hardware path and disk section number to boot. Once in single user mode, mount these directories:

mount /var
mount /usr
mount /tmp
cd /etc/rc.config.d

Now you can run vi:

edit nfsconf, mailservs and netdaemons. Turn off all NFS options, the sendmail option and NTP (if enabled). Now reboot the computer with shutdown -r 0. This should get you past all the hangs. These services have extremely unfriendly responses to lack of networking, especially in older software.


Bill Hassell, sysadmin
Tim Nelson
Honored Contributor

Re: starting mail daemon

No network connectivity and you will find a lot of things will seem hung until they time out.

Boot to single user and disable everything you do not need until it is back on the network.

I.e. nfs client/server, sendmail, DNS ( /etc/resovl.conf ). etc..