Operating System - HP-UX
1834092 Members
2370 Online
110063 Solutions
New Discussion

Re: Hangs up when starting Mail Daemon

 
SOLVED
Go to solution
Chris Bidwell
Advisor

Hangs up when starting Mail Daemon

Upon boot sequence, my system hangs when it gets to Starting Mail Daemon. What can I do to fix this? I appreciate your assistance.
For every action there is an equal or opposite reaction!
10 REPLIES 10
harry d brown jr
Honored Contributor

Re: Hangs up when starting Mail Daemon

Change the /sbin/init.d/mailservs file, changing SENDMAIL_SERVER=1 to SENDMAIL_SERVER=0

export SENDMAIL_SERVER=0


live free or die
harry
Live Free or Die
Chris Bidwell
Advisor

Re: Hangs up when starting Mail Daemon

I don't even have that file in that directory. I take it this could be the problem? LOL. Do you think it would be wise to rebuild and start from scratch on setting up this info? It wouldn't be difficult as this is a test system so nothing is really attached or ran on this other than the OS.
For every action there is an equal or opposite reaction!
harry d brown jr
Honored Contributor

Re: Hangs up when starting Mail Daemon

Chris,

You seem to be having quite a few issues with this server. Did you just "build" it? What kind of HP9000 is it? Do you know when the last "bundled" patch set was installed? Is the HPux OS 64bit or 32bit?

Also, is this server on a network?

live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: Hangs up when starting Mail Daemon

Chris,

To find the file that has this directive, do this:

find / -type f -size -5000c -exec grep -l SENDMAIL_SERVER {} \;

and if you find a file that says "export SENDMAIL_SERVER=1", change it to "export SENDMAIL_SERVER=0".

live free or die
harry
Live Free or Die
Chris Bidwell
Advisor

Re: Hangs up when starting Mail Daemon

Thanks for the assistance. Well, it's not new per se, but this is on an HP 712/60 workstation. It's being used as a test platform to troubleshoot various printer driver issues with users. I'm running version 11.0 and have 80MB of memory in with a 2.1 GB Drive. Basically using the minimum requirements to install. I'm attached to an Ethernet 10BT network and am actually able to connect to the system remotely via a telnet session, so I'm not completely hung up, but still am unable to run SAM and my mail daemon does not start as well. Keep in mind now that there is no specific mail server for this machine...it's attached to a network only to test with printers and their HPUX drivers. I hope this is some or all the information you're looking for. Thanks again.

Chris
For every action there is an equal or opposite reaction!
harry d brown jr
Honored Contributor

Re: Hangs up when starting Mail Daemon

Chris,

I guess you don't have a lot of room to work in!

live free or die
harry
Live Free or Die
Chris Bidwell
Advisor

Re: Hangs up when starting Mail Daemon

Exactly..well it isn't meant for much...I work with what they've supplied me with. I had it up and running and unfortunately I'm not the only one that has admin access to it for various reasons. So do you have any ideas?
For every action there is an equal or opposite reaction!
Patrick Wallek
Honored Contributor

Re: Hangs up when starting Mail Daemon

The file that contains the line "SENDMAIL_SERVER" is /etc/rc.config.d/mailservs

Make it so,

SENDMAIL_SERVER=0

as suggested above.
Chris Bidwell
Advisor

Re: Hangs up when starting Mail Daemon

Wow, it seems that there are multiple problems here on system boot. I created the file you mentioned, and as it goes further into the boot sequence it halts at SNMP HP-UX Network Management subAgent, and I will assume it will do the same for SNMP MIB-2, and SNMP Trap Dest as well.
For every action there is an equal or opposite reaction!
Patrick Wallek
Honored Contributor
Solution

Re: Hangs up when starting Mail Daemon

OK, with problems like this, I suspect that you may have a problem with name resolution. A couple of things to check:

1) Check /etc/hosts -- Make sure that you have the correct name, fully qualified name, and IP address.

2) Check /etc/nsswitch.conf -- if it exists, make sure the 'hosts' line looks like:
hosts: files [NOTFOUND=continue] dns

3) Check /etc/resolv.conf -- if it exists, make sure the domain name and your dns servers are correct.

To check that all is working as it should be try doing:

# nslookup machine_name

# nslookup machine_ip_address

Each of the above should return the appropriate information for this machine.