Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to diable sendmail while booting

SOLVED
Go to solution
Shehan
Super Advisor

how to diable sendmail while booting

Hi Team

I have rx2660 box being installed hpux v3. This is getting delay to boot and being stuck in the sendmail starting.

Also, SAM also doesn't load . Both were happened same time due to some bad configuration.

Hence, please let me know where can be the issue is?

Also, let me know how to disable sendmail permanently while it is booting.

Regards
Nirukshitha
12 REPLIES
R.O.
Esteemed Contributor
Solution

Re: how to diable sendmail while booting

Hi,

Change the sendmail startup variables to 0 in file "/etc/rc.config.d/mailservs". I.e.:

export SENDMAIL_SERVER=0

Maybe you have some bad configured hostname or network settings in "/etc/rc.config.d/netconf".

Regards,
"When you look into an abyss, the abyss also looks into you"
Shehan
Super Advisor

Re: how to diable sendmail while booting

Hi R.O.

I will check wthere there is an issue with network configuration as well as host too.

Regards
Nirukshitha
singh sanjeev
Trusted Contributor

Re: how to diable sendmail while booting

edit the file

/etc/rc.config.d/mailserv

change the parameter from 1 to 0

export SENDMAIL_SERVER=1

it will not start the sendmail after boot.
Sanjeev Singh
Shehan
Super Advisor

Re: how to diable sendmail while booting

Hi

it is delay to load ip vesrion 6 service too. how to disable this service too.

Regards
Nirukshitha
R.O.
Esteemed Contributor

Re: how to diable sendmail while booting

Disable it in:

/etc/rc.config.d/netconf-ipv6

Regards,
"When you look into an abyss, the abyss also looks into you"
Shehan
Super Advisor

Re: how to diable sendmail while booting

hi R.O

Is netconf-ipv6 file or is it a line in the netconf file?

Regards
Nirukshitha

Torsten.
Acclaimed Contributor

Re: how to diable sendmail while booting

>> Also, SAM also doesn't load


There is no SAM in 11.31.

It is replaced by SMH.

Point your browser to the server at port 2301.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Shehan
Super Advisor

Re: how to diable sendmail while booting

Hi Trostrn

You are correct. Once we type "sam" on the command mode, it loads the SMH. but it is not loaded due to some issue.

Regards
Nirukshitha
R.O.
Esteemed Contributor

Re: how to diable sendmail while booting

>> Is netconf-ipv6 file or is it a line in the netconf file?

it is a file

Regards,
"When you look into an abyss, the abyss also looks into you"
Torsten.
Acclaimed Contributor

Re: how to diable sendmail while booting

As said, point your browser to the servers port 2301!





Maybe all your problems have one in common, a bad network configuration or name resolution.


Check this please.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
rick jones
Honored Contributor

Re: how to diable sendmail while booting

" As said, point your browser to the servers port 2301!

Maybe all your problems have one in common, a bad network configuration or name resolution."

If the server has a bad network configuration, pointing a browser at port 2301 on the server may prove problematic. Yes, one might be able to work around that by using the remote VGA console and a local browser but if name resolution is fubar it may still be "difficult."

there is no rest for the wicked yet the virtuous have no pillows
Shehan
Super Advisor

Re: how to diable sendmail while booting

Hi All

You all are correct. Problem was in the network configuration and It was corrected. Now it is woking perfectly. Thanks for you all for the support.

Regards
Nirukshitha