Operating System - HP-UX
1833019 Members
2188 Online
110049 Solutions
New Discussion

Failed to start and send mail in HP-UX?? Please help

 
SOLVED
Go to solution
apple
Super Advisor

Failed to start and send mail in HP-UX?? Please help

Dear HP UX Gurus,
I was unable to start the sendmail
I've configured
1. /etc/hosts
2. /etc/sendmai.cf
3. /etc/nsswitch.config
The erros are

hering:/etc>/sbin/init.d/sendmail start
/sbin/init.d/sendmail[115]: VTDAEMON_START: not found.
554 5.0.0 /etc/mail/sendmail.cf: line 2: unknown configuration line "'O PrivacyOption=goaway'"
Starting sendmail [FAILED]



hering:/>sendmail -v finas@bnm.gov.my
/etc/mail/sendmail.cf: line 2: unknown configuration line "'O PrivacyOption=goaway'"
WARNING: local host name (hering) is not qualified; see cf/README: WHO AM I?


Looking forward for your awaiting reply. Thanks a bundle.

Finas

10 REPLIES 10
apple
Super Advisor

Re: Failed to start and send mail in HP-UX?? Please help

Dear HP-UX Gurus,
1. I've commented out the 'O PrivacyOption=goaway'in /etc/mail/sendmail.cf
But when I tried to stop and start

hering:/>/sbin/init.d/sendmail start
/sbin/init.d/sendmail[115]: VTDAEMON_START: not found.
Starting sendmail [OK]

2. When I tried to send to my mail, I was successfully receive the mail, but there is an error:

hering:/>sendmail -v finas@bnm.gov.my
WARNING: local host name (hering) is not qualified; see cf/README: WHO AM I?

What does this means? why local host is not qualified? I've editted the entry in /etc/hosts? Thank you.
whiteknight
Honored Contributor

Re: Failed to start and send mail in HP-UX?? Please help

Finas

Look at this doc.

http://docs.hp.com/en/B2355-91064/ch02s10.html

Setting Your Domain Name
If Sendmail cannot resolve your domain name, you may see the following warning message in your syslog file:

WARNING: local host name name is not qualified; fix $j in config file

To resolve this problem, do one of the following:

Uncomment the following line in the /etc/mail/sendmail.cf file by deleting the pound sign (#) at the beginning of the following line:


Dj$w.Foo.COM

Change Foo.COM to the name of your domain (for example, HP.COM).

Modify the /etc/hosts file, making sure that the fully qualified name of the system is listed first. For example, the entry in the file must be 255.255.255.255 dog.hp.com dog and not 255.255.255.255 dog dog.hp.com.

WK
Problem never ends, you must know how to fix it
Steven Schweda
Honored Contributor

Re: Failed to start and send mail in HP-UX?? Please help

> What does this means? why local host is not
> qualified?

Qualified means that the name includes a
domain. For example, "alp" is not qualified,
but "alp.antinode.org" is qualified.
"hering" is not qualified, but
"hering.domain.name" would be qualified.

> I've editted the entry in /etc/hosts?

And if I could see it, perhaps I could say
something about it.

You may need to do something like:

a.dd.re.ss hering.domain.name hering

instead of:

a.dd.re.ss hering hering.domain.name


> /sbin/init.d/sendmail[115]: VTDAEMON_START: not found.

Look at line 115 of /sbin/init.d/sendmail ?


It might help if you supplied some
information, like the HP-UX version, whether
you're using the HP-supplied sendmail,
whether this is a new installation, or if it
ever worked before.

> I've configured
> 1. /etc/hosts
> 2. /etc/sendmai.cf
> 3. /etc/nsswitch.config

HOW???
Bill Hassell
Honored Contributor
Solution

Re: Failed to start and send mail in HP-UX?? Please help

There is no VTDAEMON_START in the sendmail start/stop script. That means that there is something wrong in the /etc/rc.config.d directory. The most common problem is storing old and junk files in that directory. EVERYTHING in that directory is run (sourced) by every start/stop script. You can verify this by listing the files in time order:

ll -rt /etc/rc.config.d

The most recently created or edited files are at the bottom of the list. Look through them for VTDAEMON_START. You can also simulate what the startup scripts do:

for MYFILE in /etc/rc.config.d/*
do
. $MYFILE
done
set | grep VTDAEMON_START

You see only ONE line of output:

VTDAEMON_START=1

(or it might say VTDAEMON_START=0) but nothing else. Move or remove any junk files from this directory.


Bill Hassell, sysadmin
apple
Super Advisor

Re: Failed to start and send mail in HP-UX?? Please help


Dear HP UX guru,
I can't find this thing VTDAEMON_START=1
where can I find VTDAEMON_START=1 here?
I'm a newbie. Please help. I don't want that error


hering:/etc/rc.config.d>l
LANG, Rpcd, SnmpHpunix, SnmpMaster, SnmpMib2, SnmpTrpDst, acct,
audio, auditing, cde, cfservd, cifsclient, cimserver, clean,
clean_tmps, clean_uucp, comsec, cpumap2, crashconf, cron, dce,
desktop, dfs, diagnostic, ems, emsagtconf, envd, fc_fcd_conf,
fc_td_conf, gwlmCtl, hparamgr, hpbtlanconf, hpbtlantunable, hpfcmsconf,
hpfddi4conf, hpgelanconf, hpietherconf, hpigelanconf, hpintl100conf,
hpservices.conf, hpsmh, hpws_apacheconf, hpws_tomcatconf, hpws_webminconf,
hpws_webproxyconf, hpws_xmltoolsconf, i4lmmd, ipfconf, javaoob,
kl, kwdbd, list_mode, lp, mailservs, namesvrs, nddconf, netconf,
netconf-ipv6, netdaemons, nettl, nfdconf, nfsconf, ovpa, pci_olar,
peer.snmpd, pppoe, prm, prngd, ptydaemon, pwgr, rstemsListener,
runner.conf, samba, sasd_conf, savecrash, sec_mgmt, set_date,
slsd, snaplus2, spc, sshd, swconfig, syncer, syslog-ng, syslogd,
tps, utmpd, veaservice, vlanconf, vpard, vparhb, vparinit, vt,
wlm, xf86, xfs, ypldapd


uname -a
HP-UX hering B.11.23 U ia64 3249864564 unlimited-user license

model
ia64 hp superdome server SD32B


Vijay Dsouza
Frequent Advisor

Re: Failed to start and send mail in HP-UX?? Please help

Hi Finas,
The Path which you are looking for the change to be done is /etc/rc.config.d/vt.Edit the vt file and modify the recomended changes.

Cheers

Vijay
Steven E. Protter
Exalted Contributor

Re: Failed to start and send mail in HP-UX?? Please help

Shalom Finas,

In this situation, I'd restore the system to an ignite make_tape_recovery or make_net_recovry done before it was messed up.

Bill points out rightly that the system probably can not be trusted.

If its early in the build process, I'd get the old Core OS media and start over.

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
apple
Super Advisor

Re: Failed to start and send mail in HP-UX?? Please help

Ohhh Steven, I don't understand~~~
Below I have copied the vt file
I've to change the VTDAEMON_START = 1????
Will it cause server reboot? or etc? do i need to refresh the service? what is the impact? the server is in production.
your respond are very great. looking
looking forward for your awaiting reply.what is VTDAEMON_START for?

# @(#)B11.23_LR
# The variable VTDAEMON_START controls whether the vtdaemon will be
# started on entering multiuser mode. By default it is started.
# If you do not want it to be, set the value to 0.
#
# Setup for the optional vt gateway, see vtdaemon(1m)
#
# VTGATEWAY: name of system acting as the gateway
# VTGOPTS: vtdaemon options
# VTGINTERFACES: gateway devices
#
VTDAEMON_START=1
VTGATEWAY=
VTGOPTS=
VTGINTERFACES=
VTDAEMON_START
~
~
~
~
~
~
~
"vt" [Read only] 16 lines, 442 characters
apple
Super Advisor

Re: Failed to start and send mail in HP-UX?? Please help

thank you. with your respond, my problem has solved. Thanks a lot. :)
apple
Super Advisor

Re: Failed to start and send mail in HP-UX?? Please help

done