Operating System - HP-UX
1826235 Members
2932 Online
109692 Solutions
New Discussion

Systems hangs on swagend start

 
Thorsten Erdmann
Occasional Contributor

Systems hangs on swagend start

Hi,

my systems hangs on startup at the message "configuring all unconfigured software components". It seems that this is the swagend's startup script in /sbin/rc2.d.

It also seems that swagend needs networking, so maybe some network settings are wrong.

I checked /etc/hosts, there is the loopback adapter and my own hostname with and without DNS domain.

nsswitch.conf contains only "files", if I add DNS it is overwritten at startup!?

There are no messages in the system's log.

If I disable swagend the system starts until rpcd. To that time the network is up and I can access the system via telnet.

Any idea what happens there?

Thanks
Thorsten
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: Systems hangs on swagend start

Hi Thorsten,

Could you post your HPUX version?

- check the /etc/rc.config.d directory for backup files. (netconf.old etc).
- check the hostname in the /etc/rc.config.d/netconf file.
- post the output of "what /usr/bin/nslookup"
- is this system recently patched?

Regards,
Robert-Jan
Thorsten Erdmann
Occasional Contributor

Re: Systems hangs on swagend start

# uname -a
HP-UX unknown B.11.23 U 9000/800 3697136779 unlimited-user license

There are no backup files in /etc/rc.config.d

The hostname line in netconf looks like this:
HOSTNAME="myhostname"

What /usr/bin/nslookup gives:
# what /usr/bin/nslookup
/usr/bin/nslookup:
$Revision: 92453-07 linker linker crt0.o B.11.16.01 030415 $
$Revision: B11.23.0409LR
Copyright (c) 1985,1989 Regents of the University of California.
main.c 5.42 (Berkeley) 3/3/91
getinfo.c 5.26 (Berkeley) 3/21/91
nslookup $Revision: 1.1.213.4 $ Thu Feb 5 23:38:59 GMT 2004

No recent patches yet. It is "freshly" installed a year ago or so.

Thanks
Thorsten
Robert-Jan Goossens
Honored Contributor

Re: Systems hangs on swagend start

--
# uname -a
HP-UX unknown B.11.23 U 9000/800 3697136779 unlimited-user license
--

Hostname unknown, or did you change this?

# uname -S your_hostname
Thorsten Erdmann
Occasional Contributor

Re: Systems hangs on swagend start

You are right?
But this is because I am in singleuser mode.
If I go to init 2 (with deactivated swagend), the hostname is set correctly.

Thorsten
IT_2007
Honored Contributor

Re: Systems hangs on swagend start

check /etc/rc.log and /var/adm/syslog/syslog.log files for the errors.
Thorsten Erdmann
Occasional Contributor

Re: Systems hangs on swagend start

I checked rc.log already, no error messages there. The last entry in rc.log is:

Configuring all unconfigured software filesets
Output from "/sbin/rc2.d/S120swconfig start":
----------------------------
* Turning off all network based resolving services in
'/etc/nsswitch.conf'

The /var/adm/syslog/syslog.log has no actual error entries.